Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: Generate an image based on character and font

$
0
0
Trying to have an image with the following property, but there is no pixels in image.
Using image As New MagickImage
    image.Format = MagickFormat.Png

    Dim color As New MagickColor        
    color.R = 0        '    
    color.G = 0        
    color.B = 0
        
    image.FillColor = color    

    Dim colorFont As New MagickColor 
    color.R = 255      
    color.G = 255
    color.B = 255     
  
    image.Label = "text"   
    image.StrokeColor= "colorFont"     

    image.Font = "PMingLiu"   
    image.FontPointsize = 20  

    picLink = "C:\textImage\testingImage.png"
    image.Write(picLink)
        
End Using

Viewing all articles
Browse latest Browse all 3693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>