+ Auf Thema antworten
Seite 1 von 2 1 2 LetzteLetzte
Zeige Ergebnis 1 bis 10 von 12

Thema: Mapping selected portion of the image in the HEX viewer Window or vise-versa

  1. #1
    IV Newbie vikramtheone befindet sich auf einem aufstrebenden Ast
    Registriert seit
    Feb 2010
    Beiträge
    2
    Renommee-Modifikator
    0

    Standard Mapping selected portion of the image in the HEX viewer Window or vise-versa

    Hi Irfanviewer,
    I recently started using Irfanviewer and I love it.

    I want to suggest a feature enhancement request to you, I don't know for sure if this has already been implemented or already asked by others or not.

    Here it goes -

    The viewer supports HEXView of an image, I work on the HEX view of an image a lot, well from my experience I feel that it would awesome if when a particular portion of the image is selected in the image viewer the corresponding pixel values get highlighted in the HEXView as well. With this it would be a great help to people like me who would like to know exactly what portion of the image we are viewing currently.

    Regards
    Vikram

  2. #2
    Moderator Sam_Zen befindet sich auf einem aufstrebenden Ast Benutzerbild von Sam_Zen
    Registriert seit
    May 2007
    Ort
    NL
    Beiträge
    1.908
    Renommee-Modifikator
    5

    Standard

    Seems like a good idea
    0.6180339887

  3. #3
    Moderator MItaly befindet sich auf einem aufstrebenden Ast Benutzerbild von MItaly
    Registriert seit
    Jul 2007
    Ort
    Milan, Italy
    Beiträge
    511
    Renommee-Modifikator
    4

    Standard

    This could be done with DIBs, but not with any other format (or, at least, it would be really difficult).
    IrfanPaint developer
    The latest stable IrfanPaint version is the 0.4.13.70.
    IrfanPaint is now open-source (released under BSD license).

  4. #4
    IV Newbie dorami befindet sich auf einem aufstrebenden Ast
    Registriert seit
    Feb 2010
    Beiträge
    8
    Renommee-Modifikator
    0

    Standard

    But you understand that the hexview shows a hex dump of the file content.
    In most cases the file content is packed.
    So it is impossible to get a match between the selection and hexdump.
    Even for the remaining files you need a mapper for each file format.
    How many people do you think need this?

  5. #5
    Moderator MItaly befindet sich auf einem aufstrebenden Ast Benutzerbild von MItaly
    Registriert seit
    Jul 2007
    Ort
    Milan, Italy
    Beiträge
    511
    Renommee-Modifikator
    4

    Standard

    Yes, it's exactly my point; since IV plainly loads the DIBs in memory there's a 1:1 correspondence between the file and the loaded DIB (as long as it's not modified), but when we start to talk about compressed formats (even RLE compressed bitmaps) this assumption isn't true anymore, so some (extremely complicated if not impossible) mapping has to be done. A viable alternative would be to add to the hex viewer an option to view the loaded image as it is in memory, i.e. the DIB that IV is internally using; this wouldn't be much complicated, still I don't see how could this be useful, except for debugging purposes (but when I'm debugging IrfanPaint or the JPEG2000 plugin I can already see easily all the memory with the debugger, so it wouldn't be useful even for me).
    IrfanPaint developer
    The latest stable IrfanPaint version is the 0.4.13.70.
    IrfanPaint is now open-source (released under BSD license).

  6. #6
    IV Newbie dorami befindet sich auf einem aufstrebenden Ast
    Registriert seit
    Feb 2010
    Beiträge
    8
    Renommee-Modifikator
    0

    Standard

    MItaly, I replied to vikramtheone. I know that you are understanding the technical details.

  7. #7
    Multiple User WellOiledPC befindet sich auf einem aufstrebenden Ast Benutzerbild von WellOiledPC
    Registriert seit
    Aug 2009
    Ort
    India
    Beiträge
    383
    Renommee-Modifikator
    2

    Standard

    Zitat Zitat von dorami Beitrag anzeigen
    MItaly, I replied to vikramtheone. I know that you are understanding the technical details.
    Well, MItaly began his post with "Yes, it's exactly my point:", continues to explain in great detail the difficulty of presenting Hex views for compressed files and finally, has posted what could be possible ways, with the comment that it may not be too useful. Thats a very comprehensive answer!
    Download IrfanView Help Manual from:
    IrfanView Website - Here
    Sam_Zen's Website - Here
    Author's Website - Here

  8. #8
    Moderator Sam_Zen befindet sich auf einem aufstrebenden Ast Benutzerbild von Sam_Zen
    Registriert seit
    May 2007
    Ort
    NL
    Beiträge
    1.908
    Renommee-Modifikator
    5

    Standard

    Hm, I indeed forgot about the representation of a compressed file..
    0.6180339887

  9. #9
    IV Newbie vikramtheone befindet sich auf einem aufstrebenden Ast
    Registriert seit
    Feb 2010
    Beiträge
    2
    Renommee-Modifikator
    0

    Standard

    I'm not so good at the software side so can't make out completely, but I can understand some points from your discussion.

    As far as how many people need it, well in my university I have many courses dealing with images and in almost all those projects there will be a time when many students end up using a HEXEditor. I use Notepad++ HEXEditor and when I have to find out which pixels I'm working on currently, I simply change a large set of pixel values to (BLACK OR WHITE) and look at the corresponding changes in the image.

  10. #10
    Multiple User WellOiledPC befindet sich auf einem aufstrebenden Ast Benutzerbild von WellOiledPC
    Registriert seit
    Aug 2009
    Ort
    India
    Beiträge
    383
    Renommee-Modifikator
    2

    Standard

    Well, I'm sure you're far better at programming than me, as you actually study courses dealing with images...! The difficulty, as MItaly has clearly stated, comes from the fact that JPG (and many other image format) files are highly compressed. Naturally then, the HEX views of compressed files would be completely different from that of the same, uncompressed file.

    This is a very friendly Forum and perhaps if you explain a bit about;
    1. just when you use a HEX editor on images
    2. what image format(s) you work with
    3. ultimately, what you do to the images, working with them in HEX mode
    the members here who are into programming can help...
    Download IrfanView Help Manual from:
    IrfanView Website - Here
    Sam_Zen's Website - Here
    Author's Website - Here

+ Auf Thema antworten

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Tags for this Thread

Forumregeln

  • Es ist dir nicht erlaubt, neue Themen zu verfassen.
  • Es ist dir nicht erlaubt, auf Beiträge zu antworten.
  • Es ist dir nicht erlaubt, Anhänge hochzuladen.
  • Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.