• VitalyOP
    link
    fedilink
    arrow-up
    3
    ·
    8 months ago

    Thank you for your help this is not rude at all and very helpfull! I know about argument parsing with clap, and started thinking about it as I started to add more functional to the program

    Is resizing and image is more performant? I yes then i was wrong when coding with clusters, it’s always good to have another viewpoint for tasks like this I didn’t even think of resizing an image)

    About .len i think it’s fine as long as it works

    The width of images should be resized depending on your terminal width and height, im still not sure how i can improve it, because every image is unique

    get_brightness is a bit broken in performance right now, i will fix it later

    Thanks you for your tips, really helpfull! Дякую!

    • darcy@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      8 months ago

      :) no problem! i would assume resizing the image might be a little slower, because it creates a clone of the image, but if you use FilterType::NearestNeighbor, the speed is negligable in my opinion