aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2001-11-07 03:54:58 +0800
committerpetef <petef@FreeBSD.org>2001-11-07 03:54:58 +0800
commit27712e4815dab24bdaa09fdfc1ff353f8415942b (patch)
treeadca1871acc40bc0ce08133cbe8db7ca5e544d9c
parente109fffe829bb992c155db9b60c655dfe66149ca (diff)
downloadfreebsd-ports-gnome-27712e4815dab24bdaa09fdfc1ff353f8415942b.tar.gz
freebsd-ports-gnome-27712e4815dab24bdaa09fdfc1ff353f8415942b.tar.zst
freebsd-ports-gnome-27712e4815dab24bdaa09fdfc1ff353f8415942b.zip
- add patch to handle color space properly for grayscale images
PR: 21021 Submitted by: Park JongHwan <jhp@cocoja.holywar.net> Approved by: maintainer - update author's email in pkg-descr Submitted by: maintainer
-rw-r--r--graphics/quickpics/files/patch-ac19
-rw-r--r--graphics/quickpics/pkg-descr2
2 files changed, 20 insertions, 1 deletions
diff --git a/graphics/quickpics/files/patch-ac b/graphics/quickpics/files/patch-ac
new file mode 100644
index 000000000000..1c8d6b4bd980
--- /dev/null
+++ b/graphics/quickpics/files/patch-ac
@@ -0,0 +1,19 @@
+*** image.c.orig Tue Sep 25 09:25:40 2001
+--- image.c Tue Sep 25 09:26:26 2001
+***************
+*** 205,211 ****
+ cinfo.image_width = output_width;
+ cinfo.image_height = output_height;
+ cinfo.input_components = out_color_components;
+! cinfo.in_color_space = JCS_RGB;
+
+ /* compression parameters */
+ jpeg_set_defaults(&cinfo);
+--- 205,211 ----
+ cinfo.image_width = output_width;
+ cinfo.image_height = output_height;
+ cinfo.input_components = out_color_components;
+! cinfo.in_color_space = dinfo.out_color_space;
+
+ /* compression parameters */
+ jpeg_set_defaults(&cinfo);
diff --git a/graphics/quickpics/pkg-descr b/graphics/quickpics/pkg-descr
index 72ac5b4bff92..223720286735 100644
--- a/graphics/quickpics/pkg-descr
+++ b/graphics/quickpics/pkg-descr
@@ -9,4 +9,4 @@ create any gallery of any size.
If you have an image gallery and you are tired of editing all the HTML
pages and resizing thumbnails, try QuickPics.
-by Steve Rider - stever@transmission23.com
+by Steve Rider - stever@retina.net