linpeixun / thumbnailator

Automatically exported from code.google.com/p/thumbnailator
Other
0 stars 0 forks source link

GIF Format Not Supported #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Thumbnails.of(OrgFile).size(160, 
128).outputFormat("gif").toFile(E:\\abc\temp);
2.
3.

What is the expected output? What do you see instead?
Specified format is not supported: gif

What version of the product are you using? On what operating system? Which
version of Java?
windows XP, JAVA 1.5

Please provide any additional information below.

Original issue reported on code.google.com by aiym...@gmail.com on 18 Aug 2011 at 9:44

GoogleCodeExporter commented 9 years ago
Thank you for reporting an issue.

Unfortunately, the default Image I/O functionality of Java 1.5 does not support 
writing to GIF image files.

There are two ways to workaround this issue:
  1. Use Java 6
  2. Register a plugin to Image? I/O that supports writing to GIF files.

Option (1) would be the easiest workaround. If using Java 5 is required, then 
Option (2) may be the only way to go. (How to actually achieve that is beyond 
the scope of the Thumbnailator project.)

Since this is an issue with the environment on which Thumbnailator is being run 
under, I will be closing this issue as a `WontFix`.

Original comment by coobird...@gmail.com on 23 Aug 2011 at 2:02

GoogleCodeExporter commented 9 years ago
Hii

Thank you very much, It got resolved by use of JAVA  6

Regards,
Aiymen

Original comment by aiym...@gmail.com on 31 Aug 2011 at 1:33