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

Home » Public Forums » archive » Re: huge image 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: huge image file. [message #66762 is a reply to message #66760] Tue, 09 June 2009 10:48 Go to previous message
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
Using object graphics the IDLgrbuffer and the IDLgrclipboard have the
limitation of 4096x4096. I'm not sure if using direct graphics the
limitation is the same, but I think is it.
Maybe you can create an image and congrid its data. Using object
graphics, you can try something like this:

buffer=OBJ_NEW('IDlgrBuffer',DIMENSIONS=[4096,4096])
buffer->Draw, view ;; the view where you've the data

oImage=buffer->Read() ;; you get the image
oImage->GetProperty, DATA=data_image ;; the data of the image
data=CONGRID(data,4,12000,12000) ;; create the big image

WRITE_PNG, filename, data ;; save the image in a png file

I think this is possible. Using direct graphics you can do something
similar with the Z-buffer and TVRD procedure. Creates a 4096x4096
image and then you can congrid the image in order to obtain your
poster
Cheers,
nata
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: same value, same color, different pictures
Next Topic: About the EXTEND COMMON BLOCK error message

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

Current Time: Fri Oct 10 12:44:17 PDT 2025

Total time taken to generate the page: 1.04167 seconds