PostFrontal Forum
PostFrontal Forum
LK8000_Support_Forum | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 LK8000 International Support
 General Support
 WAYNOTE.TXT
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

N2cee
Pulcino

22 Posts

Posted - 27/02/2024 :  19:49:04  Show Profile  Reply with Quote
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

Edited by - N2cee on 27/02/2024 19:49:42

brunotl
Pterodattilo

France
1101 Posts

Posted - 28/02/2024 :  12:13:08  Show Profile  Reply with Quote
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
Go to Top of Page

N2cee
Pulcino

22 Posts

Posted - 04/03/2024 :  21:25:24  Show Profile  Reply with Quote
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

Edited by - N2cee on 04/03/2024 21:48:52
Go to Top of Page

JBlyth
Aquilotto

Australia
229 Posts

Posted - 05/03/2024 :  04:29:58  Show Profile  Visit JBlyth's Homepage  Reply with Quote
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?
Go to Top of Page

N2cee
Pulcino

22 Posts

Posted - 05/03/2024 :  20:46:13  Show Profile  Reply with Quote
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 :-|
Go to Top of Page

brunotl
Pterodattilo

France
1101 Posts

Posted - 06/03/2024 :  09:55:53  Show Profile  Reply with Quote
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.




Edited by - brunotl on 06/03/2024 13:15:40
Go to Top of Page

N2cee
Pulcino

22 Posts

Posted - 06/03/2024 :  21:23:44  Show Profile  Reply with Quote
... 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.

Edited by - N2cee on 06/03/2024 21:30:51
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To:
PostFrontal Forum © PostFrontal - La community del Volo a Vela Go To Top Of Page
This page was generated in 0.12 seconds. Snitz Forums 2000

Since 2006, owned and maintained by PostFrontal S.A.S. di Giuliano Golfieri & c. - VAT ID: IT05264240960
THIS WEBSITE ONLY USES FUNCTIONAL COOKIES
Privacy & Cookie Policy