Subject: mailing-list for TeXmacs Users
List archive
From : Michele Cirillo <address@hidden>- To: address@hidden
- Subject: Re: [TeXmacs] Reproduce "raw-data" sequence number from an image
- Date: Tue, 27 Mar 2018 02:59:02 +0200
I solved with the command "xxd -p /path/to/image.png"
Thank you!
Michele
2018-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.