pjrinaldi / wombatforensics

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

Main PlainText View Window #458

Closed pjrinaldi closed 1 year ago

pjrinaldi commented 1 year ago

Convert this to a preview window, which will show plain text representation of files which are not internally parsed....

so pdf, docx, html, etc. and only do part of the file for a certain size, say 100k or some size that is quick to load and convert to plain text... pdf is page 1, html is size based, etc.

This will load while it is doing the writing to a file, make a simple function to do this rather than call GetFileContent..

maybe call it GetPreview()

pjrinaldi commented 1 year ago

working on implementing the content preview for various parsed artifacts...

then i need to implement the right mouse click hexviewer for parsable artifacts vs using ghex for unknown artifacts and then implement the double click text preview for parsable artifacts.

pjrinaldi commented 1 year ago

added all the previously parsed artifacts. img viewer is sort of working, but the image display size is super tiny, not sure why. it must be an issue with the imageview layout in the groupbox, but can't figure it out right now. will have to try. imagemagick was the slowdown for the internal image viewer window, so if i can figure out the img view display, then i can provide a preview for some image types just by reading the file into an FXImage...

pjrinaldi commented 1 year ago

image preview and video preview working. need to implement the remaining image formats and account for unsupported formats with a catch all else...

need to implement double click parsed artifacts window.

pjrinaldi commented 1 year ago

remaining image formats are implemented. need to add wait cursor for pn