[gimp] app: better defaults for image dimension.
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: better defaults for image dimension.
- Date: Thu, 24 Nov 2016 00:07:02 +0000 (UTC)
commit 7a60fd0d7ba94f40c9ba4b186188e47784d46ee3
Author: Jehan <jehan girinstud io>
Date: Wed Nov 23 22:25:43 2016 +0100
app: better defaults for image dimension.
Current defaults are from another time. Acceptable defaults could be
common screen resolutions. 1366x768 is apparently the most common
(according to various stats on the web), but since we target advanced
graphics artists, let's go for 1920x1080, which is the second most
common resolution, also known as Full HD.
For unstable builds, let's have at least one odd number, uncommon ratio
and higher values, encouraging tests with less common numbers and bigger
images. I chose 2001x1984. Feel free to update to any other funky values
following these "unstable" rules.
app/core/gimptemplate.h | 22 +++++++++++++---------
1 files changed, 13 insertions(+), 9 deletions(-)
---
diff --git a/app/core/gimptemplate.h b/app/core/gimptemplate.h
index b38e2f8..e63a7a1 100644
--- a/app/core/gimptemplate.h
+++ b/app/core/gimptemplate.h
@@ -27,17 +27,21 @@
#define GIMP_TEMPLATE_PARAM_COPY_FIRST (1 << (8 + G_PARAM_USER_SHIFT))
-/* The default image aspect ratio is the golden mean. We use
- * two adjacent fibonacci numbers for the unstable series and
- * some less odd values for the stable version.
- */
-
#ifdef GIMP_UNSTABLE
-#define GIMP_DEFAULT_IMAGE_WIDTH 610
-#define GIMP_DEFAULT_IMAGE_HEIGHT 377
+/* Uncommon ratio, with at least one odd value, to encourage testing
+ * GIMP with unusual numbers.
+ * It also has to be a higher resolution, to push GIMP a little further
+ * in tests. */
+#define GIMP_DEFAULT_IMAGE_WIDTH 2001
+#define GIMP_DEFAULT_IMAGE_HEIGHT 1984
#else
-#define GIMP_DEFAULT_IMAGE_WIDTH 640
-#define GIMP_DEFAULT_IMAGE_HEIGHT 400
+/* 1366x768 is the most common screen resolution in 2016.
+ * 1920x1080 is the second most common.
+ * Since GIMP targets advanced graphics artists, let's go for the
+ * highest common dimension.
+ */
+#define GIMP_DEFAULT_IMAGE_WIDTH 1920
+#define GIMP_DEFAULT_IMAGE_HEIGHT 1080
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]