Wrox Programmer Forums
|
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 23rd, 2007, 01:13 AM
Registered User
 
Join Date: Jul 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default draw text over an image

Hi,

I used the imgedit control to draw text over an image [TIF] using annotaions.
When i burned the annotations, the image contains some yellow pixels on it while zoom the image.

When i burn the annotations using imaging application (manually), it seems to be good. I don't know why it is coming when i am using the imgedit control (programmatically).

    ImgEdit1.Image = sfile
    ImgEdit1.Display
    ImgEdit1.FitTo 0
    ImgEdit1.Refresh
    ImgEdit1.Display

    ImgEdit1.AnnotationFont.Size = 6
    ImgEdit1.AnnotationFont = "Arial"
    ImgEdit1.AnnotationStampText = sText
    ImgEdit1.AnnotationType = 8 'wiTextStamp
    ImgEdit1.Draw X , y
    ImgEdit1.Refresh

    ImgEdit1.BurnInAnnotations 0, 2

Please help me how to fix this issue.

thanks,
Joyce.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert Text(Sql Server Text Field) to Image(JPG) srinivas72 ADO.NET 2 February 13th, 2009 06:31 PM
Convert from Image to Text niallhannon SQL Server 2000 9 February 24th, 2007 02:17 PM
unicode text to image rajuru Pro PHP 0 November 9th, 2006 10:40 AM
text over an image using CSS? toilandtrouble CSS Cascading Style Sheets 4 July 16th, 2006 05:47 PM
Conversion from Image to text sureshbabu Classic ASP Databases 2 January 9th, 2006 08:49 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.