Fuzzy.png in Flash CS3

PNG images are displayed “fuzzy” in the CS3 flash memory. They are very blocky and seem unanti-aliased (if that word) Does anyone have a fix for this? Are there any settings that I am missing?

+4
source share
8 answers

Do you load them into your SWF through the bootloader? Or are they imported into your library as bitmap characters? If they load when trying to call Bitmap.smoothing = true; or if they are in your library, go to the Bitmap properties and click "Enable anti-aliasing."

Other than that, I would try to make sure that you don’t have a madman above 1 alpha setting or that you don’t go into the scope of your code at any time. These two options tend to conflict with blurry bitmaps.

If all else fails, you probably want to take a look at turning your images into vector graphics, then they will always look the way you want them to be independent of scaling.

+4
source

Bitmaps will be "fuzzy" if you scale them at all, it's just the nature of the graphics. Also check the publishing settings, maybe they will convert them to JPEG with a low quality setting.

+2
source

If your png image appears in the jaggy flash (or with an alias rather than anti-aliasing) but it looks great in Photoshop, then it’s probably due to the fact that they have size A: resized and B: not has ' smoothing ' (smoothing is, in fact, dynamic smoothing).

Whenever you resize an image from a 1: 1 pixel ratio to the screen, the rendering needs to decide which pixels will be either cut off (if reduced) or duplicated (if expanded).

If anti-aliasing is not performed, you will see jagged artifacts, especially along the extreme areas with high contrast.

You can enable anti-aliasing in the IDE by double-clicking on the bitmap in your library and selecting the " Enable anti-aliasing " checkbox.

You can also enable it programmatically like this:

myBitmap.smoothing = true; 
+2
source

The easiest way to do this is to right-click on the image, then split Apart.

+2
source

I had the same problem and it turned out that the movie I uploaded to PNG was set to alpha 100. This was wrong, as in AS3 it is a value from 0 to 1. When I set the movie alpha to 1, PNGs are cleared just fine.

+1
source

I had the same problem, but deactivating JPG Degroup in the publishing properties fixes it for me.

+1
source

In your library, right-click the imported bitmap and select "Properties" and change the compression from the photo (JPEG) to Lossless (PNG / GIF).

+1
source

Well, I tried using image.opaqueBackground = 0x000000; and it seems to work fine, anti-aliasing is much better, however, it surpasses the idea of ​​a transparent background in this process. It's really angry, Adobe, there's something to do about it!

0
source

Source: https://habr.com/ru/post/1277577/


All Articles