cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

png picture in worksheet

ValeryOchkov
24-Ruby IV

png picture in worksheet

If I copy from Paint for example and insert in a worksheet not bmp but png-picture after save and load the worksheet is corrupted!
Val
http://twt.mpei.ac.ru/ochkov/v_ochkov.htm
8 REPLIES 8

Val,

I can not duplicate this. The png didn't save with Paste, but the file was fine for me. With paste-special, the png was fine as well.

Mona

On 4/5/2010 12:43:55 PM, MonaZ wrote:
>Val,
>
>I can not duplicate this. The
>png didn't save with Paste,
>but the file was fine for me.
>With paste-special, the png
>was fine as well.
>
>Mona

Sorry, Mona, but I can duplicate this error!

Val
http://twt.mpei.ac.ru/ochkov/v_ochkov.htm

Hi Valery,

I can't also duplicate your problem.
Mathcad 14 M020 on Windows 7 x64.

Jerzy

On 4/7/2010 9:13:53 AM, JerzyCP wrote:
>Hi Valery,
>
>I can't also duplicate your
>problem.
>Mathcad 14 M020 on Windows 7
>x64.
>
>Jerzy

Thanks, Jerzy.
Now it is not my but our problem!
Mona, check please again!

PS
I feel this error by creating very interesting live web reference book "Labour protection in Electric". See one page:
http://twt.mpei.ac.ru/MCS/Worksheets/EB/EB-4-1.xmcd


Val
http://twt.mpei.ac.ru/ochkov/v_ochkov.htm

On 4/7/2010 10:12:04 AM, VFO wrote:
>On 4/7/2010 9:13:53 AM, JerzyCP wrote:
>>Hi Valery,
>>
>>I can't also duplicate your
>>problem.
>>Mathcad 14 M020 on Windows 7
>>x64.
>>
>>Jerzy
>
>Thanks, Jerzy.
>Now it is not my but our problem!
>Mona, check please again!
>
>PS
>I feel this error by creating very
>interesting live web reference book
>"Labour protection in Electric". See one
>page:
>http://twt.mpei.ac.ru/MCS/Worksheets/EB/
>EB-4-1.xmcd
>
>
>Val
>http://twt.mpei.ac.ru/ochkov/v_ochkov.htm
_______________________________

That's right:
>...error by creating very interesting live web...<<br>
If you want to plug Mathcad sheet on the web for non Mathcad user, let say there are 3 main ways
1. *.PDF [expensive Adobe, or 0 $ PdfCreator]
2. Word [useless to me because I'm NOT a "WordMan"]
3. as image
...........

Mathcad reads images:
bmp, ppm, pgm,pbm, tif, tga, jpg, gif, pcx ... bin, raw ... ?

Mathcad 11 does not read *.png
*. png is an image format up to 64 bits. It has the transparency [opacity] option which other image formats don't have. Except for the opacity for web pages, *png is useless for screen display ... the screen display has 15 times less resolution than the human eye so, you aren't going to see what can't be displayed !!!.

Wherever the image is destroyed between the creator and the reader, what matters is the reader and how to best preserve the information in the image he is reading on his screen. Assume you want to save a web image of best reproduction for the reader, then go via *.gif [which *.gif you may have created from the *.png opacity].

At this point of saying that *.gif is adequate then there are two ways of creating *.gif: the right way and the wrong way. The wrong way is *.gif Compuserve [in fact I have never used it]. There are two right ways of saving *.gif: the right poor way and the right best way.
1. The right poor way is using IrfanView on large size image like a full page Mathcad sheet if it contains an image of all color levels. For only few colors, 8 for instance, IrfanView is OK.
2. The right best way is to plug you Mathcad sheet in Paint, select the image in Paint and paste in WinGrab and reduce color 256. WinGrab has superior color conversion/reduction than Compuserve

"The best algorithm is generally Kohonen Neural Network Quantization, which is described in the article Anthony Dekker: Kohonen neural networks for optimal color quantization in Volume 5, pp 351-367 of the journal Network: Computation in Neural Systems (Institute of Physics Publishing, 1994). The algorithm in the present program is based on the source code (in C) given at:


http://www.ozemail.com.au/~dekker/NEUQUANT.HTML

Another well known algorithm, which in some cases gives a better result than the above algorithm, is Octree color quantization, which is described in the article I.Ashton: "Octree Color Quantization" in the March 1995 issue of The C/C++ Users Journal. The algorithm in the present program is based on the source code at:

ftp://ftp.uu.net/published/cuj/1995/ in the file mar95.tar.Z "

Once you have reduced/converted the color in WinGrab, you can copy and paste in IrfanView, save in file and plug back on the web with and absolute quality. What I'm saying is that an image is a matrix, a matrix of well reduced/converted from WinGrab rather than a poorly reduced/converted matrix from IrfanView or Compuserve. In fact, WinGrab is the image creator of the Mathcad sheet. What is the point of having an *.png of more information that the screen can display ?

If you convert you "png creation" as an image, Mathcad will read in any of the format above. Mathcad reads any of the image matrix codes listed. All that said, *.PDF is by far the simplest and quickest way to save Mathcad sheets as dead object. A 100 pages Mathcad document as 100*.gif is a long job ... same 100 pages as *.PDF is few seconds. If you can afford Adobe, you will have a 1/1 quality [images, text, equations]. If you can only afford the free PdfCreator, the text and equations will be of different presentation ... ! BUT ! the PdfCreator images aren't converted and are of 1/1 quality.

I need 24 more hours in a day, selling donuts to afford Adobe .

IE [Internet Explorer] is a 1/1 transmitter of what it can transmit, garbage-in = garbage-out ... vice versa: good-in = good-out but never higher resolution than the screen. If an image has more pixels that the screen can display then Microsoft zooms it down, therefore destroys and makes the display so flat to the eye.

PdfCreator about doubles the Mathcad file size.

jmG

Back to the topic as stated:
"png picture in worksheet"

No problem: create an image of your "png" image,
the image you create: save in file, read back from file.



The 256 colors png + the text and image extractor is pasted in Paint, copy, paste in Wingrab, reduced again 256 Octree, pasted back to IrfanView [large image folder] for the collab.

PNG in Mathcad = no problem, just the procedure.

jmG

Anything you paste in Paint is converted as an RGB 3 matrices color image. This is the great silent Microsoft most wonderful tool. What you select is then all or part of this RGB that WinGrab reads and can reduce to 256 colors with the quality that I know none else has. Oh ! maybe today, but I'm using Wingrab since 2000 and in the same time I got Mathcad 8.

All that should help.

jmG

If you want to plug Mathcad sheet on the web for non Mathcad user, let say there are 4 main ways:
1. *.PDF [expensive Adobe, or 0 $ PdfCreator]
2. Word [useless to me because I'm NOT a "WordMan"]
3. as image
4. MAS

Val
http://twt.mpei.ac.ru/ochkov/v_ochkov.htm
Top Tags