Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flifcrush does not work #12

Open
StephanBusch opened this issue Mar 11, 2016 · 10 comments
Open

flifcrush does not work #12

StephanBusch opened this issue Mar 11, 2016 · 10 comments

Comments

@StephanBusch
Copy link

After having installed Python 2.7 and PIL 1.7 for Win x32 and opening main.py in Python Shell
and pressing F5 for running that script, an error message appears:

print(progress_array[arr_index] + " " + str(count) + ": "  + str(func_arg) +  ", size: " + str(size_new) + " b        ", end="\r",flush=True)

where the "=" is marked red.

Do the main.py and flifcrush need to be in a special folder?
And present they are in the folder of the test images.

@matthiaskrgr
Copy link
Owner

Hi, you'll need python3.

@StephanBusch
Copy link
Author

I installed Python 3.5.1 before and tried to install PIL afterwards -
PIL said it needs Python 2.7 - it could not be installed with Python 3.5.1

@matthiaskrgr
Copy link
Owner

Hmm. What distribution do you use? Perhaps there is a separate python3 pil package?

@StephanBusch
Copy link
Author

there is no PIL package for Python3

@StephanBusch
Copy link
Author

I am using this win32 version:
https://www.python.org/downloads/release/python-2711/

@matthiaskrgr
Copy link
Owner

Ok, it looks like I got confused, sorry about that.
The package I use via "from PIL import Image" is not pil but pillow, (a fork of pil) which is available for python3 .
http://python-pillow.org/

Windows install instructions are here
http://pillow.readthedocs.org/en/3.0.x/installation.html#windows-installation

@StephanBusch
Copy link
Author

can you please create a .bat file that does flifcrush on windows?

@matthiaskrgr
Copy link
Owner

I don't own any machines that run windows, sorry.

@StephanBusch
Copy link
Author

May it be possible for you to translate FLIFcrush to Perl?

@matthiaskrgr
Copy link
Owner

I don't know perl :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants