kornelski / ImageAlpha

Mac GUI for pngquant, pngnq and posterizer
https://pngmini.com
GNU General Public License v2.0
470 stars 63 forks source link

Python/PyObjC program failed to start. #40

Open jpscharf opened 6 years ago

jpscharf commented 6 years ago

I am unable to get ImageAlpha to start, here is what I get when running from the CLI:

Traceback (most recent call last):
  File "main.py", line 20, in <module>
    import ImageAlphaDocument
  File "/Applications/ImageAlpha.app/Contents/Resources/ImageAlphaDocument.py", line 7, in <module>
    import IAImageView
  File "/Applications/ImageAlpha.app/Contents/Resources/IAImageView.py", line 11, in <module>
    class IAImageView(NSView):
objc.BadPrototypeError: Objective-C expects 1 arguments, Python argument has 2 arguments for <unbound selector _setZoom of IAImageView at 0x1107d2ed0>
kornelski commented 6 years ago

This app needs a rewrite in something better than Python + PyObjC, and I don't have time to do it :(

Until then, try:

https://imageoptim.com/online

or enable Lossy mode in ImageOptim Mac app.

They don't have a preview or as many options, but they have good defaults that make it mostly unnecessary.