# Tag Info

### Aren't all digital images ultimately just pixel values between 0 - 255?

Sorry, but your basic premise is wrong: an image can be encoded as an array of RBG pixels with 8 bits per value, but there are a lot of other ways: one channel with one bit/channel (pure black and ...
• 3,181

### Aren't all digital images ultimately just pixel values between 0 - 255?

If at the core, photos are just 3 channels of pixel values [0, 255] X RBG, But photos are not "just 3 channels of pixel values" even "at the core." Computer screens are typically made up of an array ...
• 31.7k

### What is the "optimal" file size of JPEG images with respect to their dimensions?

The size of files compressed with JPEG vary depending on the complexity of the image. Trying the control the file sizes the way you describe will result in highly variable perceived image quality. ...
• 27k

### Two EXACTLY the same .jpg images with one image more than twice the file size of the other - Why?

The JPEG compression algorithm works like this: Instead of being saved as three R, G and B planes, your image is decomposed into 3 planes, one that carries luminosity, and two that carry color (aka ...
• 21.7k

### Aren't all digital images ultimately just pixel values between 0 - 255?

In addition to @remco's fantastic answer, I want to add why there are different codecs for (roughly) the same purpose. Codecs are designed to: Be lossless vs. lossy Encode fast vs. reduce filesize ...
• 6,478

### What is the "optimal" file size of JPEG images with respect to their dimensions?

No. This is a wrong approach. File size in pixels, yes, has something to do with the final weight, but it is not the only factor. Make a test. Take a completely white file of the same 2400x600px, ...
• 25.2k

### JPG and file sizes - BASIC facts for dummy

JPEG is an image format with lossy compression. This means, every time you save a modified JPEG image, its quality gets slightly reduced because the algorithms used for encoding and compressing the ...

### JPG and file sizes - BASIC facts for dummy

To simplify a bit, JPEG image compression splits the image into different frequency components and stores them separately. Depending on the compression settings, it also stores the higher frequency ...
• 4,693

### Aren't all digital images ultimately just pixel values between 0 - 255?

There are several reasons why this assumption is incorrect, and they all come down to one thing: What scale are you actually using? And that can be broken down a little further: What is 255? "...
• 143k

### Two EXACTLY the same .jpg images with one image more than twice the file size of the other - Why?

If the files are different sizes, the only way the image data can be identical is if the Exif data is different (an embedded thumbnail difference would be a place to start). Suppose there are two ...

### Aren't all digital images ultimately just pixel values between 0 - 255?

If at the core, photos are just 3 channels of pixel values [0, 255] X RBG That is a seriously broken assumption and the rest of your question is simply not answerable without breaking away from it. ...
• 833

### What is the "optimal" file size of JPEG images with respect to their dimensions?

Web developer here. Here's how I'd approach this: 1. Determine the displayed image dimensions and required screen resolutions. Your first task is determining what pixel sizes the images will be ...
• 361
Accepted

### Do high export resolutions compromise image safety?

An image doesn't have a DPI until you print it. All it has are dimensions in pixels. Anything else is simply an interpolation of one system to another in order to display on your screen... which is ...
• 23.4k

### Aren't all digital images ultimately just pixel values between 0 - 255?

No, an image is not just RGB values in the range 0-255. Even if you ignore storage formats, there are many ways to describe color. Here are some examples: Red, green and blue components (RGB) Cyan, ...
• 211
Accepted

### Should I resize photos before or after image optimization?

The "ImageOptim" tool pulls together a bunch of other things, and in the case of JPEG files, the relevant thing is the MozJPEG optimizing encoder. If you use this encoder and then resize and save with ...
• 143k

### Two EXACTLY the same .jpg images with one image more than twice the file size of the other - Why?

These are two different images, not of the same scene? For the same perceptual quality, some images compress better than others. Does one have a lot of smooth or blurred areas (like the sky without a ...
• 191

### How to resize images in place in Lightroom

Select the RAW photos, then do an Export. In the Export Location section, choose Export To: Same folder as original photo. Check the Add to This Catalog Checkbox. Select the file output options ...
• 199

### What is the "optimal" file size of JPEG images with respect to their dimensions?

While @Rafael's answer has explained the JPEG compression ins and out, I will try to answer your web and upload problematic. Using an image in a website (for design or content) will dictate some ...
• 710

### Image properties for social media?

None of 1-4 matter. All the major social networks (definitely including Facebook, Twitter and Instagram) re-encode any uploaded photos with their own settings, optimised for their use case (reducing ...
• 22.1k

### Two EXACTLY the same .jpg images with one image more than twice the file size of the other - Why?

The problem is that we forget all of our digital files are made up of binary, but our computers obfuscate those details. We simply see in our file explorer that some whatever.jpg file was last updated ...

### Aren't all digital images ultimately just pixel values between 0 - 255?

Your premise is not wrong: any image can be represented using an N-dimensional array of finite values. Personally, I generalize that using discrete geometry instead of a matrix, but the essence is the ...
• 310
Accepted

### Image File Size Question

Your naive computation works on naive image formats (early BMP, TGA). However, most popular image formats use some form of compression, which can be lossless or lossy, and in both cases, the achieved ...
• 21.7k
Accepted

### Does JPEG compression reduce actual image size?

Yes, and no :) I think the article is speaking about the image file size (in bytes), and not the image size itself (in pixels) which is indeed unchanged. But, to be accurate, one of the tradeoffs of ...
• 21.7k

### Aren't all digital images ultimately just pixel values between 0 - 255?

Bitmaps A bitmap (BMP) is essentially what you describe, an array of numbers that represent pixel colors. E.g. something like 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1 Lossless compression Now, let's ...
• 141

### Aren't all digital images ultimately just pixel values between 0 - 255?

Let's say it was true, that every pixel was just three numbers (red, green and blue) each in the range 0-255. Other answerers have started by (correctly) challenging that assumption, but for ...
• 170
Accepted

### Why do different ISO images have different file sizes?

Digital cameras, to save space, compress the data. Think of storing a book after it has been converted to a digital file. One could devise a scheme to cast out all entries of the word like “the” or “...
• 39.5k
Accepted

### What is the "optimal" file size of JPEG images with respect to their dimensions?

On average, JPEG's sweet spot is around one bit per pixel. This will of course vary depending on image content, because certain types of graphics (e.g. flat areas and smooth gradients) compress ...
• 180

### Two EXACTLY the same .jpg images with one image more than twice the file size of the other - Why?

When I zoom in by say 700% on the same spot on each image I see just about the same amount of pixilation, indicating the compression is the same. Open a JPEG file with an image editor, save the image ...
• 147