100
submitted 1 day ago* (last edited 1 day ago) by dead@hexbear.net to c/news@hexbear.net

https://xcancel.com/OversightDems/status/2002430296172745079#m

https://archive.is/cssvt (archive of the 403 error page)

Screenshot from the DOJ website. File 468 is missing. I downloaded it yesterday.

you are viewing a single comment's thread
view the rest of the comments
[-] dead@hexbear.net 22 points 1 day ago

I extracted EFTA00000468.pdf to png. Lossless conversion I think.

[-] AernaLingus@hexbear.net 7 points 1 day ago

When I extracted it it was only 492 kB, so I'm not sure why this image ended up being 854 kB. They're the same image, ultimately: when I used ImageMagick's compare tool it showed them as being pixel-identical, and they optimized down to bit-identical files after running them through Efficient Compression Tool with the flags -9 -strip .

What method did you use, out of curiosity? I used mutool extract on the PDF, which spit out the single PNG.

[-] dead@hexbear.net 4 points 23 hours ago
[-] AernaLingus@hexbear.net 2 points 22 hours ago

I did some digging and it looks like lossless images aren't really stored as PNGs, per se:

https://en.wikipedia.org/wiki/PDF#Raster_images

FlateDecode, a commonly used filter based on the deflate algorithm defined in RFC 1951 (deflate is also used in the gzip, PNG, and zip file formats among others); introduced in PDF 1.2; it can use one of two groups of predictor functions for more compact zlib/deflate compression: Predictor 2 from the TIFF 6.0 specification and predictors (filters) from the PNG specification (RFC 2083),

pdfimages hints at this when all the other images output options say things like "write JPEG images as JPEG files" but then the PNG output option says "change the default output format to PNG" (if you don't supply any arguments it spits out raw PPM files).

In fact, if you look at the size of the original PDF, it's 385 kB—more in line with the optimized filesize I ended up with. My guess is that mutool extract simply makes a bit more of an effort to recompress the image than pdf2images, but in both cases they're falling short of the original compression (at least for this PDF).

(completely unrelated, but I found it funny that the PDF uses the woke sans-serif font Helvetica)

load more comments (8 replies)
this post was submitted on 20 Dec 2025
100 points (100.0% liked)

news

24484 readers
711 users here now

Welcome to c/news! Please read the Hexbear Code of Conduct and remember... we're all comrades here.

Rules:

-- PLEASE KEEP POST TITLES INFORMATIVE --

Overly editorialized titles, particularly if they link to opinion pieces, may get your post removed.

All posts must include a link to their source. Screenshots are fine IF you include the link in the post body.

If you are citing a Twitter post as news, please include not just the twitter.com URL but also Xcancel.com (or another Nitter instance). There is also a Firefox extension that can redirect Twitter links to a Nitter instance, such as Libredirect or archive them as you would any other reactionary source (archive.today, web.archive.org, ghostarchive.org). Twitter screenshots still need to be sourced or they will be removed.

Mass-tagging comm moderators across multiple posts like a broken Markov chain bot will result in a comm ban.

Repeated consecutive posting of reactionary sources, fake news, misleading / outdated news, false alarms over ghoul deaths, and/or shitposts will result in a comm ban.

Neglecting to use content warnings or NSFW when dealing with disturbing content will be removed until in compliance. Users who are consecutively reported due to failing to use content warnings or NSFW tags when commenting on or posting disturbing content will result in the user being banned.

Using April 1st as an excuse to post fake headlines, like the resurrection of Kissinger while he is still fortunately dead, will result in the poster being thrown in the gamer gulag and be sentenced to play and beat trashy mobile games like 'Raid: Shadow Legends' in order to be rehabilitated back into general society.

founded 5 years ago
MODERATORS