Problem with invalid image format

I have been using aspose.pdf for years and I am happy with the product, but I still havce on nagging issue. I insert jpegs into my generated pdf's. Occasionally the image files are actully gif's or bmp's which doesn't cause a problem otherwise since they still display through browsers correctly.

However, rather than the pdf save generating an error, it just loops. the application must be recycled to remove the lock on the pdf. Is there anyway for teh process to error our and, ideally, let mke know which image file won't process?

Dear John,

I tested this issue but no error is found. Can you please provide a example that can reproduce this error?