Home  /  Guides  /  Six strengths, one warm channel

Bulk Sepia: Red Up 68.4%, Blue Back Where It Started

Updated 2026-11-28 · measured on 12 mixed files, 20,934,926 bytes, 63,016,384 pixels, six strengths from 0 to 100 percent

The short answer

Sepia is not a wash over the whole frame. It moves one end of the colour range: at full strength on this batch the red mean climbed from 74.346 to 125.333, a factor of 1.686, while the blue mean finished at 117.359, the exact number it started from. 43,457,448 pixels changed, 68.962% of the 63,016,384-pixel batch, and 10,356,266 pure black pixels were still pure black afterwards.

The catch is on the warm side. 1,697,241 red samples of one landscape photo hit 255 and stopped there, 14.144% of that frame, while 31.038% of the batch could not change at all because it was already at 0,0,0.

This page runs the same folder through six strengths of one fixed colour matrix and records, per file, what moved and what refused to. Its closest neighbours are the batch grayscale measurement, which removes colour without adding any, and the batch invert measurement, which flips both ends. If you are deciding between a warm tone and a flat one, read the grey-file section below first: sepia is the operation that puts colour into a file that never had any.

The single-file case lives on the photo flipper page; the arithmetic is identical, because a matrix does not know whether it is looking at one image or forty.

1. What was run and on what

Twelve files, 20,934,926 bytes on disk, eleven of which decoded into 63,016,384 pixels. Each file was converted to RGBA, the three colour channels were mixed by the matrix in section 2 at strengths of 0, 20, 40, 60, 80 and 100 percent, the output was rounded half-up and clamped to the 0 to 255 range, and the result was compared with the input pixel by pixel.

What the twelve files were: two byte-identical 3000 x 4000 portrait JPEGs, one 4000 x 3000 landscape JPEG, one 3000 x 4000 grey JPEG, one 2000 x 1500 JPEG with orientation tag 6, one 3000 x 3000 PNG, one 1200 x 800 transparent PNG, one 128 x 128 PNG icon, one 1600 x 900 WebP, one 400 x 300 six-frame GIF, one 800 x 600 16-bit grey PNG, and one truncated 1,200-byte JPEG that failed to decode. Nothing left the machine: Pillow 13.0.0, numpy 2.5.4 and Python 3.13.14 on a 64-bit desktop machine. The full run took 139.44 seconds of wall clock.

2. The matrix, and what each row does

A sepia conversion is three weighted sums, one per output channel, written as a 3 by 3 matrix. The specification lists it as a colour-matrix filter whose diagonal entries carry the strength: 0.393 plus 0.607 times (1 minus amount) on the red row, 0.686 plus 0.314 times (1 minus amount) on the green row, 0.131 plus 0.869 times (1 minus amount) on the blue row. At 100 percent those reduce to the familiar numbers below.

Output channelFrom redFrom greenFrom blueRow sum
Red0.3930.7690.1891.351
Green0.3490.6860.1681.203
Blue0.2720.5340.1310.937

Coefficients are the 100 percent values from the colour-matrix equivalent in the Filter Effects specification. Each row sums differently, and that is the whole story: a grey pixel of 128 fed through these rows comes out at 173 red, 154 green and 120 blue.

Two consequences follow, and both are testable. The blue row sums to less than 1, so a neutral input loses brightness on its blue channel instead of gaining it. The red row sums to 1.351, so a bright neutral input overflows and gets clamped. Nothing here is a curve; there is no shadow lift and no highlight roll-off. That is why the results in section 3 are so predictable across files that look nothing alike.

3. Three channel means over six strengths

The batch mean of each channel, weighted by pixel count, moves in one direction only. Red climbs at every step. Green rises slightly. Blue does something stranger: it ends at exactly the value it started from.

StrengthMean redMean greenMean blueMean lumaRed to bluePixels changed
0%74.346102.472117.35993.7781.74720
20%85.163105.079111.95297.9270.717443,333,276
40%95.760107.628106.540101.9740.709043,418,031
60%106.127110.045101.129105.8750.762843,426,131
80%116.088112.34995.723109.5920.849943,442,452
100%125.333114.52690.314113.0160.969743,457,448
Mean luma rises 19.238 over the sweep 97.927 105.875 113.016 20% 80% Start 93.778 at 0 percent, 19.238 gained in total
Batch luma at five strengths. A straight line, because a matrix has no curve in it.

