Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6589627
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T17:11:54+00:00 2026-05-25T17:11:54+00:00

The ImageIO package doesn’t work with .tif images and I cannot create a BufferedImage

  • 0

The ImageIO package doesn’t work with .tif images and I cannot create a BufferedImage (Class I’m more familiar with) from a .tif file.

How do I easily get the pixel value of a TIFF image in Java? How can I do it FAST?

I’m not experienced with image processing and some sample code would be greatly appreciated!

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T17:11:55+00:00Added an answer on May 25, 2026 at 5:11 pm

    You will need the Java Advanced Imaging API: JAI in order to work with TIFF images.

    From the JAI API description:

    TIFF

    In addition to the baseline specification, the encoder and decoder support PackBits, modified Huffman and CCITT bilevel encodings (fax), JPEG-in-TIFF (per TIFF Technical Note #2), and DEFLATE compression schemes, can handle images with 16- and 32-bit integral samples and 32-bit floating point samples, and can read and write tiled images of all supported data types. The decoder in addition can decompress LZW-compressed imagery.

    Additional features may be addressed in the future.

    A single page of a multi-page TIFF file may loaded most easily by using the page parameter with the “TIFF” operator which is documented in the class comments of javax.media.jai.operator.TIFFDescriptor. A code sample is included here to show a means of loading a single page of a multi-page TIFF file using the ancillary codec classes directly.

    Try out some of these tutorials.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

BufferedImage = ImageIO.read(getClass().getResourceAsStream(/Images/player.gif)); First of all, yes I did add the image folder to
Error: Unhandled exception type IOException. File imgLoc = new File(player.png); BufferedImage img = ImageIO.read(imgLoc);
BufferedImage bufferedImage = ImageIO.read(new File(/...icon.jpg)); // this writes the bufferedImage into a byte array
The JPEG Images that ImageIO generated view correctly on windows file explorer, as well
I was working with javax.imageio.ImageIO class The one provided by sun doesn't provide support
I am having a bufferd-image i.e: BufferedImage buffer = ImageIO.read(new File(file)); now i want
I'm having problems reading this one JPEG file using ImageIO.read(File file) - it throws
I am generating lots of images in java and saving them through the ImageIO.write
When using imageio.imageio.read iget a can't create ImageInputStream . I have a catch exception
I have managed to load in an image using: BufferedImage image = ImageIO.read(out); and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.