Comments (7)
Sorry about that. You'll find libpng and Sparkle project in ImageOptim. The
rest create as cli tool and just add all C files.
regards, Kornel
On 8 June 2013 12:28:29 James Stout [email protected] wrote:
How do yuo build this? I'm getting missing deps for the linked
binaries/frameworks, pngquant, pngnq, posterizer and sparkle. And probably
liblibpng. Could they be added as git sub-modules?Just out of interest, why did you decide to use PyObjC?
thanks
Reply to this email directly or view it on GitHub:
#5
from imagealpha.
Have you managed to build it?
from imagealpha.
Not yet - not had time.
On 25 Jun, 2013, at 10:35 PM, porneL [email protected] wrote:
Have you managed to build it?
—
Reply to this email directly or view it on GitHub.
from imagealpha.
Somehow - I got it building...
from imagealpha.
Great. I suppose you had to change project file or some other bits? Is that something you could contribute to the project?
What steps need to be documented?
from imagealpha.
why did you decide to use PyObjC?
Just an excuse to learn Python :)
It thought it'd be easier to work in higher-level language than ObjC (only 1.0, no GC when I started), but PyObjC wasn't as fun as I hoped:
- lousy runtime error reporting with no Xcode integration.
- no compile-time error checking, and regular python linters I've tried didn't like objc imports.
- there was a time when users were installing custom Python version that wasn't PyObjC-compatible, so I had crash reports that I couldn't do anything about.
- type conversions and memory management require knowledge of both pythonisms and Cocoa patterns, to the point I couldn't get layer-backed patterns to work in PyObjC without crashes (I'm still not sure if that's bug/missing bridge in PyObjC or I missed something. Same code in plain ObjC works fine.)
- in addition to forgetting explicit
self
in method declarations I keep forgetting trailing underscore in method names that PyObjC requires. Python's syntax can't handle Cocoa's method names well.
In the meantime ObjC went a long way with GC, ARC, properties, iterators, blocks, etc. so I probably won't write another PyObjC app.
from imagealpha.
It was a lot of trial and error. Not sure I can remember the steps.
I'll start afresh and document....
I made some (private) changes to sabnzb and CouchPotato to learn Python :-)
from imagealpha.
Related Issues (20)
- Closing the last open window doesn't quit the app HOT 2
- Massive memory leak HOT 2
- PyObjC program failed to start HOT 13
- Unable to start ImageAlpha HOT 3
- Unique color count HOT 5
- New from pasteboard HOT 1
- Why no File → Save option? HOT 2
- Update pngquant
- Toggle Original shortcut is broken HOT 3
- Drag and drop issue. ImageAlpha is not selected, Finder is selected instead
- Batch Processing HOT 1
- image scaling in window HOT 3
- Saving directly from the application HOT 1
- Does not work on High Sierra HOT 6
- Slow startup on Sierra HOT 6
- Imagealpha not working in High Sierra HOT 1
- Preview image aligns to subpixels on non-Retina displays
- It would be good if opening multiple images opened them in tabs by default
- Python/PyObjC program failed to start. HOT 1
- Error dragging png related to launch path
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imagealpha.