21 Commits

Author SHA1 Message Date
77d7681bb1 Image should be converted to RGB before saved. 2020-03-20 19:16:14 +01:00
b0626a571e Increased thumbnail image size from 300 to 400 pixels. 2019-04-16 19:41:18 +02:00
c910b47dda When no exif data was found we returned false, not the image 2019-04-15 22:53:20 +02:00
97ec6c22b0 Also handle rotating images that do not have exif data supplied. 2019-04-15 22:38:09 +02:00
Kevin Midbøe
440ddd4503 Fixed indentation and added exception handler for when we dont find a orientation variable in the exif metadata. 2019-04-15 22:19:06 +02:00
Kevin Midbøe
f297c244a4 Support for automatic rotating images based on exif metadata. 2019-04-15 22:05:06 +02:00
99618b884e Added case sensitive png format 2019-03-04 00:41:08 +01:00
a873592b5e Changed thumb size to 300 pixels. 2019-03-04 00:00:14 +01:00
d3f2df25a2 Fixed typo from jpfg to jpeg 2019-03-03 22:46:10 +01:00
a58efff623 Removed the fifth "original" option. Changed lg dimension size instead 2019-03-03 22:27:17 +01:00
b2bbfa03a3 ImageProcessor has a fifth output size that will not add an extension and lowest width and height are 3000x3000. 2019-03-03 22:18:36 +01:00
eb06a02428 Renamed output folder to assets 2019-03-03 20:05:52 +01:00
cb60e8d021 Changed default output folder to assets 2019-03-03 20:03:59 +01:00
dafaf6aec6 Returnstatement now also returns the parent folder that image is saved to. 2019-03-03 20:03:43 +01:00
792237ac3e Outputpath is joined with absolute path. 2019-03-03 20:00:56 +01:00
8591b78d9d Set up manual options response for browser CORS. Route can now also input a integer id, but it wount do much. 2019-03-03 19:59:10 +01:00
691e7873e5 Response from processing image updated to include the size variations per image. 2019-03-03 14:00:47 +01:00
32a491d494 Added default output folder 2019-02-23 23:22:35 +01:00
12428d5167 Cleared out the output folder 2019-02-23 23:20:54 +01:00
9c95ca8825 Images processor with cli and json flask server. 2019-02-23 23:20:26 +01:00
aaa04f28aa Initial commit 2019-02-23 22:56:29 +01:00