Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / May 2007

Tip: Looking for answers? Try searching our database.

How can I convert PDF, TIF, or JPG to GIF in java?

Thread view: 
ffluhart@lexmark.com - 18 May 2007 18:49 GMT
I'm looking for a light-weight, free way for converting (and hopefully
resizing) image files that are in PDF, TIF, or JPG format into GIF
format.  This has to be compatible with J2ME (not sure exactly which
version, but it is analogous to Java 1.3).

Any advice is greatly appreciated.
Joshua Cranmer - 18 May 2007 21:34 GMT
> I'm looking for a light-weight, free way for converting (and hopefully
> resizing) image files that are in PDF, TIF, or JPG format into GIF
> format.  This has to be compatible with J2ME (not sure exactly which
> version, but it is analogous to Java 1.3).
>
> Any advice is greatly appreciated.

Try finding a newer image library; because of the LZW patent dispute,
Java did not add GIF writing capabilities until Java 1.5/1.6. Another
way would be to compile using Java 1.6 (and bundling the gif image i/o
library) using the -target 1.3 option.
Andrew Thompson - 19 May 2007 04:15 GMT
>I'm looking for a light-weight, ..

What does that mean to you?  

Small download footprint?  Small memory footprint?  
Fast to run?  No features?  Been on a diet?  No
coding on your part?

>..free ..

I will not ask the 'budget' then.

>...way for converting (and hopefully
>resizing) image files that are in PDF, TIF, or JPG format into GIF
>format.  

This problem might be broken into two parts:
1) Reading the input formats
2) Writing the output format.

>..This has to be compatible with J2ME

What 'this'?  The code or the resulting GIF?
I know of code that will write GIF's in J2SE
(pre 1.3), but I doubt it would run on J2ME,
*or* that it would make much sense to be
doing image conversion in J2ME.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.