[ 
https://issues.apache.org/jira/browse/IMAGING-138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14080658#comment-14080658
 ] 

Julien Gouesse commented on IMAGING-138:
----------------------------------------

It works very well but I have forgotten to comment some source code as some 
image parsers are still unable to write several images into a single data 
source even though they should support this feature.

I have to call getLocation() when throwing a BuildException to improve the 
feedback when something goes wrong.

Allowing to pass several files at once would be the gilt on the gingerbread but 
it would complicate the source code.

> Provide some Ant tasks to perform image conversions
> ---------------------------------------------------
>
>                 Key: IMAGING-138
>                 URL: https://issues.apache.org/jira/browse/IMAGING-138
>             Project: Commons Imaging
>          Issue Type: Improvement
>          Components: Format: ICNS, Format: ICO
>            Reporter: Julien Gouesse
>            Priority: Minor
>
> I suggest to add some Ant tasks to perform image conversions into Commons 
> Imaging, especially from/to formats that aren't supported by any known Java 
> library. I could have written a custom Ant task for my own project but I 
> think it would be better for this project.
> In my case, I need to convert a PNG image into ICNS in order to use it as a 
> logo for a Mac application bundle and I use Ant as a build tool. As I don't 
> generate this bundle under Mac (I'm under Mageia Linux), I can't use Mac 
> build-in tools to create the .icns file and using external softwares to make 
> the conversion each time I modify the original logo is annoying. I'll 
> probably have the same problem with .ico files.
> Please indicate how I should modify the Maven pom file in order to compile 
> the custom tasks and I'll be ready to contribute.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to