Find Jobs
Hire Freelancers

Capture Screenshot Google Chrome windows

$750-1500 USD

In Progress
Posted almost 9 years ago

$750-1500 USD

Paid on delivery
As all you know, PrintWindow api give us a black image when us want a capture screenshot of Google Chrome window. So, a friend said me that a possible solution for this problem is: Reduce Google Chrome window for -1px in both sides and after this, reset to original size. And so, will repaint again. Based on code below, someone could help me make this? sincerely I don't know where begin. ================================================================== [DllImport("[login to view URL]", SetLastError = true)] static extern IntPtr FindWindow(string lpClassName, string lpWindowName); [DllImport("[login to view URL]", SetLastError = true)] static extern IntPtr FindWindowEx(IntPtr hwndParent, IntPtr hwndChildAfter, string lpszClass, string lpszWindow); [DllImport("[login to view URL]")] private static extern IntPtr GetDC(IntPtr WindowHandle); [DllImport("[login to view URL]")] private static extern void ReleaseDC(IntPtr WindowHandle, IntPtr DC); [DllImport("[login to view URL]")] private static extern IntPtr GetWindowRect(IntPtr WindowHandle, ref Rect rect); [DllImport("[login to view URL]", SetLastError = true)] [return: MarshalAs([login to view URL])] static extern bool PrintWindow(IntPtr hwnd, IntPtr hDC, uint nFlags); [StructLayout([login to view URL])] private struct Rect { public int Left; public int Top; public int Right; public int Bottom; } public static Bitmap Capture(IntPtr handle) { Rect rect = new Rect(); GetWindowRect(handle, ref rect); Bitmap Bmp = new Bitmap([login to view URL] - [login to view URL], [login to view URL] - [login to view URL]); Graphics memoryGraphics = [login to view URL](Bmp); IntPtr dc = [login to view URL](); bool success = PrintWindow(handle, dc, 0); [login to view URL](dc); return Bmp; } private void button1_Click(object sender, EventArgs e) { IntPtr WindowHandle = FindWindowEx([login to view URL], [login to view URL], "Chrome_WidgetWin_1", null); Bitmap BMP = Capture(WindowHandle); [login to view URL]("C:\[login to view URL]"); [login to view URL](); }
Project ID: 7716842

About the project

9 proposals
Remote project
Active 9 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
Hi I can help you with your project. Sorry I can fix your current code because I use a different method. what is your goal? capture a screenshot of a fullscreen? or just create a component that allow you to capture a screenshot of the coordenates you send it?
$1,250 USD in 5 days
5.0 (4 reviews)
4.3
4.3
9 freelancers are bidding on average $867 USD for this job
User Avatar
I have done this before. let me know once you are back so that i can help. please check my feedback and portfolio. i have done awesome work in teh past
$750 USD in 0 day
4.9 (252 reviews)
7.7
7.7
User Avatar
Hi, I am expert developer with years of experience in various WinApi areas, also in capturing screens and images. I can prepare a small proof of concept for you and send it. Also price for it may be lower than what you set (depending on work involved, even below 200). BTW if you need to capture some web page image I may be able to help there (to completely automate this process).
$750 USD in 0 day
4.9 (75 reviews)
6.9
6.9
User Avatar
ya this is possible and i can do this
$1,111 USD in 5 days
4.9 (36 reviews)
5.6
5.6
User Avatar
Hi, I can do it in 2-3 days. I have a good skill in C++ & C# developments. Especially C/C++ & C# programming is my one of best skill and I am sure that I can finish this project successfully. - My needs * Before discuss about this job, Don't award me. * When award me, I hope you pay some for this job. Thanks
$750 USD in 5 days
5.0 (20 reviews)
4.7
4.7
User Avatar
Предложение еще не подано
$944 USD in 3 days
5.0 (6 reviews)
3.0
3.0
User Avatar
Hi, This project could have been done for a lesser price. It is just that you need to make a platform invoke call. Please provide me an opportunity to work on this. I can assure you of timely completion of task with good quality. Expecting a quick and positive reply from your side. Thanks & Regards Himanshu
$750 USD in 3 days
4.9 (9 reviews)
2.8
2.8

About the client

Flag of BRAZIL
bruklin, Brazil
5.0
3
Payment method verified
Member since Aug 3, 2014

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.