Add TODOs

This commit is contained in:
Nico Mexis 2021-07-21 12:44:33 +02:00
parent 7a5f679ac8
commit 6354e1ce15
No known key found for this signature in database
GPG key ID: 27D6E17CE092AB78
2 changed files with 3 additions and 2 deletions

View file

@ -112,6 +112,8 @@ import static the.bytecode.club.bytecodeviewer.util.MiscUtils.guessLanguage;
* ^ Easiest way to do this is to read the file header CAFEBABE on resource view
* + Add BCEL Support:
* ^ https://github.com/ptnkjke/Java-Bytecode-Editor visualizer as a plugin
* + Add animated GIF support to image viewer
* + Add drag support to images (allow not only to zoom, but also to drag the image)
*
* @author Konloch
* @author The entire BCV community

View file

@ -83,7 +83,6 @@ public class FileViewer extends ResourceViewer
if (!MiscUtils.isPureAscii(contentsAsString) || hexViewerOnly)
{
//TODO:
// + Webp?
// + Add file header checks
// + Check for CAFEBABE
// + ClassRead then quick-decompile using Pane1 Decompiler
@ -97,7 +96,7 @@ public class FileViewer extends ResourceViewer
{
canRefresh = true;
image = MiscUtils.loadImage(image, contents); //gifs fail because of this
image = MiscUtils.loadImage(image, contents);
if (image == null) {
JHexEditor hex = new JHexEditor(contents);
mainPanel.add(hex);