Dithered Edges when converting from PNG to GIF - RESOLVED
Re: Dithered Edges when converting from PNG to GIF
It appears the white blend worked fine.... I might have to adjust a bit of fuzz to get it all happy... now to figure out how to enable that transparent chanel.
Re: Dithered Edges when converting from PNG to GIF
I've tried setting alpha to on or transparent.. its still not re-enabling the transparency... am I doing it wrong somehow?
Re: Dithered Edges when converting from PNG to GIF
I'm still having problems getting transparency working.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Dithered Edges when converting from PNG to GIF
These all seems to work for me with transparent backgrounds in IM 6.4.7-10 Q16
convert rose: -matte -background none -rotate 20 rose_r20.png
convert rose: -alpha on -background none -rotate 20 rose_r20b.png
convert rose: -alpha activate -background none -rotate 20 rose_r20c.png
convert rose: -channel rgba -background none -rotate 20 rose_r20d.png
convert rose: -background none -rotate 20 rose_r20e.png
are you saving as PNG?
are you setting the background to none?
convert rose: -matte -background none -rotate 20 rose_r20.png
convert rose: -alpha on -background none -rotate 20 rose_r20b.png
convert rose: -alpha activate -background none -rotate 20 rose_r20c.png
convert rose: -channel rgba -background none -rotate 20 rose_r20d.png
convert rose: -background none -rotate 20 rose_r20e.png
are you saving as PNG?
are you setting the background to none?
Re: Dithered Edges when converting from PNG to GIF
fmw... I'm limited to gif for the final output. to try and get the best edges on the rotated image... I'm floodfilling the white to the edges, but its ending up black.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Dithered Edges when converting from PNG to GIF
The commands above work also for .gif output format, but as gif is binary transparency, off or on and png is variable transparency, the gif results are more jagged when magnified to see how the edge looks.mrshake wrote:fmw... I'm limited to gif for the final output. to try and get the best edges on the rotated image... I'm floodfilling the white to the edges, but its ending up black.
You can try using some other background color (say gray50) and then using -fuzz and -floodfill to change it to transparent.
convert rose: -background gray50 -rotate 20 \
-bordercolor gray50 -border 2 \
-channel rgba -alpha on \
-fill none -fuzz 10% -floodfill +0+0 gray50 \
rose_flood.gif
Re: Dithered Edges when converting from PNG to GIF
Is it ok to bump this?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Dithered Edges when converting from PNG to GIF
mrshake wrote:Is it ok to bump this?
Bump? Do you mean escalate to someone else? If so, certainly. Hopefully Anthony or Magick will answer. But you ought to provide an example and explain exactly what you don't think is working.
Re: Dithered Edges when converting from PNG to GIF
fmw42,
I hope this doesn't come across as rude, but if you go back to page 1 of this thread... there are LOADS of examples and explanations. Thanks for your help though, I do appreciate it!
I hope this doesn't come across as rude, but if you go back to page 1 of this thread... there are LOADS of examples and explanations. Thanks for your help though, I do appreciate it!
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Dithered Edges when converting from PNG to GIF
mrshake wrote:fmw42,
I hope this doesn't come across as rude, but if you go back to page 1 of this thread... there are LOADS of examples and explanations. Thanks for your help though, I do appreciate it!
No problem. Sorry I did not go back to page 1. My mistake. Hopefully you can get your problem resolved.
Re: Dithered Edges when converting from PNG to GIF
No problem!! Thanks again for your help!