Click here to Skip to main content
12,353,602 members (68,312 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C++ C C#
Hi

can any1 help me out to do it plzz

i googled for it but couldn't find any helpful things,,

help me out

thanks
Posted 28-Sep-12 10:08am
Comments
Sergey Alexandrovich Kryukov 28-Sep-12 16:19pm
   
So, C++, C or C#?
--SA
ryanb31 28-Sep-12 16:23pm
   
They all start with C. Is there much of a difference? :)
Sergey Alexandrovich Kryukov 28-Sep-12 17:17pm
   
:-)
Ravi Bhavnani 28-Sep-12 16:24pm
   
What do you mean by converting the image into text?
BillWoodruff 28-Sep-12 19:48pm
   
By "converting into text:" do you mean that you create a string of characters in either ASCII or hexadecimal notation codes ?
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Not too clear on what you are trying to do, is this what you are looking for: Convert jpeg image to Byte array[^]
  Permalink  
Comments
Marcus Kramer 28-Sep-12 20:59pm
   
+5. Looks like a winner.
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

you can use Windows GDI and GDI+ functions to get bytes from every pixel of a JPEG image.
 
1.create a bitmap by loading your jpeg image.
2.retrieve bits using getbitmapbits() or getDIBits() windows GDI functions
 
Link Windows GDI:
http://msdn.microsoft.com/en-us/library/windows/desktop/dd145203%28v=vs.85%29.aspx
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160621.1 | Last Updated 12 Oct 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100