Bug#816447: closed by Adam Majer (Re: Bug#816447: QImage ignore headers of jpg files)

2016-03-01 Thread Strelok
> 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. >From QImage manual (http://doc.qt.io/qt-4.8/qimage.html) - "If the format is not specified (which is the def

Bug#816447: closed by Adam Majer (Re: Bug#816447: QImage ignore headers of jpg files)

2016-03-01 Thread Adam Majer
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. Becau

Bug#816447: closed by Adam Majer (Re: Bug#816447: QImage ignore headers of jpg files)

2016-03-01 Thread Strelok
>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,

Bug#816447: QImage ignore headers of jpg files

2016-03-01 Thread Strelok
Package: qtcreator Version: 3.2.1 http://doc.qt.io/qt-4.8/qimage.html say "If the format is not specified (which is the default), the loader probes the file for a header to guess the file format.". Okay. I'm load any jpg file. Then, rename this file into "test.png". After this I'm run simple test: