- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am using IPP 5.0 with CJPEGEncoder and CJPEGDecoder classes.
Does someone know if it is possible with IPP to merge (or join, or concatenate...) two JPEG images into one larger JPEG image? (without having to uncompress and recompress the data.)
Thanks
JF
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
what do you mean under merging of two images? If you need just concatenate two binary files you can use comand "copy /B fileA.bin + /B fileB.bin fileC.bin". It will combine fileA with fileB and store merged file in fileC.
If you want to merge content of two images you need to decompress images combine them and after that compressthis new image.
Regards,
Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your answer.
I want to merge the content of two images. I could use two memcpy to do that, but the resulting binary file won't be a JPEG image, and I would need to have a Readerapplication to read and decode the merged image.
I will have to think about something else... (I don't have time to uncompress and recompress...)
Thanks anyway
JF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You have to at least decompress to quantized DCT coefficients (means to do huffman decoding). Otherwise - no way to do that.
Vladimir
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page