Viewing a single comment thread. View all comments

someone76543 t1_ixtw30m wrote

First of all, JFIF is another name for JPEG, so they are the same.

Second, most image file formats have a way to identify the file format by looking at the first bit of the file. All PNGs start with the same 8 bytes. All JPEGs start with the same 3 bytes.

It is quite common for image loading code to automatically detect the type of image file and load it appropriately.

However, you should not assume this applies to other types of file - it usually doesn't.

You should not even assume that all image programs will do it (though most will).

19

jackmax9999 t1_ixu46oh wrote

I use IrfanView as my image viewer and it even notifies you when the extension doesn't match the actual file format, like "this JPEG file has .png extension, would you like to rename it to .jpg?"

14

OmNomDeBonBon t1_ixue9ho wrote

Good ol' IrfanView. Haven't used it in probably 15 years.

7

Implausibilibuddy t1_ixvhooy wrote

Any reason you stopped? Is there a better option? Being able to just spin through hundreds of images with the mousewheel and zoom to 100% with a single side-button click was a gamechanger. Needs a little setting tweekage after install, but after that it blows windows' default viewer out of the water.

3

OmNomDeBonBon t1_ixxh529 wrote

Looking at it again, probably the GUI. Looks straight out of 1997. I am about to try it again though, given what you said about its speed.

I used Windows Photo Viewer (even on Windows 10) and tried probably a dozen different imagine viewers until I found ImageGlass. Modern GUI, highly customisable: https://github.com/d2phap/ImageGlass

Likewise, I went through about 20 (!) music players (foobar2000, mp3cube, MusicMonkey, etc.) until I found MusicBee, which is incredibly good for music listening and management: https://www.getmusicbee.com/

3

Implausibilibuddy t1_ixz9x0q wrote

Yeah the GUI isn't exactly current-millennia, but it's unbeaten on features. There are even basic colour correction tools inbuilt, you can copy chunks of an image straight into photoshop or whatever just by selecting an area and hitting ctrl-C (saving having to drag the whole image in there), and as long as the thumbnail previews have generated it can skip through fairly large images as fast as you can spin your mouse wheel (and wrap back around if you've enabled the setting). Irfan plus Pureref for transparent imageboard overlays is an indispensable combo to any sort of visual artist / 3D modeller.

2