POV-Ray : Newsgroups : povray.general : size of source image : Re: size of source image Server Time
4 Aug 2024 02:20:55 EDT (-0400)
  Re: size of source image  
From: Warp
Date: 21 Aug 2003 11:02:03
Message: <3f44deea@news.povray.org>
Kreiger <nomail@nomail> wrote:
> Is there any way for POV to report the size of a source image file?

  Unfortunately there's no way of doing it. You will need to look at
the dimensions of the image with a separate program (if you don't know
it) and use these dimensions directly in your pov-code.

  Perhaps in the distant future...

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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