srihariyarlagadda
Assistant
Registration Date: 09.05.2008
Posts: 1
Level: 1 [?]
Experience: 8
Next Level: 10
 |
|
| 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
|
|