• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ChordPro and images
#21
(11-23-2018, 02:02 AM)Zuberman Wrote: I suppose if I parse the file after the user has edited it and they have removed the ##image line, then I can just remove any image data associated with the given id.

I assume you mean "... have removed the {image...} line"? If the user removes an {image} line, the corresponding image data can be discarded (provided it is not used by another {image} line using the same id).

Quote:Adding an image is as simple as listing the name of the image file to include, so users can either write that themselves or I can add a simple option to add an image that lets them use a dialog to enter the data for the image (so that they don't have to memorize all of the supported parameters).

Right.

BTW it still would be possible to put an ChordPro file on the tablet that contains an {image src=...} but then it is completely the responsibility of the user to ensure the image file is also on the tablet, next to the ChordPro file. So w.r.t. files, MSPro would only need to deal with this very trivial case.
Johan
www.johanvromans.nlwww.howsagoin.nlwww.hetgeluidvanseptember.nl
Samsung Galaxy Note S4 (T830) 10.5", Android 9.0, AirTurn Duo & Digit.
Samsung Galaxy Note 2 (N8010) 10.1", Android 7.1.2 (LineageOS) (backup).
Samsung A3 (A320FL), Android 8.0 (emergency).
Reply
#22
Will this cope with multiple images ?
Just playing devil's advocate; I wouldn't use this feature.

Geoff
Samsung Galaxy Tab A6
Reply
#23
You can have multiple {image} directives, hence multiple images.
Johan
www.johanvromans.nlwww.howsagoin.nlwww.hetgeluidvanseptember.nl
Samsung Galaxy Note S4 (T830) 10.5", Android 9.0, AirTurn Duo & Digit.
Samsung Galaxy Note 2 (N8010) 10.1", Android 7.1.2 (LineageOS) (backup).
Samsung A3 (A320FL), Android 8.0 (emergency).
Reply
#24
Hi!

We are currently facing the same topic with our band, so I found this thread. Are there any news regarding that request?
Or is it already implemented and I completely missed it? Big Grin
Reply
#25
I haven't had time to implement it yet unfortunately. It's still on the list of things to do (it's a pretty big list). 

Mike
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.