<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Bruce,</div>

<div> </div>

<div>I always draw with Thomas Holders Incscape Plugin, there it is easy enough to scale the images plus u can make them transparent or switch layers off completely.<br/>
Use that feature a lot as I digitalise some old surveys. U can simply put old surveys of different times, sketches and whatnot into the background and easily switch between them...</div>

<div> </div>

<div>Axel</div>

<div> 
<div> 
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Freitag, 07. Mai 2021 um 00:09 Uhr<br/>
<b>Von:</b> "Alastair Gott" <alastairgott@gmail.com><br/>
<b>An:</b> "List for Therion users" <therion@speleo.sk><br/>
<b>Betreff:</b> Re: [Therion] XTherion background image control and bitmap file size question</div>

<div name="quoted-content">
<div>Hi Bruce,
<div> </div>

<div>I have had reason to digitise some 2 point plan sketches and then stitch them together, I know it wouldn’t be ideal, but could you build up the picture like this in a sub folder then export a new .th2 for the full area of the cave that you need, so life is easier in the future.</div>

<div> </div>

<div>Ie separate scraps for each background image, then when the .th2 has been exported, you can manipulate the scraps to your desired parts of the cave?</div>

<div> </div>

<div> </div>

<div>Al<br/>
Ps loving getting back to being underground again :)
<div><br/>
On 6 May 2021, at 22:07, Paul Rowe <<a href="mailto:armchair.caver.nz@gmail.com" onclick="parent.window.location.href='mailto:armchair.caver.nz@gmail.com'; return false;" target="_blank">armchair.caver.nz@gmail.com</a>> wrote:<br/>
 </div>

<blockquote>
<div>
<div>
<div>Hi Bruce,</div>

<div>I don't think there's an option. I had a similar case where I had an old paper-based map that my map connected to. I ended up scaling and rotating the background image of the old map until it was right. I used the maximum jpg compression to reduce the size of the enlarged image, but it would be useful to have size/rotation options for background images.</div>

<div> </div>

<div>A similar case is placing images on a generated PDF map. I can't see a way to size/rotate these, but this would be really useful.</div>

<div> </div>

<div>Thanks,</div>

<div>Paul</div>
</div>
 

<div class="gmail_quote">
<div class="gmail_attr">On Fri, 7 May 2021 at 08:14, Bruce Mutton <<a href="mailto:bruce@tomo.co.nz" onclick="parent.window.location.href='mailto:bruce@tomo.co.nz'; return false;" target="_blank">bruce@tomo.co.nz</a>> wrote:</div>

<blockquote class="gmail_quote" style="margin: 0.0px 0.0px 0.0px 0.8ex;border-left: 1.0px solid rgb(204,204,204);padding-left: 1.0ex;">
<div>
<div class="gmail-m_6926420409393232843WordSection1">
<p class="MsoNormal">Mōrena</p>

<p class="MsoNormal">I am wondering if XTherion can scale background images, or if anyone has hints on scanned image settings that generate a larger background image, that is economical on bytes?</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Back story:</p>

<p class="MsoNormal">I created a multi-level survey (shaft system in cave) with PocketTopo, rather than creating many small survey files to keep each level separate.</p>

<p class="MsoNormal">At home I printed the PocketTopo bitmap, then sketched over three of the four main levels that I now want to draw with Therion.</p>

<p class="MsoNormal">Then I created an xvi with TopParser (I chose my usual export settings, and of course maybe I could have chosen better settings).</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">You can see the xvi and some drawing directly on that xvi in the image below.</p>

<p class="MsoNormal">You can also see the three 100 dpi png background images that I imported into XTherion.</p>

<p class="MsoNormal">The three images are much smaller than the xvi and while it so happens the zoom range is such in XTherion that I could easily draw my scraps over them, I would like all four scrap background to be a similar size.  It just makes life easier into the future that way.</p>

