Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
qwerty is currently offline  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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Optimal ctrl refresh
Next Topic: Draw package and console app error
Goto Forum:
  


Current Time: Sat Apr 27 12:31:42 CEST 2024

Total time taken to generate the page: 0.04424 seconds