Page MenuHomePhabricator

Provide support for EPS file format
Open, Stalled, LowestPublic

Description

Recently, in support of a transcription effort at Wikisource I asked and obtained a set of files being the figures for the UK Traffic Signs Manual. They are supplied as EPS.

The Inkscape (0.91) import uses Ghostscript to render(seemingly to an intermediate PDF) which is then imported, The quality is this is not ideal.

This dual conversion coupled with the somewhat obvious concerns previously noted about SVG rendering at Wikimedia projects, got me wondering if more direct backend support for EPS would be better, down rendering to PNG (as is currently done for SVG)..

I am opening this "bug" so that more direct EPS support can be disscussed and an appropriate architectural approach taken.

It was my understanding some PDF pages were already rendered using something like GhostScript-> Image, so with some modification, a soloution for EPS file (which are typically single page) could be created...

Event Timeline

ShakespeareFan00 raised the priority of this task from to Normal.
ShakespeareFan00 updated the task description. (Show Details)
ShakespeareFan00 added a subscriber: ShakespeareFan00.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFeb 8 2016, 5:04 PM
Aklapper renamed this task from No support for EPS file format. to Provide support for EPS file format.Feb 8 2016, 9:46 PM
Aklapper lowered the priority of this task from Normal to Lowest.
Aklapper updated the task description. (Show Details)
Aklapper added a project: MediaWiki-General.
Aklapper set Security to None.

Where can examples of problems be seen, or is there no support at all? What would you like to see "supported"? What does "more direct EPS support" actually mean? For future reference, please also see https://mediawiki.org/wiki/How_to_report_a_bug - thanks!

Currently there is NO support for EPS at all.

TheDJ added a subscriber: TheDJ.Feb 8 2016, 10:52 PM

Steps:
1: Is the an unencumbered fileformat ? I know that Adobe has released PDF under a public license, but as far as I know, no such license exists for EPS. That might be blocking for Wikimedia, as the community only allows free file formats.
2: We need detection of eps files in the upload pipe
3: We quite likely need validation of eps files in the upload pipe
4: We need thumbnail / render support for eps

Restricted Application added a project: Multimedia. · View Herald TranscriptFeb 8 2016, 10:54 PM
Restricted Application added a subscriber: Steinsplitter. · View Herald Transcript

1: I don't know.
2: Is there a magic?
3: Tricky, How are SVG and PDF validated?
4: Can Ghostscript export to PNG?

Some additional concerns.

  1. EPS Import would need "sanitisation", in converting to PDF and SVG there was sometimes render glitches.
  1. What about embedded fonts? Which aren't necessarily free. Not quite the same point as 1
Restricted Application added a subscriber: Matanya. · View Herald TranscriptFeb 8 2016, 11:06 PM
Jdforrester-WMF moved this task from Untriaged to Backlog on the Multimedia board.Jul 20 2016, 9:11 PM
ShakespeareFan00 changed the task status from Open to Stalled.Apr 17 2017, 11:33 AM

Marked as stalled, as it needs someone to check the patent sitaution.

El_Grafo moved this task from Incoming to File format support on the Commons board.