Finding all asset textures with width > 1024

For optimization sake I am trying to make an editor script which lists all textures greater than a given size. Say > 1024 in width.

Is there a way to enumerate all texture regardless if they are referenced in the scene by the Resources. findByType calls ?