Means are per pixel, weighted by each file's pixel count, over the eleven readable files. Luma uses the 0.299 / 0.587 / 0.114 weights. Red to blue is the mean of red divided by blue per pixel, averaged. The 31.038% remainder of the batch at 100 percent is pixels that stayed identical.

Read the luma column and the red column together. Red gained 50.987 units across the sweep. Luma gained 19.238. The difference is where the honest warning sits: the picture gets warmer faster than it gets brighter, and the channel that carries most of the eye's brightness, green, barely moved at all.

Mean red and blue by strength 125 74 20% 40% 60% 80% 100% red, 85.163 to 125.333 blue, 111.952 to 90.314
Batch channel means at five strengths. The lines are straight because the operation is linear; neither one curves.
Your call: whether a warm frame should also be brighter is a taste question, and the measurement will not settle it. If you want the tone without the lift, apply the matrix and then pull the exposure back by the luma figure the table gives for your strength; that is a deliberate choice about your pictures, so it stays with you.

4. A fifth of the slider already did the work

The changed-pixel share jumps from nothing to nearly everything and then almost stops. At 20 percent strength 43,333,276 pixels had moved; at 100 percent 43,457,448 had. The remaining 124,172 pixels are 0.197% of the batch. Any amount of tint flips almost every pixel off its original value, because a single unit of change counts.

FilePixelsChanged at 20%Changed at 100%Share of final at 20%
photo_square.png9,000,0007,874,8217,877,87299.961%
gray_16bit.png480,000479,941479,98599.991%
gray_8bit.jpg12,000,0007,864,7997,876,81699.847%
photo_portrait.jpg12,000,0007,884,4447,911,17799.662%
photo_landscape.jpg12,000,0007,883,0187,919,86799.535%
exif_orient6.jpg3,000,0001,975,1201,984,89199.508%
screenshot.webp1,440,000952,486961,21799.092%
small_icon.png16,38410,98311,22697.835%
logo_alpha.png960,000513,220513,220100.000%
animation.gif120,00010,00010,000100.000%
Already at 20 percent, by file grey 16-bit 99.991% square PNG 99.961% landscape 99.535% screenshot 99.092% 128 icon 97.835% Bars drawn from 90 percent so the differences show at all.
Changed pixels at strength 20 as a share of changed pixels at strength 100. Nothing here sits below 97.835%.

One row per file; the byte-identical portrait twin repeats the photo_portrait.jpg row and is counted once in the batch figures. Share of final is changed at 20% divided by changed at 100%, per file.

The two files at exactly 100 percent are the ones with flat regions: the transparent logo is pure black and pure white by design, and the six-frame animation is mostly a solid block. Their pixels either move fully or not at all, so what strength 20 already did, strength 100 could not add to.

5. Black does not move. Bright does

Three positive coefficients multiplied by a zero channel give zero, so a pixel at 0,0,0 stays at 0,0,0 no matter the strength. That held for every file: 10,356,266 such pixels were present before the run and 10,356,266 were present after, with no exception. The reverse does not hold, because 1.351 times a bright neutral value exceeds 255.

FilePure black beforeStill black at 100%New blackRed at 255 afterRed at 255 before
photo_landscape.jpg4,077,9314,077,93121,4331,697,241174,007
photo_square.png1,122,1001,122,100961,696,208208,911
gray_8bit.jpg4,115,7764,115,77601,588,809605
screenshot.webp478,539478,5391,723188,337not counted
logo_alpha.png446,780446,7800160,8000
animation.gif110,000110,000010,0000
small_icon.png5,1325,132921,6173
gray_16bit.png880478,615not counted

Pure black means all three channels at 0. Red at 255 counts pixels whose red channel is clipped, which is not the same as a white pixel. Not counted means the before value was not recorded for that file in this run; it is left blank rather than estimated.

Clipping is not evenly distributed. On the landscape photo 1,697,241 red samples clipped, 14.144% of the frame, and 1,037,220 of those kept green below 255. That is the visual signature of the filter: hot spots where red has run out of room while green and blue still hold a value, so the area drifts toward yellow instead of white. On the square PNG the share is 18.847%. On the 128 x 128 icon it is 9.869%.

Red at 255 after full strength square PNG 18.847% logo alpha 16.750% landscape 14.144% exif rotated 13.505% grey 8-bit 13.240% 128 icon 9.869%
Share of each frame whose red channel ends at 255. The grey scan reaches 13.240% from a starting point of 605 pixels.
Your call: a clipped red is not automatically a bad picture, and how much is too much depends on whether the frame is a flat graphic or a face. Look at one clipped file at full size before you decide the strength; the table can tell you where the clipping is heavy but not whether it looks wrong to you.

