Author Topic: RGB color change after export  (Read 155 times)

jens_dkt

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
  • Scribus User
RGB color change after export
« on: December 08, 2022, 02:12:41 pm »
Hi,

I'm trying to export a PDF for Screen/Web but I'm having an issue with the RGB colors getting changed when exporting it. I first noticed it with RGB color 0,159,231 which ends up as 0,159,230 after export.

I've tested it with Scribus 1.5.8 in Windows and in Ubuntu. I've tried different PDF versions and I get the same issue.

To test this further I created two new RGB colors 172,172,172 and 173,173,173.
I apply each color to different objects and after export both objects will end up as RGB color 172,172,172.
It seems as if Scribus will not export RGB colors correctly after a certain threshold.

Can someone help me, am I doing it wrong?

//Jens


RodneyLee

  • Sr. Member
  • ****
  • Posts: 309
  • Karma: 3
  • Scribus User
Re: RGB color change after export
« Reply #1 on: December 08, 2022, 02:47:33 pm »
How do you check the colors?

jens_dkt

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
  • Scribus User
Re: RGB color change after export
« Reply #2 on: December 08, 2022, 03:06:12 pm »
I've been using photopea.com to open the files to verify colors as I don't have Photoshop.
Do you have a better way of verifying the colors?

AdmFubar

  • Full Member
  • ***
  • Posts: 193
  • Karma: 2
  • Scribus User and Abuser
Re: RGB color change after export
« Reply #3 on: December 08, 2022, 08:59:18 pm »
It's most likely just a math issue of converting from hex to decimal and back again.
Using Scribus 1.5.8 openSUSE 15.4
Advanced hobbyist

Nermander

  • Hero Member
  • *****
  • Posts: 1544
  • Karma: 19
Re: RGB color change after export
« Reply #4 on: December 08, 2022, 09:05:41 pm »
There shouldn't be any such issues from converting between hex and decimal as long as the numbers are integers.

But it looks as some kind of rounding issue.

Aleks100

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
  • Scribus User
Re: RGB color change after export
« Reply #5 on: December 09, 2022, 04:22:47 pm »
Tested in Scribus 1.5.8
- Exported from Scribus as Pdf  - Color Output Intended For Screen/Web
- Opened Pdf in Photoshop, checked numbers with eyedropper,
- Everything OK, got the same decimal numbers

 

palmate