POV-Ray : Newsgroups : povray.binaries.images : Attn: Glen Berry Server Time
3 Oct 2024 06:27:16 EDT (-0400)
  Attn: Glen Berry (Message 3 to 12 of 12)  
<<< Previous 2 Messages Goto Initial 10 Messages
From: Gilles Tran
Subject: Re: Attn: Glen Berry
Date: 21 Feb 2000 15:18:17
Message: <38B19D8E.C48ECB14@inapg.inra.fr>
Ken wrote:

> In my opinion the .jpg image format sucks. PNG is a much better
> option and POV-Ray already supports it.

My 2 cents : when storage space or file management is an issue, large images
can be converted to JPG with a good compression with little or at least
acceptable loss in quality. The Sony Cybershot digital camera uses it to store
its files on its memory stick and IMHO the result is perfect (we've been using
these files for professional documention). Another example below : the picture
is a detail from a 22 Mb rendering. The left image is from the original
(stored as a 7 Mb PNG). The image on the right is from a jpg compressed with a
1/11 ratio (stored as a 953 kb Jpg). The present combo is a jpg obtained with
the minimum compression available.
You can see the difference if you magnify the jpg image, and even without
magnifying there are visible artifacts (lines belows the lampshade). However,
both the (original) images would be perfectly suitable for printing. And while
the 953 kb JPG file can be sent by email (after taking the proper
precautions), the 7 Mb PNG usually can't... I had to do this some time ago
and, though this was very surprising at first, it made me realize that JPG,
when handled wisely, can save the day.

The day POV supports JPG input, I'll quicky convert the larger image maps
(with the proper compression ratio !!!), because it will make managing the
projects easier (like saving them on CD-ROMs, or transferring them between
machines). I can already do that, but it requires zipping or converting the
files back and forth, which is not very practical (and saving in PNG takes a
while, particularly with large files). However I'll keep storing as PNGs the
final renderings, the small image maps, the few image maps that behave too
strangely in JPG and those with an alpha channel. And yes, I'll still miss
(just a little) a jpeg saving feature in pov, because I think that it would
have been very handy during the test renders (and the possibility of launching
by mistake a week-long final render in JPG format is not worse than any other
mistake I can do at this always febrile and exciting moment).

G.


Post a reply to this message


Attachments:
Download 'chcpare.jpg' (88 KB)

Preview of image 'chcpare.jpg'
chcpare.jpg


 

From: Glen Berry
Subject: Re: Attn: Glen Berry
Date: 21 Feb 2000 15:42:39
Message: <LqKxONaTCXJAGujskAFt1P1vcbv9@4ax.com>
On Mon, 21 Feb 2000 21:18:23 +0100, Gilles Tran <tra### [at] inapginrafr>
wrote:

>Ken wrote:
>
>> In my opinion the .jpg image format sucks. PNG is a much better
>> option and POV-Ray already supports it.
>
>My 2 cents : when storage space or file management is an issue, large images
>can be converted to JPG with a good compression with little or at least
>acceptable loss in quality. 

Thank you Gilles, for showing everyone a worthwhile use of JPEG.

Later,
Glen Berry


Post a reply to this message

