POV-Ray : Newsgroups : povray.general : Determining the size of a picture : Re: Determining the size of a picture Server Time
1 Aug 2024 12:26:07 EDT (-0400)
  Re: Determining the size of a picture  
From: ABX
Date: 7 Oct 2005 09:32:40
Message: <40uck1916ppsvq5c6us9amgokure3tk2pe@4ax.com>
On Thu, 06 Oct 2005 10:55:00 +1000, Rick Measham <rickm*at%isite.net.au>
wrote:
> I want to create a simple 'picture frame' macro that will take an image 
> file as its parameter and return a nicely framed picture, however I 
> can't see any way to get the size of the picture, they're resized to 1pu 
> x 1pu.
>
> Is there any way to do this?

If you do not mind to use patched version then such feature is available in
MegaPOV (as long as I understand you correctly).
See http://megapov.inetart.net/manual-1.2.1/expressions.html#images_sizes

ABX


Post a reply to this message

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