Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Site Bugs / Suggestions
  4. Accept WebP for articles! (Or even SVG..?)

Accept WebP for articles! (Or even SVG..?)

Scheduled Pinned Locked Moved Site Bugs / Suggestions
graphicstoolsquestioncode-review
7 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sergey Alexandrovich Kryukov
    wrote on last edited by
    #1

    Trying to publish my article today, I was surprised by the fact that my .webp image file was rejected by the system. This kind of action is not just obsolete, it is very unfortunate. WebP is one of the well-established standards for the Web supported by all non-nonsense browsers. It renders JPEG, PNG and GIF morally obsolete, as it it replaces all of them implementing all their features, depending on options: photography, drawings, icons, animations and even video, with dramatic improvement in compression, for both lossy and lossless algorithms. Side note: it would be good to accept SVG as well, but I can understand that you consider it unsafe due to the possibility of scripting. Even in this aspect, the presence of the <script...> tag could be easily detected and the scripting could be rejected. Vector graphics in articles could seriously improve the overall quality of the site and publications. Thank you.

    —SA

    Sergey A Kryukov

    C 1 Reply Last reply
    0
    • S Sergey Alexandrovich Kryukov

      Trying to publish my article today, I was surprised by the fact that my .webp image file was rejected by the system. This kind of action is not just obsolete, it is very unfortunate. WebP is one of the well-established standards for the Web supported by all non-nonsense browsers. It renders JPEG, PNG and GIF morally obsolete, as it it replaces all of them implementing all their features, depending on options: photography, drawings, icons, animations and even video, with dramatic improvement in compression, for both lossy and lossless algorithms. Side note: it would be good to accept SVG as well, but I can understand that you consider it unsafe due to the possibility of scripting. Even in this aspect, the presence of the <script...> tag could be easily detected and the scripting could be rejected. Vector graphics in articles could seriously improve the overall quality of the site and publications. Thank you.

      —SA

      Sergey A Kryukov

      C Offline
      C Offline
      Chris Maunder
      wrote on last edited by
      #2

      WebP isn't completely ubiquitous yet: Can I use... [^] SVG: We have partial acceptance and are moving more and more towards using SVG in our system itself. We do have SVG cleaning scripts that mitigate the dangers of SVG. Now if only everyone used (and was able to use) a no-nonsense browser. We're getting there, but not quite yet. Soon.

      cheers Chris Maunder

      S 1 Reply Last reply
      0
      • C Chris Maunder

        WebP isn't completely ubiquitous yet: Can I use... [^] SVG: We have partial acceptance and are moving more and more towards using SVG in our system itself. We do have SVG cleaning scripts that mitigate the dangers of SVG. Now if only everyone used (and was able to use) a no-nonsense browser. We're getting there, but not quite yet. Soon.

        cheers Chris Maunder

        S Offline
        S Offline
        Sergey Alexandrovich Kryukov
        wrote on last edited by
        #3

        Thank you, Chris. Your update is reasonable, and I'll wait for the possibility to include SVG in my posts. Could you notify me when and it it's possible? I'll have a good use for it. As to WebP... If you did not consider it, I would seriously ask you to consider. Here is one thing: it's not important if it is ubiquitous. It is important that it is standardized for the Web browsers, and that the browsers support it well. It will become ubiquitous if sites and developers accept and use it. This is perfectly safe to do so. Thank you.

        —SA

        Sergey A Kryukov

        C 1 Reply Last reply
        0
        • S Sergey Alexandrovich Kryukov

          Thank you, Chris. Your update is reasonable, and I'll wait for the possibility to include SVG in my posts. Could you notify me when and it it's possible? I'll have a good use for it. As to WebP... If you did not consider it, I would seriously ask you to consider. Here is one thing: it's not important if it is ubiquitous. It is important that it is standardized for the Web browsers, and that the browsers support it well. It will become ubiquitous if sites and developers accept and use it. This is perfectly safe to do so. Thank you.

          —SA

          Sergey A Kryukov

          C Offline
          C Offline
          Chris Maunder
          wrote on last edited by
          #4

          I've been watching WebP for a while and had actually allowed it briefly a year or two ago but pulled back after noting that many users were still using browsers (eg IE11) that didn't support it. As I said: soon. It becomes ubiquitous only when we make the decision to actively exclude certain readers. Those in corporate environments stuck with IE. Those with old tablets who can't afford to upgrade them. Those who are stuck using old versions of browsers due to security policies. At some point we need to simply say "too bad" to those people, and that's never a fun thing to do.

          cheers Chris Maunder

          S Richard DeemingR 2 Replies Last reply
          0
          • C Chris Maunder

            I've been watching WebP for a while and had actually allowed it briefly a year or two ago but pulled back after noting that many users were still using browsers (eg IE11) that didn't support it. As I said: soon. It becomes ubiquitous only when we make the decision to actively exclude certain readers. Those in corporate environments stuck with IE. Those with old tablets who can't afford to upgrade them. Those who are stuck using old versions of browsers due to security policies. At some point we need to simply say "too bad" to those people, and that's never a fun thing to do.

            cheers Chris Maunder

            S Offline
            S Offline
            Sergey Alexandrovich Kryukov
            wrote on last edited by
            #5

            I have to agree. IE? Maybe, but... In many US companies I contacted during last decade (not just software), IT discouraged IE and seized to support it. During first part of 2020, even Edge gave up and embraced Blink+V8. However, I recently found that Edge is still behind: it does not support very important AV1 (which can be contained in WebM or Matroska). AV1 performance and quality-per-bbs is truly amazing, this is new top standard for Youtube. Even Mozilla supports it. (Unfortunately, Mozilla also fell behind: I found incomplete support of touch and buggy sound rendering with WebAudio.) Thank you.

            —SA

            Sergey A Kryukov

            1 Reply Last reply
            0
            • C Chris Maunder

              I've been watching WebP for a while and had actually allowed it briefly a year or two ago but pulled back after noting that many users were still using browsers (eg IE11) that didn't support it. As I said: soon. It becomes ubiquitous only when we make the decision to actively exclude certain readers. Those in corporate environments stuck with IE. Those with old tablets who can't afford to upgrade them. Those who are stuck using old versions of browsers due to security policies. At some point we need to simply say "too bad" to those people, and that's never a fun thing to do.

              cheers Chris Maunder

              Richard DeemingR Offline
              Richard DeemingR Offline
              Richard Deeming
              wrote on last edited by
              #6

              Even Microsoft agree that IE is not a browser[^]. :) Beyond that, and Safari being limited to "Big Sur" or later (no, me neither), only KaiOS Browser seems to lack support. I've had good results using ImageProcessor[^] in an ASP.NET application to dynamically serve up WebP or JPEG images depending on the request headers. Not sure whether that would be an option for you, given the amount of traffic involved? If you want an image format with really limited support, try AVIF[^]. :-D


              "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

              "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

              C 1 Reply Last reply
              0
              • Richard DeemingR Richard Deeming

                Even Microsoft agree that IE is not a browser[^]. :) Beyond that, and Safari being limited to "Big Sur" or later (no, me neither), only KaiOS Browser seems to lack support. I've had good results using ImageProcessor[^] in an ASP.NET application to dynamically serve up WebP or JPEG images depending on the request headers. Not sure whether that would be an option for you, given the amount of traffic involved? If you want an image format with really limited support, try AVIF[^]. :-D


                "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                C Offline
                C Offline
                Chris Maunder
                wrote on last edited by
                #7

                Anyone with an old iPad would be locked out. Dynamically serving is certainly an option, but from a business point of view I'm not sure what I'd gain at a day to day level right now.

                cheers Chris Maunder

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups