ID:2113327
 
Problem description:
Okay, so I'm setting the view var to "60x60" for a specific client, in this case an admin who is auto-screenshotting the map for input into mapping software. My tile size is 32x32. If it helps, I'm working on the game Spacestation 13. Since that build, when I set the view over "50x50", it produces a rectangular screenshot with the horrible horizontal black bars mentioned in the following other thread rather than a square screenshot. This seems to have been caused by LummoxJR as per this thread: http://www.byond.com/forum/?post=2081823

Pictures:
Large image warning

Set to 25 in my inputView or "25x25"
http://ze.waka.us/img/OTJiNz.png

Set to 50 in my inputView or "50x50"
http://ze.waka.us/img/MDQ4Nj.png

Set to 51 in my inputView or "51x51"
http://ze.waka.us/img/MjE3Yj.png

Set to 60 in my inputView or "60x60"
http://ze.waka.us/img/YzNlZW.png

See, once you get above "50x50" or 1600px by 1600px instead of incrementing the vertical tiles by my tilesize of 32, it increments 20, ending up with a 1632x1620 image at "51x51".

(This sets the client's view to "60x60" by default.)
Code:
/client/proc/mapWorld()
set name = "Map World"
set desc = "Takes a series of screenshots for mapping"
set category = Debug

//Viewport size
var/viewport_width
var/viewport_height
var/inputView = input(src, "Set your desired viewport size. (60 for 300x300 maps, 50 for 200x200)", "Viewport Size", 60) as num
if (inputView < 1)
return
else
viewport_width = inputView
viewport_height = inputView

src.view = "[viewport_width]x[viewport_height]"



When client.view or world.view is a number, the actual view size will be "[n]x[n]" tiles in size, with n=1+2*view. So, when you say "24x24" in your post, you actually mean "49x49" and by "25x25" you mean "51x51". Since the maximum view radius limit is 35, that's a size of "71x71".

Also, your second screenshot's link is broken, but judging by the thumbnails, I can't see anything wrong.
Ahh my apologies Kaiochao, the code snippet is indeed different from my actual mapping code. I've edited it so it has the actual code. For the mapping part, I am setting it to 60x60. I'll re-upload the images and include secondary links.