JPG based file does not activate JPG lossless operations..
Moderators: XnTriq, helmut, xnview
- maadjordan
- Posts: 25
- Joined: Thu Oct 30, 2003 8:33 pm
JPG based file does not activate JPG lossless operations..
i have a webshots image which it is a jfif-based(jpg-based) image file..
when you open the file .. lossless tools are OFF so nothing can be done..
-i renamed the file info JPG which should be useless (as Xnview is set to look for header..) and the status is same..
when you open the file .. lossless tools are OFF so nothing can be done..
-i renamed the file info JPG which should be useless (as Xnview is set to look for header..) and the status is same..
XnView Arabic Support
Re: 1.74 jpg based files does not activate lossless option..
I don't know whether there's a difference between JFIF and JPG. What happens if you unset the option "Recognize only by extension" (Tools/Options/File list)?maadjordan wrote:i have a webshots image which it is a jfif-based(jpg-based) image file..
when you open the file .. lossless tools are OFF so nothing can be done..
-i renamed the file info JPG which should be useless (as Xnview is set to look for header..) and the status is same..
- maadjordan
- Posts: 25
- Joined: Thu Oct 30, 2003 8:33 pm
It should be working, but if he's got 50kb image, he convert it to 100% quality jpeg, size could be 150kb, so any lossless operations are useless then...ckit wrote:Have you tried converting the jfif-based(jpg-based) file to a pure JPEG (make sure quality is set to 100%) and then use the Lossless tools.
- maadjordan
- Posts: 25
- Joined: Thu Oct 30, 2003 8:33 pm
- maadjordan
- Posts: 25
- Joined: Thu Oct 30, 2003 8:33 pm
Umm... for all practical purposes, jpg IS jfif.
There are other types of jpgs available (spiff is the official type), but all standard jpgs that you see on the web and whatnot are jfif files. Spiff, for example, was created later by the original jpeg group and is the official standard (jfif is merely the de-facto standard), but very few applications can open a spiff file (and even fewer can create one).JPEG itself specifies only how an image is transformed into a stream of bytes, but not how those bytes are encapsulated in any particular storage medium. A further standard, created by the Independent JPEG Group, called JFIF (JPEG File Interchange Format) specifies how to produce a file suitable for computer storage and transmission (such as over the Internet) from a JPEG stream. In common usage, when one speaks of a "JPEG file" one generally means a JFIF file
Some additional info on JFIF vs JPEG:
==========================
==========================
JFIF stands for JPEG File Interchange Format"JFIF" is the correct name for the image format commonly known as "JPEG." Strictly speaking, JPEG is a method of compression. The image format using JPEG compression that is by far the most common is JFIF. There is also a subformat of TIFF that uses JPEG compression.
EXIF is an image format that is a subformat of JFIF (to wit, a JFIF file that contains an EXIF header as an APP1 marker).
JFIF files can have either 8 bits per sample or 12 bits per sample. The 8 bit variety is by far the most common. There are two versions of the IJG JPEG library. One reads only 8 bit files and the other reads only 12 bit files.
There are two variations on the CMYK (and likewise YCCK) color space that may be used in the JFIF input. In the normal one, a zero value for a color components indicates absence of ink. In the other, a zero value means the maximum ink coverage. The latter is used by Adobe Photoshop when it creates a bare JFIF output file (but not when it creates JFIF output as part of Encapsulated Postscript output).