https://bugs.kde.org/show_bug.cgi?id=409714

            Bug ID: 409714
           Summary: Krita incorrectly parses NetPBM images, converting
                    them results in crash
           Product: krita
           Version: 4.2.1
          Platform: MS Windows
                OS: MS Windows
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: File formats
          Assignee: krita-bugs-n...@kde.org
          Reporter: a...@amyspark.me
  Target Milestone: ---

SUMMARY

Krita 4.2.1 in Windows 10 is unable to read properly NetPBM images, it shows
them as a 0xN image OR a NxM image with incorrect colors.

However, the thumbnail in the Recent Files section is correct.

Attempting to convert such an image after opening results in a crash (Krita
closes without a DrMingw dialog).

I attach two samples. One of them was extracted from the Wikipedia page on
NetPB, and the other was generated following the tutorial mentioned below.

STEPS TO REPRODUCE
1. Follow the tutorial here https://in1weekend.blogspot.com/, or grab a P3
ASCII image online.
2. Open any of them with Krita.
3. Close the image.

OBSERVED RESULT

Recent Files displays correctly the image thumbnail, as opposed to the canvas.

If you try converting the image, Krita will crash.


EXPECTED RESULT

Everything works correctly.


SOFTWARE/OS VERSIONS

Windows: Windows 10 v1809
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 5.12.3

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to