What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » function to resize a picture

function to resize a picture
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: function to resize a picture
How knowledgable are you with scripting? You are wanting to look at Gdip and GdipGetImageThumbnail which will allow you to resize the image in memory to be saved.

Try out some code because for us to just give you the code you will never learn.

Here are a good chunk of the functions you will need to complete such a task (in no particular order):

  • GdiplusStartup
  • GdiplusShutdown
  • GdipLoadImageFromFile
  • GdipCreateBitmapFromHBITMAP
  • GdipGetImageThumbnail
  • GdipCreateHBITMAPFromBitmap
  • CLSIDFromString
  • CLSIDFromString
  • GdipSaveImageToFile
  • DeleteObject

Best of luck!
12-12-2008 01:57 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
function to resize a picture - by Guena on 12-12-2008 at 10:46 AM
RE: function to resize a picture - by matty on 12-12-2008 at 01:57 PM
RE: function to resize a picture - by Guena on 12-12-2008 at 04:30 PM
RE: function to resize a picture - by matty on 12-12-2008 at 05:09 PM
RE: function to resize a picture - by matty on 12-15-2008 at 02:01 PM
RE: function to resize a picture - by Guena on 12-15-2008 at 02:25 PM
RE: function to resize a picture - by matty on 12-15-2008 at 03:38 PM
RE: function to resize a picture - by Guena on 12-15-2008 at 05:09 PM
RE: function to resize a picture - by matty on 12-15-2008 at 05:32 PM
RE: function to resize a picture - by Guena on 12-18-2008 at 01:09 PM
RE: function to resize a picture - by matty on 02-04-2009 at 02:05 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On