LiveCode changing color of images?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
whateverworks
Posts: 2
Joined: Wed Mar 20, 2013 1:47 am

LiveCode changing color of images?

Post by whateverworks » Tue Feb 01, 2022 11:24 pm

I've imported icon images into my stack, and find that the colors are quite different (seemingly inverted to the complementary colors) from how the original images appear in my browser and in Photoshop. See screen capture showing stack vs Photoshop.

My ink blend mode for each image on the stack is "srcCopy". I tested all of the other ink modes as well, and none of them render the images in their original colors.

What am I doing wrong?

Is there a fix for this?
Attachments
Screen Shot 2022-02-01 at 12.09.44 PM copy.jpg

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10098
Joined: Fri Feb 19, 2010 10:17 am

Re: LiveCode changing color of images?

Post by richmond62 » Wed Feb 02, 2022 9:33 am

What format were the icon images in?

On GNU-Linux (Xubuntu 21.10) LiveCode can manage PNG, JPG and BMP formats without problems.

whateverworks
Posts: 2
Joined: Wed Mar 20, 2013 1:47 am

Re: LiveCode changing color of images?

Post by whateverworks » Fri Feb 04, 2022 1:36 am

Thanks for the reply richmond62!

I figured out that my use of CMYK images was the problem. When I converted the images to RGB, they displayed correctly after being brought into LiveCode.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10098
Joined: Fri Feb 19, 2010 10:17 am

Re: LiveCode changing color of images?

Post by richmond62 » Fri Feb 04, 2022 9:08 am

That's something worth remembering.

I have always used RGB images (without bothering to
even think about it).

Post Reply