LOCO-I: a Low Complexity, Context-Based, Lossless Image Compression Algorithm Marcelo J

Total Page:16

File Type:pdf, Size:1020Kb

LOCO-I: a Low Complexity, Context-Based, Lossless Image Compression Algorithm Marcelo J (1) LOCO-I: A Low Complexity, Context-Based, Lossless Image Compression Algorithm Marcelo J. Weinberger, Gadiel Seroussi, and Guillermo Sapiro Hewlett-Packard Laboratories, Palo Alto, CA 94304 Copyright 1996 Institute of Electrical and Electronics Engineers. Reprinted, with permission, from Proceedings of the IEEE Data Compression Conference, Snowbird, Utah, March-April 1996. This material is posted here with permission of the IEEE. Such permission of the IEEE does not in any way imply IEEE endorsement of any of Hewlett-Packard’s products or services. Internal or personal use of this material is permitted. However, permission to reprint/republish this material for advertis- ing or promotional purposes or for creating new collective works for resale or re- distribution must be obtained from the IEEE by sending a blank email message to [email protected]. By choosing to view this document, you agree to all provisions of the copyright laws protecting it. LOCO-I: A Low Complexity, Context-Based, Lossless Image Compression Algorithm Marcelo J. Weinberger, Gadiel Seroussi, and Guillermo Sapiro Hewlett-Packard Laboratories, Palo Alto, CA 94304 Abstract. LOCO-I (LOw COmplexity LOssless COmpression for Images) is a novel loss- less compression algorithm for continuous-tone images which combines the simplicity of Huffman coding with the compression potential of context models, thus “enjoying the best of both worlds.” The algorithm is based on a simple fixed context model, which approaches the capability of the more complex universal context modeling techniques for capturing high-order dependencies. The model is tuned for efficient performance in conjunction with a collection of (context-conditioned) Huffman codes, which is realized with an adaptive, symbol-wise, Golomb-Rice code. LOCO-I attains, in one pass, and without recourse to the higher complexity arithmetic coders, compression ratios similar or superior to those obtained with state-of-the-art schemes based on arithmetic coding. In fact, LOCO-I is be- ing considered by the ISO committee as a replacement for the current lossless standard in low-complexity applications. 1 Introduction Lossless image compression schemes often consist of two distinct and independent components: modeling and coding. The modeling part can be formulated as an in- ductive inference problem, in which an image is observed pixel by pixel in some pre-defined order (e.g., raster-scan). At each time instant i, and after having scanned i past data x = x1x2 xi, one wishes to make inferences on the next pixel value x i+1 by assigning a conditional··· probability distribution p( xi) to it.1 Ideally, the code i ·| length contributed by xi+1 is log p(xi+1 x ) bits (hereafter, logarithms are taken to the base 2), which averages− to the entropy| of the probabilistic model. Thus, a skewed (low-entropy) probability distribution, which assigns a high probability value to the next pixel, is desirable. In a sequential formulation, the distribution p( xi)is learned from the past and it is available to the decoder as it decodes the past·| string sequentially. Alternatively, in a two-pass scheme the conditional distribution can be learned from the whole image in a first pass and must be sent to the decoder as header information. In this case, the total code length includes the length of the header. Yet, both the second encoding pass and the (single-pass) decoding are subject to the same sequential formulation. In principle, skewed distributions can be obtained through larger conditioning regions or “contexts.” However, this implies a larger number of parameters in the statistical model, with an associated model cost [1] which could offset the entropy savings. In a sequential scheme, this cost can be interpreted as capturing the penal- ties of “context dilution” occurring when count statistics must be spread over too many contexts, thus affecting the accuracy of the corresponding estimates. In non- sequential (two-pass) schemes the model cost represents the code length required to encode the model parameters estimated in the first pass, which must be transmitted to the decoder. In both cases the model cost is proportional to the number of free parameters in the statistical model [2]. 1Notice that pixel values are indexed with only one subscript, despite corresponding to a two- dimensional array. This subscript denotes the “time” index in the pre-defined order. In state-of-the-art lossless image compression schemes, the above probability as- signment is generally broken into the following components: a. A prediction step, in which a deterministic valuex ˆ i+1 is guessed for the next i pixel xi+1 based on a subset of the available past sequence x (a causal template). b. The determination of a context in which xi+1 occurs (again, a function of a past subsequence). ∆ c. A probabilistic model for the prediction residual (or error signal) ei+1 = xi+1 − xˆi+1, conditioned on the context of xi+1. The optimization of these steps, inspired on the ideas of universal modeling, is ana- lyzed in [1], where a high complexity scheme is proposed. In this scheme, the pre- diction step is accomplished with an adaptively optimized, context-dependent linear predictor, and the statistical modeling is performed with an optimized number of parameters (variable-size quantized contexts). The modeled prediction residuals are arithmetic encoded in order to attain the ideal code length [3]. In [4], some of the optimizations performed in [1] are avoided, with no deterioration in the compression ratios. Yet, the modeling remains in the high complexity range. In various versions of the Sunset algorithm [5, 6], a further reduction in the modeling complexity, via a fixed predictor and a non-optimized context model, causes some deterioration in the compression ratios. Moreover, the models used in all these algorithms provide best results with arithmetic coding of prediction residuals, an operation that is con- sidered too complex in many applications, especially for software implementations. Other alternatives have been designed with simplicity in mind and propose minor variations of traditional DPCM techniques [7], which include Huffman coding of pre- diction residuals obtained with some fixed predictor. Thus, these simpler techniques are fundamentally limited in their compression performance by the first order entropy of the prediction residuals. LOCO-I combines the simplicity of Huffman (as opposed to arithmetic) coding with the compression potential of context models, thus “enjoying the best of both worlds.” The algorithm uses a non-linear predictor with rudimentary edge detecting capability, and is based on a very simple context model, determined by quantized gradients. A small number of free statistical parameters is used to approach the capability of the more complex universal context modeling techniques for capturing high-order dependencies [1], without the drawbacks of “context dilution.” This is achieved through a single-parameter probability distribution per context, efficiently implemented by an adaptive, symbol-wise, Golomb-Rice code [8, 9]. In addition, reduced redundancy is achieved by embedding an alphabet extension in “flat” regions. A low complexity scheme based on Golomb-Rice coding, FELICS, was previously described in [10]. LOCO-I differs significantly from FELICS in that it follows a more traditional predictor-modeler-coder structure along the paradigm of [1], in the use of a novel and extremely simple explicit formula for Golomb-Rice parameter estimation (described in Section 2.3), as opposed to the search procedure described in [10], and in the use of an embedded alphabet extension to reduce code redundancy. As shown in the results Section 3, LOCO-I attains compression ratios that are significantly better than those of FELICS, while maintaining the same low complexity level. In fact, the results show that LOCO-I compresses similarly or better than state-of-the art schemes based on arithmetic coding, at a fraction of the complexity. LOCO-I is Figure 1: A causal template for LOCO-I being considered by the ISO/IEC JTC1/SC29/WG1 committee as a replacement for the current lossless standard in low-complexity applications. 2 A description of LOCO-I The prediction and modeling units in LOCO-I are based on the causal template de- picted in Figure 1, where x denotes the current pixel, and a, b, c, d, and e are neighbor- ing pixels in the relative positions shown in the figure. The dependence of a, b, c, d, and e on the time index i has been deleted from the notation for simplicity. 2.1 Prediction Ideally, guessing the value of the current pixel xi+1 based on a, b, c, d, and e should be done by adaptively learning a model conditioned on the local edge direction. However, our complexity constraints rule out this possibility. Yet, a primitive edge detector is still desirable in order to approach the best possible predictor. The approach in LOCO-I consists on performing a primitive test to detect vertical or horizontal edges. If an edge is not detected, then the guessed value is a+b c, as this would be the value − of xi+1 if the current pixel belonged to the “plane” defined by the three neighboring pixels with “heights” a, b and c. This expresses the expected smoothness of the image in the absence of edges. Specifically, the LOCO-I predictor guesses: min(a, b)ifc max(a, b) ∆ ≥ xˆi+1 = max(a, b)ifc min(a, b) (2) a + b c otherwise.≤ − Assuming, without loss of generality, that a b, then the predictor of (2) can be interpreted as picking a in many cases where a≤ vertical edge exists left of the current location, b in many cases of an horizontal edge above the current location, or a plane predictor a + b c if no edge has been detected. − The above predictor has been employed in image compression applications [11], although under a different interpretation.
Recommended publications
  • Simple Fast and Adaptive Lossless Image Compression Algorithm
    Simple Fast and Adaptive Lossless Image Compression Algorithm Roman Starosolski¤ December 20, 2006 This is a preprint of an article published in Software|Practice and Experience, 2007, 37(1):65-91, DOI: 10.1002/spe.746 Copyright °c 2006 John Wiley & Sons, Ltd. http://www.interscience.wiley.com Abstract In this paper we present a new lossless image compression algorithm. To achieve the high compression speed we use a linear prediction, modi¯ed Golomb{Rice code family, and a very fast prediction error modeling method. We compare the algo- rithm experimentally with others for medical and natural continuous tone grayscale images of depths of up to 16 bits. Its results are especially good for big images, for natural images of high bit depths, and for noisy images. The average compression speed on Intel Xeon 3.06 GHz CPU is 47 MB/s. For big images the speed is over 60 MB/s, i.e., the algorithm needs less than 50 CPU cycles per byte of image. KEY WORDS: lossless image compression; predictive coding; adaptive modeling; medical imaging; Golomb{Rice codes 1 Introduction Lossless image compression algorithms are generally used for images that are documents and when lossy compression is not applicable. Lossless algorithms are especially impor- tant for systems transmitting and archiving medical data, because lossy compression of medical images used for diagnostic purposes is, in many countries, forbidden by law. Furthermore, we have to use lossless image compression when we are unsure whether dis- carding information contained in the image is applicable or not. The latter case happens frequently while transmitting images by the system not being aware of the images' use, e.g., while transmitting them directly from the acquisition device or transmitting over the network images to be processed further.
    [Show full text]
  • Lossless and Nearly-Lossless Image Compression Based on Combinatorial Transforms
    UNIVERSITÉ DE BOURGOGNE ECOLE DOCTORALE ENVIRONNEMENT - SANTÉ / STIC (E2S) THÈSE Pour obtenir le grade de Docteur de l’université de Bourgogne dicipline : Instrumentation et Informatique de l’Image par Elfitrin SYAHRUL le 29 Juin 2011 Lossless and Nearly-Lossless Image Compression Based on Combinatorial Transforms Directeur de thése : Vincent VAJNOVSZKI Co-encadrant de thése : Julien DUBOIS JURY Abderrafiâa KOUKAM Professeur, UTBM - Belfort Rapporteur Sarifudin MADENDA Professeur, Université de Gunadarma, Indonésie Rapporteur Vlady RAVELOMANANA Professeur, LIAFA Examinateur Michel PAINDAVOINE Professeur, Université de Bourgogne Examinateur Vincent VAJNOVSZKI Professeur, Université de Bourgogne Directeur de thèse Julien DUBOIS Maître de Conférences, Université de Bourgogne Co-encadrant ACKNOWLEDGMENTS In preparing this thesis, I am highly indebted to pass my heartfelt thanks many people who helped me in one way or another. Above all, I would like to appreciate Laboratoire Electronique, Informatique et Image (LE2I) - Université de Bourgogne for valuable facility and support during my research. I also gratefully acknowledge financial support from the French Embassy in Jakarta, Universitas Gunadarma and Indonesian Government. My deepest gratitude is to my advisor, Prof. Vincent Vajnovszki and co-advisor, Julien Dubois. Without their insights and guidance, this thesis would not have been possible. During thesis period, they played a crucial role. Their insights, support and patience allowed me to finish this dissertation. I am blessed with wonderful friends that I could not stated one by one here in many ways, my successes are theirs, too. Most importantly, SYAHRUL family, my parents, dr. Syahrul Zainuddin and Netty Syahrul, my beloved sister Imera Syahrul and my only brother Annilka Syahrul, with their unconditional support, none of this would have been possible.
    [Show full text]
  • A New Lossless Image Compression Algorithm Based on Arithmetic Coding
    A New Lossless Image Compression Algorithm Based on Arithmetic Coding Bruno Carpentieri Dipartimento di Informatica ed Applicazioni "R. 3/1.. Capocelli" Universita' di Salerno 84081 Baronissi (SA), ltaly Abstract We present a new lossless image compression algorithm based on Arithmetic Coding. Our algorithm seleots appropriately, for each pixel position, one of a large number of possible, d3mamic , probability dish-ibutions, and encodes the current pixel prediction error by using this distribution as the model for the arithmetic encoder. We have experimentally compared our algorithm with Lossless JPEG, that is currently the lossless image compression standard, and also with FELICS and other lossless compression algorithms. Our tests show that the new algorithm outperforms Lossless JPEG and FELICS leading to a compression improvement of about 12% over Lossless JPEG and 10% over FF~LICS. I Introduction Compression is the coding of data to minimize its representation. The compression of images is motivated by the economic and logistic needs to conserve space in storage media and to save bandwidth in communication. In compressed form data can be stored more compactly and transmitted more rapidly. There are two basic reasons for expecting to be able to compress images. First, the information itself contains redundancies in the form of non uniform distribution of signal values (spatial correlation). Second, the act of digitizing contributes an expansion. The compression process is called lossless compression (also reversible or noiseless coding or redundancy reduction) if the original can be exactly reconstructed from the compressed copy; otherwise it is called los~y compression (also irreversible or fidelity-reducing coding or entropy reduction).
    [Show full text]
  • Image Compression Using Clustering Techniques
    International Journal of Computer Science Engineering and Information Technology Research (IJCSEITR) ISSN 2249-6831 Vol. 3, Issue 1, Mar 2013, 109-116 © TJPRC Pvt. Ltd. IMAGE COMPRESSION USING CLUSTERING TECHNIQUES DIVYA MOHAN & NISHA JOSEPH Assistant Professor, CSE, SAINTGITS College of Engineering, Kottayam, India ABSTRACT This paper deals mainly with the image compression algorithms. Context-based modeling is an important step in image compression. It is very difficult to define and utilize contexts for natural images effectively. This is primarily due to the huge number of contexts available in natural images. we used optimized clustering algorithms to compress images effectively by making use of a large number of image contexts. The goal of clustering is to separate a finite unlabeled data set into a finite and discrete set of natural, hidden data structures, rather than provide an accurate characterization of unobserved samples generated from the same probability distribution. This theory is used here for compressing images containing large number of similar contexts. There are many clustering algorithms exist like grid based clustering algorithm, density based clustering algorithm, hierarchical algorithm, partitioning algorithm and model based algorithm. Since images contain large number of varying density regions, we used an optimized density based algorithm from a pool. KEYWORDS: Context Modeling, PPM, Prediction by Partial Approximate Matching (PPAM), Varied Density Based Clustering Applications with Noise (VDBSCAN) INTRODUCTION Image compression is minimizing the size in bytes of a graphics file without degrading the quality of the image to an unacceptable level. The reduction in file size allows more images to be stored in a given amount of disk or memory space.
    [Show full text]
  • Processing and Codification Images Based on JPEG Standard
    PROCESSING AND CODIFICATION IMAGES BASED ON JPEG STANDARD Proyecto Fin de Carrera UNIVERSIDAD CARLOS III DE MADRID Departamento de Teoría de la Señal Autor: Sergio Tallante Pastor Profesor: Prof. Wolf-Peter Buchwald Tutor: Dirk Reifenstahl Wolfenbüttel, January 2011 PROCESSING AND CODIFICATION IMAGES BASED ON JPEG STANDARD Final Project FACHHOCHSCHULE BRAUNSCHWEIG /W OLFENBÜTTEL UNIVERSITY OF APPLIED SCIENCES Department of Electrotechnical Engineering Author: Sergio Tallante Pastor Matrikel-Nr: 1009154 Mentor: Prof. Wolf-Peter Buchwald Tutor: Dirk Reifenstahl Wolfenbüttel, January 2011 II III This is to certify that except where specific reference is made, the work described in this project is result of the candidate. Neither this project, nor any part of it, has been presented or is currently submitted in candidature for any degree at another University. Candidate: Sergio Tallante Pastor Date: 28-01-2011 IV ACKNOWLEDGEMENTS This Final Project is the end of one of the most important stages of my life, and although I have had some bad experiences, I think there have been more good moments, and these are the really important. I would like to thank Professor Wolf-Peter Buchwald for giving me the opportunity of doing this Final Project and contacting with Dirk Reifenstahl, who has supervised my work with flexibility and wisdom. I would like to thank my new friends of Wolfenbüttel and Braunschweig for having given me support and advices in the development of this Final Thesis and for having gone with me in my stay in Germany. And also, to thank my UC3M´s classmates who have accompanied me over the years, specially Alex and Julio, who have borne and help me at long evenings of study in the library.
    [Show full text]
  • The LOCO-I Lossless Image Compression Algorithm: Principles and Standardization Into JPEG-LS
    The LOCO-I Lossless Image Compression Algorithm: Principles and Standardization into JPEG-LS Marcelo J. Weinberger and Gadiel Seroussi Hewlett-Packard Laboratories, Palo Alto, CA 94304, USA Guillermo Sapiro∗ Department of Electrical and Computer Engineering University of Minnesota, Minneapolis, MN 55455, USA. Abstract LOCO-I (LOw COmplexity LOssless COmpression for Images) is the algorithm at the core of the new ISO/ITU standard for lossless and near-lossless compression of continuous-tone images, JPEG-LS. It is conceived as a “low complexity projection” of the universal context modeling paradigm, matching its modeling unit to a simple coding unit. By combining simplicity with the compression potential of context models, the algorithm “enjoys the best of both worlds.” It is based on a simple fixed context model, which approaches the capability of the more complex universal techniques for capturing high-order dependencies. The model is tuned for efficient performance in conjunction with an extended family of Golomb-type codes, which are adaptively chosen, and an embedded alphabet extension for coding of low-entropy image regions. LOCO-I attains compression ratios similar or superior to those obtained with state-of-the-art schemes based on arithmetic coding. Moreover, it is within a few percentage points of the best available compression ratios, at a much lower complexity level. We discuss the principles underlying the design of LOCO-I, and its standardization into JPEG-LS. Index Terms: Lossless image compression, standards, Golomb codes, geometric distribution, context modeling, near-lossless compression. ∗This author’s contribution was made while he was with Hewlett-Packard Laboratories. 1 Introduction LOCO-I (LOw COmplexity LOssless COmpression for Images) is the algorithm at the core of the new ISO/ITU standard for lossless and near-lossless compression of continuous-tone images, JPEG-LS.
    [Show full text]
  • Hardware Implementation of JPEG-LS Codec
    Rochester Institute of Technology RIT Scholar Works Theses 9-1-2001 Hardware Implementation of JPEG-LS codec Michael Piorun Follow this and additional works at: https://scholarworks.rit.edu/theses Recommended Citation Piorun, Michael, "Hardware Implementation of JPEG-LS codec" (2001). Thesis. Rochester Institute of Technology. Accessed from This Thesis is brought to you for free and open access by RIT Scholar Works. It has been accepted for inclusion in Theses by an authorized administrator of RIT Scholar Works. For more information, please contact [email protected]. Hardware Implementation of a JPEG-LS Codec ! "#! ! Michael Piorun $!%&'()(!*+",)--'.! )/! 012-)13!4+35)33,'/-!65!-&'! 7'8+)2','/-(!562!-&'!9':2''!65! ;$*%<7!=4!*>?<@><! )/! >6,A+-'2!</:)/''2)/:! ! ! ! ! ! ! ! ! ! ! $AA26B'.!"#C! ! ! Principal AdvisorDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD! $/.2'1(!<E!*1B1F)(G!$((6H)1-'!0265'((62!1/.!9'A12-,'/-!I'1.! ! Committee MemberDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD! 76#!*E!>J'2/)F6K(F)G!0265'((62! ! Committee MemberDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD! L'//'-&!ME!I(+G!0265'((62! ! 9'A12-,'/-!65!>6,A+-'2!</:)/''2)/:! >633':'!65!</:)/''2)/:! 76H&'(-'2!?/(-)-+-'!65!%'H&/636:#! 76H&'(-'2G!@'K!N62F! *'A-',"'2!OPPQ! RELEASE PERMISSION FORM ! Rochester Institute of Technology Hardware Implementation of a JPEG-LS Codec! ! ! ! ! ?G!;)H&1'3!0)62+/G!&'2'"#!:21/-!A'2,)(()6/!-6!-&'!M1331H'!R)"212#!1/.!-&'!9'A12-,'/-!65! >6,A+-'2!</:)/''2)/:!1-!-&'!76H&'(-'2!?/(-)-+-'!65!%'H&/636:#!-6!2'A26.+H'!,#!-&'()(!)/!K&63'! 62!)/!A12-E!!$/#!2'A26.+H-)6/!K)33!/6-!"'!562!H6,,'2H)13!+('!62!A265)-E!
    [Show full text]
  • Performance Evaluation of Lossless Medical and Natural Continuous Tone Image Compression Algorithms
    Performance evaluation of lossless medical and natural continuous tone image compression algorithms Roman Starosolski* Institute of Computer Science, Silesian University of Technology Akademicka 16, 44-100 Gliwice, Poland ABSTRACT In this study we evaluate the performance of several lossless grayscale image compression algorithms: algorithms that are standards in medical image transmitting and archiving systems, other algorithms used for compressing medical images in practice and in image compression research, and of a couple of universal algorithms applied to raw and preprocessed image data. In the experiments we use a new, publicly available, test image set, which is described in detail in the paper. The set contains about one hundred images, mainly medical images of various modalities (CR, CT, MR, and US) and natural continuous tone grayscale images of various sizes and various bit depths (up to 16 bits per pixel). We analyze algorithm performance with respect to image modality, depth, and size. Our results generally adhere to results reported in other studies, however, we find that some common opinions on performance of popular algorithms are imprecise, or even false. Most interesting observation concerning the compression speed is that the speed of many algorithms is relatively low, e.g., JPEG2000 obtains speed close to CALIC algorithm, which is considered to be slow. On the other hand there exist algorithms much faster than the JPEG-LS (i.e., SZIP and SFALIC). Considering the compression ratio, the most interesting results were obtained for high bit depth medical CT and MR images, which are of sparse histograms. For better compression ratios of those images, instead of standard image compression algorithms, we should either use universal algorithms or employ the histogram packing technique prior to actual image compression.
    [Show full text]
  • Modified Golomb-Rice Codes for Lossless Compression of Medical Images
    Modified Golomb-Rice Codes for Lossless Compression of Medical Images Roman Starosolski (1), Władysław Skarbek (2) (1) Silesian University of Technology (2) Warsaw University of Technology Abstract Lossless image compression algorithms are used for images that are documents, when lossy compression is not accepted by users, or when we have no knowledge whether lossy compression is allowed or not. Lossless algorithms are especially important for systems transmitting and archiving medical data, because on the one hand lossy compression of medical images used for diagnostic purposes is forbidden by law, on the other hand the number and sizes of medical images stored or transmitted grows rapidly. Image compression researchers usually focus on results obtained for typical data, however for real life systems results for non-typical data should also be considered. For a compression algorithm the worst case image data results in data expansion. In applications, the results of compressing non-typical data should be known and the data expansion, unavoidable while processing incompressible data, should be minimized by the rule: primum non nocere. In the paper we analyze the Golomb-Rice (GR) family of codes, infinite family of prefix codes optimal for encoding symbols of exponential probability distribution. The GR family is used in predictive lossless image compression algorithms since the probability distribution of symbols encoded by those algorithms for typical images is close to exponential. The modified GR family of limited codeword length is used in the JPEG-LS algorithm recently included in the DICOM standard. In the paper we analyze effects of using both the GR and the limited codeword length GR codes for encoding actual images, where the set of encoded symbols is finite and the probability distribution is not exactly exponential.
    [Show full text]
  • JPEG - Wikipedia, the Free Encyclopedia
    JPEG - Wikipedia, the free encyclopedia http://en.wikipedia.org/wiki/Jpeg JPEG From Wikipedia, the free encyclopedia (Redirected from Jpeg) JPEG In computing, JPEG (pronounced JAY-peg; IPA: /ˈdʒeɪpɛg/) is a commonly used method of compression for photographic images. The name JPEG stands for Joint Photographic Experts Group, the name of the committee that created the standard. The group was organized in 1986, issuing a standard in 1992, which was approved in 1994 as ISO 10918-1. JPEG is distinct from MPEG (Moving Picture Experts Group), which produces compression schemes for video. The JPEG standard specifies both the codec, which defines how an image is compressed into a stream of bytes and decompressed back into an image, and the file format used to contain that stream. The compression method is usually lossy compression, meaning that some visual quality is lost in the process, although there are variations on the standard baseline JPEG that are lossless. There is also an interlaced "Progressive JPEG" format, in which data is compressed in multiple passes of A photo of a flower compressed with successively more lossy compression ratios from left to right. File extension: .jpeg, .jpg, .jpe .jfif, .jfi, .jif (containers) MIME type: image/jpeg Type code: JPEG Uniform Type public.jpeg Identifier: Developed by: Joint Photographic Experts Group progressively higher detail. This is ideal for large images that will be displayed whilst downloading over a slow connection, allowing a reasonable preview after receiving only a portion of the data. However, progressive JPEGs are not as widely supported. The file format is known as 'JPEG Interchange Format', as specified in Annex B of the standard.
    [Show full text]