Jump to content

Recommended Posts

Posted (edited)

Hey!

I'm having problem with Hexa colour, when exporting it !
So when I try to export something with the #808080, it usually becomes #7f7f7f.
On my test, the #7f7f7f can become something else :/

To check, I'm using the colour picker inside Firefox. I tried with Gimp too, same crazy result !

The goal was to use it as an alpha channel... in Gimp, because it can export it to a game texture .dds DXT5.

The only format that can be ok to export the #808080 was on my case .gif Gray.
You will be able to find all my files in the .zip file attached, to check the colour exported, and the .afphoto to be sure !

If gray file, I can't make #808080, or a pure 50% black.............

Do I need to understand something I don't know ?
Thx for your help !

808080.7z

Here are different export from the same file, you can use the browser colour picker if you want ;)

808080-to-7f7f7f-gifRVB.gif

808080-to-7f7f7f-gifGray.gif

808080-to-7f7f7f-jpg8.jpg

808080-to-7f7f7f-png8.png

Edited by Petrus
added attached files to show directly

Share this post


Link to post
Share on other sites

I'm not sure I understand what you're saying. But I opened both the RGB .afphoto file and the gray .afphoto file from your attachment, and exported them as JPG files, and opened them in Firefox and in Affinity Photo. In both applications, the application color pickers show the #808080 part of the image as #808080.

I also opened your .jpg8.jpg file, and I see the #808080 as #808080, too.

If you're not seeing that then I'm not sure what's happening with you.


-- Walt

Windows 10 Home, version 1903 (18362.145), 16GB memory, Intel Core i7-6700K @ 4.00Gz, GeForce GTX 970
Affinity Photo 1.7.1.404 and 1.7.1.404 Beta   / Affinity Designer 1.7.1.404 and 1.7.1.404 Beta  / Affinity Publisher 1.7.1.404

Share this post


Link to post
Share on other sites

Is the Firefox colour picker set right, I've just tried with Mac colour digital meter and it shows the correct hex numbers for each square.

Actually I've just tested your png export and the 808080 reads 7f7f7f and 7f7f7f reads 7f7f7f


iMac 27" Late 2015 Fully Loaded, iMac 27" Mid 2011 both running High Sierra 10.13.6 - Affinity Designer/Photo, Publisher Beta 1.7.0.140, Illustrator CC, Inkscape, Blender, Sketchup, Pepakura Designer, MTC, Pixelmator & Pixelmator Pro + more... XP-Pen Artist-22E, - iPad Pro 12.9 B|  

Affinity Help - Affinity Desktop Tutorials Instagram & Flickr - Affinity Live 19th June 2019

Share this post


Link to post
Share on other sites

I exported a png24 from the original afphoto file and on my Mac Firefox this reads correctly, a png8 reads as 7f7f7f

808080-to-7f7f7f-RVB.png


iMac 27" Late 2015 Fully Loaded, iMac 27" Mid 2011 both running High Sierra 10.13.6 - Affinity Designer/Photo, Publisher Beta 1.7.0.140, Illustrator CC, Inkscape, Blender, Sketchup, Pepakura Designer, MTC, Pixelmator & Pixelmator Pro + more... XP-Pen Artist-22E, - iPad Pro 12.9 B|  

Affinity Help - Affinity Desktop Tutorials Instagram & Flickr - Affinity Live 19th June 2019

Share this post


Link to post
Share on other sites
1 hour ago, firstdefence said:

I exported a png24 from the original afphoto file and on my Mac Firefox this reads correctly, a png8 reads as 7f7f7f

The file you attached with that comment reads #808080 for me using FF's eyedropper.

By the way, remember that the export preset named PNG-24 does not really say anything about the PNG format that is used. Specifically it does not say to produce a png24-format image. It basically just says not to palettize (dither) the output file to limit it to 256 colors,  as the PNG-8 export preset does.


-- Walt

Windows 10 Home, version 1903 (18362.145), 16GB memory, Intel Core i7-6700K @ 4.00Gz, GeForce GTX 970
Affinity Photo 1.7.1.404 and 1.7.1.404 Beta   / Affinity Designer 1.7.1.404 and 1.7.1.404 Beta  / Affinity Publisher 1.7.1.404

Share this post


Link to post
Share on other sites

Thx all for your answers and tests on your computers !

I'm trying to manage those colours because a game is using this code on an alpha channel for a specific purpose, and I'm trying to hunt the problem that is causing the 0 result on my different tries.

So I want just to be sure this is not a possible cause of my problem. And found this little "bug"...

I'll go to the game forum to ask if it's a big problem to have this #808080 changing to #7f7f7f...

Thx all :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×