Jump to content

Crop an image


Recommended Posts

I want to crop a part of avatar 10 pixels bottom of image. http://img.avatars.yahoo.com/wusers/1-cItb...ge.png?.intl=us

GDIPlus?

Take a look at _GDIPlus_BitmapCloneArea() in the help file. You can specify the start point and then the area you want to clone from an image, in effect you crop it by creating a clone of a certain area.
Certifications: A+, Network+, Security+, Linux+, LPIC-1, MCSA | Languages: AutoIt, C, SQL, .NETBooks: AutoIt v3: Your Quick Guide - $7.99 - O'Reilly Media - September 2007-------->[u]AutoIt v3 Development - newbie to g33k[/u] - Coming Soon - Fate Publishing - Spring 2013UDF Libraries: SkypeCOM UDF Library | ADUC Computers OU Cleanup | Find PixelChecksumExamples: Skype COM Examples - Skype4COMLib Examples converted from VBS to AutoIt
Link to comment
Share on other sites

  • 4 years later...

Take a look at _GDIPlus_BitmapCloneArea() in the help file. You can specify the start point and then the area you want to clone from an image, in effect you crop it by creating a clone of a certain area.

Yeah, that's the right way! Very useful, thanks.

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...