Code Monkey home page Code Monkey logo

picasso's People

Contributors

vanrjohannes avatar

Watchers

 avatar  avatar

picasso's Issues

Use imagemagick

Why not use https://imagemagick.org/index.php for the stuff that is done in this project? I am just a curious observer, but I am sceptical if Picasso is really providing any functionality that cannot be implemented in a few lines of IM. :)

/pip Error message stating 'too many arguments given'

in bin/picasso:

Argumentparser:
import argparse
from EMSPicasso.EMSPicasso import Picasso

parser.add_argument("filename", type=str, help="..." )
parser.add_argument("-s", "--outputname", default="None", type=str, help="..." )
parser.add_argument("commands", nargs="+", help="..." )
parser.add_argument("-v", "--verbose", action="store_true", default=False, help="..." )
args = parser.parse_args()

if args.verbose:
print("Sourcefile: " + args.filename)
print("Destinationfile: " + args.outputname)
print("List of commands: ")
print(args.commands)

Picasso(args.filename, args.outputname, args.commands, args.verbose)

in EMSPicasso/EMSPicasso.py:

defining Picasso() function in Line 37:
def Picasso(imageref, outputname, commands, v):

used command line call:

$ picasso -v plot1.png -s plottest.png "invert"
output:
Sourcefile: plot1.png
Destinationfile: plottest.png
List of commands:
['invert']
Traceback (most recent call last):
File "/usr/local/bin/picasso", line 71, in <module> Picasso(args.filename, args.outputname, args.commands, args.verbose) TypeError: Picasso() takes 3 positional arguments but 4 were given

As far as I can see i defined the function Picasso() with four arguments and am handing over four arguments. Sorry for submitting yet another probably simple issue, please assist.
Thank you in advance.

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.