LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-28-2006, 03:07 AM   #1
MRMadhav
Member
 
Registered: Nov 2005
Location: Mauritius
Distribution: PCQLinux, SUSE Linux,Fedora Core 5, Fedora Core 6, Knoppix Live, Kubuntu Edgy, PCLinuxOS
Posts: 167

Rep: Reputation: 30
Question How to display a tiff image in java?


Hi,
I already have a program that can load png, jpg, bmp and gifs images but it cannot load images in the tiff format. I was wondering if there is a way to display the image in a java program. Any suggestions, examples or links will be greatly appreciated.
 
Old 06-28-2006, 04:46 AM   #2
cupubboy
Member
 
Registered: May 2003
Location: Bucharest,Romania
Distribution: Fedora Core 7
Posts: 109

Rep: Reputation: 15
I'm not sure this helps .. but in the worst case scenario .. you could implement your own tiff file class(es)
Here are some words on the format
http://www.ee.cooper.edu/courses/cou...es/EE458/TIFF/
 
Old 06-30-2006, 05:46 AM   #3
MRMadhav
Member
 
Registered: Nov 2005
Location: Mauritius
Distribution: PCQLinux, SUSE Linux,Fedora Core 5, Fedora Core 6, Knoppix Live, Kubuntu Edgy, PCLinuxOS
Posts: 167

Original Poster
Rep: Reputation: 30
Hi, Thanks for your link! But if there could be something already written in java for reading it would have been great. I may use the option given in the link but only if there is no other way! Thats way too complicated!
 
Old 06-30-2006, 07:06 AM   #4
Guttorm
Senior Member
 
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,450

Rep: Reputation: 446Reputation: 446Reputation: 446Reputation: 446Reputation: 446
Hi

Sun has a library that can understand most TIFF files:
http://java.sun.com/products/java-me...api/index.html

Some older library, that could be simpler, i dont know:
http://www.lizardworks.com/java.html

Best regards,
Guttorm.
 
Old 07-02-2006, 02:39 AM   #5
MRMadhav
Member
 
Registered: Nov 2005
Location: Mauritius
Distribution: PCQLinux, SUSE Linux,Fedora Core 5, Fedora Core 6, Knoppix Live, Kubuntu Edgy, PCLinuxOS
Posts: 167

Original Poster
Rep: Reputation: 30
Hey thanks for the links but the problem is that i am not able to use the JAI library as i don't know how to procede! Any simple example where a tiff is loaded would be great. I'll continue searching a bit. There is something else, if you could tell me how to scan an image from a scanner and save it in the image format i like through my java appl i would not have to load tiff images.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Display an image in C, fullscreen mic Programming 8 06-01-2008 09:57 AM
Image display in Evolution djmurray Linux - Newbie 1 10-08-2007 07:46 PM
Single Page tiff to Multi Page tiff James_dean Programming 3 11-10-2005 10:50 PM
java - howto display an image and find mouse coords on it? titanium_geek Programming 6 06-04-2005 11:41 AM
Mplayer: 704x576 image cannot fit on 800x600 display? J_Szucs Linux - Software 0 03-27-2004 07:43 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration