summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Pöschel <github@basicmaster.de>2015-11-27 18:20:18 +0100
committerStefan Pöschel <github@basicmaster.de>2015-11-27 18:20:18 +0100
commit363f9dfce6246f1711302b1a987322c190b90cc6 (patch)
tree3f3153dae7fa6dcf347e2f8ef9cabaffafee7638 /src
parentb6a9b52d3b1365811a0ab393a7595ab635ab32f2 (diff)
downloadfdk-aac-363f9dfce6246f1711302b1a987322c190b90cc6.tar.gz
fdk-aac-363f9dfce6246f1711302b1a987322c190b90cc6.tar.bz2
fdk-aac-363f9dfce6246f1711302b1a987322c190b90cc6.zip
MOT encoder: strip unneeded information from image
Diffstat (limited to 'src')
-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);