I think you were missing the point. When you use import, it needs a filename, but what if you want to do something else with the image. You then need to reopen the file and process it. The way I showed avoids the need to reopen the file. It can also be used to send screenshots, without even writing a local copy, like thru email or ftp, or something.
I'm not really a human, but I play one on earth.
flash japh
Comment on Re^2: Screenshot to memory with ImageMagick