<p class="MsoNormal">I am a novice when it comes to bitmap manipulation, but I managed to use GIMP to scale up one of the images about 3.5 times.  You can also see that in the image below.  It is about the same size as the xvi which is what I am after</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">My frustration is that the original png images are all about 600 kB and the enlarged image is about 3000 kB.  I am a miser and I would like to minimise bloat in my project repository.</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Can we scale the image in XTherion, using the original smaller file as the permanent source?</p>

<p class="MsoNormal">Or are there tricks to enlarging the png image while maintaining a modest file size?</p>

<p class="MsoNormal">I am aware that jpg will likely compress to fewer bytes, and will try that unless it becomes too blurry.</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"><img height="405" id="gmail-m_6926420409393232843Picture_x0020_1" src="cid:179437dd6ef5b16b21" style="width: 10.4027in;height: 4.2222in;" width="999"/></p>

<p class="MsoNormal"><image004.png></p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">It looks like XTherion th2 file header has some unused controls. I could not find any documentation on this, so I have deduced the format as follows…</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">##XTHERION## xth_me_image_insert {x coord visibility[0=off, 1=on] gamma} {y coord {<unknown empty variable>}} filename and path <unknown 0 variable> {< unknown empty variable >}</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Maybe there is scope for scaling and rotation of images by XTherion in here? !!</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Sample of th2 file header</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">##XTHERION## xth_me_image_insert {1386.4418110200002 1 1.0} {844.5244881899999 7.14} ptopo/7-Laghu_p.xvi 0 {}</p>

<p class="MsoNormal">##XTHERION## xth_me_image_insert {1893.842519685 1 1.0} {1306.5748031498001 7.19} ptopo/9-Laghu_p.xvi 0 {}</p>

<p class="MsoNormal">##XTHERION## xth_me_image_insert {1278.0 1 1.0} {585.8818897638002 {}} ptopo/7-LaghuPLAN-Sketches-26Jul2020-Pg01of03.png 0 {}</p>

<p class="MsoNormal">##XTHERION## xth_me_image_insert {550.0 1 1.0} {589.8818897638002 {}} ptopo/7-LaghuPLAN-Sketches-26Jul2020-Pg02of03.png 0 {}</p>

<p class="MsoNormal">##XTHERION## xth_me_image_insert {6.0 1 1.0} {583.8818897638002 {}} ptopo/7-LaghuPLAN-Sketches-26Jul2020-Pg03of03.png 0 {}</p>

<p class="MsoNormal">##XTHERION## xth_me_image_insert {2568.0 0 0.7943282347242815} {1891.8818897638002 {}} ptopo/7-LaghuPLAN-Sketches-26Jul2020-Pg01of03B.png 0 {}</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Thanks for any insights.</p>

<p class="MsoNormal">Regards</p>

<p class="MsoNormal">Bruce</p>

<p class="MsoNormal"> </p>
</div>
</div>
_______________________________________________<br/>
Therion mailing list<br/>
<a href="mailto:Therion@speleo.sk" onclick="parent.window.location.href='mailto:Therion@speleo.sk'; return false;" target="_blank">Therion@speleo.sk</a><br/>
<a href="https://mailman.speleo.sk/listinfo/therion" target="_blank">https://mailman.speleo.sk/listinfo/therion</a></blockquote>
</div>
</div>
</blockquote>

<blockquote>
<div><span>_______________________________________________</span><br/>
<span>Therion mailing list</span><br/>
<span><a href="mailto:Therion@speleo.sk" onclick="parent.window.location.href='mailto:Therion@speleo.sk'; return false;" target="_blank">Therion@speleo.sk</a></span><br/>
<span><a href="https://mailman.speleo.sk/listinfo/therion" target="_blank">https://mailman.speleo.sk/listinfo/therion</a></span></div>
</blockquote>
</div>
_______________________________________________ Therion mailing list Therion@speleo.sk <a href="https://mailman.speleo.sk/listinfo/therion" target="_blank">https://mailman.speleo.sk/listinfo/therion</a></div>
</div>
</div>
</div>
</div></div></body></html>