back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/img_handler.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'img_handler.hpp')
-rw-r--r--img_handler.hpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/img_handler.hpp b/img_handler.hpp
index 8c5754a..cb53807 100644
--- a/img_handler.hpp
+++ b/img_handler.hpp
@@ -1,3 +1,8 @@
+/*
+ * Processing of images uploaded by the user
+ * (resizing, cropping, saving)
+ */
+
#ifndef IMG_HANDLER_HPP_SENTRY
#define IMG_HANDLER_HPP_SENTRY
@@ -12,8 +17,8 @@ class ImageHandler {
int channel;
int in_width;
int in_height;
- std::string path_to_file;
- std::string path_to_save;
+ std::string source_path;
+ std::string destination_directory;
unsigned char *img_data;
unsigned char *resized_data;
public: