wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Convert the .Tiff file to .png and insert into the database. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Convert the .Tiff file to .png and insert into the database." Watch "Convert the .Tiff file to .png and insert into the database." New topic
Author

Convert the .Tiff file to .png and insert into the database.

tahir ahmed
Greenhorn

Joined: Dec 20, 2011
Posts: 7
Hi,
I am new to java, I am trying to convert the .tiff file to .png and then insert it into the oracle database. can anyhow help me how to do as I have done some coding to pick the file and dispaly it into the item field but I don't how to convet the insert it into the database.
Any help will be higly appreciated.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41102
    
  45
The javax.imageio.ImageIO class can handle both file formats. TIFF requires a bit of setup; it's not hard, though. Search these forums for "tiff enabling imageio" or some such term.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Convert the .Tiff file to .png and insert into the database.
 
Similar Threads
cool java swing application
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
Applet not inialized
Displaying an image in a set location in an applet
Scrolling through a textarea