|
AlbumShaper 1.0a3
|
#include <qglobal.h>#include <stdio.h>#include <qfileinfo.h>#include <qstring.h>#include <qimage.h>#include <setjmp.h>#include <jpeglib.h>#include "jpegInternal.h"#include "../imageTools.h"#include "jpegTools.h"
Go to the source code of this file.
Classes | |
| struct | GVJPEGFatalError |
Macros | |
| #define | XMD_H |
Functions | |
| bool | scaleJPEG (QString fileIn, QImage &scaledImage, int targetWidth, int targetHeight) |
| bool | transformJPEG (QString fileIn, QString fileOut, TRANSFORM_CODE transformation) |
| #define XMD_H |
Definition at line 30 of file jpegTools.cpp.
| bool scaleJPEG | ( | QString | fileIn, |
| QImage & | scaledImage, | ||
| int | targetWidth, | ||
| int | targetHeight ) |
Definition at line 54 of file jpegTools.cpp.
References GVJPEGFatalError::handler(), and GVJPEGFatalError::mJmpBuffer.
Referenced by scaleImage().
| bool transformJPEG | ( | QString | fileIn, |
| QString | fileOut, | ||
| TRANSFORM_CODE | transformation ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 178 of file jpegTools.cpp.
References FLIP_H, FLIP_V, jpeg_transform_info::force_grayscale, jcopy_markers_execute(), jcopy_markers_setup(), JCOPYOPT_COMMENTS, jtransform_adjust_parameters(), jtransform_execute_transformation(), jtransform_request_workspace(), JXFORM_FLIP_H, JXFORM_FLIP_V, JXFORM_ROT_270, JXFORM_ROT_90, ROTATE_270, ROTATE_90, jpeg_transform_info::transform, and jpeg_transform_info::trim.
Referenced by transformImage().