POV-Ray : Newsgroups : povray.unofficial.patches : How to open 48bpp images with PC photoshop Server Time
5 Jul 2024 12:54:44 EDT (-0400)
  How to open 48bpp images with PC photoshop (Message 1 to 5 of 5)  
From: Mike Hough
Subject: How to open 48bpp images with PC photoshop
Date: 17 Sep 2001 21:36:10
Message: <3ba6a50a@news.povray.org>
I want to thank Glen for the previous thread.  Going by Kari's suggestions,
I rendered an image as a ppm image and saved it as a raw file.  It didn't
come in quite right but after some fiddling I found these are the settings
needed to import the ".raw" file:

count 3
interleaved
depth 16 bits
byte order mac
header size 17 bytes

Being the industry standard means you don't have to follow anyone else's
apparently.


Post a reply to this message

From: Glen Berry
Subject: Re: How to open 48bpp images with PC photoshop
Date: 18 Sep 2001 23:57:44
Message: <PxSoO4U2Wmc+4p4HrAG8N1AiLuon@4ax.com>
On Mon, 17 Sep 2001 20:38:16 -0500, "Mike Hough" <Ama### [at] aolcom>
wrote:

>I want to thank Glen for the previous thread.  Going by Kari's suggestions,
>I rendered an image as a ppm image and saved it as a raw file.  It didn't
>come in quite right but after some fiddling I found these are the settings
>needed to import the ".raw" file:

I'm glad it works for you. 

Unfortunately, I only have Photoshop 5.0 LE, and not the full version.
The version I use has no provision for opening "RAW" files. The only
16 bit-per-color  images that I know for certain it will open are
images in PSD or TIFF formats.

I'm currently looking for a suitable conversion utility that will
convert 48 bpp POV images into either a PSD file, or an appropriate
TIFF file.

Speaking of 16 bit-per-color image formats. I looked all through the
Win-POV 3.1g docs for verification that POV-Ray can actually create
proper 16 bit images in formats other than PNG. I  couldn't find a
single reference that actually confirmed POV could write 16 bit PPM
images, TGA images, or anything else other than PNG.

Yes, I realize if one sets the "bits per color" to 16, that the
message window claims things like "48 bpp PPM" or "48 bpp TGA", during
a rendering, but these formats don't seem to be documented. At least,
I couldn't find mention of them in the docs.


Later,
Glen


Post a reply to this message

From: Kari Kivisalo
Subject: Re: How to open 48bpp images with PC photoshop
Date: 19 Sep 2001 00:37:12
Message: <3BA82130.483FBBD0@engineer.com>
Mike Hough wrote:
>
> header size 17 bytes

This changes when the dimensions change and the Guess button should
fill it in automatically when the other input is correct.

 
_____________
Kari Kivisalo


Post a reply to this message

From: Mike Hough
Subject: Re: How to open 48bpp images with PC photoshop
Date: 19 Sep 2001 02:17:19
Message: <3ba8386f$1@news.povray.org>
> I'm currently looking for a suitable conversion utility that will
> convert 48 bpp POV images into either a PSD file, or an appropriate
> TIFF file.

I was rather hoping that POV 3.5 would support TIFF output myself.  Corel
Photopaint only supports TIFF, PSD files, and it's native format for writing
48-bit images  Most of the freeware file converters available for TIFF only
support a subset of the standard for reading and writing 8bpp images.  This
on top of the messed up PNG support in PS.

> Speaking of 16 bit-per-color image formats. I looked all through the
> Win-POV 3.1g docs for verification that POV-Ray can actually create
> proper 16 bit images in formats other than PNG. I  couldn't find a
> single reference that actually confirmed POV could write 16 bit PPM
> images, TGA images, or anything else other than PNG.

I don't think it did.  After having my first success using PPM output from
3.5, I tried rendering a file in a patched 3.1g version and it wouldn't load
properly using the same methods.


Post a reply to this message

From: Ron Parker
Subject: Re: How to open 48bpp images with PC photoshop
Date: 19 Sep 2001 23:34:33
Message: <slrn9qiouc.9bg.ron.parker@fwi.com>
On Wed, 19 Sep 2001 01:19:33 -0500, Mike Hough wrote:
>> I'm currently looking for a suitable conversion utility that will
>> convert 48 bpp POV images into either a PSD file, or an appropriate
>> TIFF file.
>
>I was rather hoping that POV 3.5 would support TIFF output myself.  Corel
>Photopaint only supports TIFF, PSD files, and it's native format for writing
>48-bit images  Most of the freeware file converters available for TIFF only
>support a subset of the standard for reading and writing 8bpp images.  This
>on top of the messed up PNG support in PS.

The TIFF standard is a maze of twisty little chunks, all different.  It's
very hard to support it in a sane way.

>> Speaking of 16 bit-per-color image formats. I looked all through the
>> Win-POV 3.1g docs for verification that POV-Ray can actually create
>> proper 16 bit images in formats other than PNG. I  couldn't find a
>> single reference that actually confirmed POV could write 16 bit PPM
>> images, TGA images, or anything else other than PNG.
>
>I don't think it did.  After having my first success using PPM output from
>3.5, I tried rendering a file in a patched 3.1g version and it wouldn't load
>properly using the same methods.

POV 3.5 writes 16bpp PPM images in a way that the current version of netpbm
can work with them.  Netpbm, for its part, is capable of writing TIFF images.
This shouldn't be too hard to piece together.

-- 
#macro R(L P)sphere{L F}cylinder{L P F}#end#macro P(V)merge{R(z+a z)R(-z a-z)R(a
-z-z-z a+z)torus{1F clipped_by{plane{a 0}}}translate V}#end#macro Z(a F T)merge{
P(z+a)P(z-a)R(-z-z-x a)pigment{rgbt 1}hollow interior{media{emission T}}finish{
reflection.1}}#end Z(-x-x.2y)Z(-x-x.4x)camera{location z*-10rotate x*90}


Post a reply to this message

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