[Bug 36597] Switch from jpeg to png for thumbnailing pdfs
https://bugzilla.wikimedia.org/show_bug.cgi?id=36597 Dario Taraborelli dtarabore...@wikimedia.org changed: What|Removed |Added CC||dtarabore...@wikimedia.org --- Comment #11 from Dario Taraborelli dtarabore...@wikimedia.org --- I'm interested in following up on this bug, particularly for PDFs of vectorial graphs generated from data analysis software (like R or Mathematica), which researchers (including myself) routinely upload to Commons. The quality of JPEG thumbnails for these PDF graphs is abysmal when compared to a thumbnails for a native PNG format. Original files: https://commons.wikimedia.org/wiki/File:Active_Editors_arwiki.pdf https://commons.wikimedia.org/wiki/File:Active_Editors_arwiki_2.png Thumbnails: https://upload.wikimedia.org/wikipedia/commons/thumb/3/39/Active_Editors_arwiki.pdf/page1-1004px-Active_Editors_arwiki.pdf.jpg https://upload.wikimedia.org/wikipedia/commons/0/06/Active_Editors_arwiki_2.png The only other option for vectorial plots to avoid these compression artifacts is to upload them as SVG (which renders as PNG). However in many cases PDF is the default export option and the most common format for scientific media people will consider donating to Commons. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36597] Switch from jpeg to png for thumbnailing pdfs
https://bugzilla.wikimedia.org/show_bug.cgi?id=36597 Brion Vibber br...@wikimedia.org changed: What|Removed |Added Status|PATCH_TO_REVIEW |NEW --- Comment #10 from Brion Vibber br...@wikimedia.org --- Chaning state back to 'new' since the previous patch was abandoned some time ago. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36597] Switch from jpeg to png for thumbnailing pdfs
https://bugzilla.wikimedia.org/show_bug.cgi?id=36597 Andre Klapper aklap...@wikimedia.org changed: What|Removed |Added Keywords|patch-in-gerrit | Status|NEW |PATCH_TO_REVIEW -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36597] Switch from jpeg to png for thumbnailing pdfs
https://bugzilla.wikimedia.org/show_bug.cgi?id=36597 Andre Klapper aklap...@wikimedia.org changed: What|Removed |Added Keywords|patch-need-review |patch-in-gerrit --- Comment #9 from Andre Klapper aklap...@wikimedia.org --- [Patch in Gerrit got reviewed (and abandoned), hence resetting keyword] -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36597] Switch from jpeg to png for thumbnailing pdfs
https://bugzilla.wikimedia.org/show_bug.cgi?id=36597 --- Comment #8 from Antoine hashar Musso has...@free.fr --- I have abandoned Gerrit change 6802 pending a proper design choice which should be happening in this bug report. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36597] Switch from jpeg to png for thumbnailing pdfs
https://bugzilla.wikimedia.org/show_bug.cgi?id=36597 --- Comment #6 from Antoine hashar Musso has...@free.fr 2012-10-02 08:22:48 UTC --- Copy paste from a comment I made on Gerrit change #6802 : -- We could add a parameter to the thumb syntax to let the user choose the rendered. Something like: [[File:foo.pdf|thumb|png]] [[File:foo.pdf|thumb|jpg]] And have the default set by a global configuration variable such as $wgPdfThumbOutputFormat or something. Would get us the best of both worlds :-] -- That is definitely an easy change to the current patchset I will be more than happy to review it :) -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36597] Switch from jpeg to png for thumbnailing pdfs
https://bugzilla.wikimedia.org/show_bug.cgi?id=36597 --- Comment #7 from Dmitriy Sintsov ques...@rambler.ru 2012-10-02 10:41:20 UTC --- It is better to calculate the number of color in PDF page, because one PDF file may combine low-color text pages and colorful illustrations. Or, if the color range calculation is too expensive, one may compress to lossless png and to 95% jpeg the same page and choose which image is smaller. For a wide-color images, lossless png will be MUCH larger than high-quality 95% jpeg. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36597] Switch from jpeg to png for thumbnailing pdfs
https://bugzilla.wikimedia.org/show_bug.cgi?id=36597 Philippe Elie phil...@free.fr changed: What|Removed |Added CC||phil...@free.fr --- Comment #4 from Philippe Elie phil...@free.fr 2012-09-05 15:33:06 UTC --- GS default compression for jpeg device is 0.75, it'll better to try first a saner value like -dJPEGQ=95 and compare the output size and quality between png and jpg before switching to png. Switching to png can have a huge impact on wikisource using pdf file. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36597] Switch from jpeg to png for thumbnailing pdfs
https://bugzilla.wikimedia.org/show_bug.cgi?id=36597 Dmitriy Sintsov ques...@rambler.ru changed: What|Removed |Added CC||ques...@rambler.ru --- Comment #5 from Dmitriy Sintsov ques...@rambler.ru 2012-09-06 04:57:52 UTC --- png is better for low-color pages, jpg is better for wide-color pages. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36597] Switch from jpeg to png for thumbnailing pdfs
https://bugzilla.wikimedia.org/show_bug.cgi?id=36597 matanya matanya.mo...@gmail.com changed: What|Removed |Added Keywords||patch-need-review CC||matanya.mo...@gmail.com -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36597] Switch from jpeg to png for thumbnailing pdfs
https://bugzilla.wikimedia.org/show_bug.cgi?id=36597 Antoine hashar Musso has...@free.fr changed: What|Removed |Added CC||has...@free.fr --- Comment #3 from Antoine hashar Musso has...@free.fr 2012-06-21 15:51:06 UTC --- Gerrit change: https://gerrit.wikimedia.org/r/6802 -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36597] Switch from jpeg to png for thumbnailing pdfs
https://bugzilla.wikimedia.org/show_bug.cgi?id=36597 --- Comment #1 from Mark A. Hershberger m...@everybody.org 2012-05-07 16:06:13 UTC --- Created attachment 10534 -- https://bugzilla.wikimedia.org/attachment.cgi?id=10534 using png Switching to png output instead of jpeg using the command in bug 36580 comment 4 results in smaller file size, as well: $ gs -sDEVICE=png16m -sOutputFile=after_gs.png -dFirstPage=1 -dLastPage=1 -r150 -dBATCH -dNOPAUSE -q Welcome2WP_English_082310.pdf gives me a file size of 59394 instead of 143024. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36597] Switch from jpeg to png for thumbnailing pdfs
https://bugzilla.wikimedia.org/show_bug.cgi?id=36597 --- Comment #2 from Mark A. Hershberger m...@everybody.org 2012-05-07 16:08:32 UTC --- Created attachment 10535 -- https://bugzilla.wikimedia.org/attachment.cgi?id=10535 downscaled png after convert, compare to attachment #10524 (https://bugzilla.wikimedia.org/attachment.cgi?id=10524) -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36597] Switch from jpeg to png for thumbnailing pdfs
https://bugzilla.wikimedia.org/show_bug.cgi?id=36597 Mark A. Hershberger m...@everybody.org changed: What|Removed |Added Priority|Unprioritized |Normal -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l