POV-Ray : Newsgroups : povray.general : A problem regarding the size of the rentered image : Re: A problem regarding the size of the rentered image Server Time
30 Jul 2024 08:15:20 EDT (-0400)
  Re: A problem regarding the size of the rentered image  
From: Anthony D  Baye
Date: 17 Jun 2009 21:30:00
Message: <web.4a3997d7dd1514c231d6f4b0@news.povray.org>
POV renders strictly at 72 DPI, if you want to change this, you need to render
the image with a high resolution and then adjust its physical dimensions and
pixel depth in a program like photoshop.

for example:
a 5.43 X 3.24 image at 300 DPI would be rendered at
1644 x 972

The resulting image would be opened in photoshop, where you would go to the
"Image" menu, select "Image Size..." and change the Resolution to 300 dpi, turn
off "Resample Image" and click OK

The physical dimensions of the image are auto-scaled to the Resolution with the
given Pixel Dimensions.

as for changing the file type:

+FNd will give a d-bit (substitute d for 8, 16, 24 or 32 PNG file
+FTd will give a d-bit TGA file
+FJd will give a d-bit JPEG file

I don't think POV has TIFF output

"trexgr" <vic### [at] yahoocom> wrote:
> Hello all.
>
> I am completely new to rentering with pov-ray, and I have a question that is
> bugging me for a while today. After creating an image in VMD, I used the
> pov-ray rentering option, produced a .pov file, then used the pov-ray program
> in Windows, and produced a nice BMP file. I cannot, however have access to the
> size of the output file, and the resolution, i.e how many pixels per inch (DPI,
> or PPI) my output picture should be. I tried to check the Help, and I can change
> the width and the height of the image, in pixels (the program calls THIS as
> resolution, the output of 1024x780 pixels for example).
>
> This however is only a part of the solution. How can I have absolute control of
> the size of the image (its a simple 2D image by the way, no animation) and its
> resolution ? For example, how can I specify that the output picture should be
> EXACTLY 5.43 inch x 3.24 inch, with 300 DPI resolution? Also, where and how do
> I change the output type, and instead of BMP get either TGA or TIFF ?
>
> Thanks in advance
> t.


Post a reply to this message

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