Giter Club home page Giter Club logo

Comments (9)

jcsalterego avatar jcsalterego commented on July 21, 2024 5

Thanks - I need to revisit things here and merge all the good code and ideas people have contributed.

from pngpaste.

gibfahn avatar gibfahn commented on July 21, 2024 2

Otherwise, pngcopy would be a whole new thing and expand the scope of pngpaste considerably.

Looks like someone has raised a PR for it! #15

Assuming it works, it'd be great to have this, for me at least it makes sense to have pngcopy and pngpaste to match pbcopy and pbpaste.

from pngpaste.

ZGainsforth avatar ZGainsforth commented on July 21, 2024 1

Incidentally, I've been doing the following in iTerm2:

pngpaste - | convert - -interpolate nearest -filter point -sample 50% - | imgcat

And then I just copy the image out of the terminal. But it would be nice to replace that last command with pngcopy. ;-)

from pngpaste.

jcsalterego avatar jcsalterego commented on July 21, 2024

Interesting idea; what is your actual use case for copying a PNG, resizing it and copying it back into the clipboard? Where does it end up?

from pngpaste.

ZGainsforth avatar ZGainsforth commented on July 21, 2024

from pngpaste.

jcsalterego avatar jcsalterego commented on July 21, 2024

This does make me wonder if there's something buried in the OS X API that allows for saving different resolutions. Otherwise, pngcopy would be a whole new thing and expand the scope of pngpaste considerably.

from pngpaste.

jcsalterego avatar jcsalterego commented on July 21, 2024

pngpaste - | convert - -interpolate nearest -filter point -sample 50% - | imgcat

Ahh, nice.

from pngpaste.

manueliglesias avatar manueliglesias commented on July 21, 2024

Just leaving my useless +1 in here πŸ˜…

I would love to see #15 merged and eventually make its way to brew

from pngpaste.

jcsalterego avatar jcsalterego commented on July 21, 2024

Sorry all, #15 has been closed and I've recommended the author make pngutils and fork pngpaste.

from pngpaste.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.