lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading files as byte array


From: Jonas Hahnfeld
Subject: Re: Reading files as byte array
Date: Sun, 05 Sep 2021 21:34:20 +0200
User-agent: Evolution 3.40.4

Am Sonntag, dem 05.09.2021 um 10:23 +0200 schrieb Valentin Petzel:
> Hello,
> 
> Would it be considered okay if we included a scheme function to read a binary 
> file to a byte array?
> 
> This would be useful for correct handling of eps-files (which currently does 
> not support the actual eps specification).
> 
> Basically an eps-file appears to be mixed content, with some binary 
> information and some simple text. This seems to serve the purpose of 
> embedding 
> previews into the eps file. So an eps-file might have a binary header that 
> specifies the byte location of the PS content.

ly:gulp-file should read the contents of a file and return it as a
latin1 (basically binary) string, no? I know that it is at least used
to read binary resources into the PS backend...

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]