Jom
Jom

Reputation: 13

Save RGBA image with metadata in iOS

I am working on an iOS application that does some image processing. The result of the processing is a grey-scale image. When the process is finished, I want to save the original RGB image together with the result in a same image file to camera roll, so I thought of using alpha channel for that.

Also, I want to attach some parameters got in the processing as image metadata.

So here it comes my problem. I could not find an iOS compatible image format that allows saving alpha channel together with metadata. On the one hand, JPEG images accept metadata, but not alpha channel. On the other hand, PNG images accept alpha channel, but not metadata.

Any ideas?

Thanks in advance.

Upvotes: 1

Views: 518

Answers (1)

user529758
user529758

Reputation:

On the other hand, PNG images accept alpha channel, but not metadata.

But yes metadata.

Upvotes: 1

Related Questions