}
return Qnil;
} catch (Exiv2::AnyError& e) {
- std::cout << "Caught Exiv2 exception: " << e << "\n";
+ // actually, I don't care about exceptions because I will try non JPG images
+ // std::cerr << "Caught Exiv2 exception: " << e << "\n";
return Qnil;
}
}
exifData["Exif.Image.Orientation"] = uint16_t(NUM2INT(val));
image->writeMetadata();
} catch (Exiv2::AnyError& e) {
- std::cout << "Caught Exiv2 exception: " << e << "\n";
+ // actually, I don't care about exceptions because I will try non JPG images
+ // std::cout << "Caught Exiv2 exception: " << e << "\n";
}
return Qnil;
}