Jump to content

Please read the Forum Rules before posting.

Photo
- - - - -

Format questions - mapx and v10


  • Please log in to reply
5 replies to this topic

#1 TaSwavo

TaSwavo

    e-Sword Supporter

  • Veterans
  • PipPipPip
  • 30 posts
  • LocationYorkshire, UK
Offline

Posted 21 May 2013 - 04:29 PM

Are the formats of mapx in v9+ available?   (I have a pdf that has bblx, cmtx, and the dictionary - and the devx format is simple)

But I don't know what the Picture field format is in a mapx file.

 

Also, the v10 files I've heard can have pictures embedded within files.

Is there any documentation about this?

 

Or are all the above being kept from us for some reason - I know Mr Myers has his reasons.

 

btw- I do not want to use TooltipsNT - tried it and didn't like it

 

But my main reason is I'm writing a C# module maker/converter for my self

That is how I learn new computer languages - by taking on tasks in the new language (I'm a computer programmer for a living: c++ mostly but I also know at least half a dozen other languages)



#2 Josh Bond

Josh Bond

    Administrator

  • Administrators
  • PipPipPipPipPip
  • 2,891 posts
  • LocationGallatin, TN
Offline

Posted 21 May 2013 - 05:53 PM

Are the formats of mapx in v9+ available?   (I have a pdf that has bblx, cmtx, and the dictionary - and the devx format is simple)

But I don't know what the Picture field format is in a mapx file.

 

Also, the v10 files I've heard can have pictures embedded within files.

Is there any documentation about this?

 

Or are all the above being kept from us for some reason - I know Mr Myers has his reasons.

 

btw- I do not want to use TooltipsNT - tried it and didn't like it

 

But my main reason is I'm writing a C# module maker/converter for my self

That is how I learn new computer languages - by taking on tasks in the new language (I'm a computer programmer for a living: c++ mostly but I also know at least half a dozen other languages)

 

Ironically, it's the author of ToolTipNT who can best answer your two questions. :) cmtx, dctx, devx, topx support jpg. They may also support png. I want to say mapx is jpg only (?).



#3 patchworkid

patchworkid

    Resource Builder

  • Members (T)
  • PipPipPipPipPip
  • 1,554 posts
  • LocationOld England
Offline

Posted 21 May 2013 - 06:29 PM

hi 

 

here is a quick test of making a map module using Tool Tip Tool NT (very easy).

 

Attached File  test map3.rtf   1016bytes   5 downloads

 

Map module

Attached File  test Map3.zip   692.77K   6 downloads

 

There is two types of images T4 uses Jpg and GIF.

You will need to make a file called - Images

Attached File  Images.zip   703.29K   4 downloads

 

this goes inside the e-Sword ToolTip NT folder found in My Documents

 

please look over the way I made the map module 

 

thanks


Merismos the Scriptures with Patchworkid's Study Bible Set<p>http://www.biblesupp...tudy-bible-set/, MySword -http://www.biblesupp...tudy-bible-set/

#4 TaSwavo

TaSwavo

    e-Sword Supporter

  • Veterans
  • PipPipPip
  • 30 posts
  • LocationYorkshire, UK
Offline

Posted 22 May 2013 - 02:03 AM

Thanks Josh.

Yes Brent would be the 'goto' guy I guess :)

 

But you've given me a couple of things to try.

 

And patchworkid, thanks for the advice but I'm actually trying to write something of my own (as I said in the original post). I am aware that ToolTipTool can make the files - it's a great piece of software.

 

Thanks both for your speedy replies.

 

God bless you



#5 BH.

BH.

    Utility Developer

  • Contributors
  • PipPipPipPipPip
  • 1,244 posts
  • LocationCalifornia
Offline

Posted 22 May 2013 - 10:51 AM

Encoding in MAPX files is different from CMTX, DCTX, TOPX, etc.  MAPX using a BLOB for the images, while the others use RTF encoding for Windows and HTML for iOS.  I believe that I has used JPG, PNG and GIF images without a problem in MAPX files.  For the others, if they appear in Tooltip, they will appear in e-Sword.  Tooltip is using the same display control using in version 3 e-Sword files for CMTX, DCTX, TOPX, etc.   BBLX files are display in Microsoft's RICHEDIT control, and do not support images or tooltips, though I think it would be nice if tooltips did work in BBLX files, but that is a different issue...



#6 TaSwavo

TaSwavo

    e-Sword Supporter

  • Veterans
  • PipPipPip
  • 30 posts
  • LocationYorkshire, UK
Offline

Posted 23 May 2013 - 07:28 PM

I got my code working - I'll try out a bunch of

my input file has lines like "title [tab] details [tab] c:\thepic.jpg"

(though the delimiter doesn't have to be [tab])

so it's easy enough for me to slap dozens of pic types in there and see what works :)

 

JPG obviously does

 

The code in c# turns out REALLY simple (I was making it too complex so wasn't working - made it simple and C# cruises it in 3-4 lines of code)

 

Thanks all


Edited by TaSwavo, 23 May 2013 - 07:29 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users




Similar Topics



Latest Blogs