Xviewer 1.2.2, on Linuxmint 18.1. Opening a large (13264 x 10119), all-white png image fails, showing only a pure black image. Interestingly, if the image is cropped to either 13263x10119 or to 13264x10118 it opens fine. This is not related to file size, (image is only about 412kB), as much larger images, png or jpg load. Local disk or remote share makes no difference.
I narrowed it down to that exact image size by incrementally cropping and blanking an image in gimp, determining that image content was irrelevant (pure white worked), file size was irrelevant (a 30MB file of slightly smaller dimensions displays fine), and the threshold for failing was that exact image size. Note that prior to upgrading from linuxmint 17.3 to 18.1, the default image displayer (eog I think) did not have this problem.
Steps to reproduce:
- Open gimp, create a new, blank (all-white) image of 13264 x 10119.
- Export image as png.
- Attempt to load in xviewer. Xviewer loads slowly (expected), but then shows a pure-black image. As well, the 2nd row of GUI buttons are missing icons (although when clicking on them they seem to be actually working, even if the image is not being displayed).
Xviewer 1.2.2, on Linuxmint 18.1. Opening a large (13264 x 10119), all-white png image fails, showing only a pure black image. Interestingly, if the image is cropped to either 13263x10119 or to 13264x10118 it opens fine. This is not related to file size, (image is only about 412kB), as much larger images, png or jpg load. Local disk or remote share makes no difference.
I narrowed it down to that exact image size by incrementally cropping and blanking an image in gimp, determining that image content was irrelevant (pure white worked), file size was irrelevant (a 30MB file of slightly smaller dimensions displays fine), and the threshold for failing was that exact image size. Note that prior to upgrading from linuxmint 17.3 to 18.1, the default image displayer (eog I think) did not have this problem.
Steps to reproduce: