[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#816447: closed by Adam Majer <adamm@zombino.com> (Re: Bug#816447: QImage ignore headers of jpg files)



On Wed, Mar 02, 2016 at 02:20:26AM +0300, Strelok wrote:
> >that in run settings, if you prefer. In other words, the file you are
> > looking for is not in place where the program is looking.
> 
> Yes. When file have "jpg" extension (last part of my message), program
> looking in right place. Because of this, I'm DONT get SIGABRT signal.
> But when I'm rename file, "place where the program is looking"
> mystically changed. Even if I'm set full path to file. Thank for you
> explanation. Facepalm.

Well, that is different. The problem is you can't name a .jpg file a
.png file. Qt uses file extension for format detection by
default.. QImageReader allows for more control in that.

   http://doc.qt.io/qt-5/qimagereader.html

- Adam

-- 
Adam Majer
adamm@zombino.com


Reply to: