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

  • SEARCH
  • Home
  • 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 6587041
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:52:03+00:00 2026-05-25T16:52:03+00:00

Java supports reading of whole images with ImageIO.read() , but is there a way

  • 0

Java supports reading of whole images with ImageIO.read(), but is there a way of reading an image only partially?

Background:

I’m working on a map application that reads large images, splits them up, then uses the generated tiles as the background of a map. In some cases the provided image can be so large that reading the Image as a BufferedImage might already cause an OutOfMemoryError.

I’m aware I could grant the VM more heap space, still I’d prefer a way to further reduce the risk by reading the image only in parts, i. e. in tiles of 256*256 pixels, that I could save straight away to the file system.

  • 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-25T16:52:04+00:00Added an answer on May 25, 2026 at 4:52 pm

    It’s a long time since I’ve used it but you can do it with JAI (Java Advanced Imaging) using a TiledImage.

    JAI homepage.

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

Sidebar

Related Questions

Is there any open source CMS in a java/xml platform which supports REST based
I am working in two java projects. The first supports OSGi components, second does
Is there way to find out if Java is running on a platform which
Drakon editor seems nice http://java.dzone.com/announcements/drakon-editor-19-support-java but after reading the doc http://drakon-editor.sourceforge.net/csharp.pdf I still don't
I am working with files (reading, writing and copying) in my Java application, java.io.File
My question is if JLabel (java swing) supports html4 and css2. I know, it
Google App Engine is a cloud computing architecture that supports java based web services
The Java Virtual Machine supports several garbage collection strategies. This article explains them. Now
I'm looking for a Java library for converting values that supports generic types. That
Possible Duplicate: Prepend lines to file in Java I have a CSV-file which supports

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.