utunga / tiledggd

Automatically exported from code.google.com/p/tiledggd
0 stars 0 forks source link

save all graphics crashes if saved image's too tall #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. open a large file. setting its width so that its length would be over 
20000 pixels should do it.
2. attempt to use "save all graphics"
3. error

What is the expected output? What do you see instead?
expected: an image saved on the disk.
what i see: error, the display in program is replaced with a huge red x 
until it's restarted, file either partially saved or not saved at all.

What version of the product are you using? On what operating system?
2.1.0

Original issue reported on code.google.com by yarrrmateys on 7 May 2010 at 10:25

GoogleCodeExporter commented 9 years ago
forgot to mention and i can't seem to edit it, it's on windows xp sp3.

Original comment by yarrrmateys on 7 May 2010 at 10:27

GoogleCodeExporter commented 9 years ago
Thanks for the report. However the only thing I can do about this is displaying 
a
notification that the image could not be saved. The GDI+ library used for 
saving the
image does not seem to support such large images (and what use could one 
possibly
have of such an insanely large image, most of which will usually be gibberish? 
=/).

Original comment by barubary on 7 May 2010 at 6:59

GoogleCodeExporter commented 9 years ago
well, when the sprites are very small but there are a lot of them it happens, 
especially when there are also even smaller ones, which are half or 1/4 width 
of the 
sprites.

Original comment by yarrrmateys on 1 Jun 2010 at 3:41