Comments (11)
Logged In: YES
user_id=1246505
Originator: YES
I confirm that it happens in both directions.
More, when displayed at real size (1:1), only garbage is displayed, even in the zone < 32767. All other zoom factors display the image up to 32767, then white image.
Thumbnail is correctly displayed, so it seems to be related to display widget, not to file reading.
Original comment by: fma38
from geeqie.
Logged In: YES
user_id=2049043
Originator: NO
May be related to X maximum window size (which is 32767 pixels wide or tall).
From http://www.pygtk.org/pygtk2tutorial/sec-Layout.html:
"The Layout container is similar to the Fixed container except that it implements an infinite (where infinity is less than 2^32) scrolling area. The X window system has a limitation where windows can be at most 32767 pixels wide or tall. The Layout container gets around this limitation by doing some exotic stuff using window and bit gravities, so that you can have smooth scrolling even when you have many child widgets in your scrolling area."
Original comment by: zas_
from geeqie.
Perhaps a fix...
Original comment by: zas_
from geeqie.
Logged In: YES
user_id=2049043
Originator: NO
Frederic, please try this patch.
With it, i can display a 38000 pixels wide jpeg image.
Unsure if it is a correct fix, but please test.
File Added: pixbufrenderer_parent_class.patch
Original comment by: zas_
from geeqie.
Logged In: YES
user_id=1986130
Originator: NO
IMHO the most important limitation is inside gdk-pixbuf library. Max. pixbuf size that it can allocate is
widthheight3<INT_MAX, that is around 32768*21845, see source for gdk_pixbuf_new().
We can write a special image loader that reads image into multiple pixbufs. Pixbuf renderer can handle it (see source tiles) but it would need some adjustments in image.c and in other places, but that should be doable.
Original comment by: nadvornik
from geeqie.
Logged In: YES
user_id=1246505
Originator: YES
The patch doesn't solve the problem.
Original comment by: fma38
from geeqie.
Logged In: YES
user_id=2049043
Originator: NO
gdk_pixbuf_new() is using gsize type so the allocation limit is near 37800 x 37800 pixels.
BTW, in pixbuf-renderer.c, pixmap_calc_size() should return a gsize instead of int.
Original comment by: zas_
from geeqie.
Logged In: YES
user_id=1986130
Originator: NO
eog has the same problem.
Original comment by: nadvornik
from geeqie.
- labels: --> Image formats
- milestone: --> no target version
Original comment by: nadvornik
from geeqie.
The bug is in gdk-pixbuf, there has been a ticket upstream for 6 years : https://bugzilla.gnome.org/show\_bug.cgi?id=163090
I dig a little bit into it and proposed a workaround in the comments.
Original comment by: cyril42e
from geeqie.
Probably fixed by #772
from geeqie.
Related Issues (20)
- wrong depth pixel value in`Show Pixel Info` HOT 5
- Approach to set marks/keywords based on files selected outside of Geeqie HOT 3
- How to set the background/board color? HOT 1
- Meson and webp-pixbuf-loader HOT 2
- Restore zoom quality after viewing a GIF HOT 3
- Sort by Date isn't correct & doesn't match Thunar: sort by Date Modified HOT 5
- webp images show up as black HOT 18
- allow split view with user specified layout HOT 4
- Sort by image dimension HOT 4
- Delete a keyboard shortcut HOT 8
- Cannot build with meson 0.56.2 HOT 2
- Fullscreen doesn't work with GNOME44 (Wayland) HOT 2
- Fullscreen doesn't work with GNOME44 upon Wayland HOT 1
- Animated WebP HOT 5
- Sync xmp:Rating across all sidecar images
- exiv2 0.28.0 support HOT 12
- Deprecated GTK stuff (WIP) HOT 5
- Orientation functions not working in 2.01 HOT 2
- Double click for full screen HOT 2
- Zoom quality options lost (after viewing an animation?) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geeqie.