Is there a way to find the ImageDimensions
of an image file without Import
'ing each one? The reason being that I have a directory with millions of JPEGs and it's really slow to Import each one separately.
1 Answer
$\begingroup$
$\endgroup$
1
The documentation says how to do this.
Import["image.jpg", "ImageSize"] // AbsoluteTiming
{0.052691, {2048, 1366}}