Giter VIP home page Giter VIP logo

Comments (5)

DanielRuf avatar DanielRuf commented on June 19, 2024

So the current docs are wrong?

Can I provide a PR for this?

from sharp-cli.

DanielRuf avatar DanielRuf commented on June 19, 2024

The issue is not quite clear, here is the description / details about the problem:

sharp -i src/assets/logo.png -o src/assets/icons resize 512 512
vips__file_open_write: unable to open file "/home/druf/.../client/src/assets/icons" for writing
unix error: Is a directory

from sharp-cli.

vseventer avatar vseventer commented on June 19, 2024

Yeah, that is the first example under "How" in OP - in your example we'd expect the CLI to save to src/assets/icons/logo.png, but it attempts to save to src.assets/icons, which is a directory.

from sharp-cli.

winston0410 avatar winston0410 commented on June 19, 2024

Is this issue solved by now? I encountered the same error @DanielRuf came across when I tried to output to a different directory.

from sharp-cli.

DanielRuf avatar DanielRuf commented on June 19, 2024

c57a615

vseventer closed this in [c57a615](/vseventer/sharp-cli/commit/c57a61537b00c03610c2aa038a37d577bdeee0ad) on 15 Oct 2019

from sharp-cli.

Related Issues (20)

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.