png inverting colors - remove white - adding transparent background
Posted: 2019-03-11T10:13:48-07:00
Hi,
i wanted to automate something that i am currently doing manually in gimp-lisanet (Gimp for MacOS with some Addons). I just realised that this version is using some Add-Ons that i can't find in the new version of gimp, so i just wanted to write a shell script with imagemagick:
I have a pdf that i convert to a png and wanted to apply the following:
1) Color to transparancy (white) Everthing that is white becomes transparent //I'm not sure what this gimp-lisanet addon does exactly
2) Invert the image (0,255,255) -> (255,0,0) etc.
3) Add another layer (black) with 66% opacity
4) move the layer to the background of the original image
When i tried to implement this i already failed at 1) and 2). And I have no idea how to do a background layer
Original: https://ibb.co/v3YvMzJ
After Step 1: https://ibb.co/5ng9LSM
After Step 2: https://ibb.co/f1KfCk4
After Step 3: https://ibb.co/8dSyn0p
thanks
i wanted to automate something that i am currently doing manually in gimp-lisanet (Gimp for MacOS with some Addons). I just realised that this version is using some Add-Ons that i can't find in the new version of gimp, so i just wanted to write a shell script with imagemagick:
I have a pdf that i convert to a png and wanted to apply the following:
1) Color to transparancy (white) Everthing that is white becomes transparent //I'm not sure what this gimp-lisanet addon does exactly
2) Invert the image (0,255,255) -> (255,0,0) etc.
3) Add another layer (black) with 66% opacity
4) move the layer to the background of the original image
When i tried to implement this i already failed at 1) and 2). And I have no idea how to do a background layer
Original: https://ibb.co/v3YvMzJ
After Step 1: https://ibb.co/5ng9LSM
After Step 2: https://ibb.co/f1KfCk4
After Step 3: https://ibb.co/8dSyn0p
thanks