Giter VIP home page Giter VIP logo

gulp-kraken's People

Contributors

erenalic avatar hookblaze avatar matylla avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

gulp-kraken's Issues

Can we have options for resize?

Currently there is no way to specify resize. Can we get options added? I'd do it myself but I don't really know how, as much as I'll try 😄

Ideally if we can pass a size and and prefix so I can optimize and create responsive image options, then that would be perfect:

kraken({
      key: 'XXXX',
      secret: 'YYYY',
      lossy: true,
      wait: true,
      resize: {
          width: 100,
          height: 75,
          strategy: 'fit',
          prefix:'mobile-'
      }
})

always lossy compression

Hi! :)
lossy: options.lossy || true - always true :)
it's all right:
lossy: options.lossy === undefined ? false : options.lossy

Optomizing source files

To my mind it is bad approach to optimize the source files. It crashes many of my svg in source also.

Duplicate lines of code?

It looks like lines ~53-56 are duplicates of the previous lines ~48-51. I'm not sure whether there is a reason for this.

Does not skip previously optimized files

I realize there is a concurrency option, but the task does not properly skip and move on to other images in the queue. Each time I run gulp kraken task I have created following the documentation, it only processes the first 16 images and does not track or follow up with details after those even though there are well-beyond 16 images that need processing.

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.