Is it 4:3 aspect ratio with vertical resolution 1024? 1366 = 212/3, more or less.
Maybe a bit wacky, but could it arrange the pixels along vertical lines in memory?
Or, using RGB, 3 bytes per pixel, gives each horizontal line taking up 1366*3 = 212 +2 bytes. Just over a power of 2, so it...