hydrusnetwork / hydrusnetwork/hydrus

File filter: 'number of pixels'

Open
#2,016 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature-request
Dominant language
Python
Stars
3.2k
Forks
207
PR merge metrics
No merged PRs in 30d

Description

During file import, we hit the 'file filtering' stage of import and the options given are e.g. min/max filesize, resolution, etc. Instead of a min/max resolution, could we also have a min/max "number of pixels", much like the system:number of pixels filter?

This is useful if for example I don't care whether it's a horizontal or vertical image, but I do care that it's a high enough resolution to be worth importing.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the file filtering stage of import and compare the existing min/max filesize and resolution filters with the system:number of pixels filter. Done means import filtering accepts minimum and maximum pixel-count limits and handles horizontal and vertical images according to those limits.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
57/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.