POV-Ray : Newsgroups : povray.general : 48-bit PNG output from POVRay garbled in Photoshop Server Time
6 Nov 2024 22:16:27 EST (-0500)
  48-bit PNG output from POVRay garbled in Photoshop (Message 1 to 10 of 10)  
From: George Pantazopoulos
Subject: 48-bit PNG output from POVRay garbled in Photoshop
Date: 1 Jul 2002 23:49:50
Message: <3d2122de$1@news.povray.org>
Hey all,
    When I output a PNG file with Bits_Per_Color=16, loading it into
Photoshop 6.0 does not produce a recognizable image. Is there something
wrong with POV's 48-bit PNG output, or am I missing something here? I would
prefer to just output a PPM with a .raw extension, but theres no way to
automate this anymore as +FR was dropped. I'd rather not have to use
+oImage.raw becaue then I lose the ability to have the scene file name in
the image. (Photoshop does not read PPM files with a .ppm extension, they
have to be loaded as .raw).

Any ideas on getting POVRay to output a 48-bit PNG (or other 48-bit file
format) suitable for Photoshop?

Thanks,
George Pantazopoulos


Post a reply to this message

From: Ken
Subject: Re: 48-bit PNG output from POVRay garbled in Photoshop
Date: 2 Jul 2002 00:06:04
Message: <3D21268C.CB2321@pacbell.net>
George Pantazopoulos wrote:
> 
> Hey all,
>     When I output a PNG file with Bits_Per_Color=16, loading it into
> Photoshop 6.0 does not produce a recognizable image. Is there something
> wrong with POV's 48-bit PNG output, or am I missing something here? I would
> prefer to just output a PPM with a .raw extension, but theres no way to
> automate this anymore as +FR was dropped. I'd rather not have to use
> +oImage.raw becaue then I lose the ability to have the scene file name in
> the image. (Photoshop does not read PPM files with a .ppm extension, they
> have to be loaded as .raw).
> 
> Any ideas on getting POVRay to output a 48-bit PNG (or other 48-bit file
> format) suitable for Photoshop?

This has been reported before. Most people agree that for some reason
Photoshop has poor support for the .png file format and there is little
that can be done with POV-Ray to fix it. If they try to support the
format that Photoshop can use then it breaks the .png support for all
of the other programs that can use the png files that POV-Ray produces.

My sugestion: Complain to the makes of Photoshop and get them to fix
their program.

-- 
Ken Tyler


Post a reply to this message

From: George Pantazopoulos
Subject: Re: 48-bit PNG output from POVRay garbled in Photoshop
Date: 2 Jul 2002 00:52:37
Message: <3d213195@news.povray.org>
Hi Ken,
    In light of this situation, is there a way to get POVRay to output a PPM
image but change the file extension? I dont want to do +fp16 +oImage.raw
because I would lose the ability to have the scene name in the filename. Is
there a way to specify a custom file extension in POVRay? (I'd like to have
something like this being saved to disk: <scene file name>.raw )

Thanks again,
George Pantazopoulos



"Ken" <tyl### [at] pacbellnet> wrote in message
news:3D2### [at] pacbellnet...
>
>
> George Pantazopoulos wrote:
> >
> > Hey all,
> >     When I output a PNG file with Bits_Per_Color=16, loading it into
> > Photoshop 6.0 does not produce a recognizable image. Is there something
> > wrong with POV's 48-bit PNG output, or am I missing something here? I
would
> > prefer to just output a PPM with a .raw extension, but theres no way to
> > automate this anymore as +FR was dropped. I'd rather not have to use
> > +oImage.raw becaue then I lose the ability to have the scene file name
in
> > the image. (Photoshop does not read PPM files with a .ppm extension,
they
> > have to be loaded as .raw).
> >
> > Any ideas on getting POVRay to output a 48-bit PNG (or other 48-bit file
> > format) suitable for Photoshop?
>
> This has been reported before. Most people agree that for some reason
> Photoshop has poor support for the .png file format and there is little
> that can be done with POV-Ray to fix it. If they try to support the
> format that Photoshop can use then it breaks the .png support for all
> of the other programs that can use the png files that POV-Ray produces.
>
> My sugestion: Complain to the makes of Photoshop and get them to fix
> their program.
>
> --
> Ken Tyler


Post a reply to this message

