Skip to main content

I have to write some data to a XML-File, that's afterwards transformed to a HTML-Page using xsl.

 

 

One attribute in my data is an image, that's encoded in base64. In xsl it gets decoded and displayed in HTML as png.

 

 

This works fine, but now I want to make sure, that this image is of the correct size (height/width).

 

Is there way, I can do this with FME?

Thanks, Vera

You can create the image from the base64 data then use a raster properties extractor to find the size.

To get the image you can use a BinaryDecoder followed by a RasterReplacer

 

 

 

 


Great, thanks.


Reply