commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Paciucci (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IMAGING-173) This image format (Jpeg-Custom) cannot be written.
Date Wed, 14 Oct 2015 13:52:05 GMT
Marco Paciucci created IMAGING-173:
--------------------------------------

             Summary: 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


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
(v6.3.4#6332)

Mime
View raw message