C++ – Is it possible to programmatically remove the restart marker from a JPEG image?

Is it possible to programmatically remove the restart marker from a JPEG image?… here is a solution to the problem.

Is it possible to programmatically remove the restart marker from a JPEG image?

Is it possible to programmatically remove the restart marker from a JPEG image?

Solution

jpegtran can be tagged with -restart N, This way it can remove them as well. Even if you can’t, it’s the right tool to modify if you want to write the feature yourself.

Related Problems and Solutions