peircej / jbrout

Automatically exported from code.google.com/p/jbrout
0 stars 0 forks source link

Add TIFF file format support #139

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Because the JPEG file format is lossy and multiple edits on the same file
would degenerate the photos jBrout should support a lossless file format.
(I know that the rotation is lossless, but all other edits in external
programs are not.)
Because TIFF format also supports exif metadata and is supported by pyexiv2
I tried to only add the extension to jBrout and it worked. (Patches are
attached)
Some work would be needed to support transformation and file renaming.

Original issue reported on code.google.com by trash.m...@gmx.at on 29 Dec 2009 at 7:04

Attachments:

GoogleCodeExporter commented 8 years ago
I had a problem when editing TIFF files using external programs because the 
deletion
of all EXIF tags(before copying the old EXIF tags over) results in an empty 
file.

I changed PhotoCmd.copyInfoTo() to use exiftool instead of pyexiv2 to copy the 
EXIF
tags which works for me now. (see attached patch tools.py.patch)

Because jBrout already uses exiftool I don't think this should be a problem.

Original comment by trash.m...@gmx.at on 29 Dec 2009 at 9:18

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by matej.c...@gmail.com on 12 Aug 2013 at 10:47