Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

ImageList format in dfm

spinspin Member Posts: 4
I streamed the data from an ImageList into a file and found that nothing could recofnize it. I then looked at the file and found a "pre-header" to a bitmap, which I stripped away and looked at it again.

The Delphi bitmap component had no trouble in looking at it, but nothing else could display it (paintbrush photoshop, etc.), so, what goes?

Does anyone know the format of the imagelist? I can guess some of the "pre-header", but not all of it. Can anyone help? And what happened to the original bitmap?


spin

Comments

  • zibadianzibadian Member Posts: 6,349
    : I streamed the data from an ImageList into a file and found that nothing could recofnize it. I then looked at the file and found a "pre-header" to a bitmap, which I stripped away and looked at it again.
    :
    : The Delphi bitmap component had no trouble in looking at it, but nothing else could display it (paintbrush photoshop, etc.), so, what goes?
    :
    : Does anyone know the format of the imagelist? I can guess some of the "pre-header", but not all of it. Can anyone help? And what happened to the original bitmap?
    :
    :
    : spin
    :
    :
    Did you stream the entire list to file or just 1 bitmap from the list?
  • spinspin Member Posts: 4
    : Did you stream the entire list to file or just 1 bitmap from the list?

    The streaming was actually done with the dfm, converted to text, then my program reconverted into binary data, chopped of everything before the "BM" and saved the rest.

    So, yes, it was the entire list and I could see the full thing in am image component, but in nothing else.


    spin

  • Chris BrownChris Brown USAMember Posts: 4,624 ✭✭

    < http://forcoder.org /> free video tutorials and ebooks about / Python, Delphi, R, Visual Basic .NET, Swift, Scratch, MATLAB, Go, PL/SQL, Ruby, Java, JavaScript, Visual Basic, C#, Assembly, Objective-C, C++, C, PHP, Perl SAS, Scala, FoxPro, Lua, COBOL, VBScript, ML, Fortran, LabVIEW, Hack, Crystal, Clojure, Erlang, ABAP, F#, Transact-SQL, D, Alice, Julia, Lisp, Logo, Scheme, Awk, Rust, Bash, Kotlin, Ada, Dart, Apex, Prolog / __

Sign In or Register to comment.