New to IM and some insight is needed

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Nuttin
Posts: 3
Joined: 2015-06-23T11:51:46-07:00
Authentication code: 6789

New to IM and some insight is needed

Post by Nuttin »

HI Everyone,

I have inherited an image magick setup from a previous admin at out company and i need some insight on what i should be looking for. We have a program that was custom scripted for us that will create a unique document name/number combination in plain text format. Somehow this intergrates into Image magick and converts the text into a bar code. I have been hitting my head against the desk trying to find out how this is being done. Can someone please advise if these type of settings/configurations are saved somewhere on a local system that image magick is saved on and if so what are the files called. Based on the reading i have done so far it appears that perhaps the settings are actually written into the VB code somehow. If this is more likely the case can you advise on some keywords i should be looking for int he code?
Image
Nuttin
Posts: 3
Joined: 2015-06-23T11:51:46-07:00
Authentication code: 6789

Re: New to IM and some insight is needed

Post by Nuttin »

Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: New to IM and some insight is needed

Post by Bonzo »

Try looking for "convert" in your VB code, it could also be something like "C:\Program Files\ImageMagick-6.9.1-Q16\convert.exe"
Nuttin
Posts: 3
Joined: 2015-06-23T11:51:46-07:00
Authentication code: 6789

Re: New to IM and some insight is needed

Post by Nuttin »

HI and thank you for the reply. I was able get the code segment invoking IM and here it is. I suspect however that the version we had been using 6.6.7-6-Q8 has different parameters(switches) than the version we are using on our updated server which is running 6.8.9-8-Q16. Can anyone help shed some light on if these are changed in the usage between the versions and how to get them working again under the new version?

Dim IM As New ImageMagickObject.MagickImage()

Dim o As Object() = New Object() {tempDoc, "-monochrome", "+dither", "-compress=Group4", "-density=200", tempDoc}

IM.Convert(o)

bm.RotateFlip(RotateFlipType.Rotate90FlipNone)
bm.Save(tempDoc, ImageFormat.Tiff)
Post Reply