From: David Fontaine
Subject: Re: Attn: Glen Berry
Date: 21 Feb 2000 16:15:51
Message: <38B1AA75.7018697E@faricy.net>
The three best options to compress images are PNG, GIF, and JPEG, depending
upon what the image is. These crappy squares would obviously work best in PNG
or GIF, although they still would be pretty small with a decent JPEG
compressor. Big fancy renders, for internet purposes, are better off in JPEG
because loss is minimal and there are so many colors. When I made the Escher
gallery, I had to get all the images in JPEG and convert them to PNG so POV
could read them, and that was a waste of time and disk space (the PNGs are
*much* bigger, unfortunately, converting it doesn't get rid of the loss).
There are no horrid artifacts for you to complain about.
The whole idea of using JPEG in the first place was for this exact purpose;
getting pictures of the 'net without converting them. It's up to the person
who posts it on the net in the first place to pick an appropriate format. I
don't think anyone around here wants to wait for a 5M PNG when they can get a
90k JPEG with slight noticeable loss or even a 600k JPEG that's almost exactly
the same.

--
___     ______________________________________________________
 | \     |_                 <dav### [at] faricynet> <ICQ 55354965>
 |_/avid |ontaine               http://www.faricy.net/~davidf/

"Sitting on a cornflake, waiting for the van to come" -Beatles


Post a reply to this message

From: ingo
Subject: Re: Attn: Glen Berry
Date: 21 Feb 2000 17:01:17
Message: <8EE1E98C4seed7@204.213.191.228>
Gilles Tran wrote:

>Ken wrote:
>
>> In my opinion the .jpg image format sucks. PNG is a much better
>> option and POV-Ray already supports it.
>
>My 2 cents : 

What a pitty you didn't post it as a PNG, now we are comparing 1x JPEG 
compression and 2x JPEG compression.
In the right picture, without zooming I see a loss of detail in the hair, 
its more fuzzy. Around the lampost there seems to be an extra contour and 
the edge of it if softer. Under the lamp in the orange on the wall the 
horizontal lines are more prominent There seems to be more structure in the 
yellow on the wall. The colour fade on the womans back, from the spline to 
the side is less smooth.

There is a JPEG compression utility at: 
http://vision.arc.nasa.gov/dctune/dctune2.0.html
It has a somewhat different approach, you can specify the visual quality 
instead of the compression rate. Or you can set the desired file size.

O T: A link for you Gilles, http://www.atelier-fresson.com/
It seems they have opend up their buissenis a bit more, there is even an 
price list (and the prices are stunning).


Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

From: Ken
Subject: Re: Attn: Glen Berry
Date: 21 Feb 2000 21:35:11
Message: <38B1F58D.FCDAD5ED@pacbell.net>
Glen Berry wrote:
> 
> On Mon, 21 Feb 2000 10:25:27 -0800, Ken <tyl### [at] pacbellnet> wrote:
> 
> >
> >Glen,
> >
> > Attached you will find a small jpg image_map (ugly.jpg) and a
> >rendered image (GBerry.jpg) illustrating the undersirable conseq-
> >uenses of using .jpg images as an input format.
> 
> Well, those certainly are bad. However, they are also not typical
> examples of a sane JPEG input image.

 You asked for an example and I provided what I felt is the best possible
example to illustrate my point. Now you criticize me for finding one that
excels at what I wanted to illustrate. Shame on you :)

-- 
Ken Tyler -  1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: TonyB
Subject: Re: Attn: Glen Berry
Date: 21 Feb 2000 21:42:04
Message: <38b1f77c@news.povray.org>
>The colour fade on the womans back, from the spline to
>the side is less smooth.

Can you believe I thought it was a mountain with a cave and grass at the
top? I had to double check when I read your post.


Post a reply to this message

From: Bill DeWitt
Subject: Re: Attn: Glen Berry
Date: 22 Feb 2000 08:07:59
Message: <38b28a2f@news.povray.org>
"TonyB" <ben### [at] panamac-comnet> wrote :
>
> Can you believe I thought it was a mountain with a cave and grass at the
> top? I had to double check when I read your post.
>

    That's what I thought too...! I was trying to figure out why the UFO was
beaming up kelp from the valley.


Post a reply to this message

From: ingo
Subject: Re: Attn: Glen Berry
Date: 22 Feb 2000 08:29:48
Message: <8EE290AD7seed7@204.213.191.228>
Bill DeWitt wrote:

>
>"TonyB" <ben### [at] panamac-comnet> wrote :
>>
>> Can you believe I thought it was a mountain with a cave and grass at
>> the top? I had to double check when I read your post.
>>
>
>    That's what I thought too...! I was trying to figure out why the UFO
>    was 
>beaming up kelp from the valley.
>
>

Bad, bad compression ...

Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

From: Glen Berry
Subject: Re: Attn: Glen Berry
Date: 22 Feb 2000 09:56:31
Message: <TaGyOO03lzwwxRpOAf=a6oXcpDKp@4ax.com>
On Mon, 21 Feb 2000 18:33:49 -0800, Ken <tyl### [at] pacbellnet> wrote:

> You asked for an example and I provided what I felt is the best possible
>example to illustrate my point. Now you criticize me for finding one that
>excels at what I wanted to illustrate. Shame on you :)

Yes. I expected you to provide a reasonable and typical image, the
sort of image that you had actually tried to use as an image_map in
the past with reasonable expectations of a successful outcome, not
something approaching a contrived, worst-case scenario. In short, I
expected you to play fair. It seems I expected too much from you.

Later,
Glen Berry


Post a reply to this message

From: Ken
Subject: Re: Attn: Glen Berry
Date: 22 Feb 2000 11:17:13
Message: <38B2B633.DC9EC310@pacbell.net>
Glen Berry wrote:

> In short, I expected you to play fair.

And what fun, dare I ask, would there be in that ?

-- 
Ken Tyler -  1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

<<< Previous 2 Messages Goto Initial 10 Messages

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.