Skip to content

[Bug] Unable to extract and export 16,777,216 color values from a single image containing all possible colors #450

@vavavr00m

Description

@vavavr00m

What is the bug?

ColorPicker Max image extractor:

  • crashes when precision (pixels to ignore) is set to 0
  • hangs when precision (pixels to ignore) is set to 1 and the number of colors to display to 16,777,216 (may be a system/patience limitation haha)
  • hangs when exporting colors to CSV if image contains 16,777,216 colors

Does it support multithreading? What is the minimum system requirements to be able to handle extracting and exporting all 16,777,216 color values considerably fast? The system it was tested on has the ff specs:

AMD Ryzen 5 2600
32GB RAM

How to reproduce the bug?

crashes when Precision (pixels to ignore) is set to 0

  1. Download the png from this website http://www.brucelindbloom.com/index.html?RGB16Million.html
  2. Go to Image Extractor
  3. Set Precision (pixels to ignore) to 0
  4. Set the number of colors to display to 16,777,216
  5. Drag RGB16Million.png onto the program
  6. Press Extract and it will force close
  • Repeat process but this time set the number of colors to display to 10 and the program will still crash
  • Repeat process but this time change image to a black and white image, set the number of colors to display to 1 and the program will still crash

hangs when Precision (pixels to ignore) is set to 1 and the number of colors to display to 16,777,216

  1. Download the png from this website http://www.brucelindbloom.com/index.html?RGB16Million.html
  2. Go to Image Extractor
  3. Set Precision (pixels to ignore) to 1
  4. Set the number of colors to display to 16,777,216
  5. Drag RGB16Million.png onto the program
  6. Press Extract > will just be loading endlessly (waited for at least 6 hours)
  7. Repeat process except for waiting for at least 6hrs but this time set the number of colors to display to 100,000 and the program will hang
  • Repeat process except for waiting for at least 6hrs but this time set the number of colors to display to 30,000 and it will slow down your PC for a while but it will produce an output, however, program becomes unpredictable. 1st run - completed (untimed) and was able to scroll down/up
    2nd run - crashed after pressing Export several times
    3rd run - took 9m 35s to complete but hanged after producing the output.
  • Repeat process except for waiting for at least 6hrs but this time set the number of colors to display to 500, 10,000 or 20,000 and then it will work after waiting for a bit

hangs when exporting colors to CSV if image contains 16,777,216 colors

  1. Download the png from this website http://www.brucelindbloom.com/index.html?RGB16Million.html
  2. Go to Image Extractor
  3. Set Precision (pixels to ignore) to 1
  4. Set the number of colors to display to 16,777,216
  5. Drag RGB16Million.png onto the program
  6. Press Extract
  7. Press Export to CSV
  8. Tick Include frequence (also tried without)
  9. Press Export
  10. Name the file
  11. Press Save > will just be loading endlessly (waited for at least 20 minutes)
  • Repeat process but this time set the number of colors to display to 10,000, 1,000, 5 or 1 and the program will still hang

Screenshots

No response

Operating System

Windows 11

What is the version of the operating system?

No response

What is the version of the software?

v6.6.0.2501

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions