Package list mirage / 9ef1ea8
Keep EXIF/IPTC/XMP tags after image modification Thomas Ross 1 year, 5 months ago
3 changed file(s) with 13 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
00 v0.11.0 - ???
1 BREAKING CHANGES
2 + Require Exiv2, GExiv2, and GExiv2 Introspection Data.
3
14 CHANGES
25 + Add keywords to mirage.desktop (Thanks Lucas de Castro Borges
36 <lucascastroborges@gmail.com>)
47 + Use `gimp %F &` instead of `gimp-remote-2.4 %F` as the default
58 command to open with GIMP (Thanks Jakub Wilk <ubanus@users.sf.net>)
9
10 BUG FIXES
11 + Keep EXIF/IPTC/XMP tags after image modification
612
713 v0.10.1 - June 04, 2020
814 BUG FIXES
55 (Required) PyGObject >= 3.29.3
66 (Required) PyGObject Cairo bindings
77 (Required) PyCairo
8 (Required) GExiv2 Introspection Data
9 (Required) GExiv2
10 (Required) Exiv2
811 (Required) GTK >= 3.24.0
912 (Extensions) python3-dev and libX11-dev (on some distros)
1013
2424
2525
2626 gi.require_version("Gtk", "3.0")
27 from gi.repository import Gtk, Gdk, GdkPixbuf, GLib, Gio
27 from gi.repository import Gtk, Gdk, GdkPixbuf, GLib, Gio, GExiv2
2828 import cairo
2929 import os, sys, getopt, configparser, string, gc
3030 import random, urllib.request, locale
16661666 0
16671667 ].get_name()
16681668 if self.filetype_is_writable(filetype):
1669 metadata = GExiv2.Metadata.new()
1670 metadata.open_path(self.currimg_name)
16691671 self.currimg_pixbuf_original.savev(
16701672 dest_name, filetype, ["quality"], [str(self.quality_save)]
16711673 )
16721674 self.currimg_name = dest_name
1675 metadata.save_file(self.currimg_name)
16731676 self.image_list[self.curr_img_in_list] = dest_name
16741677 self.update_title()
16751678 self.update_statusbar()