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

Make ICNS generation pure java #10

Open
choffmeister opened this issue May 17, 2014 · 4 comments
Open

Make ICNS generation pure java #10

choffmeister opened this issue May 17, 2014 · 4 comments

Comments

@choffmeister
Copy link

The task of converting an image into an ICNS file should be written in java. According to http://en.wikipedia.org/wiki/Apple_Icon_Image_format it should be not that hard. The format seems pretty simple. Just some header bytes + PNG image content.

This makes the task runnable an systems where sips is not present.

@choffmeister
Copy link
Author

At https://github.com/choffmeister/icnsgen there is a simple POC project. Works very well. Also embeds the icon in multiple resolutions.

To test just clone the project and sbt test. The output file name of the .icns file is printed to the console.

@Sciss
Copy link

Sciss commented May 18, 2014

Which would be a system where the Jar Bundler is present but sips is not?

In any case, I will have a look at your icnsgen project when I find time. Embedding that conversion of course would be good.

@choffmeister
Copy link
Author

Why not include the AppStub as resource in the plugin? Whould that make the task completely system independent?

@Sciss
Copy link

Sciss commented May 18, 2014

Yes, that would be possible of course. I had refrained from it so far because almost inevitably there will be PITA with Apple's licenses and copyrights. But maybe it's not that problematic, it just has to be investigated.

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