Last modified: 2012-10-25 07:05:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T28369, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26369 - Cropped PDFs thumbnail broken
Cropped PDFs thumbnail broken
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
PdfHandler (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 41037
  Show dependency treegraph
 
Reported: 2010-12-20 01:53 UTC by Smallman
Modified: 2012-10-25 07:05 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Smallman 2010-12-20 01:53:35 UTC
The thumbnails of the cropped pdf files in the commons cat http://commons.wikimedia.org/wiki/Category:P60-238 are not thumb nailing correctly. When you click on the pdf, you see the correct cropped version, whereas the thumbnail shows where the crop was taken from.

If somebody has a workaround, please reply.

I originally posted this at http://en.wikipedia.org/wiki/Wikipedia:Vpt#PDF_Crop but couldn't get an answer so I'm assuming its a bug.
Comment 1 Bawolff (Brian Wolff) 2010-12-21 07:27:17 UTC
Changing component to PDFHandler, however it sounds more like an upstream issue with ghostscript.
Comment 2 Bawolff (Brian Wolff) 2010-12-21 07:32:10 UTC
>If somebody has a workaround, please reply.

Obvious work around is not to use cropping. If you're after the images in the pdf (and if they're raster images) you can use the pdfimages program (usually part of xpdf package) if its vector i assume there is some other method of converting it.
Comment 3 Smallman 2011-01-02 00:50:03 UTC
PDF cropping is the only "lossless" way. Converting to SVG isn't reliable and exporting as image loses the vector data.
Comment 4 Sumana Harihareswara 2012-10-25 06:21:08 UTC
Reza, is this still reproducible?
Comment 5 reza1615 2012-10-25 07:04:36 UTC
I checked http://commons.wikimedia.org/wiki/Category:Income,_Poverty,_and_Health_Insurance_Coverage_in_the_United_States,_2009 that is moved category of that one.
I works for me
Comment 6 reza1615 2012-10-25 07:05:00 UTC
excuse me  :)
it works for me

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links