Remove image size limit
by Andrea Farid Marsili · in Torque Game Builder · 03/20/2012 (5:24 am) · 5 replies
Ther's a way to remove the image size limit in Torque2D?
#2
1) Opened a project.
2) Went to the "Create Tab"
3) Clicked "Create New Imagemap"
4) Chose a .png file with the dimensions of "6285 x 4171"
5) Had an error message pop up that read:
Title: "Fatal-ISV: (..\..\source\dgl\bitmapPng.cc @ 253"
Body: "Error, cannot load pngs taller than 2048 pixels!"
6) Clicked okay (only button on the error pop up.
7) Torque crashes.
I don't know anything more than what is listed there. We encountered it because our artists decided they like huge images, and it was an easy enough work around to make sure no images are taller than 2048. Hopefully this helps.
03/20/2012 (8:27 pm)
I believe he is referencing an error pop-up when you try to create a new Image Map and the file you import is taller than 2048 pixels. One second, I'll force my Torque2D to encounter this error and document my steps.1) Opened a project.
2) Went to the "Create Tab"
3) Clicked "Create New Imagemap"
4) Chose a .png file with the dimensions of "6285 x 4171"
5) Had an error message pop up that read:
Title: "Fatal-ISV: (..\..\source\dgl\bitmapPng.cc @ 253"
Body: "Error, cannot load pngs taller than 2048 pixels!"
6) Clicked okay (only button on the error pop up.
7) Torque crashes.
I don't know anything more than what is listed there. We encountered it because our artists decided they like huge images, and it was an easy enough work around to make sure no images are taller than 2048. Hopefully this helps.
#3
03/20/2012 (11:05 pm)
The libpng included with TGB is from 2001. The latest version is 1.5.9. Time for an update :)
#4
05/09/2012 (4:46 pm)
I'm getting this same error for images much smaller (1500x1500).
#5
05/11/2012 (12:12 pm)
@David - Are you getting the exact same error message? I can't see where it would complain about a 1500 image. Can you post the exact message/log?
Associate Scott Burns
GG Alumni