sandy, thanks for the answer.
this brings another question to me. If i change that
gif file in memory (i mean thru some user app). will
it still be lossless?

think it will depend on my app how i render that gif
and how is manipulation code written?

still, any thoughts.


--- Sandip Bhattacharya <[EMAIL PROTECTED]> wrote:

> On Friday, 30 Sep 2005 21:51, Rohit Kumar wrote:
> 
> > is there a way to break the big files into tiles
> and
> > escape the OutOfMemory Exception?? and not give
> the -X
> > option, as that being non-portable!
> 
> Gif is a lossless format. So it should be possible
> to convert it to a raw 
> uncompressed BMP or similar format, and back without
> any loss.
> 
> So why dont you have an utility to convert gifs to
> bmp on disk. Then write 
> your program to work with this raw format. Being raw
> uncompressed, the 
> location of data needed for a particular tile can be
> easily calculated in 
> terms of offset range of the file. Then you can just
> open it as a binary file 
> and read that much part into memory, and work on it.
> 
> later you can covert the bmp back to gif. This hould
> also happen without any 
> loss.
> 
> - Sandip
> 
> -- 
> Sandip Bhattacharya  *    Puroga Technologies   *   
>  [EMAIL PROTECTED]
> Work: http://www.puroga.com  *   Home/Blog:
> http://www.sandipb.net/blog
> 
> PGP/GPG Signature: 51A4 6C57 4BC6 8C82 6A65 AE78
> B1A1 2280 A129 0FF3
> 
> _______________________________________________
> Java mailing list
> [email protected]
>
http://mail.jug-delhi.org/mailman/listinfo/java_jug-delhi.org
> 



                
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

_______________________________________________
Java mailing list
[email protected]
http://mail.jug-delhi.org/mailman/listinfo/java_jug-delhi.org

Reply via email to