POV-Ray : Newsgroups : povray.general : How to output 8-bit Grayscale Bitmap files? Server Time
2 Nov 2024 17:19:09 EDT (-0400)
  How to output 8-bit Grayscale Bitmap files? (Message 1 to 3 of 3)  
From: Glen Berry
Subject: How to output 8-bit Grayscale Bitmap files?
Date: 21 Dec 2003 04:08:26
Message: <ffoauv86akm6q49j6oppo9s5n2ntov21sm@4ax.com>
I'm using POV 3.5 for Windows, and I'm having a bit of trouble finding
a combination of switches and options that will render a scene as an
8-bit grayscale, in Windows bitmap format.

I can get a Windows bitmap that is rendered in only shades of gray,
but when I check this in an image editor, I find it was actually
stored in a 24-bit RGB format.

How do I get a single channel, 8-bit, grayscale, windows bitmap?

thanks,
McLilith


Post a reply to this message

From: ingo
Subject: Re: How to output 8-bit Grayscale Bitmap files?
Date: 21 Dec 2003 06:13:38
Message: <Xns94587C6177087seed7@netplex.aussie.org>
in news:ffoauv86akm6q49j6oppo9s5n2ntov21sm@4ax.com Glen Berry wrote:

> How do I get a single channel, 8-bit, grayscale, windows bitmap?
> 

It will not work for BMP's as you cannot set another colourdepth for 
these, but if PNG's are ok, the put +FN8 on the commandline and 'hf_gray_
16' within the global_settings statement.

... or use the post_frame / post_scene command in your ini-file to start a 
conversion utility.

Ingo


Post a reply to this message

From: Glen Berry
Subject: Re: How to output 8-bit Grayscale Bitmap files?
Date: 22 Dec 2003 03:55:43
Message: <c3cduvk2t26pcbej1igg7rstifhpp4ddvq@4ax.com>
On 21 Dec 2003 06:13:38 -0500, ingo <ing### [at] tagpovrayorg> wrote:

>It will not work for BMP's as you cannot set another colourdepth for 
>these...

Okay, I'll just create grayscale PNG files, and convert them after the
render with a post_frame / post_scene command. I just happen to have a
command-line PNG2BMP utility. I only hope that IT works with grayscale
images.   :)

thanks,
Glen


Post a reply to this message

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