A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: How do you fix jagged edges?

  1. #1
    Member
    Join Date
    Nov 2001
    Location
    Miami, FL
    Posts
    75

    How do you fix jagged edges?

    Hello!

    Does anyone have any idea how to get image edges to look clear and crisp?

    The images are aligned top-left, integer X & Ys, the group they're in is also aligned top-left, also integers, same with the sprite that contains the group and the sprite in the parent movie, that this one gets loaded into. Bottom line, everything's aligned well, but still, that cool 1px stroke I gave the pictures is blurry.

    Thanks!

  2. #2
    Harmony & Justice Veniogenesis's Avatar
    Join Date
    Jul 2002
    Location
    Washington D.C.
    Posts
    4,434
    Hm, this might be fix it:

    Select the object and go to the properties
    'shape' panel.

    Click on the properties button.

    Check "No Smooth".




    hope that works.
    Venio
    Flash Kit Moderator . Duke University
    Thomas Jefferson High School for Science and Technology

  3. #3
    Member
    Join Date
    Nov 2001
    Location
    Miami, FL
    Posts
    75
    Hey, thanks a lot. Yeah, I forgot to mention that. I also checked "No Smooth". Still, no good!

    I think the flash player has a problem with subtle stuff like that. I made the canvas of the pix 1px larger and the black stroke looks good, but I can't have that, I need the image to "end" at the stroke, without another 1px white border. They're jpgs so I can't make that "safety edge" transparent.

    Any other suggestions are welcome.

    Cheers!

  4. #4
    Harmony & Justice Veniogenesis's Avatar
    Join Date
    Jul 2002
    Location
    Washington D.C.
    Posts
    4,434
    Hmmm, strange...

    What happens if you turn on the quality
    of the image all the way up to 100 jpg
    compression?
    Flash Kit Moderator . Duke University
    Thomas Jefferson High School for Science and Technology

  5. #5
    Member
    Join Date
    Nov 2001
    Location
    Miami, FL
    Posts
    75
    Yeap, that's what it is, 100%, it's for a CD-ROM, so I have it all the way up to 100%. Still, same stuff.

  6. #6
    Flashkit historian Frets's Avatar
    Join Date
    Oct 2000
    Location
    flashkit
    Posts
    8,797
    Does the image exactly fit the dimensions of the shape

    Lets say you import an image that is originally 200x 200
    when image is imported does that image match the shape dimensions
    (go to the transform panel of the shape as well as the properties
    of the image)
    you may have inadvertantly reshaped the image inside swish.
    When an image is reshaped it can become distorted.
    The stage does not always reflect the actual dimensions of the
    end swf (unless it's set for view 100%)
    Which is why it's wise to prep the image before importing
    into swish.

    How does this work or not work for you

    also is the image a progressive compressed .jpg
    or non standardized .jpg such as a jfif or a jpeg2000
    If so you may wish to convert to a png before importing
    into swish.

    Frets

  7. #7
    Member
    Join Date
    Nov 2001
    Location
    Miami, FL
    Posts
    75
    Hey, thanks for the help.
    The movie's set to play at 100%, so distortion because of rescaling isn't the issue.
    Yeah, I tried pngs, and I started from scratch, I triple checked the dimensions, the X & Y position. It didn't work.

    Something funny happened. I think my guess in my previous post was true. When I put a .gif file instead of the jpgs, the little 1px frame still looked distorted. But when I added a transparent pixel to the dimensions of the .gif's canvas and brought it into swish, it worked like a charm.

    Looks like I'll have to do that with all the pics. Here we go again.


    Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center