Jim Easterbrook

Results 91 comments of Jim Easterbrook

Is this related to Flickr changing the oauth callback url from http to https? I don't use FlickrApi's authenticate_via_browser myself, but I've had problems with the local server I use....

The Python flickrapi documentation also says: ``` format The response format. This must be either rest or one of the parsed formats etree / xmlnode. ``` https://stuvel.eu/flickrapi-doc/4-uploading.html

I don't know much C++ but would using `std::unordered_map` help? This should allow the user to iterate over the (lang, text) pairs in the order they were read from the...

Answer: no it wouldn't. `std::unordered_map` has undefined/random element order. As far as I can tell, the only solution is to change the container to a vector of key:value pairs, or...

If it ain't broke don't fix it. Surely `ExifData` provides a bit more functionality than you'd get from the bare `ExifMetadata`.

I've just discovered that the `Exif.CanonLe.LensSerialNumber` value is getting changed from 0 to 28 when the metadata is written. I treat all maker note values as read-only, so something's definitely...

Experimenting with the v1.0.0 exiv2 command line tool shows different changes to the Canon maker note values depending on which non-Canon tags I set.

Here's a minimal example (in Python I'm afraid, but I hope the C++ equivalent is obvious) using libexiv2 compiled from the GitHub repo as it was this morning. The image...

Printing out all the exif values (with the exiv2 tool compiled today) shows no difference (other than the maker note binary values) when the file is modified by libexiv2 v0.27.5,...

Another test - setting some metadata: ``` >>> import exiv2 >>> im = exiv2.ImageFactory.open('100D_IMG_7197.JPG') >>> im.readMetadata() >>> ex = im.exifData() >>> ex['Exif.Image.ImageDescription'] = 'fred' >>> im.setExifData(ex) >>> im.writeMetadata() ``` Comparing...