Skip to content
Snippets Groups Projects
Commit b09051c4 authored by Benjamin Wenger's avatar Benjamin Wenger
Browse files

increased the jpeg preview size

parent 1d269c33
No related branches found
No related tags found
1 merge request!170Release
...@@ -20,9 +20,9 @@ const ( ...@@ -20,9 +20,9 @@ const (
// Maximum input image size (in bytes) // Maximum input image size (in bytes)
maxSize int64 = 12000000 maxSize int64 = 12000000
// Desired number of pixels in output image // Desired number of pixels in output image
desiredSize = 307200 desiredSize = 640*480
// Desired number of pixels in output image for preview // Desired number of pixels in output image for preview
desiredPreviewSize = 165 desiredPreviewSize = 32*24
) )
// CompressJpeg takes a JPEG image in byte format // CompressJpeg takes a JPEG image in byte format
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment