Small problem with API for Visual Basic (resize)

ImageMagickObject is a Windows COM+ interface to ImageMagick. COM+, Visual Basic, and Delphi users should post to this discussion group.
Post Reply
ziofil

Small problem with API for Visual Basic (resize)

Post by ziofil »

Hi all!!! My name is Filippo and i ve just logged for the first time to this forum. Compliments to the community!
I m Italian so sorry if my English is probably not 100% correct.

I ve to ask you a solution to a little problem I found working on ImageMagick API for VB.
I need to understand what is the exact code to resize images thru the ImageMagick API for Visual Basic. I found some example in the web but no one of these wants to work!!!
Please help me! I m stopped by this (i think small) problem.
Waiting for Your reply, thank you very much!!! :D
ziofil

Re: Small problem with API for Visual Basic (resize)

Post by ziofil »

Up Please! :D
MoBO

Re: Small problem with API for Visual Basic (resize)

Post by MoBO »

Hi Filippo,

you can check my thread here ; viewtopic.php?f=8&t=13295

This will give you some ideas.

The code is ;

Code: Select all

MSGS = img.Convert("-resize", "x128", BMP, JPN)
Where ;
  • "-resize" = the action made
    "x128" = the final size
    "BPM" = the source image
    "JPN" = the destination image
The best is to test with the command line and then adapt to VB by separating all the command with " and ,

Again, check my samples.
Another note ; I still have some trouble sometimes so... keep trying ;o)
Post Reply