emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Zipped image file


From: Angelo Graziosi
Subject: Re: Zipped image file
Date: Sat, 7 Sep 2019 00:59:13 +0200 (CEST)

> Il 6 settembre 2019 alle 23.24 Paul Eggert ha scritto:
> 
> 
> On 9/6/19 2:04 PM, Angelo Graziosi wrote:
> > Suppose one uses bzip2 to compress a PNG file, foo.png ---> foo.png.bzip2. 
> > Visiting this file, Emacs says that cannot display the image because cannot 
> > determine the image type.
> 
> I see similar symptoms, but the display works as expected if the file is 
> named foo.png.bz2. Is the extension '.bzip2' popular? I generally see 
> just '.bz2'.

There was a mistake: read 'foo.png.bzip2' == 'foo.png.bz2' in the above text.

Here both foo.png.bz2 and foo.png.bzip2 produce almost the same result: only 
'garbage' is displayed, not the PNG image.

Anyway, the .bz2 version is decompressed but not the .bzip2. I have checked 
this also with a text file: foo.txt.bz2 is displayed correctly a fully 
readable; foo.txt.bzip2 is displayed as 'garbage' (should have seen .bzip2 
files somewhere...).

BTW, I tested this both on Windows build and GNU/Linux (cairo build).

If this is to be expected, it is useless to file a bug report.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]