From: Warp
Subject: Re: 48-bit PNG output from POVRay garbled in Photoshop
Date: 2 Jul 2002 15:40:13
Message: <3d22019d@news.povray.org>
Ken <tyl### [at] pacbellnet> wrote:
> This has been reported before. Most people agree that for some reason
> Photoshop has poor support for the .png file format and there is little
> that can be done with POV-Ray to fix it.

  I just tried to create a 48-bit PNG with POV-Ray and Gimp, ACDSee or
Mozilla didn't have any problem with it, so it really has to be some
problem with Photoshop itself.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: 48-bit PNG output from POVRay garbled in Photoshop
Date: 2 Jul 2002 16:14:05
Message: <3d22098d@news.povray.org>
In article <3d22019d@news.povray.org> , Warp <war### [at] tagpovrayorg>  wrote:

> so it really has to be some
> problem with Photoshop itself.

The PC version of it to be precise.  Somebody didn't consider byte order
when porting their code to WinDOS...

But who knows, maybe Apple will fix this problem for Windows users in the
near future, just like <http://www.theregister.co.uk/content/4/25966.html>
;-)

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Warp
Subject: Re: 48-bit PNG output from POVRay garbled in Photoshop
Date: 2 Jul 2002 16:47:15
Message: <3d221153@news.povray.org>
Thorsten Froehlich <tho### [at] trfde> wrote:
> But who knows, maybe Apple will fix this problem for Windows users in the
> near future, just like <http://www.theregister.co.uk/content/4/25966.html>
> ;-)

  Wasn't Photoshop made by Adobe? Or has Apple bought them too?

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

From: marabou
Subject: Re: 48-bit PNG output from POVRay garbled in Photoshop
Date: 2 Jul 2002 16:56:01
Message: <3d221360@news.povray.org>
George Pantazopoulos wrote:

> Hey all,
>     When I output a PNG file with Bits_Per_Color=16, loading it into
> Photoshop 6.0 does not produce a recognizable image. Is there something
> wrong with POV's 48-bit PNG output, or am I missing something here? I
> would prefer to just output a PPM with a .raw extension, but theres no way
> to automate this anymore as +FR was dropped. I'd rather not have to use
> +oImage.raw becaue then I lose the ability to have the scene file name in
> the image. (Photoshop does not read PPM files with a .ppm extension, they
> have to be loaded as .raw).
> 
> Any ideas on getting POVRay to output a 48-bit PNG (or other 48-bit file
> format) suitable for Photoshop?
> 

you use 16 bits_per_color and want a 48bit PNG? maybe you try a 16bit TGA 
and load it into Photoshop...


Post a reply to this message

From: Warp
Subject: Re: 48-bit PNG output from POVRay garbled in Photoshop
Date: 2 Jul 2002 16:59:34
Message: <3d221436@news.povray.org>
marabou <not### [at] availablenet> wrote:
> you use 16 bits_per_color and want a 48bit PNG?

  No, he is using 16 bits per color *channel* (with 3 color channels that
sums to 48 bits per color; 64 if he uses the alpha channel as well).

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: 48-bit PNG output from POVRay garbled in Photoshop
Date: 2 Jul 2002 17:04:49
Message: <3d221571@news.povray.org>
In article <3d221153@news.povray.org> , Warp <war### [at] tagpovrayorg>  wrote:

> Wasn't Photoshop made by Adobe? Or has Apple bought them too?

Not yet ;-)

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Peter Popov
Subject: Re: 48-bit PNG output from POVRay garbled in Photoshop
Date: 2 Jul 2002 17:36:55
Message: <8t64iu4ja2a2g6j726nc2ecin5undk6eub@4ax.com>
On Wed, 3 Jul 2002 00:55:46 -0400, "George Pantazopoulos"
<the### [at] attbicom*KILLSPAM*> wrote:

>Hi Ken,
>    In light of this situation, is there a way to get POVRay to output a PPM
>image but change the file extension? I dont want to do +fp16 +oImage.raw
>because I would lose the ability to have the scene name in the filename. Is
>there a way to specify a custom file extension in POVRay? (I'd like to have
>something like this being saved to disk: <scene file name>.raw )

Use the ini command Post_Scene_Command= , also check the manual for
"Shell-out string substitution".

I hope this helps.


Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vipbg
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

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