Search found 6 matches

by joshiishan
2019-02-14T01:05:13-07:00
Forum: Users
Topic: Transparent Background for Images with Text
Replies: 4
Views: 3261

Re: Transparent Background for Images with Text

snibgo wrote: 2019-02-13T05:29:40-07:00 An alternative method results in black text and anti-aliased alpha:

Code: Select all

convert VP-EQN-61-GIF.png -negate -alpha copy -channel RGB -evaluate set 0 +channel out.png
This worked for all my files!

Thanks a lot!
by joshiishan
2019-02-14T01:03:01-07:00
Forum: Users
Topic: Transparent Background for Images with Text
Replies: 4
Views: 3261

Re: Transparent Background for Images with Text

try convert VP-EQN-61-GIF.png -negate -threshold 0 -negate -alpha copy -channel a -negate +channel result.png Thanks for your response. It gave me an image with thicker text (like bold) but the text border was not smooth. Attaching the resulting image. https://i.ibb.co/g3fjjzZ/VP-EQN-61-converted-1...
by joshiishan
2019-02-12T22:57:55-07:00
Forum: Users
Topic: Transparent Background for Images with Text
Replies: 4
Views: 3261

Transparent Background for Images with Text

I have thousands of images with equations and text with white background. I need to make the white background transparent. The command I tried as always was: convert _VP_EQN_61.GIF.png -fuzz 10% -transparent white _VP_EQN_61-converted.png This command works perfectly with images without any text but...
by joshiishan
2018-05-10T17:52:20-07:00
Forum: Users
Topic: Cut 3 pixels from the end of image and join it to the front
Replies: 5
Views: 4091

Re: Cut 3 pixels from the end of image and join it to the front

Hi GeekMack,

I got the desired result using

Code: Select all

convert _VP_EQN_1.GIF -gravity northeast \( -clone 0 -crop 3x0+0x0 -duplicate 1 -roll +0-1 \) -reverse +append -shave 3x0 output.png
.

Please let me know how to buy you a beer!

Thanks a lot for the direction.

Cheers,
Ishan
by joshiishan
2018-05-10T16:55:45-07:00
Forum: Users
Topic: Cut 3 pixels from the end of image and join it to the front
Replies: 5
Views: 4091

Re: Cut 3 pixels from the end of image and join it to the front

Hi GeekMack, convert input.gif -gravity northeast -background white \ \( -clone 0 -crop 3x0+0+1 -duplicate 1 \) -reverse +append -shave 0x3 output.gif I am using ubuntu with imagemagic 6.9.7-4. I tried the command convert _VP_EQN_6.GIF -gravity northeast -background white \( -clone 0 -crop 3x0+0+1 -...
by joshiishan
2018-05-10T08:15:47-07:00
Forum: Users
Topic: Cut 3 pixels from the end of image and join it to the front
Replies: 5
Views: 4091

Cut 3 pixels from the end of image and join it to the front

Hi guys, I am a new user. I need to bulk edit images as the legacy image exporter gives me weirdly broken images. https://image.ibb.co/k8dTdy/VP_EQN_7.gif https://image.ibb.co/nRgs5d/VP_EQN_6.gif https://image.ibb.co/meHbWJ/VP_EQN_5.gif https://image.ibb.co/n6hody/VP_EQN_4.gif https://image.ibb.co/f...