POV-Ray : Newsgroups : povray.newusers : How to increase pixel number in the same size image? : Re: How to increase pixel number in the same size image? Server Time
29 Jul 2024 12:20:01 EDT (-0400)
  Re: How to increase pixel number in the same size image?  
From: Warp
Date: 29 Nov 2005 10:11:09
Message: <438c6f8d@news.povray.org>
James <hy5### [at] hanmailnet> wrote:
> Now, our images from POV-RAY are 72
> pixels/inch.

  That's in no way POV-Ray's fault. It's just the program you are using
(photoshop perhaps?) which by default prints things at 72 dpi. Just tell
that program to print at a higher dpi.

> Can I increase 300 pixels/inch at the same size images?

  Well, if you want to keep the same physical size (in inches) when
printing, you need to render the image at a higher pixel resolution,
obviously.

  I assume you are using the Windows version of POV-Ray. In the upper
left corner there's a drop-down menu with some preset resolutions.
Since those are probably not high enough, you can set your own resolution
in the text-field at the right of that drop-down menu. For example, if
you wanted to render at a resolution of 4000x3000, write this to that
textfield:

-w4000 -h3000 +a

(The "+a" turns basic antialiasing on, which I assume you want.)

> In addition, after running the program, images are automatically saved to
> 'bmp FILE'. Can I save it as a compressed file (i.e. jpg) within POV-RAY
> program?

  JPEG is not supported as an output format (only as input) for a pretty
obvious reason: It wouldn't be nice to have a 4-day render only to see
then that your JPEG settings were too low and the image looks like crap.

  A good lossless alternative to bmp is using png, which you can set
by adding "+fn" to the end of that textfield, like this:

-w4000 -h3000 +a +fn

  You can also add "+fn" to the end of the main povray.ini file so that
all images are always saved in the png format and you don't have to
specify it every time (in the tools menu there's an entry to edit povray.ini).

-- 
                                                          - Warp


Post a reply to this message

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