Matte lines with PNG images
Moderators: Víctor Paredes, Belgarath, slowtiger
bupaje is right
Yes bupaje, I checked the FAQ right away and found nothing about this. The help menu of future versions of Moho should recommend PNG-24 as well.
I am using Photoshop CS. When I "Save for Web" and select PNG-8 a fringe is added around the object. It is very plain to see it in Photoshop.
More info on what Photoshop says about PNG:
"Developed as a patent-free alternative to GIF, Portable Network Graphics (PNG) format is used for lossless compression and for display of images on the Web. Unlike GIF, PNG supports 24-bit images and produces background transparency without jagged edges; however, some Web browsers do not support PNG images. PNG format supports RGB, indexed-color, grayscale, and Bitmap-mode images without alpha channels. PNG preserves transparency in grayscale and RGB images."
---------------
More from Photoshop:
" For precise optimization, you can use the optimization features in Photoshop or ImageReady to preview optimized images in different file formats and with different file attributes. You can view multiple versions of an image simultaneously and modify optimization settings as you preview the image to select the best combination of settings for your needs. You can also specify transparency and matting, select options to control dithering, and resize the image to specified pixel dimensions or a specified percentage of the original size.
When you save an optimized file using the Save for Web (Photoshop) or Save Optimized (ImageReady) command, you can choose to generate an HTML file for the image. This file contains all the necessary information to display your image in a Web browser.
The Save for Web (Photoshop) or Save Optimized (ImageReady) commands are designed specifically to provide a more robust and intuitive set of options for saving an image file for use on the Web. This includes a refined sensitivity to file size and image color palette that is unavailable from the Save As command. When creating graphics for Web use, the Save for Web / Save Optimized commands are recommended."
-----
Regarding PNG-8 it seems it is just 256 color only...from Photoshop:
"Optimizing colors in GIF and PNG-8 images
Decreasing the number of colors in an image is a key factor in optimizing GIF and PNG-8 images. A reduced range of colors will often preserve good image quality while dramatically reducing the file space required to store extra colors.
The color table gives you precise control over the colors in optimized GIF and PNG-8 images (as well as original images in indexed color mode). With a maximum of 256 colors, you can add and delete colors in the color table, shift selected colors to other colors or to transparency, and lock selected colors to prevent them from being dropped from the palette."
More info on what Photoshop says about PNG:
"Developed as a patent-free alternative to GIF, Portable Network Graphics (PNG) format is used for lossless compression and for display of images on the Web. Unlike GIF, PNG supports 24-bit images and produces background transparency without jagged edges; however, some Web browsers do not support PNG images. PNG format supports RGB, indexed-color, grayscale, and Bitmap-mode images without alpha channels. PNG preserves transparency in grayscale and RGB images."
---------------
More from Photoshop:
" For precise optimization, you can use the optimization features in Photoshop or ImageReady to preview optimized images in different file formats and with different file attributes. You can view multiple versions of an image simultaneously and modify optimization settings as you preview the image to select the best combination of settings for your needs. You can also specify transparency and matting, select options to control dithering, and resize the image to specified pixel dimensions or a specified percentage of the original size.
When you save an optimized file using the Save for Web (Photoshop) or Save Optimized (ImageReady) command, you can choose to generate an HTML file for the image. This file contains all the necessary information to display your image in a Web browser.
The Save for Web (Photoshop) or Save Optimized (ImageReady) commands are designed specifically to provide a more robust and intuitive set of options for saving an image file for use on the Web. This includes a refined sensitivity to file size and image color palette that is unavailable from the Save As command. When creating graphics for Web use, the Save for Web / Save Optimized commands are recommended."
-----
Regarding PNG-8 it seems it is just 256 color only...from Photoshop:
"Optimizing colors in GIF and PNG-8 images
Decreasing the number of colors in an image is a key factor in optimizing GIF and PNG-8 images. A reduced range of colors will often preserve good image quality while dramatically reducing the file space required to store extra colors.
The color table gives you precise control over the colors in optimized GIF and PNG-8 images (as well as original images in indexed color mode). With a maximum of 256 colors, you can add and delete colors in the color table, shift selected colors to other colors or to transparency, and lock selected colors to prevent them from being dropped from the palette."