Find Jobs
Hire Freelancers

Capture Screenshot Google Chrome windows

$750-1500 USD

En curso
Publicado hace casi 9 años

$750-1500 USD

Pagado a la entrega
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](); }
ID del proyecto: 7716842

Información sobre el proyecto

9 propuestas
Proyecto remoto
Activo hace 9 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
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 en 5 días
5,0 (4 comentarios)
4,3
4,3
9 freelancers están ofertando un promedio de $867 USD por este trabajo
Avatar del usuario
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 en 0 día
4,9 (252 comentarios)
7,7
7,7
Avatar del usuario
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 en 0 día
4,9 (75 comentarios)
6,9
6,9
Avatar del usuario
ya this is possible and i can do this
$1.111 USD en 5 días
4,9 (36 comentarios)
5,6
5,6
Avatar del usuario
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 en 5 días
5,0 (20 comentarios)
4,7
4,7
Avatar del usuario
Предложение еще не подано
$944 USD en 3 días
5,0 (6 comentarios)
3,0
3,0
Avatar del usuario
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 en 3 días
4,9 (9 comentarios)
2,8
2,8

Sobre este cliente

Bandera de BRAZIL
bruklin, Brazil
5,0
3
Forma de pago verificada
Miembro desde ago 3, 2014

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.