Hi,
Thanks. Using the FontTypeMetric I can create an image in proportion to the text I need to draw. I'm still not sure how to crop the image correctly though. If I don't crop my image and just write it to file as outlined in my original post then the image is ok but will have a larger border then I need around it. If I call the Trim method immediately before the Write method then things appear ok but if I open the file in an image editor (e.g. GIMP) the font appears offset from the transparent background (i.e. it's only partially visible). I'm not sure if its the same thing but in the docs there's talk of using "+repage" immediately after "-crop". How do you do the same thing using Magick.NET?
Thanks
Thanks. Using the FontTypeMetric I can create an image in proportion to the text I need to draw. I'm still not sure how to crop the image correctly though. If I don't crop my image and just write it to file as outlined in my original post then the image is ok but will have a larger border then I need around it. If I call the Trim method immediately before the Write method then things appear ok but if I open the file in an image editor (e.g. GIMP) the font appears offset from the transparent background (i.e. it's only partially visible). I'm not sure if its the same thing but in the docs there's talk of using "+repage" immediately after "-crop". How do you do the same thing using Magick.NET?
Thanks