Really looking forward to part 2!
We were trying to do this, finally tried to use a stored procedure and got snagged trying to access all the .net image libraries from within SQL Server. Several folks here recommended against doing that in the forum.
Thank you so much for this, very interested is seeing how you accomplished it.
It was much trickier than expected and very tough to de-bug.