Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » [SOLVED] accessing pixels in JPEG created from memory buffer
Re: accessing pixels in JPEG created from memory buffer [message #21416 is a reply to message #21414] |
Tue, 19 May 2009 10:02 |
qwerty
Messages: 130 Registered: May 2006
|
Experienced Member |
|
|
ok,
I have extracted JPEG image from MJPEG stream, code: <a href=" http://www.ultimatepp.org/forum/index.php?t=msg&th=4396& amp; amp; amp; amp;start=0&" target="_blank"></a> .
There is JPEG_data, which contains data. When I put them to file and add '.jpeg' extension, file is accepted by picture viewer.
I written it to file just to be sure, that data has right format.
now.
I want this data, JPEG_data convert somehow to a state, where I can manipulate with them, like I am manipulating with BMP-like data. uncompress somehow.
so, for example, I want to write something similar like MyPictureFromJPEG.pixels[x][y] = ColorRED; etc.
I have no code, I have just String of data and don't know, how to decompress and work with them, like I said.
(don't want to do it with external library, when I can do it in U++, for now)
I want to convert them to OpenCV library, but this I can handle, when I will be in THAT state.
thank you and sorry for my english, I am quite tired today.
[Updated on: Tue, 19 May 2009 10:05] Report message to a moderator
|
|
|
|
|
[SOLVED] accessing pixels in JPEG created from memory buffer
By: qwerty on Mon, 18 May 2009 23:41
|
|
|
Re: accessing pixels in JPEG created from memory buffer
By: koldo on Tue, 19 May 2009 09:00
|
|
|
Re: accessing pixels in JPEG created from memory buffer
By: qwerty on Tue, 19 May 2009 10:02
|
|
|
Re: accessing pixels in JPEG created from memory buffer
By: mrjt on Tue, 19 May 2009 10:25
|
|
|
Re: accessing pixels in JPEG created from memory buffer
By: qwerty on Tue, 19 May 2009 10:58
|
|
|
Re: accessing pixels in JPEG created from memory buffer
By: koldo on Tue, 19 May 2009 14:00
|
|
|
accessing pixels in JPEG created from memory buffer
By: qwerty on Tue, 19 May 2009 14:40
|
|
|
Re: accessing pixels in JPEG created from memory buffer
By: mirek on Tue, 19 May 2009 16:13
|
|
|
Re: accessing pixels in JPEG created from memory buffer
By: mrjt on Tue, 19 May 2009 18:33
|
|
|
Re: [SOLVED] accessing pixels in JPEG created from memory buffer
By: koldo on Tue, 19 May 2009 21:34
|
Goto Forum:
Current Time: Sat Apr 27 12:31:42 CEST 2024
Total time taken to generate the page: 0.04424 seconds
|