From f89726198bcb8025add96fa2c4057faa059ef42a Mon Sep 17 00:00:00 2001 From: mappu Date: Sat, 18 Nov 2017 12:52:42 +1300 Subject: [PATCH] thumbnailer: rename (unused) ASPECT_ constants --- thumbnail/Thumbnailer.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/thumbnail/Thumbnailer.go b/thumbnail/Thumbnailer.go index 36064d0..71ffb07 100644 --- a/thumbnail/Thumbnailer.go +++ b/thumbnail/Thumbnailer.go @@ -22,9 +22,10 @@ const ( OUTPUT_JPG OutputFormat = 3 OUTPUT__DEFAULT = OUTPUT_PNG_CRUSH - ASPECT_PADDED AspectFormat = 80 - ASPECT_SVELTE AspectFormat = 81 - ASPECT__DEFAULT = ASPECT_PADDED + ASPECT_PAD_TO_DIMENSIONS AspectFormat = 80 + ASPECT_RESPECT_MAX_DIMENSION_ONLY AspectFormat = 81 + ASPECT_CROP_TO_DIMENSIONS AspectFormat = 82 + ASPECT__DEFAULT = ASPECT_PAD_TO_DIMENSIONS SCALEFMT_NN ScaleFormat = 120 SCALEFMT_BILINEAR ScaleFormat = 121