|
|
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
|
|
|
|
On Thu, 21 Aug 2003 10:53:48 EDT, "Kreiger" <nomail@nomail> wrote:
> I have been using Doug Eichenberg's image macros to read the color data
> from a pigment(source image file).
> Is there any way for POV to report the size of a source image file?
> In other words I have an image that I want to read in to Pov and use as a
> pigment, but I want to know the width and height of it.
There is not such a thing in POV-Ray but this feature is already implemented
for next MegaPOV.
ABX
Post a reply to this message
|
|