Author Topic: .jpg image  (Read 211 times)

shankle

  • Member
  • ****
  • Posts: 774
.jpg image
« 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.


shankle

  • Member
  • ****
  • Posts: 774
Re: .jpg image
« Reply #2 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. 

FORTRANS

  • Member
  • *****
  • Posts: 1001
Re: .jpg image
« Reply #3 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.

AW

  • Member
  • *****
  • Posts: 1303
  • Let's Make ASM Great Again!
Re: .jpg image
« Reply #4 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.




jj2007

  • Member
  • *****
  • Posts: 8442
  • Assembler is fun ;-)
    • MasmBasic
Re: .jpg image
« Reply #5 on: May 12, 2018, 02:14:50 AM »
See this recent Send mail with attachments post.