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 959345
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T01:00:37+00:00 2026-05-16T01:00:37+00:00

Is that possible to read just a small rectangle area of a large image

  • 0

Is that possible to read just a small rectangle area of a large image file?

  • 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-16T01:00:37+00:00Added an answer on May 16, 2026 at 1:00 am

    This is not possible. First of all the iPhone api certainly doesn’t support it. More importantly, image formats such as JPEG generally store the pixels row by row, and then apply sequential compression to the entire stream – that means you must start at the beginning and follow through. (not sure about PNG)

    Your best bet, if you need this really bad, for jpeg, is to link against a clone of libjpeg in which you hack some stuff to skip through the Huffman(-ish) encoded 8×8 MCU blocks, and only store the part you need.

    From experience I can tell that the speed gain will be some 70% if you apply a truckload of tricks to skip from one MCU block to the next, without actually decoding them. (I needed only the very first entry of each block for a fast 8-to-1 downscaling)

    It would be a very interesting project, but unless you feel a pressing need I would just read in the entire image and then slice out the part you need.

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

Sidebar

Related Questions

Is it possible to read the content of a file that has been selected
I was wondering if it was possible to read a text file that was
I know that it is possible to read commands output with a pipe? But
Is it possible to read binary MATLAB .mat files in Python? I've seen that
I have read in several places that it's possible to share the objects directory
I read somewhere (I can't remember where) that it is possible, in certain circumstances,
When I started iPhone development, I read somewhere that it's possible to attach a
I read that VS 2010 supports modelling projects in UML. Is it possible to
I wanted to write a small script that searched for an exact file name,
Ok, so I've read just about every resource possible on converting from SVN to

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.