6. A grey file comes out in colour

This is the odd result of the set. A grey pixel has three equal channels, so it carries no colour information. Push it through three rows that sum to 1.351, 1.203 and 0.937 and the three outputs are no longer equal. The result is a warm tint that the source never contained, and the grey file is where it is easiest to see.

Grey value inRed outGreen outBlue outSpread created
4054483717
12817315412053
20025524118768
Equal in, unequal out in 128 173 154 120 red green blue in 200 255 241 187 in 40 54 48 37 Grey strip on the left, the output colour inside it.
One grey input per row, three outputs. The spread grows with the input: 17 at 40, 53 at 128, 68 at 200.

Measured on the grey JPEG by feeding the three identical channel values through the matrix at full strength. Spread is the largest channel minus the smallest. At an input of 200 the red row exceeds 255 before the clamp, which is why the output is 255 and not 270.

Across the grey 8-bit file the mean channel spread after the run was 33.574, with a maximum of 78, and 34.360% of its pixels still had a spread of zero. Those zeroes are the pure black pixels. The 16-bit grey file behaved the same way in kind and worse in degree: 478,615 of its 480,000 pixels ended with a clipped red channel, 99.711% of the frame, and 478,132 pure white pixels were present before the run and zero after it.

7. Two routes to the same tone, 65% apart

Sepia has a second, equally common definition: desaturate to luma, then multiply by a warm colour. It uses one number per pixel instead of three, and it desaturates first, so the two routes agree in direction and disagree in arithmetic. On the landscape photo 65.778% of pixels differed between them, on the square PNG 87.529%.

FileMatrix: R / G / BLuma times warm: R / G / BPixels differingShare
photo_square.png159.23 / 145.26 / 114.11120.81 / 113.71 / 90.977,877,62587.529%
small_icon.png121.57 / 109.70 / 85.6490.67 / 85.34 / 68.2711,00767.181%
exif_orient6.jpg119.76 / 109.06 / 85.5890.60 / 85.28 / 68.221,980,62166.021%
photo_landscape.jpg119.43 / 108.96 / 85.5990.61 / 85.28 / 68.237,893,35565.778%
logo_alpha.png88.23 / 83.46 / 69.2672.51 / 68.32 / 54.55513,22053.460%
animation.gif21.25 / 20.08 / 15.5816.67 / 15.67 / 12.5810,0008.333%

Channel means per file at full strength. The second route uses the 0.299 / 0.587 / 0.114 luma weights and a warm tone of 255, 240, 192, which is a tutorial recipe rather than a specification, so treat its exact numbers as one implementation and not as the definition. Differing counts pixels where any channel differs by at least one unit.

Both routes put red on top and blue at the bottom, so the hue is in the same family. The gap is brightness, not hue: on the landscape photo the matrix route lands at a luma of 109.425 and the warm-tone route at 84.930. If a tool's output looks darker than another tool's for the same word, this is the most likely reason.

Your call: closing the gap between these two routes is a choice about reference material, not a fact. If your reference prints must match a specific editor, run that editor once on one frame and compare its red value at the same grey step; pick whichever route lands closer and stay with it for the whole folder.

8. Transparency, frames, bit depth and rounding

A colour matrix touches RGB and leaves the alpha channel alone, so a cut-out keeps its shape and gains a warm edge. The transparent logo had 446,780 pixels at 0,0,0 and every one of them was still at 0,0,0 afterwards, which means the colour parked under the transparent areas did not drift toward brown at all.

FileBeforeAfterNote
logo_alpha.pngRGBA, 63.29% transparentRGBA, same alpha446,780 black pixels unchanged under the transparency
animation.gif6 frames, 110,000 black pixelsframe 0 only in this run8.333% of the 120,000 pixels changed, the rest were already black
gray_16bit.png16-bit, 478,132 pure white8-bit RGB, 0 pure whitewhite became 254.63 / 254.59 / 238.53
exif_orient6.jpgorientation tag 6tag not carried by the colour operation2000 x 1500 dimensions unchanged

Rounding matters more than it sounds. The numbers above are rounded half-up and then clamped, which is what most implementations do. Running the specification's expanded form, where each coefficient already carries the strength, gives the same output on grey and on the animation; on colour photographs 116 pixels of one landscape frame differed by one unit out of 255 at 20 percent strength, and none differed at any other strength. Two runs at full strength produced identical bytes, so the discrepancy is floating-point accumulation, not a different recipe.

