JPEG (seen most often with the .jpg extension) is a commonly used method of lossy compression for digital images, particularly for those images produced by digital photography.

JPEG

Replacing the deprecated Java JPEG classes for Java 7

In the early days of Java, Sun produced a really handy set of classes to handle JPEG images. These included some really nifty little...
Mark Stephens
1 min read

How to convert YCCK color to RGB color

There are some ‘odd’ images in PDF files. They pretend to be CMYK but in fact they are not… Here is a description of...
Mark Stephens
1 min read

How to extract JPG data from PDF

It is actually possible to extract some raw images from the PDF file. In general, images do not exist inside a PDF file –...
Mark Stephens
1 min read

BufferedImage raster data in Java

Most of the time, the abstraction you get in Java is brilliant. It hides the complexity and lets you get on with real-life problem...
Mark Stephens
1 min read

Odd coloured JPEGs in Java with ImageIO

One of the best features about Java is the amount of low-level complexity it removes, allowing you to focus on developing the application. However,...
Mark Stephens
1 min read