Jump to content

cxImageAlt image manipulations


Will66
 Share

Recommended Posts

From the little available documentation it looks like supports those extentions as input files but it only supports saving images as bmp (0) or jpg (2) files as output.

So for input gif:

$objCxImage.Load($file,1)

output:

$objCxImage.Save(@ScriptDir & "\cximage5.bmp", 0)

or

$objCxImage.Save(@ScriptDir & "\cximage5.jpg", 2)

Edited by Will66
Link to comment
Share on other sites

  • 1 month later...

It seems that the quality of the images is not very good... I wanted to resize some 1024x768 image to 300x200 and the quality was very poor... can I increase it somehow? $objCxImage.SetJpegQuality(100) doesn't seem to work.

You are practically replacing 9 pixels with 1 pixel, chances are thats why your quality goes to crap. I'd try sizing and image down just a little bit at first, not a huge chunk, and see if the quality stays the same. Or what I did with mine, was have it "resize" it to the same size, just so I can easily see the quality differences. And when using SetJpegQuality(100) there was none that I could tell.

Link to comment
Share on other sites

  • 4 years later...

I have problems registering the dll on a windows 64 system. :oops: Is there a way to do that? Thank you!

I also seem to be having trouble registering this dll on a Windows 64 bit system, or at least Win7. Help/advice would be appreciated.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...