T O P I C R E V I E W |
N2cee |
Posted - 27/02/2024 : 19:49:04 Hi Developers, is there any chance to add a (small) image file (jpg/png/gif) to a waynotes.txt entry and display it within details page?
Best regards Claus
|
6 L A T E S T R E P L I E S (Newest First) |
N2cee |
Posted - 06/03/2024 : 21:23:44 ... ok, fully understood that you do not want to go for a non-standard file format. As LK8000 is able to display bmp files for lots of purposes, would it be an option to use that mechanism to display e.g. 'DINSLAKEN SCHWARZE HEIDE.bmp' following the text defined in WAYNOTES.TXT for the entry [DINSLAKEN/SCHWARZE HEIDE]? In case there is no corresponging bmp file in the same folfer found, just display nothing. |
brunotl |
Posted - 06/03/2024 : 09:55:53 quote: Originally posted by N2cee
Hi John,
I googled a little bit and found a 5 years old thread in LK8000 forum dealing with the cupx file support. But it stopped somewhere in the middle of 2023. My intention is the same but I appreciate to do not invent the wheel again but it seems that it is not this easy to implement it :-|
CupX file is ""non standard" zip file, and non-standard zip library can't read it and naviter dont provide api to read it...
cupx file can be split in 2 standard zip file, but that duplicate the data for nothing.
so using cupx is not "easier", because dealing with non-standard and undocumented file format is never an easy task.
|
N2cee |
Posted - 05/03/2024 : 20:46:13 Hi John,
I googled a little bit and found a 5 years old thread in LK8000 forum dealing with the cupx file support. But it stopped somewhere in the middle of 2023. My intention is the same but I appreciate to do not invent the wheel again but it seems that it is not this easy to implement it :-|
|
JBlyth |
Posted - 05/03/2024 : 04:29:58 Would it be easier/better to add .CupX file support, which already includes images and uses an extension of the normal .Cup file header, and is already used by SeeYou and LXNav? |
N2cee |
Posted - 04/03/2024 : 21:25:24 Bonsoir Bruno,
maybe using wordpad to integrate the graphics and creating a rtf file. I understand that you then need to render that rtf accordingly which is more complicated than a plain txt file.
Or what about something as the mechanism for messages in this forum using image tags? Finding a tag than triggers the search for a file named as the active waypoint name and a predefined file name extension e.g. 'jpg'.
Or as an alternative to avoid mixing text and graphics preferably search for a graphics file (instead of displaying the text) named as the waypoint in the same directory the waynotes.txt is located and in case there is no graphics found use the text (similar to 'alternative text' when a reference to a graphic is not found in HTML).
Idea is to have something as in AIP in order to show how totext displayed approach an unknown airport with a glider on xc flights. The graphic should appear instead/combined with text in the 'Details > Next' pane of a selected Waypoint.
Best Regards Claus |
brunotl |
Posted - 28/02/2024 : 12:13:08 we can think about
waynotes.txt is text file, so : - how do you want to add image ? - how o you want to display it ?
Best Bruno |