Missing method for GDPictureimaging dot net

Discussions about image processing and document imaging.
Post Reply
Allanxxx
Posts: 7
Joined: Tue Jan 22, 2008 6:21 am

Missing method for GDPictureimaging dot net

Post by Allanxxx » Wed Mar 27, 2019 11:46 pm

Hi, I successfully tested a Powershell script to modify a TIF image in one windows Machine but when I try it on another I get a message saying:

[GdPitcure14.GdPictureImaging] does not contain a method named 'new'

Here is the code:
---------------------------------------------------------------------------------------------------
add-type -Path "C:\users\allan martin\desktop\GdPicture.NET.14.dll"
$GB = [GdPicture14.GdPictureImaging]::new()
---------------------------------------------------------------------------------------------------

This works on one machine and it auto fills after the '::' to give me three options (Equals, new, ReferenceEquals)
however on the other machine it only auto fills after the '::" with 2 options (Equals, ReferenceEquals).
I added 2 screenshots attached.
I checked both dot net versions in the windows registry and they both say: v4.0.30319

Sorry but not experienced with dot net.
Attachments
dotnetworks.jpg
dotnermissingoption.jpg

Allanxxx
Posts: 7
Joined: Tue Jan 22, 2008 6:21 am

Re: Missing method for GDPictureimaging dot net

Post by Allanxxx » Thu Mar 28, 2019 3:58 am

Problem Resolved.
The issue is the distribution of GDPicture DLL files.

I thought all I need to do was copy GdPicture.Net.14.dll over to the other machine but I need to copy GdPicture.NET.14.filters.64.dll and GdPicture.NET.14.image.gdimgplug.dll as well.

This is clearly mentioned in the redistribution documentation as stated in:

https://guides.gdpicture.com/content/Re ... e.NET.html

So, in summary; copy the three files over and you're good to go.

Gabriela
Posts: 378
Joined: Wed Nov 22, 2017 9:52 am

Re: Missing method for GDPictureimaging dot net

Post by Gabriela » Thu Mar 28, 2019 11:08 am

Hi,

I'm happy the issue is resolved. We always recommend reading the documentation at first.
Let us know if you find anything we can improve in this area. Thank you.
Kind regards,

Gabriela
GdPicture Team

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests