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

Home » Public Forums » archive » Re: why does the output jpeg look not as good as shown on screen?
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: why does the output jpeg look not as good as shown on screen? [message #49772 is a reply to message #49771] Mon, 14 August 2006 16:09 Go to previous message
Benjamin Hornberger is currently offline  Benjamin Hornberger
Messages: 258
Registered: March 2004
Senior Member
ltsmktip21@gmail.com wrote:
> Using the following commands:
>
> tvimage,imageout,position=[0,0,1,1]
> a=tvrd(true=3)
> write_jpeg,'out.jpg',a,true=3
>
> when I use kuickshow to display the image, the saved image is not as
> clear as it is shown in the IDL plot winodw, it is kind of blurring and
> dimmer. Can one make a jpeg file which is identical to the one shown in
> the IDL plot window?
>

I guess what you see is artifacts of the JPEG compression, which is a
lossy compression. These artifacts increase with the compression level
and are generally more pronounced for things like line plots, drawings,
large areas of constant color etc. as opposed to photographs.

You can try to increase the quality level of the JPEG (QUALITY keyword
to WRITE_JPEG), but if your image is more like a drawing than a
photograph, you might be better off using a different graphics format
like PNG (which uses lossless compression).

Benjamin
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: why does the output jpeg look not as good as shown on screen?
Next Topic: Help with GRID_TPS

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

Current Time: Fri Oct 10 15:32:23 PDT 2025

Total time taken to generate the page: 3.43545 seconds