Unknown reporter writes

JPEG2000 files are handled by ExifTool in the same way as conventional JPEGs, so just a small addition to mime* files is needed:

diff -r 3071cfa248b6 src/sampleconf/mimeconf --- a/src/sampleconf/mimeconf Tue Jun 05 14:14:02 2012 +0200 b/src/sampleconf/mimeconf Tue Jul 17 17:01:08 2012 +0400 @@ -93,6 +93,7 @@ audio/mpeg = execm rclaudio audio/x-karaoke = execm rclkar image/gif = execm rclimg +image/jp2 = execm rclimg image/jpeg = execm rclimg image/png = execm rclimg image/tiff = execm rclimg @@ -183,6 +184,7 @@ audio/x-karaoke = sownd image/bmp = image image/gif = image +image/jp2 = image image/jpeg = image image/png = image image/svg+xml = drawing @@ -282,6 +284,7 @@ audio/mpeg \ audio/x-karaoke \ image/gif \ + image/jp2 \ image/jpeg \ image/png \ image/svg+xml \ diff -r 3071cfa248b6 src/sampleconf/mimemap --- a/src/sampleconf/mimemap Tue Jun 05 14:14:02 2012 +0200 b/src/sampleconf/mimemap Tue Jul 17 17:01:08 2012 +0400 @@ -127,6 +127,7 @@ .png = image/png .jpg = image/jpeg .jpeg = image/jpeg +.jp2 = image/jp2 .gif = image/gif .tiff = image/tiff .tif = image/tiff

Unknown User writes

Will try to post the diff again: {{{ diff -r 3071cfa248b6 src/sampleconf/mimeconf --- a/src/sampleconf/mimeconf Tue Jun 05 14:14:02 2012 +0200 b/src/sampleconf/mimeconf Tue Jul 17 17:01:08 2012 +0400 @@ -93,6 +93,7 @@ audio/mpeg = execm rclaudio audio/x-karaoke = execm rclkar image/gif = execm rclimg +image/jp2 = execm rclimg image/jpeg = execm rclimg image/png = execm rclimg image/tiff = execm rclimg @@ -183,6 +184,7 @@ audio/x-karaoke = sownd image/bmp = image image/gif = image +image/jp2 = image image/jpeg = image image/png = image image/svg+xml = drawing @@ -282,6 +284,7 @@ audio/mpeg \ audio/x-karaoke \ image/gif \ + image/jp2 \ image/jpeg \ image/png \ image/svg+xml \ diff -r 3071cfa248b6 src/sampleconf/mimemap --- a/src/sampleconf/mimemap Tue Jun 05 14:14:02 2012 +0200 b/src/sampleconf/mimemap Tue Jul 17 17:01:08 2012 +0400 @@ -127,6 +127,7 @@ .png = image/png .jpg = image/jpeg .jpeg = image/jpeg +.jp2 = image/jp2 .gif = image/gif .tiff = image/tiff .tif = image/tiff

}}}

medoc writes

Thanks ! This will be in the next release.

jf