[HN Gopher] SVG Gobbler - Find, optimize, edit, and export SVGs
       ___________________________________________________________________
        
       SVG Gobbler - Find, optimize, edit, and export SVGs
        
       Author : themoodyrooster
       Score  : 154 points
       Date   : 2024-05-30 05:09 UTC (17 hours ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | myfonj wrote:
       | It seem like a super neat project, just why does it need to do
       | the "SVG to React" transformation on the remote? (N.b. that
       | remote endpoint is broken in the "frozen" Firefox version.) It
       | bundles SVGO already, so I'd guess bundling SVGR should not be a
       | problem (?)
       | 
       | https://github.com/rossmoody/svg-gobbler/blob/a4a6e8a0511c7a...
       | on ...://us-west2-svg-gobbler.cloudfunctions.net/svg-gobbler-svgr
       | , or ....://us-central1-svg-gobbler.cloudfunctions.net/SVGR in
       | the Firefox version
        
       | vizualbod wrote:
       | Does this round down extra decimal places from path coords? I
       | find this can greatly reduce SVG size and don't see it in the
       | feature set. I have some private SVG optimisation functions in
       | Python somewhere, could rewrite to JS and PR, giving meaningful
       | names to IDs is cumbersome work sometimes too
        
         | notpushkin wrote:
         | I think it includes SVGO, which does round coords indeed.
        
       | beeboobaa3 wrote:
       | > SVG Gobbler is a browser extension that finds the SVG content
       | in your current tab and lets you optimize, download, copy, edit,
       | or export
       | 
       | What would you use this for that wouldn't be considered copyright
       | infringement? Websites that freely license their art will likely
       | make it available in a convenient download. Those that don't
       | probably won't be giving you a license to use it.
        
         | notpushkin wrote:
         | Some websites have e. g. freely-licensed icons, but don't offer
         | a convenient download. For example, they might require you to
         | sign up first.
         | 
         | Or maybe you could download a site's logo for linking back to
         | the website or something. (I'm downloading icons for open
         | source apps that I want to include in Lunni Marketplace [1],
         | and sometimes I have to get it from the projects' website. I'm
         | not sure but I think it's fair use.)
         | 
         | [1]: https://lunni.dev/docs/marketplace/
        
         | myfonj wrote:
         | Is a mere downloading and private storage of publicly
         | accessible (copyrighted) visual assets also illegal? I think in
         | most places you can store such content for personal use without
         | infringing the law. I can imagine collecting icons for research
         | purposes might be a valid and perfectly legal use-case here,
         | just like making offline copies of webpages or basically
         | archiving anything (?)
         | 
         | Btw, Firefox for example allows you to grab all media from the
         | displayed page (just not those pesky inline SVGs like this
         | extension can) with few keystrokes: Page Info (Ctrl+I) > Media
         | (Alt+M) > Select All (Alt+E) > Save As (Alt+A) > (Enter).
         | ("Page Info" is also under Tools (Alt+T) menu.)
        
           | beeboobaa3 wrote:
           | Probably not, and I'm not saying the tool is bad or anything
           | like that, just wondering what people might use it for. Tools
           | like DownThemAll make sense to me; they're used by end-users
           | who may wish to violate copyright, if it even is copyright
           | violation. I don't mind.
           | 
           | But I don't think a lot of people keep a collection of SVGs
           | for personal usage. Me, personally, I only collect SVGs if I
           | intend to use them in a product I'm working on, which is
           | often commercial, and means violating copyright becomes a
           | business risk.
        
         | dspillett wrote:
         | You could be plucking a logo for use in a link to them or a
         | mention on a slide, or other copying that constitutes fair use.
         | 
         | You could also be interested how an SVG had achieved a
         | particular effect, like everyone learning HTML from right-
         | click|view-source back in the late 90s. This is also generally
         | considered fair use, though could sit in a grey area wrt what
         | constitutes code if the SVG is a resource in an app covered by
         | a restrictive licence (commercial, GPL-bases, etc).
        
           | lukan wrote:
           | Looking how something works will hopefully always remain
           | legal in this (and most other) context.
           | 
           | Copy and paste is a different thing.
        
             | llamaimperative wrote:
             | Copy and paste is legal in a gigantic number of usecases.
             | It's called Fair Use.
        
         | Tommix11 wrote:
         | I use SVG Gobbler almost daily. The most common usage for me, a
         | graphic designer, is when a company calls up and wants a design
         | but the guy from the compnay does no have a vectorized version
         | of their logo. I know, it sounds awfully incompetent but most
         | people do not care about the logotype of the company they work
         | for. So, very often, I just use SVG gobble to download an SVG
         | version of their logo and makes designs they've ordered for
         | them. There are a thousand legal uses for Gobbler. Also,
         | downloading any logo is legal. It is publishing them that might
         | get you in trouble.
        
         | Minor49er wrote:
         | Browsers have a "Save Page As" function built in. Most websites
         | don't have an on-screen button that exports the page. Do all
         | browsers promote copyright infringement?
        
           | beeboobaa3 wrote:
           | Literally just asking what people might want to use it for.
           | What do you use it for?
        
       | mrbluecoat wrote:
       | +1 for the creative name.
       | 
       | P.S. Your SVG double quote image is covering a large portion of
       | your review quotes on Android smartphone.
        
       | butz wrote:
       | Be careful when you use the phrase "SVG editor". When you are
       | promoting "SVG editor" - I assume to be able to drag individual
       | points and alter SVG shape, which, I understand, is much harder
       | than applying a transform.
        
       | yboris wrote:
       | Related: my favorite tool for optimizing SVGs is
       | https://www.svgviewer.dev/
        
       ___________________________________________________________________
       (page generated 2024-05-30 23:01 UTC)