Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test is only testing empty file #3

Open
kennyhyun opened this issue Jul 14, 2023 · 0 comments
Open

test is only testing empty file #3

kennyhyun opened this issue Jul 14, 2023 · 0 comments

Comments

@kennyhyun
Copy link

corrupted is just empty file.

image

this should test actually corrupted image

by cutting legit jpeg file into half like

$  dd count=10 if=image.jpg of=corrupted.jpg
10+0 records in
10+0 records out
5120 bytes (5.1 kB, 5.0 KiB) copied, 0.00222831 s, 2.3 MB/s
$

BTW, I believe corrupted jpeg is like what mentioned below

https://stackoverflow.com/questions/46802866/how-to-detect-if-the-jpg-jpeg-image-file-is-corruptedincomplete/46809226#46809226

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant