POV-Ray : Newsgroups : povray.general : about DPI and resolution....???? help ! : Re: about DPI and resolution....???? help ! Server Time
5 May 2024 05:18:56 EDT (-0400)
  Re: about DPI and resolution....???? help !  
From: Larry Hudson
Date: 16 Sep 2005 23:01:09
Message: <432b86f5$1@news.povray.org>
Dav_shef wrote:
> Hi everyone
> 
> I need to create a picture with a specific size and resolution.
> I am Linux user so I have a .ini file which contains info like the picture
> size in pixels, e.g. :
> 
> Width=4000
> Height=3200
> 
> But, I don't how to set the resolution. I've actually been asked to create a
> picture with 300 DPI with a size of 213 x 161 mm
> 
> How do I do that ?
> 
> Cheers guys
> 
> Dav

You can't set the dpi within POV-Ray itself, but you can do it 
'after-the-fact' with virtually any graphics editing program.  In 
PaintShop Pro, for example, it's a setting in the resize dialog box.
Oops, that's Windows -- I now noticed you said Linux.  In the Gimp, it's 
Image->Print Size.

All this does is change a data value in the header of the image file -- 
it does absolutely nothing to the image itself.

In your requested picture, 213 x 161 mm is 8.39 x 6.34 inches, so at 300 
dpi it's 2516 x 1902 pixels.

      -=- Larry -=-


Post a reply to this message

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