Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C++ C C#
can any1 help me out to do it plzz
i googled for it but couldn't find any helpful things,,
help me out
Posted 28-Sep-12 11:08am
Sergey Alexandrovich Kryukov at 28-Sep-12 16:19pm
So, C++, C or C#?
ryanb31 at 28-Sep-12 16:23pm
They all start with C. Is there much of a difference? :)
Sergey Alexandrovich Kryukov at 28-Sep-12 17:17pm
Ravi Bhavnani at 28-Sep-12 16:24pm
What do you mean by converting the image into text?
BillWoodruff at 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
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[^]
Marcus Kramer at 28-Sep-12 20:59pm
+5. Looks like a winner.
Rate this: bad
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:

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

  Print Answers RSS
0 DamithSL 400
1 Maciej Los 222
2 OriginalGriff 213
3 BillWoodruff 130
4 Zoltán Zörgő 85
0 OriginalGriff 7,969
1 DamithSL 6,139
2 Sergey Alexandrovich Kryukov 5,449
3 Maciej Los 5,309
4 Kornfeld Eliyahu Peter 4,539

Advertise | Privacy | Mobile
Web01 | 2.8.141223.1 | Last Updated 12 Oct 2012
Copyright © CodeProject, 1999-2014
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