5 #ifndef PDFTRON_H_CPPPDFOptimizer
6 #define PDFTRON_H_CPPPDFOptimizer
9 #include <C/PDF/TRN_Optimizer.h>
16 class MonoImageSettings;
18 class OptimizerSettings;
108 void SetImageDPI(
double maximum,
double resampling);
183 void SetImageDPI(
double maximum,
double resampling);
302 #include <Impl/Optimizer.inl>
307 #endif // PDFTRON_H_CPPPDFOptimizer
ImageSettings m_grayscale_image_settings
void SetMonoImageSettings(const MonoImageSettings &settings)
void SetDownsampleMode(enum DownsampleMode mode)
void SetDownsampleMode(enum DownsampleMode mode)
pdftron::PDF::ImageSettings ImageSettings
void SetImageDPI(double maximum, double resampling)
void SetTextSettings(const TextSettings &settings)
void SetGrayscaleImageSettings(const ImageSettings &settings)
pdftron::PDF::MonoImageSettings MonoImageSettings
void ForceChanges(bool force)
void ForceRecompression(bool force)
static void Optimize(PDFDoc &doc, const OptimizerSettings &settings)
ImageSettings m_color_image_settings
void SetImageDPI(double maximum, double resampling)
TextSettings m_text_settings
void SetJBIG2Threshold(double jbig2_threshold)
void SubsetFonts(bool subset)
void SetQuality(UInt32 quality)
pdftron::PDF::OptimizerSettings OptimizerSettings
void EmbedFonts(bool embed)
pdftron::PDF::TextSettings TextSettings
MonoImageSettings m_mono_image_settings
void SetColorImageSettings(const ImageSettings &settings)
void ForceChanges(bool force)
void SetCompressionMode(enum CompressionMode mode)
void RemoveCustomEntries(bool should_remove)
void SetCompressionMode(enum CompressionMode mode)
void ForceRecompression(bool force)