gift
Rocket Mass Heater Manual
will be released to subscribers in: soon!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
permaculture forums growies critters building homesteading energy monies kitchen purity ungarbage community wilderness fiber arts art permaculture artisans regional education skip experiences global resources cider press projects digital market permies.com pie forums private forums all forums
this forum made possible by our volunteer staff, including ...
master stewards:
  • Carla Burke
  • Nancy Reading
  • John F Dean
  • r ranson
  • Jay Angler
  • paul wheaton
stewards:
  • Pearl Sutton
  • Leigh Tate
  • Devaka Cooray
master gardeners:
  • Christopher Weeks
  • Timothy Norton
gardeners:
  • thomas rubino
  • Matt McSpadden
  • Jeremy VanGelder

WebP pictures

 
Posts: 727
Location: Morocco
99
cat forest garden trees solar wood heat woodworking
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I recently disovered WebP for pictures, and I think it makes sense to allow it for uploaded pictures, or even convert uploads into it. It offers a much smaller file size and does not have the blocky artefacts of JPEG.

This WebP Image I took only uses 388,278 bytes.
 
author and steward
Posts: 52535
Location: missoula, montana (zone 4)
hugelkultur trees chicken wofati bee woodworking
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As long as we are fiddling with settings, do you have suggestions for any other formats?
 
gardener
Posts: 874
Location: Piedmont 7a
324
7
hugelkultur trees woodworking
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The picture does not show up on my mobile.
 
Sebastian Köln
Posts: 727
Location: Morocco
99
cat forest garden trees solar wood heat woodworking
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

paul wheaton wrote: As long as we are fiddling with settings, do you have suggestions for any other formats?


Jpeg and PNG are already supported. SVG might be interesting for drawings.

Artie Scott wrote: The picture does not show up on my mobile.


Yes, unfortunately some browsers living behind the moon still don't support it. Firefox took far too long to add support for it. But given that it can cut image sizes into a quarter or less, I think it is worth it.
 
pollinator
Posts: 103
Location: Dunham, Quebec (5b)
44
hugelkultur dog forest garden fungi foraging cooking ungarbage
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Unfortunately WebP doesn't have very good support, so people on Mac or iOS (iPhone), or those with Internet Explorer or Blackberry will not be able to view them.
If you're concerned with image optimization, TinyJpg is a cool/simple tool for this!
 
pollinator
Posts: 3769
Location: 4b
1368
dog forest garden trees bee building
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Nothing to add except that the picture you took is stunning.
 
Posts: 25
3
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Sebastian Köln wrote:SVG might be interesting for drawings.


SVGs uploaded from untrusted sources are a security nightmare. You can embed scripts in them, and that's just the tip of the iceberg.
 
Sebastian Köln
Posts: 727
Location: Morocco
99
cat forest garden trees solar wood heat woodworking
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Mike Lang wrote:

Sebastian Köln wrote:SVG might be interesting for drawings.


SVGs uploaded from untrusted sources are a security nightmare. You can embed scripts in them, and that's just the tip of the iceberg.



Embedding them in a <img src="file.svg"> should be safe.

Simon Gooder wrote:If you're concerned with image optimization, TinyJpg is a cool/simple tool for this!


While I agree that this is a neat tool, it does not keep the same level of detail.
(I just double checked this by looking at high contrast areas. The compressed JPEG has the usual block artefacts and overshoots the edges.)
 
Mike Lang
Posts: 25
3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Sebastian Köln wrote:Embedding them in a <img src="file.svg"> should be safe.


If it was that easy, then why do libraries like this exist? - https://github.com/darylldoyle/svg-sanitizer/tree/master/src
Furthermore, why does WordPress core still block them by default? - https://core.trac.wordpress.org/ticket/24251
 
Let your freak flag fly. Mine is this tiny ad on my clothes line.
Foundation for Intentional Communities at IC.org
https://permies.com/wiki/190044/Foundation-Intentional-Communities-IC-org
reply
    Bookmark Topic Watch Topic
  • New Topic