#[SOLVED] Gimp 2.10.34 can't open pngs with empty metadata fields without the png plugin crashing

13 messages · Page 1 of 1 (latest)

hot arrow
#

This has been happening with other image viewers too (like geeqie, for example) everything bigger than 26MiB always crashes the plugin, 26MiB or lower can be opened. I don't know if there's some common package that's causing this problem, and it's definitely not a problem with ram, I can open 1GB .tif files without a problem. Does anyone know what's happening?

high kayak
#

can you share the image affected?

#

wait, i have some big png

#

okay, my 200 MB png opens fine

#

what package are you using, i'm using gimp flatpak

hot arrow
# high kayak can you share the image affected?

the culprit was empty metadata fields ```exiftool -k scan0027.png
ExifTool Version Number : 12.60
File Name : scan0027.png
Directory : .
File Size : 29 MB
File Modification Date/Time : 2023:03:04 01:14:29-07:00
File Access Date/Time : 2023:06:19 22:23:55-06:00
File Inode Change Date/Time : 2023:06:19 22:21:50-06:00
File Permissions : -rwxrwxrwx
File Type : PNG
File Type Extension : png
MIME Type : image/png
Image Width : 5452
Image Height : 4088
Bit Depth : 8
Color Type : RGB
Compression : Deflate/Inflate
Filter : Adaptive
Interlace : Noninterlaced
Pixels Per Unit X : 47244
Pixels Per Unit Y : 47244
Pixel Units : meters
Modify Date : 2023:03:04 08:14:15
Author :
Description :
Copyright :
Creation Time :
Software :
Disclaimer :
PNG Warning :
Source :
Comment :
Title :
Image Size : 5452x4088
Megapixels : 22.3

high kayak
#

ah rip

#

might wanna make an issue ticket to gimp team about how to handle images with empty metadata fields

hot arrow
high kayak
#

ah, very epic, might wanna change issue title :v

hot arrow
#

on gitlab? probably a good idea I just haven't used the site much before now lol

#

Gimp 2.10.34 can't open pngs with empty metadata fields without the png plugin crashing

#

Gimp 2.10.34 can't open pngs with empty metadata fields without the png plugin crashing [closed]