Jump to content

Recommended Posts

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
Link to comment
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
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 18.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

Link to comment
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" 2019 Sequoia 15.0 (24A335), iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9  
B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Link to comment
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" 2019 Sequoia 15.0 (24A335), iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9  
B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Link to comment
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
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 18.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

Link to comment
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 :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.