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

Home » Public Forums » archive » Problem with cgcmdwindow__define
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Problem with cgcmdwindow__define [message #87631] Thu, 20 February 2014 05:52 Go to previous message
seanelvidge is currently offline  seanelvidge
Messages: 11
Registered: January 2013
Junior Member
Hi all (David),

I seem to be having a problem when saving a cgWindow to a Raster image file. I think the problem may be in cgcmdwindow__define. I am trying to save a cgWindow, to a PNG file (although this happens for any file type) however the outputted image is only a single pixel wide.

I believe this is because a WIDTH of 0 is being passed to cgPS_Close (line 2662 in cgcmdwindow__define) which comes from self.im_width. With the width set thus when an N_ELEMENTS check is done during cgPS_Close the program thinks I want to resize the image to something of width 0.

This fault seems to have only arisen recently.


Many thanks with any help you can provide,
Sean.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: MPFIT2DFUN- use for a time series of images?
Next Topic: Initialize new variable array with nan or -9999 values

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

Current Time: Wed Oct 08 15:36:59 PDT 2025

Total time taken to generate the page: 0.00396 seconds