factory.setPreference(PROP_GAP_Y, String.valueOf(propGapY));
factory.setPreference(PROP_CROP, String.valueOf(propCrop));
factory.setPreference(PROP_TRANSPARENT, String.valueOf(propTransparent));
factory.setPreference(PROP_COLORED, String.valueOf(propColored));
TextureLoader textureLoader = factory.getTextureLoader();
List<Sprite> sprites = new ArrayList<Sprite>();
Point current = new Point(0, propOffsetY);
while (current.y + propHeight < image.getHeight()) {
current.x = propOffsetX;