Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
regarding scanning of images
hi,
I am relatively new to QT, I am developing a photo management application in which i need to
scan all the images in the filesystem(i'm using fedora core) . Along with QFileinfo and QDirIterator, I need a function which reads a file and determines whether it is an image(irrespective of the extension)...can QImageReader.canRead() do the job?It should also deal with the case where we rename a text file into an image
i tried using canRead function on a jpeg file(a true image) and it returned false when i used the error() function it showed devise error. wat might be wrong?
any help would be appreciated
thankyou
srihari