Image Manipulator: Crop vs Alpha

For questions about using Classic.

Post » Thu Sep 30, 2010 1:55 pm

Hi everyone!
I've searched through the forum, but found no answer on this, so I've decided to register (like "okay,okay, you got me" :D ), please help.
After loading image into im.manipulator and cropping it, image drops alpha and now i've got white square with my sprite instead of normal sprite, with alpha transparency.

Or maybe i can define transparency pixels again, like set alpha or something?
B
19
S
6
G
4
Posts: 171
Reputation: 2,507

Post » Thu Sep 30, 2010 3:28 pm

Aby ideas? Please)
B
19
S
6
G
4
Posts: 171
Reputation: 2,507

Post » Thu Sep 30, 2010 3:42 pm

OMG!
It's all about bad "png" support (). I've "danced with tambourine" around "gif" and problem was solved!!!

Added:
Further research showed that the problem is in the PNG8 (that contains 256 color table so it has lesser size than any gif, bmp or so), cause PNG24 works fine.
B
19
S
6
G
4
Posts: 171
Reputation: 2,507

Post » Fri Oct 01, 2010 10:40 pm

Construct always works with PNG24 internally so I've never tried one with color tables.

Perhaps the library it uses isn't so good on those :s
B
3
S
2
G
4
Posts: 1,445
Reputation: 4,665


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 5 guests