Giter VIP home page Giter VIP logo

egw-plugins's People

Stargazers

 avatar

Watchers

 avatar  avatar

egw-plugins's Issues

plugin-meta-information (version, description, ...) is stored in wrong attributes

the version contains the description etc :

$ ./egw_plugin_rothko.py

        <class '__main__.Rothko'> rothko - None
        version : adaption of [RothkoBot](https://github.com/ZacharyDavis/RothkoBot), Copyright (c) 2017 Zachary Davis (plugin_iface_version : 0.4.0)
        author  : 0.1.2
        kwargs  : {'size': (800, 800), 'seed': None, 'palette': 'colors.txt', 'color1': None, 'color2': None, 'color3': None, 'color4': None}

usage selftest: <me> image_out [<int seed>]

implement --generator noisylines

plots N lines with perlin noise. inspired by joy division's famous "unknown pleasures" cover.

kwargs: nr_lines, brush_size, bgcolor, color; x_step, y_noise (=> "roughness")

--filter pixesort doesn't work with RGBA (only with RGB)

Traceback (most recent call last):
  File "/home/s3h10r/development/einguteswerkzeug/tmp/venv_egw/bin/egw", line 69, in <module>
    main(args)
  File "/home/s3h10r/development/einguteswerkzeug/tmp/venv_egw/lib/python3.6/site-packages/einguteswerkzeug/core/__init__.py", line 584, in main
    img = _apply_filters(image=source, filters = apply_filters, filters_args = [])
  File "/home/s3h10r/development/einguteswerkzeug/tmp/venv_egw/lib/python3.6/site-packages/einguteswerkzeug/core/__init__.py", line 433, in _apply_filters
    img = PLUGINS_FILTERS[edit_filter].run(**kwargs)
  File "/home/s3h10r/development/einguteswerkzeug/tmp/venv_egw/lib/python3.6/site-packages/einguteswerkzeug/core/../plugins/filters/pixelsort.py", line 43, in run
    return _do_pixelsort(image, algo)
  File "/home/s3h10r/development/einguteswerkzeug/tmp/venv_egw/lib/python3.6/site-packages/einguteswerkzeug/core/../plugins/filters/pixelsort.py", line 87, in _do_pixelsort
    [r, g, b] = img_in_pixels[x, y]
ValueError: too many values to unpack (expected 3)

test_plugin-params.sh:

egw --generator nlines --clockwise --params-generator='{"seed" : 5269546439996500824, "nr_lines" : 9, "x_step" : 20, "thickness" : 6, "color" : [0,255,0,255], "bg_color" : [0,0,200,255]}' -o $FOUT  --filter quads,invert,oil,pixelsort --params-filter='{"mode" : 1, "iterations" : 256}{}{"brush_size" : 2, "roughness" : 50}' --config $CONFIG --template $TPL  --title "quad-filtered generator nlines (variant b), 2019 #einguteswerkzeug" --max-size 800 || exit 1
feh $FOUT

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.