Closed ghost closed 6 years ago
I used a image for testing, randomly deleted some bytes from the copy of that image, wanted to make a patch from the broken image to the original one.
Use python and bsdiff4 to write the patch bytes into a file, found its size is bigger than patch file generated from bsdiff command.
But using bspatch command to patch the modified image with python generated patch do works without problem.
Is this normal? thanks.
seems a compression level issue
Environment
I used a image for testing, randomly deleted some bytes from the copy of that image, wanted to make a patch from the broken image to the original one.
Use python and bsdiff4 to write the patch bytes into a file, found its size is bigger than patch file generated from bsdiff command.
But using bspatch command to patch the modified image with python generated patch do works without problem.
Is this normal? thanks.