Loading...

Image Tag

Discussions about image processing in GdPicture.NET using GdPictureImaging.

Image Tag

Postby PQSIK » Tue Apr 19, 2011 11:08 pm

Hi there,

Can you help remove � from a image tag

TagGetValueString(imageid, tags.TagPageName)

when I add to a xml file I get this
<ImageTagID>c2a853bd45494985b389536ff7c27a7f&#x0;</ImageTagID>

and you cant have &#x0; in the file when serialized

Thanks

pqsik
PQSIK
 
Posts: 45
Joined: Wed Oct 21, 2009 7:26 pm

Re: Image Tag

Postby PQSIK » Wed Apr 20, 2011 12:09 am

I got this to work

Code: Select all
Dim str As String()
str = Regex.Split(Gdp.TagGetValueString(ThisTiffID, nCpt), "\0")
If str.Length > 0 Then Return str(0)
Return str(0)


any better ways to do this?

pqsik
PQSIK
 
Posts: 45
Joined: Wed Oct 21, 2009 7:26 pm

Re: Image Tag

Postby Loïc » Wed Apr 20, 2011 10:14 am

I can suggest

Code: Select all
str = str.Replace(Chr(0), "")
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4442
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to Image Processing

Who is online

Users browsing this forum: No registered users and 0 guests

cron