[Qt-interest] SOLVED QImageReader cannot detect image format

Guido Seifert Wargand at gmx.de
Thu May 6 12:54:45 CEST 2010



> why is this "sick" if someone says "A" and actually means "A" (and not
> "B")? ;) /foo/bar/barfoo.jpg would be a file PATH for me, barfoo.jpg 
> the file
 
You brought the example yourself. The QFile. Most developers probably use QFile a thousand times more than QImageReader and get used to interchangeably used filename and fullpath. But even worse, QImage behaves the same way as QFile does. You can give both names. AND the parameter in QImage is called fileName, too. So I think I was allowed to expect that this is the normal behaviour and QImageReader behave the same way. I really think this should be fixed.

Guido 
-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01



More information about the Qt-interest-old mailing list