rockcarry / ffjpeg

a simple jpeg codec.
GNU General Public License v3.0
109 stars 46 forks source link

Imaging Shift Problem #54

Open Muakjwa opened 7 months ago

Muakjwa commented 7 months ago

encode

Thank you for your work! I'm trying your code, but there is a problem to me. How can I encode my image like original image without shifting.

Thank you!

rockcarry commented 7 months ago

what do you mean imaging shifting ?

Muakjwa commented 7 months ago

The 28 pixels on the right side of the original image have gone to the left.

parrot

This is the original image The picture below is an image over 28 pixels.

parrot_0 1_X

How can I fix it??😂

rockcarry commented 7 months ago

encoding or decoding ? please give me your picture and code.

Muakjwa commented 7 months ago

Image shifting problems occur during the encoding process, and decoding does not solve the image shifting problems. ex) ../ffjpeg -e parrot.bmp

The same shifting phenomenon occurred when an image with multiple resolutions was encoded.

I've experimented with both make on Linux and mingw-make on Windows, and they both have the same problem.

Below is an another example of image shifting that occurred in order.

land encode