for cropping images (and thumbnails) www.domain.com/dir/file.jpg/imgcrop -- crop an image www.domain.com/dir/file.jpg/imgcrop/thumb -- crop an image's thumbnail www.domain.com/dir/file.jpg/imgcrop/newthumb -- crop and create a new thumbnail (from an original image) www.domain.com/dir/imgcrop -- show images' list with above options added: to Image class: some methods for cropping git-svn-id: svn://ttmath.org/publicrep/winix/trunk@919 e52654a7-88a9-db11-a3e9-0013d4bc506e
43 lines
472 B
C++
Executable File
43 lines
472 B
C++
Executable File
/*
|
|
* This file is a part of Winix
|
|
* and is not publicly distributed
|
|
*
|
|
* Copyright (c) 2013, Tomasz Sowa
|
|
* All rights reserved.
|
|
*
|
|
*/
|
|
|
|
#ifndef headerfile_winix_functions_imgcrop
|
|
#define headerfile_winix_functions_imgcrop
|
|
|
|
#include "functionbase.h"
|
|
|
|
|
|
|
|
namespace Fun
|
|
{
|
|
|
|
|
|
class ImgCrop : public FunctionBase
|
|
{
|
|
public:
|
|
|
|
ImgCrop();
|
|
|
|
bool HasAccess();
|
|
void MakeGet();
|
|
void MakePost();
|
|
|
|
private:
|
|
|
|
DbItemQuery iq;
|
|
|
|
void GetDirContent();
|
|
|
|
};
|
|
|
|
|
|
} // namespace
|
|
|
|
#endif
|