From 363f9dfce6246f1711302b1a987322c190b90cc6 Mon Sep 17 00:00:00 2001 From: Stefan Pöschel Date: Fri, 27 Nov 2015 18:20:18 +0100 Subject: MOT encoder: strip unneeded information from image --- src/mot-encoder.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mot-encoder.cpp b/src/mot-encoder.cpp index aa30eb1..40831c7 100644 --- a/src/mot-encoder.cpp +++ b/src/mot-encoder.cpp @@ -1013,6 +1013,9 @@ int encodeFile(int output_fd, std::string& fname, int fidx, bool raw_slides) // By default assume that the image has full quality and can be reduced orig_quality = 100; + // strip unneeded information (profiles, meta data) + MagickStripImage(m_wand); + if (orig_format) { if (strcmp(orig_format, "JPEG") == 0) { orig_quality = MagickGetImageCompressionQuality(m_wand); -- cgit v1.2.3