Save image without alpha?

Is it possible to save an image( that has been made from ofSetFromExternalPixels) without an alpha channel?

I notice it might not:

Is there a workaround?


Still haven’t found away - must be a solution somewhere?? otherwise you can’t save jpegs at all

What if you do


to get rid of the alpha channel before saving the image?

thanks - I think that could be a good solution. I was using an FBO without alpha to render first then save which
seems ok too.

using an fbo without alpha should be faster than reconverting the image later to rgb if you don’t need alpha at all

Thanks Arturo - FBO is indeed a bit quicker.