Skip to content

Aerilius/eog_panorama

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A panorama plugin for displaying 360° photo sphere images in the 'Eye of Gnome' image viewer

logo

Panoramas are more and more popular no matter whether produced with tripod and professional cameras or by mobile apps. Describing XMP-tags have been standardized and web services (Google Photos, FB) automatically detect and display panoramas appropriately. In Eye of Gnome, a spherical projection would be smarter and more comfortable than displaying a panorama photo as a long horizontal strip.

screenshot

This is a proof of concept that would not have been possible without the help of the Photo Sphere Viewer javascript library by Jérémy Heleine and Damien Sorel. Once GTK scene graph kit is more commonly available and easy to use, a native implementation could be realized or even included into Eye of Gnome.

Requirements

  • A recent distribution with Eye of Gnome 3+, Python3, Gtk+3, WebKit2 (tested on Ubuntu 16.10)

  • GObject bindings to Exiv2 are likely already installed as dependency of other softwares, if not do sudo apt install gir1.2-gexiv2-0.10

Installation

  1. Copy the folder eog_panorama into ~/.local/share/eog/plugins/

  2. Open Eye of Gnome and activate the plugin in Edit → Preferences → Plugins

Usage

While browsing images, panorama photos are automatically detected by their Photo Sphere metadata.

If a panorama photo is not displayed as panorama, ensure that it has the required metadata:

  1. Open Image → Properties → Details

  2. In the "XMP other" section it should have GPano:UsePanoramaViewer = True and other GPano metadata.

Usually such metadata is added to photos taken by mobile phones in panorama mode or photos stitched with Hugin.

Note: Due to limitations of using a WebView, large panorama images can cause CPU load during loading and take several hundred MB memory.

License

GPL v3.0

Copyright (C) 2017 - Andreas Eisenbarth

About

Panorama viewer plugin for the 'Eye of Gnome' image viewer

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages