Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Monday, September 12, 2022 10:00:12 AM(UTC)
randy.subers

Groups: Registered
Posts: 10


I have LeadTools 16. I need to remove a TIFF tag from a memory file. It appears that DeleteTag is supported for LFile but not LMemoryFile. Any suggestions?
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Tuesday, September 13, 2022 8:47:39 AM(UTC)

Conor  
Conor

Groups: Registered
Posts: 2


Hello Randy,

Unfortunately, LEADTOOLS 16 does not support deleting tags from TIFF files through memory. Here is the documentation on the DeleteTag method https://www.leadtools.co...ercodecs~deletetag.html. Note that it must take a string as the first parameter for the file name.

However, we do support this functionality in v22, so I would suggest upgrading to v22. You can try it out for free with our LEADTOOLS Evaluation License here https://www.leadtools.com/downloads.

Here is a link to the documentation of the functionality you are looking for:
https://www.leadtools.com/help/sdk/v22/dh/co/rastercodecs-deletetag(stream,int,int).html
 
#3 Posted : Tuesday, September 13, 2022 8:48:13 AM(UTC)

Conor  
Conor

Groups: Registered
Posts: 2


Hello Randy,

Unfortunately, LEADTOOLS 16 does not support deleting tags from TIFF files through memory. Here is the documentation on the DeleteTag method https://www.leadtools.co...ercodecs~deletetag.html. Note that it must take a string as the first parameter for the file name.

However, we do support this functionality in v22, so I would suggest upgrading to v22. You can try it out for free with our LEADTOOLS Evaluation License here https://www.leadtools.com/downloads.

Here is a link to the documentation of the functionality you are looking for:
https://www.leadtools.co...o/rastercodecs-deletetag(stream,int,int).html
 
#4 Posted : Tuesday, December 5, 2023 8:03:36 AM(UTC)
noramila

Groups: Registered
Posts: 12

Thanks: 4 times

Originally Posted by: randy.subers Go to Quoted Post
I have LeadTools 16. I need to remove a TIFF tag from a memory file. It appears that DeleteTag is supported for LFile but not LMemoryFile. Any suggestions?


You can save the memory file to a temporary disk file, using LMemoryFile.SaveFile, then applying the DeleteTag method with LFile, and finally reloading the modified file back into memory using LMemoryFile.LoadFile.

I hope it helps.
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.191 seconds.