comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Writing JPEG2000 file
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Writing JPEG2000 file [message #45441 is a reply to message #45440] Wed, 07 September 2005 14:17 Go to previous messageGo to previous message
David Alexander is currently offline  David Alexander
Messages: 26
Registered: August 2005
Junior Member
Chintan,

What are the dimensions of the image in your tiff file?

One thing you might try: write each tile individually. So, let's say
you have a 2048x2048 tiff file, and you want to write a jpeg2000 file
with tile dimensions of 1024x1024 (so there are four tiles), you could
do something like this:

oJP2FILE->SetData, Data[*,0:1023,0:1023],TILE_INDEX=0
oJP2FILE->SetData, Data[*,1024:2047,0:1023],TILE_INDEX=1
oJP2FILE->SetData, Data[*,0:1023,1024:2047],TILE_INDEX=2
oJP2FILE->SetData, Data[*,1024:2047],TILE_INDEX=3

You probably have larger tiff files, but this is the idea.

David
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Outputting data to Files
Next Topic: Re: Outputting data to Files

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 17:21:04 PDT 2025

Total time taken to generate the page: 0.00256 seconds