11#ifndef BACKEND_TOOLS_IMAGETOOLS_H
12#define BACKEND_TOOLS_IMAGETOOLS_H
33bool isJpeg(
const char* filename);
38 int idealWidth,
int idealHeight,
43 QImage& slideshowImage, QImage& thumbnailImage);
49bool scaleImage( QString fileIn, QString fileOut,
50 int newWidth,
int newHeight );
53bool scaleImage(QString fileIn, QImage& scaledImage,
int targetWidth,
int targetHeight);
65void RGBtoHSV(
double r,
double g,
double b,
66 double *h,
double *s,
double *v );
69void HSVtoRGB(
double *r,
double *g,
double *
b,
70 double h,
double s,
double v );