Delphi - merge images to new single file and read data -


I'm looking for some sort of solution to be able to merge multiple images into a single file, and Read this again.

An example of this idea can be:

Images (JPEG, but it would be nice to support other formats. This principle basically allows any file Type can be used to merge) at the beginning (or both, beginning and again And end) are converted to hex or binary data, there will be some headers (header / footer) information, such as we file type, extension, name, and even date (although these infos already file , But I think that along with -> some anchors), so when reading a new merged file I can identify file start / end, and so should know which part is a temporary To remove the location (or preferred-memory) or to directly show it as the only original type of file type. / P>

There is no special encryption required for each file, because it is not something extra super-safe, it's just about being in one file - to read / write the file. Q. Is it worth getting in some way as I thought or not?

Thank you.

EDIT: The file will still need some basic security, it means, with a custom zip, with a custom separator, if its new filetype was created, then with a zip / rr, At least I will use security ... is not unbreakable but still safe for normal users ...

I am surprised that no one has ever mentioned this before ... Why not just use SQLite? There is a free Google-written encryption option for this, you can use Blob to store all your images, there are no additional dependencies you can keep in addition to extra fields or tables to store metadata

  • High-level question language
  • Access content
  • / Li>
  • Cross-pla
  • Atomic transaction
  • Concurrent usage by multiple processes
  • Multiple programming languages ​​
  • Better applications

    I believe that SQLite meets your needs better than any other solution, in which it is easy to implement far.

    And a personal note ... please, please, think twice, and then twice, then think again before removing another proprietary, indefinite, custom file format in the world, and Before deciding, see the pictures of Linus Torwald and Richard Stallman. :-) Those who are programming for a long time or just using a computer for a long time, all who are stuck in a file format are a horror story (or many) about the data, they remove it from Can not. Always prefer open, well-documented solutions, it will make your life and others very easy in the long run.

  • Comments

    Popular posts from this blog

    Verilog Error: output or inout port "Q" must be connected to a structural net expression -

    jasper reports - How to center align barcode using jasperreports and barcode4j -

    c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -