Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Interesting art here.
However, the point that there was a time when Putin was considered a chad.
Artist here says the photo gradually lost the quality. Putin straight went from being a chad to a dick real quick. -
@jonas-w Well. No Shit, Sherlock.
but "the same file" was uploaded, and downloaded. Presumbably, over tcp. Not resampled/compressed/processed. So what caused the quality loss? -
KDSBest7713yThe last day I downloaded and uploaded the same file. Thank god it didn't change anything.
-
@magicMirror not "the same file"
read the OP again.
every day he downloaded the previous day's pic and then uploaded it -
@Floydimus What? Why the fuck would vk do that?
It makes zero sense to reduce image quality, especially when the image is already small sized, amd low quality, while processing time costs money.
The uploader did something to the image, triggering vk to reduce the image quality. -
KDSBest7713y@magicMirror also you can achieve that in minutes. The compression shouldn't get worse, because you waited 24h.
-
@magicMirror well, Facebook does compress images is what I know.
While you are right that storage costs are very low and compressing the same downloaded file further isn't necessary.
You got a point. -
@magicMirror prolly ensuring the image is of valid properties [dimensions, depth, palette, size, etc.] & clearing/enforcing exif & injecting additional noise data in between the jpg blocks for tracking purposes & ensuring unified data format in the datastore & ensuring image can be read and understood by sw designed for it, effectively meaning not only the magic bytes are correct, but also the whole payload is; i.E. It's not a ´rm virus.exe nude-vegana.jpg´
there are lots of reasons. The ones I've mentioned are just a few of them -
@magicMirror many sites i've worked on or used just automatically convert any type of image into a single format (usually jpg), regardless of what the input format and dimensions are.
this often means that yes, they even "convert" jpeg to jpeg, triggering the compression.
yes, it is stupid, we are all aware, you're not the only "smart" person here, but that's just how it is.
your surprise and incredulity about this is fascinating to me. -
Can we simulate this? This is kinda cool. I wonder if going from png to jpg over and over would do this.
-
#!/usr/bin/python3
import shutil
import subprocess
original = "devrantfirsttime_orig.jpg"
copyjpg = "devrantfirsttime.jpg"
copypng = "devrantfirsttime.png"
output = "devrantfirsttime_out.jpg"
# use imagemagick
corruptionprocess = "convert"
corrupttopng = [corruptionprocess, copyjpg, copypng]
corrupttojpg = [corruptionprocess, copypng, "-quality", "80", copyjpg]
corruptiontimes = 100
# copy file from original
shutil.copy(original, copyjpg)
for ind in range(corruptiontimes):
subprocess.call(corrupttopng)
subprocess.call(corrupttojpg)
shutil.copy(copyjpg, output)
Here, if you want to try. -
Just tried 365 days and it looks the same. I will try 7 years now.
Is there an easy way to write this to a memory drive in Linux? I feel like this might be hard on my ssd. -
-
@Demolishun Your method will not damage the file. you will end up with the same file.
You need to do something like loading the file into a memory bitmap using PIL, and writing it out to disk using jpeg, with 99% compression. repeat that a few times.... -
@magicMirror Why would loading it into a memory bitmap do anything? What is PIL?
-
@magicMirror I am writing it out with 80% quality each time. I cannot believe a website would write it out at 1% quality.
-
@magicMirror this is what it looks like with 1% quality (99% compression) just running it through once (one conversion total):
-
@Demolishun
Yup. PIL is the Python Image Library, and can fuck up jpeg images quite nicely. If thats thats what you want... -
@magicMirror I am starting with imagemagick. I figured a website would actually use that to convert images as it is pretty common.
-
Seven years ago, a russian artist started the "Putin Every Day" community. It started with one picture of putin. Every day, he was downloading the previous day's pic and uploading it again.
Over the course of seven years, JPEG compression artefacts built up to what you can see here.
What an amazing metaphor.
https://vk.com/putineveryday
random