aboutsummaryrefslogtreecommitdiffstats
path: root/src/mot-encoder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mot-encoder.cpp')
-rw-r--r--src/mot-encoder.cpp3
1 files changed, 3 insertions, 0 deletions
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);