Coder Social home page Coder Social logo

gradle-imagemagick's People

Contributors

bamapookie avatar leruaa avatar

Stargazers

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

Watchers

 avatar  avatar

gradle-imagemagick's Issues

Add param method for KotlinScript usage

Using KotlinScript, I cannot set params because method names in closure start with a hyphen.

Please add a param method to DefaultMagickSpec

    val resize_images by creating(com.eowise.imagemagick.tasks.Magick::class) {
        group = "build"

        val root = "static/images/advanced-search"
        val width = 100

        convert(root, PatternSet().include("*.png"))
        into("static/images/advanced-search.$width")
        actions(closureOf<DefaultMagickSpec> {
            param( "-background", "none")
            param( "-resize", "${width}x")
            inputFile()
            outputFile()
        })
    }

Workaround 1: Use the params list and add manually in the closure

params.add(SimpleParam("-background"))
params.add(SimpleParam("none"))
params.add(SimpleParam("-resize"))
params.add(SimpleParam("${width}x"))

Workaround 2: Call methodMissing manually in the closure

this.methodMissing("-background", arrayOf(none))
this.methodMissing("-resize", arrayOf("${width}x"))

Publish 0.5.2 on mavenCentral

As jcentral repository is now officially deprecated, we can't have any update since 0.5.1 on it.
Please, publish on mavenCentral again with the latest repository code (0.5.2 as stated in the docs). Latest version on mavenCentral is 0.4.0.

convert is not found in gradle environement

The path to the convert commandLine Tool is not resolved properly from gradle under Mac OS.
Please add some customizability or request the path to convert with a "which" command.

Complete wiki

  • Tasks
    • Magick
    • ImageInfo
  • Use cases
    • Resize images
    • Convert SVG to PNG
    • Generate nine-patches
    • Create Android assets from SVG
    • Add shadow

Support ImageMagick v7

v7 uses the command line magick instead of convert. It still supports the convert command with backward compatibility, but magick is needed for new functionality.

couldn't find "libimagemagick.so"

i am trying from two days it show the bellow error
.converimage-twxU5jJ4Hp5gGv4_N8N7_A==/lib/arm64, /system/lib64, /product/lib64]]] couldn't find "libimagemagick.so"
what could id do please helpme.

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.