Numbered Steps to Reproduce Problem:
1) Download image test
2) Run image test on Linux. Notice no height/width recorded for the jpg icon. Notice that the jpg icon records a lower left pixel.
3) The image test can also be ran on Windows, notice all icons have width/height.
Code Snippet to Reproduce Problem:
var/icon/picture = icon(file("example.jpg"))
var/height = picture.Height()
var/width = picture.Width()
Expected Results: For icons generated with .jpg images to have working width/height procs in Linux.
Actual Results: Icons generated with .jpg images always return 0 in Linux.
Does the problem occur:
Every time? Or how often? Everytime.
In other games? Untested.
In other user accounts? Untested.
On other computers? Untested.
When does the problem NOT occur? The problem does not occur with other image formats (.png, .gif, .dmi was tested).
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? Untested.
Workarounds: Use Windows or the following snippet when determining sizes on .jpg images.:
while(I.GetPixel(.+1,1) != null)
while(I.GetPixel(1,.+1) != null)