Skip to content

tests: Use Flash output for a couple of tests#23151

Open
ChrisCPI wants to merge 2 commits intoruffle-rs:masterfrom
ChrisCPI:update-gradient-outputs
Open

tests: Use Flash output for a couple of tests#23151
ChrisCPI wants to merge 2 commits intoruffle-rs:masterfrom
ChrisCPI:update-gradient-outputs

Conversation

@ChrisCPI
Copy link
Contributor

@ChrisCPI ChrisCPI commented Mar 1, 2026

Related to #23059

@kjarosh kjarosh self-requested a review March 1, 2026 00:17
@ChrisCPI ChrisCPI force-pushed the update-gradient-outputs branch from f700375 to 8f740c5 Compare March 1, 2026 00:18
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here I'm getting slightly different colors in FP, like #9b6fad vs #9c70ad.

Which FP did you take these outputs from?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I took the screenshots from Windows 10, then sent it over Discord and cropped it on my Mac, so it wouldn’t surprise me if that messed it up some. I can try a different approach later today.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not an expert, but it looks like the PNG has been converted from one color profile to another. Also be careful when sending pictures through such services as they will often reencode the image to save space. To make sure they are exactly the same, either use checksums or send them in an archive.

@kjarosh
Copy link
Member

kjarosh commented Mar 1, 2026

Also, you probably shouldn't embed color profiles in PNGs, it will only confuse users because the PNGs will show different colors than expected.

@kjarosh kjarosh added A-tests Area: Tests & Test Framework T-fix Type: Bug fix (in something that's supposed to work already) labels Mar 1, 2026
@ChrisCPI ChrisCPI force-pushed the update-gradient-outputs branch from 8f740c5 to 2cd23e7 Compare March 2, 2026 00:18
@ChrisCPI ChrisCPI requested a review from kjarosh March 2, 2026 00:22
Use output from Flash Player
@ChrisCPI ChrisCPI force-pushed the update-gradient-outputs branch from 2cd23e7 to 0267726 Compare March 2, 2026 00:29
@ChrisCPI ChrisCPI force-pushed the update-gradient-outputs branch from 0267726 to 0b71a5d Compare March 2, 2026 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-tests Area: Tests & Test Framework T-fix Type: Bug fix (in something that's supposed to work already)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants