JPG images show the wrong colors in the PDF file.

JPG images show the wrong colors in the PDF file.

KB-20250327-01

Version

Before XFRX 24.3

Symptoms

  • PDF viewer shows image in negative colors.

Cause

  • JPEG file was created by Adobe Photoshop

Workaround

Are two ways how to "fix"
  1. Add  directive #UR COLOR "NEG"  to image's Comment
  2. Reduce image size - if image is big, then changing image's size save JPEG in RGB schema.
    • Set PictureDPI property
m.loSession=EVALUATE([XFRX("XFRX#LISTENER")])
m.loSession.PictureDPI=96
    • Add directive #UR PICTUREDPI=96 to image's Comment