My first email didn't seem to come through:

 

I have extracted a bunch frames into PNG named according to:

 

if < 10 frame-1.png up to frame-9.png  (basically %d).

If < 100 frame-01.png up to frame-99.png   (basically %2d)

If < 1000 frame-001.png up to frame-999.png   (basically %3d)

Etc.

 

These images I'm seeing has some sort of transparency setting on it (see
link for frame-1.png).  I want to kill the transparency and get a white
background.

 

convert frame-1.png frame-1.jpg -- no good, goes black(ish).

convert frame-1.png -alpha off frame-1.jpg - same as above - see
frame-1-bad.jpg.

convert frame-1.png -alpha background frame-1.jpg - ya! It works (still a
little grainy around the lettering)

 

Now I need to do it in batch.

 

mogrify -format jpg -alpha background *.png

 

Now I need to also thumbnail them.

 

mogrify -format jpg -alpha background -thumbnail 90x90 *.png - oh, oh this
reverted back to the blackish thing.

mogrify -format jpg -thumbnail 90x90 -alpha background *.png - kinda works
but the black smudges are still there.

 

Thoughts?  Basically I think the PNG has some sort of transparency without
using alpha channel, anyway I can get a 'normal' alpha channel they will
just drop to white when I go to PNG?

 

Links:

 

frame-1.png - http://salmizar.com/frame-1.png

frame-1.jpg -  http://salmizar.com/frame-1.jpg

frame-1-bad.jpg -  http://salmizar.com/frame-1-bad.jpg

 

 

Thanks!

Matt

 

_______________________________________________
Magick-users mailing list
Magick-users@imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to