Open niwics opened 4 years ago
@niwics That depends on what assumptions the package should have re: IPTC data present in images it is scanning. I feel like if force=True, it should just change it to INFO instead of WARNING, since you are basically overriding the traditional approach of getting data about the image being loaded.
I agree with that - when I use the flag force=True
, I assume that no IPTC data are there so INFO log level is appropriate.
minor issue compared to supporting latest IPTC tags that still need work. closing for now unless sponsored.
When parsing JPEG files with no IPTC data, I suppose that the scanning message Marker scan hit start of image data should not be logged as warning, but as info. At least when I use the
force=True
flag inIPTCInfo
constructor (intended for processing files without IPTC data).Maybe I am missing something, but I don't see the possibility to determine whether my image has IPTC data or not without warnings.