image dimensions
image dimensions
I haven't found a way. How to read the width and height of the image?
Re: image dimensions
image you mean a loaded brush ?
use GetAttribute()
use GetAttribute()
Code: Select all
LoadBrush(1,"c:\\23.png")
DebugPrint(GetAttribute(#BRUSH,1,#ATTRWIDTH))
DebugPrint(GetAttribute(#BRUSH,1,#ATTRHEIGHT))
Christos
Re: image dimensions
I'm thinking about a small program that manipulates photo dimensions and cropping. If using a brush is appropriate, then yes. I have no programming experience and I'm playing around with AI, but it's not quite right. After a long struggle, the AI also managed to get attributes, but I wasn't sure. Thank you.
Re: image dimensions
whats your logic?
how you plan to manipulate image ? you first have to load it correct?
but yes you cant find image size without loading it first
you can however examine image header, but is not that simple...
how you plan to manipulate image ? you first have to load it correct?
but yes you cant find image size without loading it first
you can however examine image header, but is not that simple...
Christos