On Sat, 04 Nov 2000 10:18:29 +0200, Or Botton wrote:

> On Fri, 03 Nov 2000 18:34:39 -0500, Clarence Verge wrote:

>> I would like to invite BRAVE souls to visit my "virtual" 'rachne at:
>> http://www.hwcn.org/~ao773/

> The howto files are missing inside the help section.

> Regarding .BMPs being too big, have you concidered converting them
> to JPG or PNG? I can get you a dos BMP2JPG convertor, if you want.

 For BMP2JPG ..... this works fine:
---BMP2JPG.BAT---
CD\1TEMP
f:\GRAPHICS\JPEG6B32\CJPEG *.bmp
?"Delete original BMPs Y/N " del *.bmp
CD\
PAUSE
MENU.BAT
__________

I have even built it directly into Arachne so that screen captures can
be converted to Jpeg without exiting to Dos. <g>

 I added this line to mime.cfg

file/bmp2jpg.dgi  |[100]cjpeg.exe -q 95 _4prt.bmp \n del _4prt.bmp

(you'll need cjpeg.exe in your path)

I also added 2 new buttons  to \arachne\system\gui\prtbmp.ah---
(Convert) and (View JPG after conversion)

---clipped from the new prtbmp.ah---

<TABLE CELLSPACING=1 BORDER FRAME="void" ALIGN=RIGHT>
<TD BGCOLOR=SILVER ALIGN=RIGHT>
<FONT 3D=2><B>Export as BMP or Convert to JPG</B></FONT>
&nbsp;<A HREF="arachne:back">
<IMG SRC="file://pidizrus.ikn" HEIGHT=16 WIDTH=16 BORDER=0>
<TR><TD BGCOLOR=SILVER ALIGN=RIGHT NOWRAP><FONT COLOR=BLACK>

<TABLE CELLSPACING=0 CELLPADDING=0>
<FORM ACTION="file://exportbmp.dgi">
<TD>
<INPUT TYPE=TEXT NAME="" VALUE="PAGE.BMP" SIZE=30>
<INPUT TYPE=SUBMIT VALUE="Export">
<TD>
<FORM ACTION="file://bmp2jpg.dgi">
<INPUT TYPE=SUBMIT VALUE="Convert">
<TD>
<FORM ACTION="file://_4prt.bmp"><INPUT TYPE=SUBMIT VALUE="Preview">
<TD>
<TR><TD>
<FORM ACTION="file://_4prt.jpg">
<INPUT TYPE=SUBMIT VALUE="View JPG after conversion">

</TABLE>
_______________________________________________________

 Hey Clarence,
I hope you don't mind that I'm making your ZBM idea public. ;-)
Here it is as an Arachne "add-on feature".

Credits:

Original idea for ZBM........ Clarence
ZBM viewer add-on DGI........ Bernie, Clarence and Glenn
Conversion buttons/DGI... Glenn


;ZBM viewer add-on DGI to be placed into mime.cfg
;(you must first create the ZBM sub directory under your cache directory)
;md \arachne\cache\zbm
file/.zbm >BMP|[150]pkunzip -o $1 $azbm \n copy /b $azbm\\*.bmp $2 \n del $azbm\\*.bmp

;BMP to ZBM conversion DGI to be placed into mime.cfg
file/bmp2zbm.dgi |[150]pkzip.exe -ex scrncap.zbm _4prt.bmp \n del _4prt.bmp

Then change the buttons and text in prtbmp.ah to work with bmp2zbm.dgi

--- bmp2zbm changes ---

<TABLE CELLSPACING=1 BORDER FRAME="void" ALIGN=RIGHT>
<TD BGCOLOR=SILVER ALIGN=RIGHT>
<FONT 3D=2><B>Export as BMP or Convert to ZBM</B></FONT>
&nbsp;<A HREF="arachne:back">
<IMG SRC="file://pidizrus.ikn" HEIGHT=16 WIDTH=16 BORDER=0>
<TR><TD BGCOLOR=SILVER ALIGN=RIGHT NOWRAP><FONT COLOR=BLACK>

<TABLE CELLSPACING=0 CELLPADDING=0>
<FORM ACTION="file://exportbmp.dgi">
<TD>
<INPUT TYPE=TEXT NAME="" VALUE="PAGE.BMP" SIZE=30>
<INPUT TYPE=SUBMIT VALUE="Export">
<TD>
<FORM ACTION="file://bmp2jpg.dgi">
<INPUT TYPE=SUBMIT VALUE="Convert">
<TD>
<FORM ACTION="file://_4prt.bmp"><INPUT TYPE=SUBMIT VALUE="Preview">
<TD>
<TR><TD>
<FORM ACTION="file://scrncap.zbm">
<INPUT TYPE=SUBMIT VALUE="View ZBM after conversion">

</TABLE>
_______________________________________________________


-- 
 Glenn
(your friendly neighborhood compu-nerd)
 http://www.delorie.com/listserv/mime/

Reply via email to