The MASM Forum

Miscellaneous => The Orphanage => Topic started by: shankle on May 10, 2018, 11:18:14 PM

Title: .jpg image
Post by: shankle on May 10, 2018, 11:18:14 PM
How can I put a .jpg image inline using Notepad++?
Thanks for any help or where to look for info.
Title: Re: .jpg image
Post by: Mikl__ on May 10, 2018, 11:51:05 PM
Hi, shankle!
Uncle Remus tales:#37j simple animation (http://masm32.com/board/index.php?topic=6275.msg67181#msg67181)
Loading both JPG and PNG as resources (http://masm32.com/board/index.php?topic=5747.msg61291#msg61291)
Dimensions of a bitmap (http://masm32.com/board/index.php?topic=6327.msg67793#msg67793)
Sorry GDI HELP (http://masm32.com/board/index.php?topic=6877.msg73660#msg73660)
Stretchblt and unicode (http://masm32.com/board/index.php?topic=6259.msg66888#msg66888)
With a little help from a friend... size of the image (http://masm32.com/board/index.php?topic=6996.msg75092#msg75092)
Title: Re: .jpg image
Post by: shankle on May 11, 2018, 12:40:30 AM
Thanks Miki for your reply.
I'll try to state my problem in the different manner.

I have a .jpg image in c:\user\jack\pictures.
I want to include this image in a Notepad++ message
that I want to email. As far as I can tell NotePad++ does
not accept attachments. An inline message would be ok
but it does not work for me. 
Title: Re: .jpg image
Post by: FORTRANS on May 11, 2018, 11:07:07 PM
Hi,

   If Notebook++ is like the Windows supplied Notebook, then
it is a text only editor.  Then you must convert the *.JPG to a
form of text and the recipient convert the text back to binary
and name it a JPG file.

   Simplest is binary to hexadecimal.  Depending on who gets the
message this can be done as a DEBUG script.  Mime Base64 and
Base85 are other options.  If prepared properly, a mail program
can recreate the picture.

Steve N.
Title: Re: .jpg image
Post by: aw27 on May 12, 2018, 01:10:51 AM
It appears that you want to send an attachment together with a plain text message.
Attachments are base64 encoded (or MIME encoded) and inserted within a text message according to a set of rules that govern multiple part email messages.
I am sure you will find lots of information about that if you search, namely base64 encoders.



Title: Re: .jpg image
Post by: jj2007 on May 12, 2018, 02:14:50 AM
See this recent Send mail with attachments (http://masm32.com/board/index.php?topic=6483.msg74689#msg74689) post.