pjrinaldi / wombatforensics

linux c++, fox-toolkit, multi-threaded forensic gui tool
GNU General Public License v2.0
46 stars 12 forks source link

Image and Video Thumbnail Viewer #453

Closed pjrinaldi closed 6 months ago

pjrinaldi commented 1 year ago

Need to implement an image thumbnail viewer and a video viewer, either in the same viewer or a separate one for each.

pjrinaldi commented 1 year ago

icon list widget - big icon view might work iconcache might make loading the thumbnails easier.

pjrinaldi commented 1 year ago

working on thumbnailing missingthumb.png after pulling it into a FXPNGImage

pjrinaldi commented 1 year ago

generating image thumbnails works. generating video thumbnails works.

need to implement the image thumbnail viewer and the video thumbnailer viewer

pjrinaldi commented 1 year ago

thumbnail viewer gui shell is implemented. need to populate it. also look into using an iconcache to build a set of icons based on the thumbs folder. and then insert new ones as they are thumbnailed...

build the cache and file list on case opening. and then update file list and cache as i go, which in turn updates the iconlist.

pjrinaldi commented 1 year ago

need to separate the image thumbnail viewer from the video thumbnail viewer, so that i can get the itemspaces correct, i.e. square thumbsize for images, and rectangular thumbsizes for videos.

iconcache works but didn't load icons in iconlist, so i'll probably get rid of it...

pjrinaldi commented 1 year ago

working on splitting viewers into image and video.

pjrinaldi commented 1 year ago

viewers are split and they appear to work. I need to implement tagging and displaying the contents...

pjrinaldi commented 9 months ago

if i get a thumbnail image, and look it's there. then if i make another thumbnail image, it doesn't load until i exit whole program and then load it again, need to see how i'm loading them into the iconlist and then fix it.

pjrinaldi commented 6 months ago

cimg is saving the jpg thumbnail as a jpg rather than a png like my code states??? so it must be CImg thing?

pjrinaldi commented 6 months ago

working now. it wasn't a cimg thing, but rather a std::string + "text" and then there is now a \0text\0, which causes .c_str() to not display hte "text" due to the '\0'. So i need to do the erase call to remove the \0's so c_str() shows the full std::string properly.