Find Jobs
Hire Freelancers

Create thumbnails from clipboard / pure Visual Basic 6.0

$30-250 USD

In Progress
Posted about 14 years ago

$30-250 USD

Paid on delivery
Context: The required Visual Basic 6.0 function will be part of a PowerPoint COM Add-In. Either a single PowerPoint slide or several shapes will be copied to the clipboard by the Add-In. In both cases, PowerPoint automatically generates a bitmap representation of the slide / shapes in the clipboard. Project description: The required function needs to generate a .png thumbnail from the PowerPoint-generated bitmap clipboard contents (single slide / multiple shapes). Input parameters: - Width and height of thumbnail (in pixels) - Path to thumbnail file - Background color as RGB value (applies if original aspect ratio is not equal to thumbnail aspect ratio) Output: - .png thumbnail saved to specified path on disk - Downsizing in high quality incl. anti-aliasing (use GDI+) - Original aspect ratio is to be maintained - If original aspect ratio is not equal to thumbnail aspect ratio, contents are to be centered horizontally / vertically - Function to return true if thumbnail has been created successfully, false otherwise Further requirements: - Documented Visual Basic 6.0 source code - Single .bas module, no forms, no classes - Pure VB6, standard Windows API and [login to view URL], no other components (.dll, .ocx) are to be used - No temporary files are to be created (all intermediate operations need to happen in memory, not on disk) - Clipboard is to be cleared after reading bitmap Pseudo code: Public Function CreateThumbnail(Width as Integer, Height as Integer, BackColor as Long, Path as String) as Boolean OpenClipboard Bitmap = GetBitmapFromClipboard() ClearClipboard CloseClipboard PNG = CreateThumbnail(Bitmap, Width, Height, BackColor) 'Maintain aspect ration and center horizontally / vertically SavePNGtoPath PNG, Path CreateThumbnail = success 'return true if thumbnail was created successfully, otherwise false End Function Milestone payments: 1. Fully functional sample .exe which creates thumbnail from clipboard and saves it to disk as .png (test dimensions: 150x100 pixels) 2. Fully documented source code
Project ID: 650937

About the project

3 proposals
Remote project
Active 14 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Dear Sir, Please see your PMB for a sample. Regards.
$180 USD in 3 days
5.0 (10 reviews)
5.0
5.0
3 freelancers are bidding on average $200 USD for this job
User Avatar
11 years of experience in development proyects, Microsoft Certified MCP, MCTS, MCPD, MCT.
$220 USD in 10 days
4.6 (6 reviews)
4.2
4.2
User Avatar
Dear Sir, see PMB.
$200 USD in 5 days
0.0 (1 review)
0.0
0.0

About the client

Flag of GERMANY
Bietigheim-Bissingen, Germany
5.0
13
Payment method verified
Member since Sep 13, 2009

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.