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, December 22, 2008 4:59:57 AM(UTC)
SpitfireUK2

Groups: Registered
Posts: 19


Hi.
I can't execute this code below. The message "Invalid file format" appears when I try to execute the method "_codecs.GetInformation ("C:\temp\diogo\image1.jpg", True)":


RasterCodecs.Startup()
_codecs = New RasterCodecs
Dim info As CodecsImageInfo
Dim wait As New WaitCursor


_viewer = New RasterImageViewer
_viewer.Dock = DockStyle.Fill
_viewer.BackColor = Color.DarkCyan
_viewer.InteractiveMode = RasterViewerInteractiveMode.Pan
Controls.Add(_viewer)

Try
info = _codecs.GetInformation("C:\temp\diogo\image1.jpg", True)

Finally
wait.Dispose()
End Try


I'm using LEADTOOLS Raster Imaging Pro for .Net EVAL 15 (Windows Application vb.NET 2008)
Thanks!

Alexandre
 

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 : Monday, December 22, 2008 5:36:25 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,328

Was thanked: 1 time(s) in 1 post(s)

Alexandre,

The problem might be related to missing filter references in your project.

To resolve this issue, you need to add the following filter DLL as reference in your project:
- Leadtools.Codecs.Cmp.dll

You can find the DLL in the following folder on your machine:
[LEADTOOLS 15 folder]\Bin\Dotnet\Win32

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
#3 Posted : Monday, December 22, 2008 5:49:02 AM(UTC)
SpitfireUK2

Groups: Registered
Posts: 19


Hi Maen. It Worked fine !!!
Thank you very much.
 
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-2020, Yet Another Forum.NET
This page was generated in 0.088 seconds.