tech, to tech
@tech@unfufadoo.net avatar
startrek, to StarTrek
tech, to tech
@tech@unfufadoo.net avatar
tech, to tech
@tech@unfufadoo.net avatar
liquid_clear, to random
@liquid_clear@mastodon.social avatar

You'd think after hanging out on public social media with musicians and creative type folks for a few years, I'd run into at least one visual artist that would interested in collaboration. Sadly, no.. #visualart #albumcover #images

Dariusz_w, to random
@Dariusz_w@seocommunity.social avatar

🇬🇧 A better way to send photos via WhatsApp

https://dariusz.wieckiewicz.org/en/a-better-way-to-send-photos-via-whatsapp/

Improve your WhatsApp photo sharing experience with this tip. Learn how to send high-quality photos without losing any data, and how to send multiple photos at once.




jensimmons, to random
@jensimmons@front-end.social avatar

Dear web developers & designers,

Now that you know what’s coming in Safari 17 — as well as what shipped in Safari 16.2-16.5 — what do you need in WebKit next?

Which web technology that’s already been standardized is highest priority? What brand new idea do you need invented?

jensimmons,
@jensimmons@front-end.social avatar
oblomov, to apple
@oblomov@sociale.network avatar

I'm generally not a big fan of (understatement of the century), but I've read about the next version of officially supporting and I'm really glad that this is happening. I'm looking forward to the associated changes to making it into the engine as it is used by other browsers too —and hopefully this will finally push @Mozilla into enabling in mainline OOTB.
1/

oblomov,
@oblomov@sociale.network avatar
jensimmons, to random
@jensimmons@front-end.social avatar

Yes, Safari 17 supports JPEG XL. On macOS Sonoma, macOS Ventura and macOS Monterey, as well as iOS, iPadOS, watchOS, and soon, visionOS.

We also added HEIC — especially for web apps that want to let users edit photos directly from the camera.

https://webkit.org/blog/14205/news-from-wwdc23-webkit-features-in-safari-17-beta/#images

tech, to tech
@tech@unfufadoo.net avatar
lolcats, to animals
sohkamyung, to nature
@sohkamyung@mstdn.io avatar

Lovely shot.

"Our Observation of the Week is this mother and child Dusky Leaf Monkey (Trachypithecus obscurus) pair, seen in Malaysia by @recklessmantis!"

https://www.inaturalist.org/blog/80576-mother-and-child-dusky-leaf-monkeys-observation-of-the-week-5-31-23

Edent, to random
@Edent@mastodon.social avatar

🆕 blog! “Selectively Compressed Images - A Hybrid Format”

I have a screenshot of my phone's screen. It shows an app's user interface and a photo in the middle. Something like this: If I set the compression to be lossy - the photo looks good but the UI looks bad. If I set the compression to be lossless - the UI looks good but […]

👀 Read more: https://shkspr.mobi/blog/2023/06/selectively-compressed-images-a-hybrid-format/

blog, to ComputerScience
@blog@shkspr.mobi avatar

Selectively Compressed Images - A Hybrid Format
https://shkspr.mobi/blog/2023/06/selectively-compressed-images-a-hybrid-format/

I have a screenshot of my phone's screen. It shows an app's user interface and a photo in the middle. Something like this:

Screenshot of a camera app on a phone. The middle is a photo, the sides show the user interface.

If I set the compression to be lossy - the photo looks good but the UI looks bad.
If I set the compression to be lossless - the UI looks good but the filesize is huge.

Is there a way to selectively compress different parts of an image? I know WebP and AVIF are pretty magical but, as I understand it, the whole image is compressed with the same algorithm and the same settings.

There are two ways to do this. The impossible way and the cheating way.

Selective Compression

In theory it should be possible to tell an image format to compress some chunks of an image with a different compression algorithm.

And yet... none of the documentation I've found shows that's possible.

GiMP's native XCF and Photoshop's PSD files work; they store different layers each of which can have a different filetype. I understand that TIFF and .djvu also have that capability.

But those sorts of files don't display in web browsers.

So...

Let's Cheat!

It's possible to use an SVG to embed multiple images of different formats. SVG is used as, effectively, a layout engine.

The syntax is relatively straightforward:

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1080 512">   <image width="1080" height="512" x="0" y="0"      xlink:href="data:image/jpeg;base64,..........."   />   <image width="1080" height="512" x="0" y="0"      xlink:href="data:image/png;base64,..........."   /></svg>

That draws the JPG then draws the PNG on top of it. If the PNG has a transparent section, the JPG will show through. The JPG can be set to as low a quality as you like and the PNG remains lossless.

Here's what it looks like - click for full size:

https://shkspr.mobi/blog/wp-content/uploads/2023/06/Mixed-Compression.svg

Embedded images are Base 64 encoded, which does lose some of the compression advantages. But, overall, it's smaller than a full PNG and better quality than a full JPG.

Look, if it's stupid but it works it's not stupid.

But surely there must be a way of doing this natively?

https://shkspr.mobi/blog/2023/06/selectively-compressed-images-a-hybrid-format/

stefan, (edited ) to accessibility
@stefan@stefanbohacek.online avatar

Do you caption images when sharing them in 1-on-1 messages?

funny, to random
mattblaze, to random
@mattblaze@federate.social avatar

Quick note: If you follow me, you probably noticed that I post occasional photos. Unfortunately, the default display behavior on most Mastodon instances and clients crops many images unless you click on them. I hate this, as does every other photographer here, but it's not likely to change any time soon.

You can disable this broken behavior in the Mastodon web interface by unchecking a box under display preferences.

But in any case, please be aware you might not be seeing the whole photo.

ahimsa_pdx,
@ahimsa_pdx@disabled.social avatar

@mattblaze Good reminder! I changed this setting as soon as I started using mastodon - so much nicer to see the full photo without having to click on it every time! 😁

nucliweb, to random
@nucliweb@webperf.social avatar

It is an honor to be part of the ambassador's team.

Thank you Cloudinary 😊

nic221, to ai
@nic221@techhub.social avatar
tech, to tech
@tech@unfufadoo.net avatar
startrek, to random
  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • kavyap
  • DreamBathrooms
  • normalnudes
  • magazineikmin
  • InstantRegret
  • GTA5RPClips
  • thenastyranch
  • Youngstown
  • rosin
  • slotface
  • osvaldo12
  • ngwrru68w68
  • ethstaker
  • JUstTest
  • everett
  • Durango
  • Leos
  • cubers
  • mdbf
  • khanakhh
  • tester
  • modclub
  • cisconetworking
  • anitta
  • tacticalgear
  • provamag3
  • lostlight
  • All magazines