Changeset 101 for trunk/lingosource/castlib2/ImageUtilityScripts.ls
- Timestamp:
- 03/05/09 12:45:14 (3 years ago)
- File:
-
- 1 edited
-
trunk/lingosource/castlib2/ImageUtilityScripts.ls (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lingosource/castlib2/ImageUtilityScripts.ls
r97 r101 305 305 if ft = 32 then 306 306 maske = img.extractalpha() 307 maskImg = image(breite, hoehe, 32) -- 32 bit is twice as fast on the mac ???!!! and can be used as mask also307 maskImg = image(breite, hoehe, 8, #grayscale) -- 32 bit is twice as fast on the mac ???!!! and can be used as mask also 308 308 usemask = 1 309 309 else … … 311 311 end if 312 312 313 tempImg = image(breite, hoehe, origft, img.usealpha, img.paletteref)313 tempImg = image(breite, hoehe, origft, 0, img.paletteref) 314 314 if usemask then img.useAlpha = 0 315 315
Note: See TracChangeset
for help on using the changeset viewer.
