Commons:Graphics village pump/November 2018

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Help recoloring/optimizing an SVG

I have been working on extracting United States federal government public domain logos from PDFs with Inkscape and uploading them as SVG. The image File:DOL_WHD_logo.svg is intended to replace File:WHD.png, but the source I got it from used white lettering instead of the blue. Can someone help me by recoloring this image? There is also a slight error where the red from the wavy stripes extends to inside the bottom middle of the W letter. William Graham (talk) 22:47, 3 November 2018 (UTC)

@William Graham: ✓ Done. The "U.S. Wage and Hour Division" text was hidden below the image. I decided to bring it into view and change its color to match File:WHD.png.
I believe this kind of request should have been made in the illustration workshop. The graphics village pump seems to be for technical support and discussions, while the illustration workshop is for requesting the creation or modification of this kind of image. TilmannR (talk) 13:55, 4 November 2018 (UTC)
@TilmannR: Would you consider cropping it to just the foreground elements?   — Jeff G. please ping or talk to me 14:28, 4 November 2018 (UTC)
@Jeff G.: ✓ Done. TilmannR (talk) 16:45, 4 November 2018 (UTC)
@TilmannR: Thanks!   — Jeff G. please ping or talk to me 17:25, 4 November 2018 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. TilmannR (talk) 03:57, 5 November 2018 (UTC)

Support HEIF/HEIC file format

en:High Efficiency Image File Format(HEIF/HEIC) is a default file format for Apple iOS & macOS now. Is there a plan for supporting HEIC images in commons? Currently HEIF format is not supported widely. So, we need to convert images from HEIF to JPEG on the server side. (See also Help:SVG & Help:JPEG). -- ChongDae (talk) 02:29, 5 November 2018 (UTC)

@ChongDae: As far as I know Commons can only use open file-formats, and I would assume HEIF ist not an open file-format. If so it is not allowed on commons.  — Johannes Kalliauer - Talk | Contributions 18:49, 5 November 2018 (UTC)
@ChongDae: I don't know which specific encoding Apple is using, but "HEIF itself is a container, and when containing images and image sequences encoded in a particular format (e.g., HEVC or H.264/AVC) its use becomes subject to the licensing of patents on the coding format." (en:High_Efficiency_Image_File_Format#Patent_licensing) TilmannR (talk) 19:51, 5 November 2018 (UTC)

HEIF(ISO/IEC 23008-12) and HEVC(ISO/IEC 23008–2) are parts of ISO standards. And LGPL implementation for HEVC is available[1]. ImageMagick[2] and other s/w now support HEIF format. And Google Android P will store images as HEIC[3]. -- ChongDae (talk) 01:20, 13 November 2018 (UTC)

@ChongDae: Eventuell sollest du einen Task auf phab: dafür machen.  — Johannes Kalliauer - Talk | Contributions 16:12, 14 November 2018 (UTC)

Removing pages from PDF while keeping bookmarks

There are some nice PDF files with TOC presented in bookmarks. The problem is, they have some copyrighted pages such as covers or editorials. I need to either remove or blank those pages. Right now I'm using en:PDFtk like this: wget https://imwerden.de/pdf/kuzmina-karavaeva_stikhi_1937__ocr.pdf pdftk kuzmina-karavaeva_stikhi_1937__ocr.pdf cat 2 6-104 output out.pdf Result (see File:Кузьмина-Караваева, Елизавета Юрьевна. Стихи (1937).pdf) does have pages removed, the problem is, the bookmarks are gone too. Is there an easy way to keep bookmarks? Preferably with Linux command line tools. --M5 (talk) 15:42, 9 November 2018 (UTC)

@M5: I use on Windows: http://www.pdfill.com/pdftool_split.html this is a grafical user interfrace and it's free, and I know it works (keeps the bookmarks if you enable).
For Linux you might check: de:Benutzer:JoKalliauer/PDF#Ubuntu, I personally use: w:PDF Split and Merge (free, with GUI), and I think it keeps the bookmarks.
 — Johannes Kalliauer - Talk | Contributions 19:14, 10 November 2018 (UTC)
Thank you, PDF Split and Merge did the job well. --M5 (talk) 09:36, 11 November 2018 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment.  — Johannes Kalliauer - Talk | Contributions 15:59, 28 November 2018 (UTC)

PNG-converted image doesn't show SVG text properly

As you see, those text are not readable. How can I fix the problem? I created this file with Inkscape 0.91 for Linux. Onhigan (talk) 13:06, 29 November 2018 (UTC)

Sorry, this problem had already been reported on phab:T36947. Thanks to JoKalliauer, the text is readable now. Onhigan (talk) 16:02, 30 November 2018 (UTC)