-
-
Notifications
You must be signed in to change notification settings - Fork 989
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bluesky] gallery-dl neglects downloading higher quality PNG version of images #6603
Comments
gallery-dl currently downloads the https://bsky.app/profile/mikf.bsky.social/post/3kkzc3xaf5m2w
You can find more (and by now probably outdated) information in #4438 and #4438 (comment) |
Yeah after some checking I think your remark on the information being probably outdated is true? The note on As a result I think it would now be worth it to instead focus on downloading |
OH true, I tried obtaining the blob URL for the example post I had originally provided and I could tell no difference between the PNG and blob versions. Perfectly fine with this being the default then. |
Yeah, what @goodusername123 said. Whatever you upload, probably it gets through their default JPEG processing stage and is stored recompressed on their systems. And whatever they serve, PNG, what not, is then simply derived from that. It's not like the old golden days of tumblr where you could actually get the original uploaded files, as is. That would be too good to be true nowadays. |
Noticed something with Bluesky's image URLs. There's a modifier at the end that lets you choose between whether you want to see a JPEG/JPG version or a PNG version:
Modifying the URL to end in
@png
instead of@jpeg
results in the downloaded image being of higher quality. Here's a post and two downloaded images as an example:The post: https://bsky.app/profile/fruttymoment.bsky.social/post/3lcdqq3x47s2h
Then downloading after clicking on the image to view it in full as opposed to the preview:
Then modifying the URL's ending parameter to show a PNG instead of a JPEG:
If you zoom in on both images you can notice that the PNG indeed doesn't include the compression artifacts that the JPEG has (although they're relatively faint here since the image is so simple). I tested it with an image I presumed to be already compressed and Bluesky seems to recompress JPEGs since the PNG version also contains some compression artifacts but not as much as the JPEG version. Although technically I can't be exactly sure if the image I used as an example was uploaded originally as a JPEG as a PNG or just as a JPEG, I'd assume it'd be the latter since the former would take considerably more effort. (Example image here, feel free to test it out and see for yourself: https://bsky.app/profile/oofmasterxd.bsky.social/post/3lchnegnrfj2b)
I'd like to request that gallery-dl is modified to have an option to download in either JPEG or PNG quality, and additionally that this option is set to PNG by default (although I'm still fine with downloads remaining in JPEG by default, just that the option is there to download in PNGs).
The text was updated successfully, but these errors were encountered: