[R72] PNG-Compression

Bugs will be moved here once resolved.

Post » Sat Dec 17, 2011 1:01 pm

It seems to me, that if C2 compresses picturefiles, they come out "inverted". If the compression ist set to none, evertything is fine...
B
42
S
19
G
12
Posts: 723
Reputation: 13,911

Post » Sun Dec 18, 2011 1:01 am

If the scene is PNG with alpha channel and without an image, then export the project will have black boxes. On mobile devices are colored. If you export a project that does not compress PNG everything will be fine. But before this was not.

Thank you! And sorry for my English.

B
53
S
7
G
6
Posts: 51
Reputation: 7,136

Post » Mon Dec 19, 2011 10:22 am

I'm having this problem too, it seems that problem is happening only with this 3 guys?!I would appreciate if someone can help me with this.
tks
B
33
S
11
G
9
Posts: 381
Reputation: 10,153

Post » Mon Dec 19, 2011 11:50 am

I've encountered the same thing after export, the png was set as 32 bits png, it ended up all black (whereas is was just a 1 px black squared border).
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 7,000
Reputation: 57,795

Post » Mon Dec 19, 2011 1:33 pm

Yes, it seems that sprites which contain transparency of other than 100% transparent have these ugly black boxes around them.
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Mon Dec 19, 2011 5:29 pm

I'm not sure I understand and I can't reproduce this myself, it seems to work fine here. I've got a few questions:

- can someone show me a simple before + after image? I can't seem to tell from the screenshots/descriptions what is actually happening to the images.
- does this happen to the images in the export folder? i.e. can you open them in Windows Explorer and they look wrong there, or do they look right there and only appear wrong in the browser?
- is this consistent across browsers? Which browsers is everyone using and which browsers does it reproduce/not reproduce in?
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Mon Dec 19, 2011 6:35 pm

It occurs when ecporting to HTML5 and the "screwed" images are in the export/image folder. So it has nothing to do with the browser one uses...

Before:


After:

B
42
S
19
G
12
Posts: 723
Reputation: 13,911

Post » Mon Dec 19, 2011 7:29 pm

Ashley, this happens in firefox and chrome(im only using these), but the problem is that the file in exported images loose his alpha info when the file has 100% transparency originallycesisco2011-12-19 19:31:08
B
33
S
11
G
9
Posts: 381
Reputation: 10,153

Post » Mon Dec 19, 2011 11:04 pm

It only happens to exported projects, and is not a browser issue as the images in the folder are also corrupted.

99% sure that it is a problem due to the new PNG compression.sqiddster2011-12-19 23:08:42
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Mon Dec 19, 2011 11:25 pm

Huh, that's really weird. It doesn't do it any more in my dev version of r73... so I guess it's fixed in the next build :P
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Next

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 3 guests