reading jpeg file based on Mirror Effect,Brightness and zoom Level
I am working on the gateway Simulator where Simulator will stream image/video to Data center I have JPEG file for 30 min(lot of individual JPEG images).
Data Center Center can request video/Image with varying value of these parameter.
Image Option 1. Mirror Effect (None,Column,Row,Row / Column) 2. Brightness (Normal,Intense Light,Low Light,MAX) 3. Zoom Level (1X, 2X, 4X, 8X)Capture mode
Single S开发者_JS百科napshot- requests one image from the camera
Burst Number- NUMBER will gather N (1-65535) number of images from the camera
Burst Second-option produces a stream of images and will go until a CancelImageRequest command is sent
Continuous- option produces a stream of images and will go until a CancelImageRequest command is sent
Round-Robi-, is a mode to allow the user to get a single snapshot from each active and selected sensor Schedule Continuous- THis is similar to Continuous except timing.Now I need to read JPEG files based above mentioned option and send it to data center.
- I wanted to how I can enforce these Image option while reading the data.
- is there any Api which will allow reading JPeg imges on following Image option.
- If you have any suggestion please go ahead.
GDI+ has an Image
class that can load JPEGs and manipulate them -
http://msdn.microsoft.com/en-us/library/ms534462%28VS.85%29.aspx
If you don't find then manipulation you're looking for you can use the Bitmap
class that ingerits from Image
and the BitmapData
class that allows you direct access to pixels
http://msdn.microsoft.com/en-us/library/ms534420%28VS.85%29.aspx
精彩评论