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

Home » Public Forums » archive » cgblendimage without a window? - a bit stuck!
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
cgblendimage without a window? - a bit stuck! [message #83758] Thu, 21 March 2013 15:11
George.millward is currently offline  George.millward
Messages: 26
Registered: October 2012
Junior Member
Hi there,

I have 2 snapshots which I'm blending using cgblendimage. It works fine with this:

window,xsize=580,ysize=590
cgBlendImage, snapshot2, snapshot, ALPHA=0.3
void = cgSnapshot(FILENAME='test.png',/nodialog)

BUT .... I don't want to instantiate any 'window' - I want this all to be an offline batch process.

This works (or seems to):

set_plot,'Z'
cgBlendImage, snapshot2, snapshot, ALPHA=0.3
void = cgSnapshot(FILENAME='test.png',/nodialog)

EXCEPT that the final image has been rescaled to 640 * 480.

So, how do I get this to work without a window - but with the correct xsize and ysize values ?


Cheers

George.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: algorithm question. Can I get rid of the for loop?
Next Topic: Null Structures

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

Current Time: Wed Oct 08 19:35:39 PDT 2025

Total time taken to generate the page: 0.00481 seconds