V4MD : SetPicture/GetPicture trim whitespace without
permission
Martin Kloss
martin.kloss at gmx.de
Fri Nov 14 10:00:03 CST 2003
At 09:53 14.11.03, you wrote:
>You mean WHITE SPACE around picture ?
>Or INSIDE of picture?
There is a function / property "trim whitespace" in Director.
You can use "member("foo").image.trimWhitespace()" to trim
the whitespace off the "image" (here we go again :-) of a member,
or simply set the property for a bitmap castmember in
the property inspektor in Director.
>There was a couple of reports that for SOME 32 bits images it can corrupt
>1-2 pixels on edge of picture....
Yes, yes, yes, it's still there and it's very annoying, all
32-bit images seems to have that problem when getting inserted
into a picture field. Changing the "trimwhitespace" option does not
change anything, though. Neither does changing the compression
quality of the castmember.
Martin.
More information about the Valentina
mailing list