The 16-bit file is the one to open before batching. Its 478,132 white pixels could not stay white: the red row multiplied them past 255, and the blue row pulled them below it, so a scan that had a cleanly blown background came out with a faint warm cast in exactly the place you did not want one.

See all measured guides

Frequently asked questions

Is there a limit to how many images I can upload?

A browser tool's upload limit is its own business and this page will not quote one for it. What the measurement covers is the arithmetic: the whole folder ran in 139.44 seconds of wall clock, 63,016,384 pixels across eleven files, at 100 percent strength. Because every pixel is handled independently, the cost grows with total pixel count rather than with file count, so forty small icons can be cheaper than four 4000 x 3000 photographs.

Will the quality of my images be affected?

Yes, and the effect is easy to see. At full strength the blue channel did not change by a single unit on any of the eight files checked: 85.59 in and 85.59 out on the landscape photo, 114.11 in and 114.11 out on the square PNG. Meanwhile 1,697,241 red samples of the landscape photo were pushed to 255, 14.144 percent of the frame, so the bright end lost its detail while the shadow end stayed exactly where it was.

What is a Sepia Filter for images?

It is a fixed 3 by 3 colour matrix. In the specification the three diagonal entries are 0.393 plus 0.607 times (1 minus amount), 0.686 plus 0.314 times (1 minus amount) and 0.131 plus 0.869 times (1 minus amount), so at half strength the red row keeps 0.6965 of an input red channel while sending 0.3845 of it into green. That is why the result never depends on the picture: only on three numbers per pixel.

What makes the Sepia Filter unique?

One property unusual among colour filters: pure black stays pure black. 10,356,266 pixels of the batch were at 0,0,0 before the run and every one of them still was afterwards, while only 23,344 new black pixels appeared, 0.037 percent of the batch. A tint that multiplies or lifts the shadows moves those pixels. This matrix cannot, because three positive coefficients times zero is zero.

Why has the Sepia Filter been popular since the 19th century?

That question needs a historian rather than a pixel count, and this page will not invent an answer for it. What can be measured is how the tone is built today: red rises, blue holds. The batch red mean went from 74.346 to 125.333, a factor of 1.686, while the blue mean finished at 117.359, precisely its starting value. Whatever the reason, that asymmetry is the recipe.

What are the practical uses of the Sepia Adjustment Tool?

The honest answer for a folder of files is: the same uses as for one file, with one extra risk. At 20 percent strength the batch had already changed 68.765 percent of its pixels, 99.535 percent of what full strength would ever change, so a one-setting batch is nearly indistinguishable from a full one. If you want a gentle tone across dozens of images, the measurement says the setting barely matters and the originals are what you must keep.

What are the benefits of using Batch Image Sepia Editor?

Speed is real: eleven files, 20,934,926 bytes of input, processed in 139.44 seconds by a single local pass, and two runs at full strength produced byte-identical output, SHA-256 bc0a05edfb7b5b5f99bc33e100e55a1f23a552cb19e82de6b10aadffe559ed47 for the landscape photo. Consistency is the part to distrust: grey files changed 99.997 percent while a six-frame animation changed 8.333 percent under the same settings.

What editing techniques are used for Sepia Effects?

Two routes dominate. The first is the matrix above, a weighted sum of the three channels. The second is desaturate to luma, then multiply by a warm colour such as 255, 240, 192. Both end up with red first and blue last, but they do not agree: at full strength the batch mean of the second route was 90.61 red, 85.28 green and 68.23 blue on the landscape photo, against 119.43, 108.96 and 85.59 for the matrix, and 65.778 percent of its pixels differed.

How is the Sepia Filter relevant in today’s digital world?

It shows up in two places. In the browser it is one word in a stylesheet, sepia with a percentage, and the specification fixes it to the sRGB space and clamps any amount above 100 percent to 1. In a batch pipeline it is one setting applied to dozens of files, where red clipping is the thing to watch: 18.847 percent of the square PNG had its red channel at 255 afterwards, against 9.869 percent of a 128 x 128 icon.

Does sepia work on a black and white photo?

It is the case it suits best, and it is also the case where it quietly creates colour. A grey pixel has three equal channel values, and the three rows of the matrix add up to 1.351, 1.203 and 0.937, so equal inputs come out unequal. A value of 128 became 173, 154 and 120 on the grey JPEG, a channel spread of 53 where the input had none; the batch grey-file spread averaged 33.574.