Search found 8 matches

by markt
2016-03-28T18:34:26-07:00
Forum: Windows COM+ & Visual Basic
Topic: ImageMagickObject - 32 vs 64 bit
Replies: 3
Views: 26451

Re: ImageMagickObject - 32 vs 64 bit

If you are running from command line on 64 bit version of windows then you can use either the 32 bit or 64 bit version of ImageMagick. The 64 bit version is probably the best option in this case. If you are using the ImageMagickObject from VB, VBA, etc. then the choice of 32 bit or 64 bit is determi...
by markt
2016-03-16T16:31:12-07:00
Forum: Windows COM+ & Visual Basic
Topic: using with VB.net 2013
Replies: 1
Views: 12426

Re: using with VB.net 2013

I just tried this simple example based on what I had in VBA using Visual Studio Community 2013, to build an x64 target, on windows 8.1 64 bit. You need to use the 64 bit version of ImageMagick if you are creating a 64 bit application. Only late binding seems to work, so objIM is defined as object in...
by markt
2016-03-14T09:30:18-07:00
Forum: Users
Topic: Extracting wrong characters from image
Replies: 3
Views: 3177

Re: Extracting wrong characters from image

Try adding an extra border around the extracted text image, I seemed to get improved recognition with Tesseract using additional 20x20 white border.
by markt
2016-02-17T09:17:36-07:00
Forum: Windows COM+ & Visual Basic
Topic: Problem using deskew with output to blob
Replies: 1
Views: 11349

Re: Problem using deskew with output to blob

Suspect this deadlock error is a bug but I found I can workaround this by adding "+repage" prior to the output to the blob.

example:-

Code: Select all

IMimage2 = Array("TIFF:")  '   Specify the image type
sArg = objIM.Convert(sPartFName, "-deskew", "40%", "+repage", IMimage2)
by markt
2016-02-17T07:05:50-07:00
Forum: Windows COM+ & Visual Basic
Topic: Using Blobs from Excel VBA
Replies: 2
Views: 14926

Re: Using Blobs from Excel VBA

It turned out to be fairly easy to convert an ImageMagick blob back to a WIA image file object. Example creates a blob from logo, creates an image file object from the blob, saves it to a file, uses the image file object to input blob to convert, then runs convert on the blob. Excel VBA:- Option Exp...
by markt
2016-02-16T11:42:52-07:00
Forum: Windows COM+ & Visual Basic
Topic: Problem using deskew with output to blob
Replies: 1
Views: 11349

Problem using deskew with output to blob

I'm taking a greyscale TIFF image from a scanner and then using ImageMagickObject to tidy the image prior to running Tesseract. Problem is that I get "Fatal User Error 1002:", "Deadlock due to omp_set_lock being called on lock already owned by thread". When I click OK to dismiss the error it crashes...
by markt
2016-02-16T11:02:52-07:00
Forum: Windows COM+ & Visual Basic
Topic: Using Blobs from Excel VBA
Replies: 2
Views: 14926

Re: Using Blobs from Excel VBA

I confirmed the samples using variant array passed to ImageMagickObject are working on Windows 7 Pro 64bit, with Excel 2007 32 bit and ImageMagickObject 32 bit. I also found it possible to take data from a WIA image file direct to ImageMagickObject instead of creating a temporary file to disk. This ...
by markt
2016-02-15T19:19:45-07:00
Forum: Windows COM+ & Visual Basic
Topic: Using Blobs from Excel VBA
Replies: 2
Views: 14926

Using Blobs from Excel VBA

I’ve had some limited success to get ImageMagickObject to work with Blobs from Excel VBA. As I could find some posts on the internet that others have been having problems with this, but none with working solutions I thought I would share the info. First I created a simple test script, based on the A...