DEV Community

AsyncMonk profile picture

AsyncMonk

404 bio not found

Joined Joined on 
sips, Pillow and ffmpeg pick different JPEG quality for the same WebP, so pin the number

sips, Pillow and ffmpeg pick different JPEG quality for the same WebP, so pin the number

Comments
4 min read
Before you ship background blur, price the halo fix: about 2.5x CPU per 1080p frame

Before you ship background blur, price the halo fix: about 2.5x CPU per 1080p frame

Comments
4 min read
Before you debug audio drift, check whether your pipeline rewrote the video timestamps

Before you debug audio drift, check whether your pipeline rewrote the video timestamps

Comments
4 min read
PDF image extraction: PNG conversion changed three reports by under 2%, but a 1-bit scan grew 2.37x

PDF image extraction: PNG conversion changed three reports by under 2%, but a 1-bit scan grew 2.37x

Comments
4 min read
Tile size is a memory knob first: 828 MB down to 140 MB of CPU process memory at 1024px

Tile size is a memory knob first: 828 MB down to 140 MB of CPU process memory at 1024px

Comments
3 min read
Table OCR to Excel: wrapped cells had no cheap fix, 11 of 34 still wrong on an unruled sample

Table OCR to Excel: wrapped cells had no cheap fix, 11 of 34 still wrong on an unruled sample

Comments
3 min read
macOS Preview's Reduce File Size filter made a 10-page text PDF 3.4% bigger

macOS Preview's Reduce File Size filter made a 10-page text PDF 3.4% bigger

Comments
4 min read
Rotate a JPEG four times with jpegtran -perfect and the MD5 comes back identical

Rotate a JPEG four times with jpegtran -perfect and the MD5 comes back identical

Comments
4 min read
Put despill before chromakey and the green screen stops keying

Put despill before chromakey and the green screen stops keying

1
Comments
4 min read
Fix a washed-out MP4 without re-encoding: rewrite the range tag in both places

Fix a washed-out MP4 without re-encoding: rewrite the range tag in both places

Comments
4 min read
devicePixelRatio is the wrong input for a canvas high-res export

devicePixelRatio is the wrong input for a canvas high-res export

Comments
4 min read
Exporting PDF pages as images: three format rules, and a photo page where PNG was 7.7x the JPEG

Exporting PDF pages as images: three format rules, and a photo page where PNG was 7.7x the JPEG

Comments
4 min read
Cutting out big product photos: mask resizing cost 1.5 of 255, the model cost 54

Cutting out big product photos: mask resizing cost 1.5 of 255, the model cost 54

Comments
4 min read
Four checks that decide which product photos are worth an upscaler credit

Four checks that decide which product photos are worth an upscaler credit

Comments
4 min read
Nothing threw an error: one missing attribute in a DOCX, and two converters lost the text

Nothing threw an error: one missing attribute in a DOCX, and two converters lost the text

Comments
4 min read
WebGPU vs WASM cold start for a matting model: only 80–140 ms apart

WebGPU vs WASM cold start for a matting model: only 80–140 ms apart

Comments
4 min read
H.265 isn't what makes screen recordings small

H.265 isn't what makes screen recordings small

Comments
4 min read
Upscaling small text before OCR fixed Tesseract and hurt another engine

Upscaling small text before OCR fixed Tesseract and hurt another engine

Comments
4 min read
Text PDFs shrink by losing the photo, scanned PDFs by losing DPI

Text PDFs shrink by losing the photo, scanned PDFs by losing DPI

Comments
4 min read
sharp's prebuilt binary reads HEIC metadata, then can't decode it

sharp's prebuilt binary reads HEIC metadata, then can't decode it

Comments
4 min read
A second lossless pass found 0 bytes in iLoveIMG's PNGs and 11.8% in pngquant's

A second lossless pass found 0 bytes in iLoveIMG's PNGs and 11.8% in pngquant's

Comments
4 min read
OCR said done and returned half the page, so count lines before trusting it

OCR said done and returned half the page, so count lines before trusting it

Comments
4 min read
My matting pick won all 90 frames and still flickered more in 89 of 89

My matting pick won all 90 frames and still flickered more in 89 of 89

Comments
4 min read
A skip rule for re-encode scripts, and why the bpp threshold moves with your CRF

A skip rule for re-encode scripts, and why the bpp threshold moves with your CRF

Comments
4 min read
What one 10-frame sample can and cannot tell you before you change your GIF export settings

What one 10-frame sample can and cannot tell you before you change your GIF export settings

Comments
4 min read
What one 4-page sample can and cannot tell you before you fix a preview DPI

What one 4-page sample can and cannot tell you before you fix a preview DPI

Comments
4 min read
What one portrait and one hair sample can and cannot tell you before you change a thumbnail pipeline

What one portrait and one hair sample can and cannot tell you before you change a thumbnail pipeline

Comments
4 min read
What 12 PNGs can and cannot tell you before you swap a paid API for local tools

What 12 PNGs can and cannot tell you before you swap a paid API for local tools

Comments
4 min read
Three things I saw when a PDF had fonts I may not embed

Three things I saw when a PDF had fonts I may not embed

Comments
3 min read
My transparent WebM is 2.4 MB. The editor wants 62 MB. Which format do I send?

My transparent WebM is 2.4 MB. The editor wants 62 MB. Which format do I send?

Comments
3 min read
Our upload cap is 10 MB: how much margin does a bitrate-targeted encode need?

Our upload cap is 10 MB: how much margin does a bitrate-targeted encode need?

Comments
3 min read
Keeping 18-digit IDs intact between OCR text and a spreadsheet

Keeping 18-digit IDs intact between OCR text and a spreadsheet

Comments
3 min read
Pulling assets out of a client's brochure PDF: where raw extraction stops being enough

Pulling assets out of a client's brochure PDF: where raw extraction stops being enough

Comments
4 min read
A pure-white check for product photos: strict failed all 18 JPEGs, loose passed off-white

A pure-white check for product photos: strict failed all 18 JPEGs, loose passed off-white

Comments
4 min read
7 images in, 5 files out: keeping subfolder paths when a web page converts a whole folder

7 images in, 5 files out: keeping subfolder paths when a web page converts a whole folder

Comments
4 min read
Only 13% of the pixels moved, yet the GIF frames stored 74% of the canvas. Keep the moving parts together

Only 13% of the pixels moved, yet the GIF frames stored 74% of the canvas. Keep the moving parts together

1
Comments
4 min read
Video background removers all promise clean edges. Here are the checks I run before a client sees the file

Video background removers all promise clean edges. Here are the checks I run before a client sees the file

Comments
4 min read
Should a small web app serve H.265? I did the byte math on two 1080p clips

Should a small web app serve H.265? I did the byte math on two 1080p clips

Comments
4 min read
Splitting a 20-page PDF into 4 long images beat lowering the DPI

Splitting a 20-page PDF into 4 long images beat lowering the DPI

Comments
3 min read
A client wants a signed contract smaller: five checks I run before touching it

A client wants a signed contract smaller: five checks I run before touching it

Comments
3 min read
My upload pipeline turned every screenshot into JPEG. The text got noisy and the files were bigger than PNG-8

My upload pipeline turned every screenshot into JPEG. The text got noisy and the files were bigger than PNG-8

Comments
4 min read
The first AVIF export in a web tool is mostly a download

The first AVIF export in a web tool is mostly a download

Comments
4 min read
My OffscreenCanvas Worker ignored a font the page had already loaded

My OffscreenCanvas Worker ignored a font the page had already loaded

Comments
4 min read
5 things I check before processing video frame by frame in the browser

5 things I check before processing video frame by frame in the browser

Comments
4 min read
Portrait video comes in two kinds. I bake the rotation in at upload

Portrait video comes in two kinds. I bake the rotation in at upload

Comments
3 min read
Cropping a screenshot in Word isn't redaction. I checked the HTML

Cropping a screenshot in Word isn't redaction. I checked the HTML

Comments
4 min read
If users say the PDF has wrong characters, here's what I check

If users say the PDF has wrong characters, here's what I check

Comments
4 min read
I almost shipped binarize-at-128 before OCR. Gray text vanished

I almost shipped binarize-at-128 before OCR. Gray text vanished

Comments
4 min read
Soft shadows and icon edges need different fixes in 256-colour PNGs

Soft shadows and icon edges need different fixes in 256-colour PNGs

Comments
4 min read
Can't copy or edit a contract PDF? Ask the sender before trying tools

Can't copy or edit a contract PDF? Ask the sender before trying tools

Comments
4 min read
A valid PNG was still the wrong video thumbnail deliverable

A valid PNG was still the wrong video thumbnail deliverable

Comments
3 min read
Before adding a streaming stack I tested startup and seeking separately

Before adding a streaming stack I tested startup and seeking separately

Comments
3 min read
When I would stop trying PDF extractors and ask for the source

When I would stop trying PDF extractors and ask for the source

Comments
4 min read
canvas.toBlob silently crops WebP past 16,383 px, and nothing tells you

canvas.toBlob silently crops WebP past 16,383 px, and nothing tells you

Comments
3 min read
Removing the white fringe from a cutout punched a hole in a variegated leaf

Removing the white fringe from a cutout punched a hole in a variegated leaf

Comments
4 min read
Browsers only export baseline JPEG, so progressive is a server job

Browsers only export baseline JPEG, so progressive is a server job

Comments
3 min read
My upload code turned every image into JPEG. Red posters got bigger

My upload code turned every image into JPEG. Red posters got bigger

Comments
4 min read
What a 200 KB upload limit costs a 24 MP photo: time, pixels, quality

What a 200 KB upload limit costs a 24 MP photo: time, pixels, quality

Comments
4 min read
The first visit to an in-browser AI tool downloads about 50 MB before the first inference. Who pays for it?

The first visit to an in-browser AI tool downloads about 50 MB before the first inference. Who pays for it?

Comments
3 min read
Supporting HEIC uploads: the decoder is 1.46 MB, but most visitors never download it

Supporting HEIC uploads: the decoder is 1.46 MB, but most visitors never download it

Comments 3
3 min read
loading...