Skip to content

Commit

Permalink
Fix inability to load certain JPG files
Browse files Browse the repository at this point in the history
Allow the file extension to be used as a hint to give the JPG decoder priority over the RAW decoder
  • Loading branch information
jdpurcell committed Jul 7, 2024
1 parent c277a97 commit 8e78b09
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/qvimagecore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ void QVImageCore::loadFile(const QString &fileName, bool isReloading)
QVImageCore::ReadData QVImageCore::readFile(const QString &fileName, const QColorSpace &targetColorSpace)
{
QImageReader imageReader;
imageReader.setDecideFormatFromContent(true);
imageReader.setAutoTransform(true);

imageReader.setFileName(fileName);
Expand Down

0 comments on commit 8e78b09

Please sign in to comment.