Search found 5 matches

by ram
2019-10-17T10:07:18-07:00
Forum: Users
Topic: Newbie needs help with "color splash" using Python
Replies: 7
Views: 196066

Re: Newbie needs help with "color splash" using Python


I don't use Python. A command line could be (Windows BAT syntax):
convert ^
colorWheel.png +write mpr:INPT ^
-alpha Set ^
( +clone -fuzz 30%% -transparent Blue ) ^
-compose DstOut -composite ^
( mpr:INPT -colorspace Gray ) ^
+swap ^
-compose Over -composite ^
out.png


Awesome!!! many ...
by ram
2019-10-17T07:01:01-07:00
Forum: Users
Topic: Newbie needs help with "color splash" using Python
Replies: 7
Views: 196066

Re: Newbie needs help with "color splash" using Python


my goal is to make the other pixel in gray scale color instead of transparent,...
Make a monochrome version of the input, eg with "-colorspace Gray". Compose the all_blue_colors.png over that monochrome image.


super! it works great!

currently I have three different calls (1. create ...
by ram
2019-10-17T04:57:49-07:00
Forum: Users
Topic: Newbie needs help with "color splash" using Python
Replies: 7
Views: 196066

Re: Newbie needs help with "color splash" using Python

snibgo wrote: 2019-10-17T04:55:45-07:00 You have omitted the parentheses ( and ).
thx much!!
by ram
2019-10-17T04:57:13-07:00
Forum: Users
Topic: Newbie needs help with "color splash" using Python
Replies: 7
Views: 196066

Re: Newbie needs help with "color splash" using Python

so I've got some progress with the syntax, i get to create an output image but now I see that it doesnt do what i need, the current convert command changes every none blue pixel to transparent:

import subprocess

imageMagicCmd = ["sudo", "/usr/bin/convert", "/home/pi/Desktop/imageMagicTest ...
by ram
2019-10-17T02:21:35-07:00
Forum: Users
Topic: Newbie needs help with "color splash" using Python
Replies: 7
Views: 196066

Newbie needs help with "color splash" using Python

Hello,

I'm a Newbie trying to create "color-spotting" or "color splash" based on this post using Python on RaspbianGNU/Linux10(buster), the image below shows the wanted result which is convert an image to gray-scale color except one color:

https://dl.dropbox.com/s/h3mbl5ws8z0x385/color.jpg

the ...