Page 1 of 1

How to know if IPTC can be saved?

Posted: Mon Oct 09, 2006 11:16 am
by kurka666
Hi

Is it possible to know if a file type supports saving of IPTC without trying first and then checking the error response?

The gflFormatIsWritableByName/Index may return Yes even if metadata can not be saved (for example for .BMP)

Thanks

Henrik

Re: How to know if IPTC can be saved?

Posted: Mon Oct 09, 2006 11:33 am
by xnview
kurka666 wrote:Hi

Is it possible to know if a file type supports saving of IPTC without trying first and then checking the error response?

The gflFormatIsWritableByName/Index may return Yes even if metadata can not be saved (for example for .BMP)
No, i must add a fuction for that. Currently you have only JPEG...

Posted: Mon Oct 09, 2006 12:14 pm
by kurka666
ok - that's what I thought. For now, I'll just hard code a check for JPG or others.

Thanks!