rock-core / base-types

C/C++ and Ruby definition of the base types in Rock
6 stars 40 forks source link

Automatically determine size of jpeg frames #165

Closed chhtz closed 11 months ago

chhtz commented 12 months ago

Sometimes, when reading a jpeg file you don't want to fully decompress it, but keep it as compressed imaged. frame::Frame still wants to know the size of the image, which can be determined using libjpeg.

Open points:

doudou commented 12 months ago

I think this should be moved to FrameHelper as a "readJPEG" method that returns the frame.

chhtz commented 12 months ago

I added corresponding functions to FrameHelper (added a helper function to JpegConversion): https://github.com/rock-core/perception-jpeg_conversion/pull/3 https://github.com/rock-core/perception-frame_helper/pull/18

chhtz commented 11 months ago

Closing this, as the feature has been merged into FrameHelper (see links above).