Buongiorno.
uso flash cs 5.5 su mac osx (10.6.8)
a volte uso la nuova funzione "modifica" nel pannello proprietà quando hai selezionato una bitmap.
Si apre photoshop, faccio la modifica e poi salvo.
Quando torno in flash la mia bitmap è stata modificata ma stranamente ha le dimensioni doppie (o più) di prima...
qualcuno sà questo bug a cosa è dovuto?
allego immagini per chiarezza
grazie
Hi ,
The reason for this is that when using Photoshop to edit the image , the DPI of the image is set to something other than 72dpi.
You can try this -
1) Put the following code in a new document and check the system's screenDPI :
import flash.system.Capabilities;
trace("Capabilities.screenDPI: "+Capabilities.screenDPI);
2) If say the output is 72 dpi , when you import an image , it appears that Flash resizes it to match what it thinks is the screen resolution and in this case its 72 dpi. So if the image has a bigger resolution , it will scale it down.
Further ,
Create an image in Photoshop with a dpi say 300. Create another one with a dpi 72. Import both of these into Flash. The first image will be scaled down but the second image will retain its original size.
The solution is to ensure that the graphic you import(or bring back from Photoshop) is of the resolution 72 dpi.
You can use an image editor such as IrfanView to check or change the DPI settings of the image you are using.
Let me know if this helps.
Thanks and regards,
Sudeshna Sarkar
Adobe Flash Professional Team.
Thank you Sudeshna Sarkar for your reply, i reply to you in english (sorry my english isn't well).
So i've read your response and i've try the "Capabilities.screenDPI" script.
it say to me 72.
So i've made a mistake, i've not write in the post a simple thing...the bitmap it was created INTO flash with the comand "converto in bitmap"
so flash create the png.
then i've try to modfy in photoshop with the comand edti in flash.
When photoshop open my png from flash the size of the png was double or more
(for example a in flash a square of 100x100 px become in photoshop 421x421 pixel)
Importing bitmap(png or other) into flash don't make problem, and when i try to modify in photoshop and come back the size was correct.
My Flash have problem with the png created inside...(or better photoshop recognize the png from flash in a wrong way
)
Can you help me to this please?ù
thank you so much
Hi ,
I tried out the scenario with a simple shape(converted to a bitmap object) and edited in Photoshop but wasn't able to repro the issue on my system.
Will it be possible for you to share the fla where this issue is happening? Or , can you let me know what kind of object you are trying to convert into bitmap.
This will help me to investigate the issue better.
Thanks and regards,
Sudeshna Sarkar
Adobe Flash Professional Team.
Hi,
i,ve create a file in flash whit a shape, this is the link of the .fla
http://lucatcs.altervista.org/convert-shape.fla
http://lucatcs.altervista.org/reference.zip
i've also create some screenshot (reference.zip) of my problem with notes and the version of my software, i use a mac osx (10.6.8) and the software was part of cs5.5 in italian bought in september 2001.
thanks for your help
Luca
North America
Europe, Middle East and Africa
Asia Pacific