Page MenuHomePhabricator

allow upload of jps files (.jps-file-extension for jpeg-files with stereoscopic content)
Open, Stalled, Needs TriagePublic

Description

Steroscopic fotos can be stored in jpe-files with the file-extension jps.

By adding jps to the list of allowed file types stereoscopic content can be uploaded to commons to build a stock of 3d images for the future when wikipedia hopefully will be able to show 3d images.

There is a set of about 2000 stereoscopic images for testing purposes on commons, that can be renamed to the file extension jps.

I entered a way to use 3d images in wikipedia in the last tech wishlist survey, and I am going to do it again in the next tech wishlist survey. With the file extension jps enabled this would be easier.

Event Timeline

Gradzeichen renamed this task from allow upload of jps files (.jps-file-extension for jpeg-files with stereoc to allow upload of jps files (.jps-file-extension for jpeg-files with stereocopic content).Sep 12 2018, 3:22 PM
Gradzeichen updated the task description. (Show Details)
Gradzeichen added a subscriber: MusikAnimal.
Reedy changed Risk Rating from N/A to default.
Reedy added a project: Commons.

Sounds like a good idea.
I suppose from a technical POV (thumbnailing etc.), images in this format could be treated as simple JPG files that just happen to have a file extension that's different from the usual jpg/jpeg/JPG/JPEG for now?

Dinoguy1000 renamed this task from allow upload of jps files (.jps-file-extension for jpeg-files with stereocopic content) to allow upload of jps files (.jps-file-extension for jpeg-files with stereoscopic content).Sep 28 2018, 2:41 PM

Yes, technically JPS is JPG:

https://commons.wikimedia.org/wiki/File:G16_730296.jps.jpg

[[File:G16_730296.jps.jpg]]

https://commons.wikimedia.org/wiki/File:G16_178391.jps.jpg

[[File:G16_178391.jps.jpg]]

You can load this files into the gallery app of your smartphone, select full screen display, then put the phone into VR glasses to experience the 3D effect.

Stang changed the task status from Open to Stalled.May 8 2022, 12:23 PM
Stang added a subscriber: Stang.

Link to CWS2017: Turn Stereoskopie into a MediaWiki Extension. Personally thought this should be reopen once we receive some progress from the development of relevant extension in T180937.

TheDJ added a subscriber: TheDJ.

http://fileformats.archiveteam.org/wiki/JPS

file extension: .jps
magic file signature: _JPSJPS_
mime: image/x-jps

Examples: http://www.andrewwoods3d.com/gallery/

The question is, will thumbor know how to handle this.. Answer, yes.

Note. It seems that many JPS files on Commons (including the ones linked here) do not actually carry the JPS APP3 metadata. So they literally are just jpgs with visual data in a stereo format, but no marking for this.

As such, this would require a filepage override or something to make software recognize these files for a 3d viewer.

Support for uploading would require adding .jps as a jpg file extension in the mimemap class, and then whitelisting .jps as a file extension allowed for uploading

Change 790758 had a related patch set uploaded (by TheDJ; author: TheDJ):

[mediawiki/core@master] Add jps as a recognized alias of jpg files

https://gerrit.wikimedia.org/r/790758

Follow ups would be to:

  • add jps to the list of allowed extensions on WMF sites
  • Recognize the JPS metadata and extract it with the JPEGMetadataExtractor class and store it in a metadata field
  • then T151451
  • add then implement a JS viewer for the media

Change 790758 merged by jenkins-bot:

[mediawiki/core@master] Add jps as a recognized alias of jpg files

https://gerrit.wikimedia.org/r/790758