[ 
https://issues.apache.org/jira/browse/IMAGING-173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bruno P. Kinoshita closed IMAGING-173.
--------------------------------------

> This image format (Jpeg-Custom) cannot be written.
> --------------------------------------------------
>
>                 Key: IMAGING-173
>                 URL: https://issues.apache.org/jira/browse/IMAGING-173
>             Project: Commons Imaging
>          Issue Type: Bug
>            Reporter: Marco Paciucci
>            Priority: Major
>
> Hello everyone,
> I've coded the following:
> {code:java}
> bufferedImage = Imaging.getBufferedImage(imageDataBytes);
> final ImageFormat format = Imaging.guessFormat(imageDataBytes);
> String extension = format.getName();
> String imageId = imageName + randomInt + "." + extension;
> File imageFile = new File(imageId);
> final Map<String, Object> optionalParams = new HashMap<String, Object>();
> Imaging.writeImage(bufferedImage, imageFile, ImageFormats.JPEG, 
> optionalParams);
> {code}
> This last line breaks and raises the issue above:
> This image format (Jpeg-Custom) cannot be written.
> Is this a bug?



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to