ImHex
ImHex copied to clipboard
[Feature] Exporting selections to a file on disk/in a new tab
What feature would you like to see?
It would be nice if I could right-click a (selection in the hex editor, item in the Pattern Data window, etc) and in addition to being able to copy data, have two other options: "Export to file" and "Export to new tab".
How will this feature be useful to you and others?
When working with archives, it's often a case that you have one chunk that you've managed to extract cleanly but need to further process (decrypt, decompress, etc) for your work.
Right now what you have to do is
- Copy as base64 string
- paste that into a text file
- unbase64 the text file
- open the new binary in imhex
what this would mean for people is
- right click, selection to new tab
- there is no step 2
Request Type
- [ ] I can provide a PoC for this feature or am willing to work on it myself and submit a PR
Additional context?
No response
when you right click on a selection you should see the option to "open selection view" which is the "export to new tab" that you are asking for. Once the tab has been opened you can save its content to a file using File>Save as which will accomplish the "export to file" that you are seeking.
"open selection view" English sucks. Open selected in new tab or Open selection in new tab would be "better" but that's a lot of text to put in a menu, so I get it. Just happy I now know what its called, where to find it and how to use it. Thanks.
Yeah I'm also not completely happy with the current naming either. I'll gladly change the name to something better if I find something
Suggesting the following:
- Isolate in new view (or just "Isolate Selection")
- Selection to new View
- New View from Selection
- Open selection in new View
To make things easier, in English it's helpful to pick a consistent verb-noun agreement. Mostly it boils down to do you verb your nouns ("Copy Selected") or are your nouns verbed on ("Selection to Clipboard")