 	var currentRenderLayer = LGRenderLayer.Background
 	var currentElement = ""
 	var currentData = ""
+	var currentEncoding = ""
+	var currentCompression = ""
 	
 	var width = 0
 	var height = 0

				currentLayer = nil
			
			case "data":
				currentLayer.data = parseString(currentData)
				currentData = ""
			
			default:
				break
		}
	}
}
			assert(uncompressedLength == width * height * 4)
			
			return parseData(uncompressedBuffer)
		} */
		else
		{
			// uncompressed base64
			
			let data = NSData(base64EncodedString: string, options: .IgnoreUnknownCharacters)
			assert(data.length == width * height * 4)
			
			var bytes = [UInt8](count: data.length, repeatedValue: 0)
			data.getBytes(&bytes, length: data.length)
			
			return parseData(bytes)
		}
	}
	
	func parseArray(data: [String]) -> [[LGTile]]
	{
