Is there a way to know the original size (pixel dimensions) of an imported image?

Hi. Someone sent me a Figma file they worked on. It has imported images. I want to know how large I can export a frame containing an image, without the image losing quality. For this I need to know the pixel dimensions of the original image that was imported.
Is there some way to see the original image dimensions of an imported image?

Example:
User 1 imported a 1000x1000 pixel image into a Figma project
User 1 resized the image to 500x500 pixels and placed it in a frame named “myFrame”.
User 2 now wants to know if “myFrame” can be exported at an increased size of: x2 and x3.
User 1 would have known that x2 would work fine since the original imported image is 1000x1000, but x3 would result in pixelation since it would blow up the image to a size that is larger than the original, so new pixels will have to be added.
User 2, however, doesn’t know the original size of the image that was imported. Is there a way to find out?

Hi there,

Thanks for your post. It seems Figma doesn’t provide a feature that you mentioned. Sometimes, Figma needs to decode and convert an image before adding it to the file. For this reason, we can’t guarantee that Figma will preserve all file metadata: https://help.figma.com/hc/en-us/articles/360040028034

However, I guess this plugin could be the closest solution: https://www.figma.com/community/plugin/886379932197117140

I hope it helps!

Thanks,
Toku