Git Product home page Git Product logo

Comments (6)

kornelski avatar kornelski commented on August 24, 2024

The app is written in Python and ObjC, so on startup it needs to compile a lot of Python code. It should be less bad after the very first startup on a new system.

Still, these two are slow complex beasts, so I'm afraid they're out of my control.

If you're looking for something quicker, there's a "Lossy" option in ImageOptim (native app, starts quickly):
https://imageoptim.com/mac

and I've got a basic web interface for pngquant here:
https://imageoptim.com/online

These don't have a preview like ImageAlpha, but offer the same level of compression.

from imagealpha.

simonrob avatar simonrob commented on August 24, 2024

Thanks - the slow start persists for me no matter how many times I open ImageAlpha, but I'll persevere because its interface is so useful for helping choose the level of compression required.

I'm a longtime happy user of both ImageAlpha and ImageOptim - thanks for all the great work. I'll try building locally and investigate to see whether I can contribute any changes to speed it up.

from imagealpha.

gingerbeardman avatar gingerbeardman commented on August 24, 2024

I get the slow start (High Sierra, 12 bounces!) each and every launch. It's supremely aggravating.

Where is the compiled Python stored? I can then check it is where it should be.

Can't the Python be pre-compiled inside the app?

from imagealpha.

kornelski avatar kornelski commented on August 24, 2024

Shipping pre-compiled code in the app won't make any difference, because code in the app itself is quite small. I wouldn't be surprised if all the code in the app was just 1% of the code Python runs on startup — while building wrapper objects for all of Cocoa.

from imagealpha.

kornelski avatar kornelski commented on August 24, 2024

I recommend switching to ImageOptim's lossy mode instead. It uses the same compression, but it's all native and starts quickly.

from imagealpha.

gingerbeardman avatar gingerbeardman commented on August 24, 2024

Thanks for the suggestion, but I really need manual control and visual inspection.

from imagealpha.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.