-
fireonlive
-
fireonlive
"Nice to meet you, where you been?" bruh
-
fireonlive
hm, double the nyany, double the fun?
-
» pabs wonders if people here have read the alternate meanings for the word 'bonk' :)
-
fireonlive
:3
-
nicolas17
trying to figure out how to losslessly change the DPI field in a JPEG image
-
fireonlive
-
fireonlive
lmao
-
pabs
nicolas17: GNU Poke perhaps? or just a hex editor if you can figure out where it is
-
nicolas17
exiftool could do it fortunately
-
pabs
hmm, no jpeg in poke yet it seems
-
nicolas17
hex editor wouldn't work since I actually had 1200 files with the same problem, and I was not looking forward to writing my own script :P
-
fireonlive
ask
-
fireonlive
oop
-
fireonlive
ask an #ai to script for you :P
-
pabs
what exiftool command did you use?
-
fireonlive
none of those bots make anything up
-
nicolas17
exiftool -jfif:Xresolution=300 -jfif:Yresolution=300 *.jpg
-
pabs
hexedit would be fairly easy, you just pipe the keys for doing it interactively into stdin :)
-
pabs
hmm, diffoscope just does a binary diff after that command
-
nicolas17
yeah I checked with vbindiff that only a few bytes in the header were changed after that exiftool command
-
fireonlive
-
nicolas17
fireonlive: did you see the html source code?
-
fireonlive
i did not :o
-
nicolas17
JAA: for your health, do not look at the html source
-
fireonlive
holy fuck
-
JAA
lol
-
» pabs goes to file a diffoscope feature request, already did one today for comparing XZ metadata :)
-
nicolas17
:o
-
nicolas17
-
fireonlive
should've paid extra for the fart fetish lawyers 😔
-
nicolas17
pabs: what the... scope of diffoscope?
-
nicolas17
is it just for "I'm trying to make a reproducible build, why does this .tar.xz keep changing" or has it gone beyond that by now?
-
pabs
definitely beyond that, compares .iso files and all sorts of stuff
-
» nicolas17 adds support for .ipsw
-
nicolas17
:p
-
pabs
go for it, supporting more platforms is probably welcomed
-
pabs
hmm, my jpeg test with a random image got a hex diff, but then a jpeg generated with imagemagick got a diff of the exif data
-
nicolas17
my images had no exif block
-
pabs
hmm. that command changes the "density" reported by the `file` command, but nothing in the `exiftool` or `identify` or `identify -verbose` output
-
nicolas17
if the file *does* have an exif block, I think that command will only change the metadata that *isn't* in the exif block
-
nicolas17
hence the jfif: part
-
pabs
afterwards, for my test image (with an exif block), identify -verbose still thinks the resolution is the old resolution, but gimp finds the new resolution
-
pabs
and so does exiftool. guess those are using the unchanged exif data
-
nicolas17
try "exiftool -XResolution=300 -YResolution=300" instead
-
pabs
that seems to change both
-
nicolas17
omg
-
nicolas17
I screwed up
-
nicolas17
this is not setting dpi
-
nicolas17
it's setting dots per centimeter
-
pabs
so diffoscope isn't diffing the `file` output, interesting...
-
nicolas17
"exiftool -g" will tell you where each tag came from (JFIF / EXIF / XMP)
-
that_lurker
-
nicolas17
that_lurker: they made their photographs CC0?
-
nicolas17
-
JAA
... in the US, maybe.
-
JAA
And yeah, they did, last month.
-
nicolas17
well the museum is in the US
-
JAA
Releasing them under CC0 applies worldwide, and also it provides certainty that Getty won't come after you legally anyway.
-
Notrealname1234
Wait they do that JAA?
-
nicolas17
note that Getty Museum != Getty Images Holdings
-
thuban
i wasn't familiar with _bridgeman_; interesting case law
-
nicolas17
-
thuban
yeah!
-
Notrealname1234
youtu.be/7Z_0yVTWfmE N64DD browsing the web
-
yzqzss
maybe a bit OT for archiveteam, but we (saveweb) have an archive project that needs more IPs, ehhh
-
yzqzss
-
yzqzss
$ lowapk_v2
-
yzqzss
It archives users' posts on coolapk.com
-
yzqzss
can be run in vm/docker if you are worried about virus :)
-
deadorbit
-
deadorbit
my contribution to archiveteam
-
fireonlive
-
thuban
yzqzss: most items appear to be errors; i hope this is expected