pictview: PNG not displayed correctly

Discussion of bugs and problems found in Altap Salamander. In your reports, please be as descriptive as possible, and report one incident per report. Do not post crash reports here, send us the generated bug report by email instead, please.
User avatar
crystalidea
Posts: 205
Joined: 09 Dec 2005, 15:13
Contact:

Re: pictview: PNG not displayed correctly

Post by crystalidea »

Not fixed in 3.0.8
maroon
Posts: 6
Joined: 19 Dec 2017, 21:58

Re: pictview: PNG not displayed correctly

Post by maroon »

Unsure if the above Picview problem is related to mine. Seeing this in 32/64bit versions on Win7.

https://www.dropbox.com/sh/zw1hdr3shfvh ... _xuva?dl=0

F3 Pictview viewer for at least several Salamander versions has error "Unknown type of compression" unless there's an extra amount of image data beyond what's needed. And the required amount of extra data increases as width x height increases.

For an 800x600 image, PNG should only need 800 x 600 / 8 = 60000 bytes, but F3 won't view unless memory image has at least 500 extra bytes (4000 pixels). The extra required by 1024x768 is 640 bytes (5120 pixels), and even more extra is required for larger sizes.

The linked filenames containing 'Error' generate this error in Pictview, but are displayed normal in MS Paint, Windows Photo Viewer, and Windows Live Photo Gallery. However, I did notice that Salamander's Alt-S 'thumbnail view' mode also shows the thumbnail only for the 2 icons that did not generate the error. I didn't find anything in the PNG file format saying it needed to have more image data than displays on screen.
squeezechart
Posts: 4
Joined: 18 Oct 2018, 10:23

Re: pictview: PNG not displayed correctly

Post by squeezechart »

Yes, it's sad that the PictView plugin is not updated.
I wrote an email back in August of 2017 telling them that PictView fails to correctly read a bunch of files:

Camera raw files of Olympus SH-2, Olympus XZ-2, Olympus XZ-10, Olympus E-M5 Mark II, Olympus E-PL7,
Olympus SP-570uz, Olympus E-PM2, Olympus OM-D-E M5.

It does not open .crw / .cr2 of Canon G7, Canon Powershot 650, Canon Powershot_Sx110is, Canon Ixus 900Ti,
Canon A550, Canon A570is, Canon A610, Canon A620, Canon A710, Canon A720is, Canon Powershot A650,
Canon S2is, Canon S3is, Canon SSis, Canon SD750,Canon SD950.

Most of the samples can be found at: http://raw.pixls.us/
Linking to libraries of Dcraw or libRaw would help.

Do you also plan support for further camera raw formats such as Panasonic .rw2, Sigma .x3f, Samsung .srw
Phase One .iiq, Hasselblad .3fr?

And do you also plan to support .DNG with CCD-Raw formats and different bit depth per channel
and support for mordern formats such as .webp, .bpg, .flif or new .heif format used by upcoming Apple devices?

But there was no response.
I think that they do not update it anymore which is sad
User avatar
crystalidea
Posts: 205
Joined: 09 Dec 2005, 15:13
Contact:

Re: pictview: PNG not displayed correctly

Post by crystalidea »

Not fixed in 4.0
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5229
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Re: pictview: PNG not displayed correctly

Post by Jan Rysavy »

There are several problems with PictView plugin: image decoding/encoding engine is no longer updated, doesn't support multithreading, advanced CPU instructions (SSE, AVX, ...), new image formats, x64 target. It is closed source mix of Delphi and x86 assembler.

We can open source the Salamander part of PictView plugin (VS2019 C++), maybe someone could replace the input/output engine. For beginning maybe with WIC (Windows Imaging Component) and LibRaw. Let us know...
thomas
Translator
Translator
Posts: 108
Joined: 29 Apr 2007, 21:57
Location: Germany

Re: pictview: PNG not displayed correctly

Post by thomas »

GalaxyI.jpg
GalaxyI.jpg (245.87 KiB) Viewed 11853 times
Pictview has a problem with this image.
GalaxyI_Pictview.jpg
GalaxyI_Pictview.jpg (260.58 KiB) Viewed 11853 times
Post Reply