// different ways they have been loaded
}
public void testResizeExternalGraphic() throws Exception {
URL url = StreamingRenderer.class.getResource("test-data/");
PointSymbolizer symb = sf.createPointSymbolizer();
ExternalGraphic eg = sf.createExternalGraphic(url + "icon64.png", "image/png");
symb.getGraphic().graphicalSymbols().add(eg);
symb.getGraphic().setSize(ff.literal(20));
GraphicStyle2D gs = (GraphicStyle2D) sld.createPointStyle(feature, symb, range);
BufferedImage img = gs.getImage();
assertEquals(20, img.getHeight());
assertEquals(20, img.getWidth());