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

Home » Public Forums » archive » Re: Incomplete ouput PNG files.
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: Incomplete ouput PNG files. [message #78694 is a reply to message #78691] Thu, 15 December 2011 06:23 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
alx writes:

> I agree. RESOLUTION keyword is a solution, but the (true or implicit)
> window size also plays some role. For an original image of size
> 2224x1124 and PNG output(from p=image(DIMENSIONS=...) &
> p.save,BUFFER=...,RESOLUTION=...), I find:
> BUFFER=1, RESOLUTION=96, DIMENSIONS=[800,600] -> FILE SIZE = 99 kB
> BUFFER=1, RESOLUTION=300, DIMENSIONS=[800,600] -> FILE_SIZE = 290
> kB
> BUFFER=1, RESOLUTION=600, DIMENSIONS=[800,600] -> FILE SIZE = 488
> kB
> BUFFER=1, RESOLUTION=600, DIMENSIONS=[640,512] -> FILE SIZE = 423
> kB
> BUFFER=1, RESOLUTION=600, DIMENSIONS=[1024,768] -> FILE_SIZE = 602
> kB
> BUFFER=0, RESOLUTION=600, DIMENSIONS=[640,512] -> FILE SIZE = 423
> kB
> BUFFER=0, RESOLUTION=600, DIMENSIONS=[800,600] -> FILE SIZE = 408
> kB
> BUFFER=0, RESOLUTION=600, DIMENSIONS=[1024,768] -> FILE_SIZE = 602
> kB
> Note the (strange ?) difference between BUFFER=0 and 1 for
> DIMENSIONS=[800,600]

Yes, I'm confused about just what "resolution" means in
this context. Even more confusing is why Coyote Graphics
files seem to be smaller in overall file size, while
consistently larger in image dimensions. I'm guessing
"resolution" must be one of those things that is in the
eye of the beholder. :-)

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Window with Black Background
Next Topic: Re: Compare Coyote Graphics Output with Function Graphics Output

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

Current Time: Sat Oct 11 03:29:17 PDT 2025

Total time taken to generate the page: 0.32093 seconds