Re: [image] Optimize image load

From: Paul Lutus (nospam_at_nosite.zzz)
Date: 10/06/03


Date: Mon, 06 Oct 2003 08:59:08 -0700

Blaise wrote:

> I was wondering if someon had a link / idea how to optimize a load of
> a tiff image, which loaded in my soft take over 400 MB.
> In fact i'm seaking for a way to load an image part by part, such as
> dividing the image into 4 smaller images and to load them one after
> the other.

That's trivial(*). What is not trivial is figuring out why you don't know
that cross-posting to a long list of newsgroups is almost always
unjustified.

* use a file reader that supports random access (ex. RandomAccessFile), and
set the pointer farther forward in the file on each download. Read only as
many bytes as you need, then close the stream.

-- 
Paul Lutus
http://www.arachnoid.com


Relevant Pages

  • Re: [image] Optimize image load
    ... > In fact i'm seaking for a way to load an image part by part, ... * use a file reader that supports random access (ex. ...
    (comp.lang.java.programmer)
  • Re: [image] Optimize image load
    ... >a tiff image, which loaded in my soft take over 400 MB. ... >In fact i'm seaking for a way to load an image part by part, ... Coaching, problem solving, economical contract programming. ...
    (comp.lang.java.programmer)