Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

SWF to PNG with full quality

Community Beginner ,
May 06, 2022 May 06, 2022

Hi, I wanted to export some SWF files to Unity, but when I do that the images get blury and they have a filter on it, I wanted to know how can I export an SWF image from Adobe Animate to Unity but with the same quality

1.8K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 06, 2022 May 06, 2022

Hi.

 

Can you provide more details of how are you exporting the PNG files?

 

Regards,

JC

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 06, 2022 May 06, 2022

Yes I'm taking a SWF image from a Flash game resolution (723,207), I put it into adobe animate in the same resolution, I click export image then chosse export as PNG-24 with transparency turned on, but when I do that the image it's not as good quality already, it has some blurry parts, after the image is exported as PNG, I drag it to Unity but then it get's even worse because unity adds filters, and even when I do remove filters and choose Point (no filter) it's still bad because My image is not really pixelised, so I wanna know how to put the image to unity, in the same quality and resolution as the SWF file.

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 06, 2022 May 06, 2022

Have you tried taking a screenshot of the game running and pasting the image directly into Unity?

 

If that's not possible, make sure that the image compression is set to Lossless (PNG/GIF) in the Library and that you're exporting the PNG in its original size (resolution at 72 dpi).

 

image.pngimage.png

 

 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 06, 2022 May 06, 2022

The problem is I don't have any bitmap in the Library how can i add that ?Screenshot 2022-05-06 133653.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 06, 2022 May 06, 2022

Oh I see.

 

I thought you were bringing an external PNG into your FLA.

 

So if you go to File > Export > Export Image (Legacy) it should work.

 

Do you mind providing some screenshots and/or a video showing what you're doing? 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 06, 2022 May 06, 2022

First I create a scene with this resolution enough to cointain the image inside 1.png

Then I drag the swf image into Adobe Animate, 2.png

Then As you can see there the image is shown perfectly, 3.png

But when I export it even in legacy mode as you told me it still doesn't work 4.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 06, 2022 May 06, 2022

Thanks.

 

What settings are you using to export the PNG? And is the exported image blurred only in Unity or is it also blurred in other programs?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 06, 2022 May 06, 2022

These are the settings, 5.png

 

And it's blurred only in Unity I think

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 06, 2022 May 06, 2022

But when I did the legacy export the result were better but still there were some bad parts of the image

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 06, 2022 May 06, 2022

So here is the swf file that I want to export in the same quality and resolution to Unity

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 06, 2022 May 06, 2022

Thanks for the file.

 

I imported the SWF, exported as PNG, and this is the result I got:

image.png

 

The exported image seems fine to me.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 06, 2022 May 06, 2022

Not exactly, look at the line at the upper right corner, and also there is a point missing in the down left corner, and when I put it to unity It doesn't look excatly the same, I really want the same quality, plus this image it's not very obvious but I have other images which becomes very obvious that the image quality is not as good

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 06, 2022 May 06, 2022

The diagonal line you mean? Doesn't it look pixelated due to the low resolution? It's not noticeable on the others because they're perfectly horizontal / vertical.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 06, 2022 May 06, 2022

Because I'm trying to recreate the same flash game in unity, but if the images doesn't show correctly it looks ugly

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 06, 2022 May 06, 2022

The lines overshooting can be fixed by converting the lines to fill I believe.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 06, 2022 May 06, 2022

How do I do that ?

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 06, 2022 May 06, 2022

Modify > Shape > Convert lines to fill. Cut the excess with the selection tool.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 06, 2022 May 06, 2022

It's unawailable for me I can't do that I don't know why

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 06, 2022 May 06, 2022

You have to select the lines first.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 07, 2022 May 07, 2022

How do I do that

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 07, 2022 May 07, 2022
LATEST

With the selection tool. You could also select everything by pressing Ctrl+A.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 06, 2022 May 06, 2022

@Alban243416827o57 My point is that the image is not blurred.

 

But regarding the differences you noticed of missing elements, does this happen while the art is still on stage or only when you export the PNG?

 

Because the SWF import process is not perfect, as far as I know.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 06, 2022 May 06, 2022

Only when I export it as PNG

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 06, 2022 May 06, 2022

I mean you can try to export this image into Unity yourself and see if you can obtain the same results

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines