PNG exporter does not accept size constraints
Bug #1036195 reported by
Patrick Bernaud
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pcb |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When exporting to PNG and setting 'dpi' to 0 and any pixel sizes to a non zero value (i.e. constraining the size of output image), no image is produced.
The following message is issued ont the console:
gd warning: one parameter to a memory allocation multiplication is negative or zero, failing operation gracefully
and this one to the application log:
png_do_export(): gdImageCreate(256, -41) returned NULL. Aborting export.
The negative value passed to gdImageCreate() is the result of an overflow of the (32 bits) Coord variable used for computing the size of the image.
Changed in geda-project: | |
importance: | Undecided → Medium |
status: | New → Fix Released |
To post a comment you must log in.
FWIW.
Kind regards,
Bert Timmerman.