473,385 Members | 1,356 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Saving a bufferedimage as a .tiff

4
I'm trying to save a BufferedImage as a .tiff.
The following:
ImageIO.write(bufferedImg, "TIFF", new File("file.tiff"));
is returning false.
Do I need to use JAI?
I'm just trying to use the easiest way to save a .tiff.
Thanks.
Jun 17 '07 #1
3 6146
JosAH
11,448 Expert 8TB
Have you tried a lowercase "tiff" name?

kind regards,

Jos
Jun 17 '07 #2
eagles
4
Yes, I tried "tiff" but it still doesn't work. I can save the BufferImage as a jpeg but I can't figure out how to save it as a tiff.
Jun 17 '07 #3
JosAH
11,448 Expert 8TB
Yes, I tried "tiff" but it still doesn't work. I can save the BufferImage as a jpeg but I can't figure out how to save it as a tiff.
Somewhere deep in the back of my memory I think I remember that only .gif,
.jpeg and .png formats are suppported but please correct me if I'm wrong.

kind regards,

Jos

edit: I think I was right after I read what "Java tiff" all returned after googling for it;
the core classes simply don't supply the tiff format at all; bad luck. JAI seems to
support it though.
Jun 17 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Michael Johnston | last post by:
I am saving a BufferedImage as a JPEG file under Windows XP. I am using the JAI JPEGImageEncoder class. The JPEG is saved as CMYK but I need RGB. I cannot figure out how to get RGB. Any help?
0
by: Ron Brennan | last post by:
Good evening. I want to read a .jpeg into a BufferedImage with anImageReader.read(0, param) that I would then like to reduce (make a thumbnail more or less) and save as another file with...
0
by: mchl gdbt | last post by:
Hi, I have several thousand tiffs generated by application A which are read by application B. I need to remove a few colours from the tiffs and I decided to try with the python imaging library....
2
by: brettk | last post by:
Hello All, Here's what I'm trying to do: I need to connect to a pop3 server, download all messages, and copy all of the attachments into a specific directory. The actual email message is...
0
by: E-Cube | last post by:
Hello all, I am attempting to save a bitmap image and saving it as a tiff image with CCITT4 compression using the folllowing code. oEncoderParameters = New Imaging.EncoderParameters(1) oEncoder...
5
by: Thaynann | last post by:
I have an app that (at the moment) moves through files that are on a web site, and deletes them, wat i want to do for the next stage, is to be able to download each file before i delete it. i...
1
by: Shane Story | last post by:
Our current software is VB6. We have Lead tools version 12 I think for dealing with images. We have some pieces of our software now in .NET. One piece receives faxes as multipage TIFF's, and...
1
by: BuncyTheFrog | last post by:
Working in C# in Visual Studio 2005 So I know how to edit TIFF tags (get a propertyItem object, edit its details, and stick it into a bitmap), but saving them is presenting itself as a problem. ...
0
by: ne0lithic | last post by:
Hey everyone, I'm working on a program based on steganography. For this, i need to access the individual pixels and perform my manipulations. FYI, I do not have the JAI library available with me...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.