Skip to main content
1-Visitor
December 2, 2022
Solved

Insert an image in MathCAD 15 header

  • December 2, 2022
  • 1 reply
  • 6701 views

Hello,

I am trying to insert a bitmap image into the header of MathCAD 15, its size is about 124kB. Could someone assist me with it ? I get an error saying the tool is unable to read the file.

Thanks!

Best answer by Werner_E

@SS_10514537 wrote:

Hey, 

Sounds interesting. How do we find out its OS/2 BMP and convert to Windows BMP ? 

Appreciate your help.


My idea was to load it in a an image editor and resave it as I suspected some kind of format discrepancy when I got the very same error message  you experienced. And the program suggested "OS/2 bitmap" as file format for saving and so I realized that its not in Windows bitmap. Actually I wasn't aware of an OS/2 bitmap format and don't know what the difference is. Guess its a completely different format and only shares the same extension "bmp". I used the rudimentary pic editing functions of a screenshot program to do the job, but I guess any decent picture editing program would do fine.

EDIT: Just gave it a try with Windows Paint and the conversion to Windows Bitmap worked equally well.

I haven't tried for long to get it actually displayed in the header. Maybe its just necessary to make the margins wider to do the job.

EDIT: Tried it and succeeded. Setting the top margin to about 37 mm does the job.
It was a bit strange. When the margin was set to 10mm, Mathcad imported the pic without any message but did not display it. When I had set the margin to 30 mm, Mathcad told me (when I imported the pic) that it was too tall and asked if the margins should be set automatically so that the pic would fit.

Anyway - your problem should be solved if you

  • open the picture file in Windows Pain and immediately resave it
  • make the margins in Mathcad large enough and then insert the pic in the header

 

 

1 reply

23-Emerald IV
December 2, 2022

You say 'bitmap image', but what is the file type of the image.

Is it a .jpg, a .tif, a .png or (the one definitely supported) .bmp?

 

Success!
Luc

 

1-Visitor
December 2, 2022

Hi Luc, Yes the file has .bmp extension.

23-Emerald IV
December 2, 2022

Can you attach the .bmp file to this thread. I'm curious.... I did not find a .bmp file that Mathcad would not read.

 

Success!
Luc