Search:
Type: Posts; User: vanselm
Search:
Search took 0.03 seconds.
-
August 3rd, 2011, 07:50 AM
Hello again,
I have figured out that the error ocurres, if the stride (width * BytePerPixel) of the image is not a multiple of 4. For example, width = 90, with 24RGB format leads to stride = 90*3...
-
August 2nd, 2011, 08:43 AM
Hello,
I try to use the GDI function "SetDIBitsToDevice", which I call via P/Invoke:
[DllImport("gdi32.dll", EntryPoint = "SetDIBitsToDevice", SetLastError = true)]
public static extern...
-
July 29th, 2011, 05:59 AM
Problem solved!
For your interest, the problem was caused by the kind of how getting the image data from file.
I use the GetDIBits() function now and there are no problems for displaying images...
-
July 29th, 2011, 04:42 AM
Thanks for your reply.
Unfortunately, it does not solve my problem because both padding algorithms are correct. It does not matter, whether I use your suggested algorithm or mine, the results are...
-
July 28th, 2011, 10:51 AM
Hello,
I have already searched on the Internet about how to align each line of the bitmap data, so that it is displayed correctly. The lines must be a multiple of 4 Byte. I also tried to do so,...
-
June 21st, 2011, 07:40 AM
Actually, I'm using another library now (libjpeg-turbo). But I'm still curious how could I do it with the jpeglib library. So if you know how to achieve it, you can post your solution here.
-
June 17th, 2011, 01:35 AM
Hello Mike,
the quality factor of 100 does not mean that there is no compression at all. The size of the compressed image (at factor 100) is about 200kByte, where the original raw image is about 1...
-
June 16th, 2011, 09:54 AM
Now, I'm using the current version of the JpegLib ( release 8c of 16-Jan-2011). Is libjpeg-turbo really faster than release 8c?
At the moment, I try to evaluate the Intel IPP library. I would like...
-
June 16th, 2011, 04:20 AM
Hello,
I ran into the problem that the jpeg compression by means of JPEGLIB lasts too long, so that a real-time compression is not possible.
My task is to capture video frame via an USB camera,...
-
I don't want to include header1 into header3 because I would like to separate the class of header3 from the vendor specific API in header1. So that I can use devices of different vendors over my Api...
-
Hello,
I ran into the following problem:
I have implemented an API, consisting of C-Api, Manager, BaseClass and the concrete working classes derived from the BaseClass. One of this "concrete"...
-
Hello,
since I loose the control of my application, as soon as I start the compression/decompression process of the incoming image frame (from the usb camera), I tried to implement the compression...
-
Hello,
I'm using the jpeg library from IJG in order to compress the raw data from usb camera and decompress and display it at the end of my procedure.
I hope that there are some of you, who has...
-
Thank you for helping, Olivthill!
Your first response was helpful. Actually, I thought, I have to implement the jpeg_memory_dest by myself, but I have found out that it is already done in the new...
-
Hello,
Is it possible to manage the compression procedure in that way that the compression is done step by step, with increasing quality until certain data size is reached, then the compression...
-
Is it possible to manage the compression procedure in that way that the compression is done step by step, with increasing quality until certain data size is reached, then the compression should stop?...
-
April 29th, 2011, 08:39 AM
You can display a byte array with manually defined RGB values with the following code:
[code]
int width = 320;
int height = 240;
byte[] imageData = new...
-
April 29th, 2011, 08:33 AM
Have you solved your problem?
I would like to do the same thing, that is to compress every bitmap frame without saving it into a jpg file and at the end of my process chain, show the compressed...
-
April 20th, 2011, 10:21 AM
Hello gurus,
could you please help me with my goal? I would like to compress the incoming raw image data (bitmap) from the usb camera in order not to stress the RAM memory. My first thought is...
-
April 12th, 2011, 02:55 AM
Hello,
I wanted to display a bitmap data within a Picture Control. For that, I implemented the visualization on the one hand by means of <b>setDIBitsToDevice()</b>, where the image data in array...
|
Click Here to Expand Forum to Full Width
|