21 Commits

Author SHA1 Message Date
KevinMidboe 77d7681bb1 Image should be converted to RGB before saved. 2020-03-20 19:16:14 +01:00
KevinMidboe b0626a571e Increased thumbnail image size from 300 to 400 pixels. 2019-04-16 19:41:18 +02:00
KevinMidboe c910b47dda When no exif data was found we returned false, not the image 2019-04-15 22:53:20 +02:00
KevinMidboe 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
KevinMidboe 99618b884e Added case sensitive png format 2019-03-04 00:41:08 +01:00
KevinMidboe a873592b5e Changed thumb size to 300 pixels. 2019-03-04 00:00:14 +01:00
KevinMidboe d3f2df25a2 Fixed typo from jpfg to jpeg 2019-03-03 22:46:10 +01:00
KevinMidboe a58efff623 Removed the fifth "original" option. Changed lg dimension size instead 2019-03-03 22:27:17 +01:00
KevinMidboe 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
KevinMidboe eb06a02428 Renamed output folder to assets 2019-03-03 20:05:52 +01:00
KevinMidboe cb60e8d021 Changed default output folder to assets 2019-03-03 20:03:59 +01:00
KevinMidboe dafaf6aec6 Returnstatement now also returns the parent folder that image is saved to. 2019-03-03 20:03:43 +01:00
KevinMidboe 792237ac3e Outputpath is joined with absolute path. 2019-03-03 20:00:56 +01:00
KevinMidboe 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
KevinMidboe 691e7873e5 Response from processing image updated to include the size variations per image. 2019-03-03 14:00:47 +01:00
KevinMidboe 32a491d494 Added default output folder 2019-02-23 23:22:35 +01:00
KevinMidboe 12428d5167 Cleared out the output folder 2019-02-23 23:20:54 +01:00
KevinMidboe 9c95ca8825 Images processor with cli and json flask server. 2019-02-23 23:20:26 +01:00
KevinMidboe aaa04f28aa Initial commit 2019-02-23 22:56:29 +01:00