Where can I find image media dimension data?

I am working on an umbraco 13 site. It has a sqlite db for development. All the media are missing their Width, Height, Size property values in the media edit view (They all display as blank). If I re-save the image it turns up. There are 100’s of images, is there a way to automate this? I can’t seem to find where this data is stored.

Yes, you can automate this.
For example, you can write a temporary API controller.

In the controller, use the MediaService:
MediaService | Umbraco CMS

Select all existing media and resave them.
Use the methods:

  • GetRootMedia()
  • GetPagedDescendants()
  • Save()

I think we have had a similar issue when we changed blob. Have you tried rebuilding the database cache and rebuilding indexes? I think messing with all the rebuilding eventually solved it for us.