Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
6628 Discussions

C# ttippi.exe example - completely gray output

msjuniorc
Beginner
229 Views

Good afternnoon all,

I was successful in downloading IPP v. 6 and to get the C# examples compiled and running both with the supplied build batch files and by importing the appropriate files in VS 2008. Hence no complaints anf an ... almost happy customer. :-)

My issues arise when I try to handle large (> 1024x768) images. For some reason the output jpeg is always gray.

In attempting to isolate the problem I have saved the bitmap obtained from the jpeg import. The bitmap looks fine and therefore the issue must reside in the "saving" part. More specifically in either the buffer or the encoder. THe buffer is created dynamically and looks fine sizewise. Any help or insight would be greatly appreciated.

Thank you all in advance,

msjuniorc

PS attached is an example of image that doesn't work.

0 Kudos
1 Solution
Albert_Stepanov
New Contributor I
229 Views
Hi msjuniorc,
Great thanks for your information about this issue. It's really our issue in the unsafe codes interconnected with GC when it performs a collection in order to free some memory. And some pins of pointers were fixed to the previous locations of the objects. This issue will revised in next release of sample. As a workaround you can use the attached corrected file encoder.cs
Thank you again.
Regards,
Albert
PS: your thread "C# SaveJPEG example" is the same

View solution in original post

4 Replies
Albert_Stepanov
New Contributor I
230 Views
Hi msjuniorc,
Great thanks for your information about this issue. It's really our issue in the unsafe codes interconnected with GC when it performs a collection in order to free some memory. And some pins of pointers were fixed to the previous locations of the objects. This issue will revised in next release of sample. As a workaround you can use the attached corrected file encoder.cs
Thank you again.
Regards,
Albert
PS: your thread "C# SaveJPEG example" is the same

Albert_Stepanov
New Contributor I
229 Views
Attachment

msjuniorc
Beginner
229 Views

Thank you!

Will let you know shortly the results.

msjuniorc.

msjuniorc
Beginner
229 Views

Albert,

thank you again, it all works like a charm.

msjuniorc

Reply