Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

saveImage JPG color issues / PNG disable alpha?

$
0
0

@Raph wrote:

Hi

I am trying to save a screenshot using :
if (key == ‘s’){
ofSaveScreen(ofToString(ofGetFrameNum())+".jpg");
}

When I save in PNG, it saves the transparency too. Anyone knows if there is a way to disable it ?
When I save in JPG the colors are messed up, but only for the block of code with preset colors (see attached).
(I am working on a macbook pro (2012) running with Mojave 10.14)

I have tried to find a way around using fbo, but it seems a bit too advanced to me. I am losing the colors and transparency of my drawing…

Any hint would be much appreciated :slight_smile:

47

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles