You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 30, 2023. It is now read-only.
subprocess.CalledProcessError: Command '['colorific', 'photo_0.jpg']' returned non-zero exit status 1
Any ideas? I am not adamant on using subprocess, but it just felt easier. I can include colorific in my code if I can figure out how to import it. I just want the functionality that I get when normally using the command and I was unsure on which function to call from my script.
The expected end result is a list or dictionary of output (as strings) from several photos in the current directory.
The text was updated successfully, but these errors were encountered:
You've found a bug with the use of images as direct arguments. Originally, colorific was intended to be passed in images one at a time on stdin. The exit behaviour is correct if you call it this way.
I can do
colorific photo.jpg
from Terminal just fine, but when I try this in Python, it fails:Here,
colorific_param
is justphoto_0.jpg
. I get:Any ideas? I am not adamant on using
subprocess
, but it just felt easier. I can include colorific in my code if I can figure out how to import it. I just want the functionality that I get when normally using the command and I was unsure on which function to call from my script.The expected end result is a list or dictionary of output (as strings) from several photos in the current directory.
The text was updated successfully, but these errors were encountered: