Jump to content
UEZ

File to Base64 String Code Generator v1.20 Build 2020-06-05 (embed your files easily)

Recommended Posts

I´m sorry. I just download a wrong program.

OK When I run it from Scite it doesn´t work. But when I run the EXE it runs only one time, the second attempt to run it, it finishes without playing the sound¡¡¡

Share this post


Link to post
Share on other sites

The code tags will only work when the text isn't too large. In your case it is probably too large! :-(

I hear the ring sound properly when I start the exe several times.

Sorry, I cannot comprehend your problem. :)

Br,

UEZ


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

hey, nice job, i loved it!

I just think you could add the option of putting entire folders, not only single files...

A good example of this was created by our friend Beegee!

look that:

thanks a lot!

Share this post


Link to post
Share on other sites

UEZ, I found that if I copy the exe or au3 to a new folder I can run it perfectly but only one time. the second time I try to run it, the program runs without any error code but it doesn´t play the sound. I´m using an administrative account so it is not a rights issue. It could be a policy problem or something related to the OS.

Thanks a lot and regards.

Share this post


Link to post
Share on other sites

hey, nice job, i loved it!

I just think you could add the option of putting entire folders, not only single files...

It would be great to include everything you need to run the program without having to search the outside

Edited by Belini

Share this post


Link to post
Share on other sites

For me it makes no sense to create binary code starting from a folder recursively but I will try to implement it when I got some more time!

Currently I'm on my building site to kick some asses to get any progress for it...

Br,

UEZ

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

Hey UEZ nice script. I especially love that small base64 decoder function using CryptStringToBinary. Never seen that before. ;)

Anyway Im getting a small error from your script. Recently some missing constants got added to autoit that you already have defined. As least I think thats how this happened..

File to Base64 String Code Generator.au3(153,33) : ERROR: $WM_MOVING previously declared as a 'Const'.

Edit: Also have you ever done anything with embedding inline base64 images in html? Ive been trying to do this with no luck :)

Edited by Beege

Share this post


Link to post
Share on other sites

Thanks Beege for you comment.

The script build is dated on 2011-11-21 and not updated. That means you have to disable the line

Global Const $WM_MOVING = 0x0216

manually.

I already updated the code to work properly on v3.3.8.0 but didn't release it yet.

I never worked with html coding but I can have a look on it when I have some time.

Br,

UEZ

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

Btw, I had a quick look to the link you have provided and I can embedd any image using the code generator

Test.htm

<img src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAgAElEQVR4nO29eXRc1Zkv+tv7jDVqtiZkWR4wk23MZCAMNs+LMe68hA4JXOh0uukbQhLSSVZ3sm5uv5vum75r9bvk9gO6OwxJB0jIQCCEMIQ0EANhNNgxNniQZFmTJVlzlWo4wx7eH3V2+ahcsmVb8pD0t9ZedXRUdc4++/t9v+/b3x4OkVLiP+WPV+iJrsB/yokVHQBs2wYAOI5zQiszn2LbdhuA6tCppQAqguPNofPccZytx61icyhKj7MRpWt9vipzIsS27YUAzkJBuStCxw26YYJSvejvdMMCoRoAwHdzxWtIKWHbNgGQB7ADwHYAnUHZfaqCYyYhwQMDOPUYwLbtBgBXArgWwFWabi40TEvqhg3DjEjDsqEbtjQMU1ACSSkVhEBSQiSlRGiUSCEkEVJSLiQBQISQhAtJOefE9/LUd/Ngvkt83wHzXPhePg3g1aA85zjO7hPYBNPkaBjglAOAbdsrANwC4OOaZiw3IzEZiVZIO5YUtmVzQ6fcNDTfNDTfMjXf0CkzdMoJIRIAYrEYPffcc6e1VCqV4h988IGr/pYSYFxojHHd9YXh+Vz3PG54j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k0E6nUY+n0cul5tm1eEGt20bkUgEiUQCsVgMlZWVqK6uRmVlJeLxODjn2L59O7Zv34733nsPHR0dnhBiQErZyTl/TxbexjESlHEUrH0KBxQv165dK4HyO6gcqfKBUxQAwKGzbiEgaCgEi1EUwJBEgRlUqSKEtFBKl1FKl1JKmyzLira2tmLx4sVoampCU1MTWlpaAACLFy8uLl4JXpAFKQsbQKv79/T0wHVdTE5OYt++fcW9BPft24fx8XEmpRwUQvQLIXYLIdpRsOzxUAkr3UVhpu40xYc/S4+PVE5ZACg5FBCAYrCo4gQLBRcRD0oCBVBUBCUJoIJSehqltJEQUgOgghBSVbgkqURoDsTSpUsxODhYXOQKAFLKFA7smDoppRyWUu4XQgxJKUdQUG4KBUWng7+nUPDrORT68T4AEQ7uQtcve3y0cqwAOObRwGOVcCOUUjIAXHnlleo1a97GjRt9FBo5hQIzmCgAIoJCujkKICKEiAohosF5OygmCq5FQwEEdOfOnQ1SygkppYPCmgeOgvJ8FKzXCe6XQ2EoNh8cZ0N/OyhMiGEAuFI6MD0/MdMzn2g5ZgY4kRJMR9NQALKBA0o2UWALBRI9VNRvaHAsg6IAoEoYCC4KSvZLCgcgj2VS5omSk4YBjkWChmdBcQJAEBSUq5UUGvpf+HtK+TJUeHBOBNcu/n0qKvtQ8v8D4Ee/B4FpdqcAAAAASUVORK5CYII="
width="128" height="128" alt="embedded png image">

Br,

UEZ

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

So it did work for you? Awesome! Thanks. Just knowing that it worked for someone feels better. :)

Share this post


Link to post
Share on other sites

Hello :)

Thanks a lot for this genius script, it's really a nice way to avoid to write pics in a temp dir.

I guess because I'm not at ease with DLL calls and GDI, I fall on some problems.

I join a kind of test case which contains all pictures required and transform them in files @ScriptDir, _SetPic() is a simple function to group each possibilities your script offers (compressed, Hbitmap or not, pic or button), it is at line 104.

I was having problems with opacity in a small BMP pic which I use to put over some icons (top-left), I converted it to PNG and then the problem has changed (top-right): where the BMP has no transparency but all colors with Load_BMP_From_Mem(), exactly like with the Windows picture viewer, the PNG is transparent but doesn't respect the gradient (Windows viewer hasn't this problem).

This makes me try to show the pic with different functions than your way.

The top-left pic is my old way of doing: 1x21 BMP and GuiCtrlCreatePic() over GuiCtrlCreateIcon().

Top-right is with your way and a 1x21 PNG, it makes an uniform layer (no gradient), line 52 and 53 can replace 56 and 57 to see that the opacity levels and colors are respected with a "normal" PNG pic (look at the shadow below the text). To test the opaque BMP use lines 55 and 57.

Bottom-left pic is the GDI gradient alone, bottom-right is GDI gradient over the icon, I had to create a 10x21 gradient in order it works, else it was filling the square strangely (replace the $bimggradient3 by $bimggradient2 at line 37 and 10,21 by 1,21 at lines 73 and 74 to see it).

If you comment line 69 and uncomment line 66 to test your function, the gradient isn't shown at all.

So, I would like to know how to use the result of Load_BMP_From_Mem() with GDI functions?

Yet I didn't succeed and am forced to use a file with _GDIPlus_BitmapCreateFromFile(), but if I understood, your function with 2nd argument at False returns a bitmap handle like this GDI+ function does, doesn't it?

Also, perhaps you understand why the gradient doesn't work with the 1x21 PNG and/or BMP and know a workaround?

Thanks for reading!

testcase.7z

Share this post


Link to post
Share on other sites

@AvvA: thanks for your feedback :oops:

To use an image from memory with GDI+ just replace your line 69

$hBitmap = _GDIPlus_BitmapCreateFromFile(@ScriptDir & "gradient2.png")

with

$hBitmap = Load_BMP_From_Mem(Binary(_Base64Decode($bimggradient3)))

Btw, I updated the Load_BMP_From_Mem() function for better transparency support (see my 1st post and have a look to Example using some images from ..AutoIt3ExamplesGUI folder)

Just replace the Load_BMP_From_Mem() from the example and the gradient should look fine.

I've some older examples how to use bitmaps from memory using it for GDI+ functions -> look here.

Br,

UEZ


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

Finally I was too kind to myself, this was only the inattention... :oops:

Thank you for showing me the place where it was.

Also, :bye:

I updated to the latest version... :doh:

...and the gradient works fine with the PNG picture, but it still doesn't with the BMP one.

To me it's not important, so thank you for this update!

I took a look at your GDI+ example scripts topic, I'll look further later, but for now this remembered me the ST/Amiga demo scene back in the 90s, sinus scroller, plasma, star war scroller... Excellent! I love it! I would never have though that GDI+ was able to do this kind of things!

Share this post


Link to post
Share on other sites

UEZ, just to let you know that I'm stealing your code as a means of inspiration for attaching files into database records ;)

So thanks!

The source and idea are public, thus no need to "steal" them. :)

Br,

UEZ


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

You don't think there would be a way of determining, by looking at n-bytes of the decoded string, if it is compressed or not?

I can't seem to find a pattern.

On another approach, in which cases did you find the compression to be of disadvantage?

I'm dealing with files from around 20kB to medium 150kB, maximum 20MB.

Personally I think it wouldn't hurt to always compress the data. In a database it would make sense to have that sort of consistency.

Thanks


Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By amosrinat
      Hi,
      i have an AutoIT script that sends emails with two embedded images.
      When users get the email they don't see the images. How should I fix my code?
      Thank you for your support,
      Amos
      Func fSendMail() $TemplateName = StringRegExpReplace($Template, "^.*\\|\..*$", "") $SmtpServer = "smtp.**.com" $FromName = "do-not-reply@*********" $FromAddress = "do-not-reply@******" $ToAddress = $MG1_Mgr & ";"& $Owner $Subject = "ACTION REQUIRED - " & $TemplateName $Body = $sBody5 $IPPort = 25 $ssl = 0 Global $oMyRet[2] Global $oMyError = ObjEvent("AutoIt.Error", "MyErrFunc") $rc = fINetSmtpMailCom($SmtpServer, $FromName, $FromAddress, $ToAddress, $Subject, $Body, $IPPort, $ssl) If @error Then MyErrFunc() EndIf EndFunc;fSendMail Func fINetSmtpMailCom($s_SmtpServer, $s_FromName, $s_FromAddress, $s_ToAddress, $s_Subject = "", $as_Body = "", $IPPort = 25, $ssl = 0) Local $objEmail = ObjCreate("CDO.Message") $objEmail.From = '"' & $s_FromName & '" <' & $s_FromAddress & '>' $objEmail.To = $s_ToAddress Local $i_Error = 0 Local $i_Error_desciption = "" $objEmail.Subject = $s_Subject If StringInStr($as_Body, "<") And StringInStr($as_Body, ">") Then $objEmail.HTMLBody = $as_Body Else $objEmail.Textbody = $as_Body & @CRLF EndIf $objEmail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 $objEmail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = $s_SmtpServer If Number($IPPort) = 0 Then $IPPort = 25 $objEmail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = $IPPort $objEmail.Configuration.Fields.Update $objEmail.Fields.Update ;$objEmail.Send **************** If @error Then MyErrFunc() EndIf $objEmail = "" EndFunc;fINetSmtpMailCom  
    • By matwachich
      AutoIt3 Lua Wrapper
      This is an AutoIt3 wrapper for the Lua scripting language. Consider it beta software, but since I will be using it in commercial product, expect it to evolve.
      It has been developped with Lua 5.3.5. Updates will come for new Lua version.
      Everything works just fine, except one (big) limitation: Anything that throws a Lua error (using C setjmp/longjmp functionality) will crash your AutoIt program. That means that it is impossible to use throw errors from an AutoIt function called by Lua (luaL_check*, lua_error...).
      It is hosted in Github: https://github.com/matwachich/au3lua
      Simple example
      #include <lua.au3> #include <lua_dlls.au3> ; Initialize library _lua_Startup(_lua_ExtractDll()) OnAutoItExitRegister(_lua_Shutdown) ; create new execution state $pState = _luaL_newState() _luaopen_base($pState) ; needed for the lua's print function $iRet = _luaL_doString($pState, 'print("Hello, world!")') If $iRet <> $LUA_OK Then ; read the error description on top of the stack ConsoleWrite("!> Error: " & _lua_toString($pState, -1) & @CRLF) Exit EndIf ; close the state to free memory (you MUST call this function, this is not AutoIt's automatic memory management, it's a C library) _lua_close($pState)
    • By Belini
      I am testing version 2.0.0.0 which runs on windows xp but could not send any command to the player using StdinWrite () does this player support slave mode? Is it possible to send commands to MPV as they are sent to Mplayer?
    • By Zombie02
      Hello Guys i am new to Autoit. I am currently writing a GUI which is displaying a avi. My question now is how can i use a avi i added with Autoit3wrapper
      Thanks is advance
      Zombie
    • By Viszna
      Hello.
      I create a function that saves the log to an html file.
      File html are included picture (conversion to Base64)
      Everything works OK.
      But I do the actions:
      screenshot to the png file (smaller than bmp) per disk (  _ScreenCapture_Capture(@ScriptDir & "\screenshot.png")  ) convert image from disk to base64 I need help to optimize the script:
      - screenshot to memory (do not save to disk) - convert this object to png in memory - invoking the conversion of png image from memory to base64 The first step _ScreenCapture_Capture("") create handle to an HBITMAP in memory
      How to convert image in memory to png?
      How to use Func _ConvertToBase64
      I attach my code
      #include <ScreenCapture.au3> #include <Date.au3> Global $RaportFileName = @YEAR & "-" & @MON & "-" & @MDAY & "_" & @HOUR & "_" & @MIN & "_" & @SEC & ".html" $text = "This is first line text" & @CRLF &"and this is next line" _Raport($text, 1) FileWrite(@ScriptDir & "\" & $RaportFileName, "</pre></html>") ; #FUNCTION# ==================================================================================================================== ; Name ..........: _Raport ; Description ...: ; Syntax ........: _Raport($sText1[, $Screen = 0]) ; Parameters ....: $sText1 - a string value. ; $Screen - [optional] an unknown value. Default is 0. ; 0 - Default - do not screenshot ; 1 - added screenshot full desktop ; Return values .: None ; Author ........: Your Name ; Modified ......: ; Remarks .......: ; Related .......: ; Link ..........: ; Example .......: No ; =============================================================================================================================== Func _Raport($sText1, $Screen=0) Local $sText = "" Local $sHead = "" ; Define HTML file header and style $sHead = '<html>' & @CRLF & '<head><meta charset="utf-8"></head>' & @CRLF $sHead = $sHead & '<style>img{border:3px solid #FF0000;}</style>' & @CRLF $sHead = $sHead & '<style>pre{font-family: monospace;}</style>' & @CRLF $sHead = $sHead & '<style>pre{font-size: large;}</style>' & @CRLF $sHead = $sHead & '<pre>' & @CRLF If NOT FileExists(@ScriptDir & "\" & $RaportFileName) Then ; If file Raport not exist then create FileOpen(@ScriptDir & "\" & $RaportFileName, 258) FileWrite(@ScriptDir & "\" & $RaportFileName, $sHead) EndIf If StringInStr($sText1, @CRLF) > 0 Then ; @CRLF (ENTER) change the @CRLF and 11 space (indentation on width "[GG:MM:SS] ") $sText1 = StringReplace($sText1, @CRLF, @CRLF & '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;') EndIf $sText = $sText & $sText1 If $Screen <> 0 Then _ScreenCapture_Capture(@ScriptDir & "\screenshot.png") $sText = $sText & @CRLF & '<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' & '<img src="data:image/png;base64,' & _ConvertToBase64(@ScriptDir & "\screenshot.png") & '"/>' EndIf FileWrite(@ScriptDir & "\" & $RaportFileName, "[" & _NowTime(5) & "]&nbsp;" & $sText & "<br><br>"&@CRLF) ; write to file Raport EndFunc Func _ConvertToBase64($fFile) ;Xroot 2011 ;ClipPut("") ;$FN=@ScriptDir & "\screenshot.png" $FN=$fFile $dat=FileRead(FileOpen($FN,16)) $objXML=ObjCreate("MSXML2.DOMDocument") $objNode=$objXML.createElement("b64") $objNode.dataType="bin.base64" $objNode.nodeTypedValue=$dat ClipPut("") $Wynik = "" ;ClipPut($objNode.Text) $Wynik = $objNode.Text Return $Wynik EndFunc P.S.
      Excuse me my not good English.
×
×
  • Create New...