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 #66752 is a reply to message #66733] Wed, 10 June 2009 07:46 Go to previous messageGo to previous message
pgrigis is currently offline  pgrigis
Messages: 436
Registered: September 2007
Senior Member
On Jun 9, 1:48 pm, nata <bernat.puigdomen...@gmail.com> wrote:
> 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.

No, direct graphic windows (at least in the X device) can be larger
than
that. There's still a limit somewhere of course, but it is not 4096.

Ciao,
Paolo

> 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: Thu Oct 09 22:24:55 PDT 2025

Total time taken to generate the page: 1.84108 seconds