[
https://issues.apache.org/jira/browse/IMAGING-173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16576158#comment-16576158
]
Bruno P. Kinoshita commented on IMAGING-173:
--------------------------------------------
Hi [~marco.paciucci], would you have an example input? Or a working code
example to make it easier to reproduce your problem, please? Sorry for the
delayed response.
> 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:
> 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);
> 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.3#76005)