diff options
author | Stefan Pöschel <github@basicmaster.de> | 2015-11-27 18:20:18 +0100 |
---|---|---|
committer | Stefan Pöschel <github@basicmaster.de> | 2015-11-27 18:20:18 +0100 |
commit | 363f9dfce6246f1711302b1a987322c190b90cc6 (patch) | |
tree | 3f3153dae7fa6dcf347e2f8ef9cabaffafee7638 /src/mot-encoder.cpp | |
parent | b6a9b52d3b1365811a0ab393a7595ab635ab32f2 (diff) | |
download | fdk-aac-dabplus-363f9dfce6246f1711302b1a987322c190b90cc6.tar.gz fdk-aac-dabplus-363f9dfce6246f1711302b1a987322c190b90cc6.tar.bz2 fdk-aac-dabplus-363f9dfce6246f1711302b1a987322c190b90cc6.zip |
MOT encoder: strip unneeded information from image
Diffstat (limited to 'src/mot-encoder.cpp')
-rw-r--r-- | src/mot-encoder.cpp | 3 |
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); |