Subject: mailing-list for TeXmacs Users
List archive
From : Massimiliano Gubinelli <address@hidden>- To: Michele Cirillo <address@hidden>
- Cc: address@hidden
- Subject: Re: [TeXmacs] Reproduce "raw-data" sequence number from an image
- Date: Tue, 27 Mar 2018 09:37:36 +0200
I just mention for completeness that you are not obliged to embed the images like that, you can simply instruct TeXmacs to link at the external png files. It would work fine to produce PDF for example.
Best
mg
On 27. Mar 2018, at 02:59, Michele Cirillo <address@hidden> wrote:I solved with the command "xxd -p /path/to/image.png"Thank you!Michele2018-03-26 20:08 GMT+02:00 Michele Cirillo <address@hidden>:Hi everybody!
I noticed that if I open a .tm file with gedit, nano, ecc., the generic image
is represented by a text line like:
<image|<tuple|<#89504E470D0A1A0A0000000D49484452000000..............>|png>|
25px|25px||>
namely:
(a) there is a prefix "#89504E470D0A1A0A0000000D49484452000000"
(b) and the a number sequence ".............." that depends on the image.
I need to reproduce a such text line automatically from the image file!
My difficulty is to get the number "#89504.............." from the .png file.
The command "hexdump /path/to/image.png" does not reproduce the same number
sequence.
How have I convert the binary .png file in the exact way?
Thank you!
Michele
- [TeXmacs] Reproduce "raw-data" sequence number from an image, Michele Cirillo, 03/26/2018
- Re: [TeXmacs] Reproduce "raw-data" sequence number from an image, Michele Cirillo, 03/27/2018
- Re: [TeXmacs] Reproduce "raw-data" sequence number from an image, Massimiliano Gubinelli, 03/27/2018
- Re: [TeXmacs] Reproduce "raw-data" sequence number from an image, Michele Cirillo, 03/27/2018
Archive powered by MHonArc 2.6.19.