GithubHelp home page GithubHelp logo

aerilius / eog_panorama Goto Github PK

View Code? Open in Web Editor NEW
32.0 6.0 1.0 893 KB

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

License: GNU General Public License v3.0

JavaScript 49.11% HTML 49.74% Python 0.63% CSS 0.52%
gnome eog plugin photo-viewer panorama

eog_panorama's People

Contributors

aerilius avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

smrt28

eog_panorama's Issues

EoG crashes when moving from a panorama picture to the next.

Ubuntu 19.10

Go to a folder with pictures, click on the first one, and then on can see them all by clicking ">". However if the current picture is a panorama picture, this crashes EoG instead.

WebView warn: THREE.WebGLRenderer: WEBGL_depth_texture extension not supported.
(eog:12653): Gdk-CRITICAL **: 18:53:49.512: gdk_window_create_similar_surface: assertion 'GDK_IS_WINDOW (window)' failed
Segmentatiefout (geheugendump gemaakt)

Exiv2 fails to read metadata on images with duplicate tags

Some photos that have correct GPano tags do not trigger the panorama viewer.
This is because exiv2 fails to read any metadata if only some tags are inconsistent or duplicate. It seems duplicate tags are however common.

$ exiv2 -px example_duplicate_tags.jpg 
Error: XMP Toolkit error 203: Duplicate property or field node
Warning: Failed to decode XMP metadata.
example_duplicate_tags.jpg: (No XMP data found in the file)

example_duplicate_tags.jpg.zip

Drag&dropping an image should open it in eog

When the panorama viewer is active, a dropped image is not opened in eog, instead the webview navigates to the image uri.

Expected behavior: Eog opens the image as normal, depending on whether it is a panorama the panorama viewer is hidden/shown.

allow-file-access-from-file-urls

There is a typo. It''s allow-file-access-from-file-urls, not allow-file-access-from-file-url. However, I'm not sure how to make it work directly from url anyway.

websettings.set_property('allow-file-access-from-file-urls', True) # Not implemented :(

Panorama Metadata detection

Hi! Thank you for this plugin, it is very useful!

I was having problems with my Samsung Gear 360 photos, so I changed line 133 of eog_panorama.py to

return metadata.get_tag_string('Xmp.GPano.ProjectionType') is not None

This works better and I'm not having problems with normal photos.

Best!

Support GPano angle parameters for initial view

Cameras with orientation sensors store GPano angle parameters. These are currently not used:

GPano:PoseHeadingDegrees,
GPano:InitialHorizontalFOVDegrees
GPano:InitialViewHeadingDegrees
GPano:InitialViewPitchDegrees
GPano:InitialViewRollDegrees

Plugin isn't working on archlinux

Hi, I have one problem with installation on archlinux.

I've installed dependences using this command:

sudo pacman -S libgexiv2 perl-image-exiftool python-magic

But after I try to enable plugin in eog I get:

Segmentation fault (core dumped)

Install fails

Installed into ~/.local/share/eog/plugins
Appears in Edit -> Preferences -> Plugins

Trying to enable I get a red stop sign.

selection_002
selection_001

segfault under wayland

Hi, I am trying to view a google/android VR-style panorama under arch linux, GNOME 3.32.1, under Wayland. I get the following error & segfault:

gdk_window_create_gl_context: assertion 'GDK_IS_WINDOW (window)' failed

I have no idea whether or nto this is wayland related, but would appreciate any help you can give. Thanks!

Allow to zoom in further

Zooming with the mouse wheel reaches a too early limit. When zooming into normal eog images, the user can get much nearer to details. This should be consistent.

Out of sync when selecting another image before panorama loaded

When browsing quickly over a lot of images (several panoramas), a new panorama request (2) is sent to the WebView before the previous (1) is completed. PhotoSphereViewer throws an error when called while it is still loading a panorama (1).
As a consequence, Eye of Gnome's titlebar shows the current title of (2), while the WebView shows (1).

Script Error :0:0

Opening a compatible Photo Sphere with eog 3.20.2 on Ubuntu 16.10 I get "webview error: script error.: :0:0"

screen shot 2017-01-29 at 20 21 03

I have all listed dependencies installed, including python3-magic (not listed by required), and the image lists seems like it should work:

screen shot 2017-01-29 at 20 24 13

Panoramas blurry on hidpi screen

On a screen with scaling factor 2.0, panorama images are rendered blurry (like non-hidpi).
By contrast, eog displays images sharper, as well as PhotoSphereViewer in the browser does.

Add gir1.2-webkit2-4.0 as a dependency

I found on Debian I needed to install gir1.2-webkit2-4.0 otherwise I got the error:

** (eog:332936): WARNING **: 19:12:55.348: Error importing plugin 'eog_panorama':
Traceback (most recent call last):
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/home/user/.local/share/eog/plugins/eog_panorama/eog_panorama.py", line 28, in <module>
    gi.require_version('WebKit2', '4.0')
  File "/usr/lib/python3/dist-packages/gi/__init__.py", line 129, in require_version
    raise ValueError('Namespace %s not available for version %s' %
ValueError: Namespace WebKit2 not available for version 4.0

(eog:332936): libpeas-WARNING **: 19:12:55.348: Error loading plugin 'eog_panorama'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.