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

Feature request: Establish minimum sizes when recovering images #167

Open
springfielddatarecovery opened this issue Dec 26, 2024 · 0 comments

Comments

@springfielddatarecovery
Copy link

springfielddatarecovery commented Dec 26, 2024

We frequently use photorec in our workflow when doing file carving to recover client data. Unfortunately, photorec recovers a LOT of files which are not relevant to the end user, particularly files which are thumbnail size. For many recoveries, this is a significant portion of the recovered content, resulting in thousands or tens of thousands of small files being read from the source image, written to disk, and then they must be read again to find their size and then deleted if they don't match the criteria.

We would love to see a feature to limit the minimum size (by kb and resolution) of recovered photos. Photorec could check this prior to saving the photos, which would be a massive efficiency gain.

Relevant documentation on how to define file formats in photorec:
https://www.cgsecurity.org/wiki/Developers#Adding_a_new_file_format_to_PhotoRec

We will pay $100 USD to the first developer who can submit a PR that devs accept to implement this feature. If the devs do not respond or don't accept the feature but otherwise the PR works and meets the criteria below, we will pay the dev regardless. The developers of this projects are eligible to claim this bounty if they want. Bounty will be paid out in Bitcoin. This bounty expires 2 years from the date of this issue creation.

Bounty requirements:

  • Add a feature to photorec where user can prevent the saving/recovery of image files which are below:
    -- A minimum height
    -- A minimum width
    -- A minimum combined widthxheight
    -- A minimum size (in bytes)
  • This feature should work on the following file formats: JPG, PNG. And it should be coded in such a way that it would be copyable to other formats with minor modifications.
  • This feature should be accessible somewhere in the photorec configuration screens
  • This feature should be accessible from photorec's batch/cli mode
  • Match existing coding standards/format used in rest of Testdisk/photorec application
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