Hi,
I read images from a directory and save them in SQL Server as <image>.
I use the AttributeFileReader to create a binary representation of the image which then just gets written into the database (works fine).
I also need to create a thumbnail for each image and save it as blob as well. And here my problem starts - I don't know which transformers I need to use:
My process looks like that:
AttributeFileReader
-->RasterReplacer (I need to create an image)
-->RasterResampler (I create a thumbnail)
-->RasterExtractor (I create binary representation of the image)
the result gets written as <image> into a SQL DB table.
But when I extract the image from SQL Server (with an different application than FME) the thumbnail is no valid image file (whereas the main image is).
For simplicity I uses JPG files only right now.
Any idea what might be wrong with my choice of transformers or their order?
Many thanks, Rob