Always best to provide your IM version and platform and also examples of the good and bad results and exact code for each.
I tried your code (putting the input image in correct location right after convert).
Code: Select all
convert d7f58f0909da3081f9bd8e67abd34815_256_256.png -resize 100x100 png8:result8.png
Code: Select all
convert d7f58f0909da3081f9bd8e67abd34815_256_256.png -resize 100x100 result32.png
These both work as expected. The png8 result will be smaller is file size due to the use of a colortable 8-bits per pixel, but will have striped artifacts due to the fact that the colors are reduce to 256. The png32 result will have no artifacts, but will be a larger file size since it is not limited to 256 colors and has 32-bits per pixel.
I do not see a solution off the top of my head. You must chose one or the other. If you did not have transparency, the obvious solution would be to use jpg compression. You can flatten your transparency over some background color and save to compressed jpg. That is the only other option I see.