MoI discussion forum
MoI discussion forum

Full Version: Save image from MOI

Show messages:  1-14  15-34  35-43

From: rosto
26 Jun 2022   [#35] In reply to [#20]
This is a wonderful thing - changing the line thickness!
Is there a solution to change the line tips to rounded like in Illustrator?
What would not appear gaps at the corners.

Image Attachments:
linetips.png 


From: Michael Gibson
26 Jun 2022   [#36] In reply to [#35]
Hi rosto,

re:
> Is there a solution to change the line tips to rounded like in Illustrator?

Not with this particular method since it's using the realtime viewport display engine which is heavily oriented for speed.

But you should get rounded line tips if you generate a drawing by exporting to PDF, AI, or SVG formats instead of using this screen display capture method.

- Michael
From: Rudl
26 Jun 2022   [#37]
This is a screenshot of a pyramid with a lot of stones. Can I avoid the interferences with a pdf and how are the settings.

Image Attachments:
1102.jpg 


From: Michael Gibson
26 Jun 2022   [#38] In reply to [#37]
Hi Rudl, I'm not sure if PDF export will have less of a Moiré pattern but it would be worth a try. Give it a try with default settings.

You may need to adjust the image in an image processing program to reduce that kind of pattern, search for something like "Moire pattern removal" to get some information on that.

- Michael
From: Franz
2 Feb   [#39] In reply to [#5]
Dear ALL!

script: /*! Screenshot Moi Strg+G*/var v = moi.ui.getActiveViewport(); if ( v != null ) { moi.view.lineWidth = 4; v.renderToClipboard( 5300, 3560 ); moi.view.lineWidth = 1; }

I have been using this feature for many years without any problems. Now we have noticed on a new PC that nothing or only a transparent background is inserted from the clipboard. What could be the reason for this?

Best Regards,
Franz
From: Michael Gibson
2 Feb   [#40] In reply to [#39]
Hi Franz, it is likely to be a problem or limit of maximum texture size in your new machine's video driver.

You could try updating your machine's video driver or lowering the width and height of the requested image down from 5300, 3560 .

What happens if you use this for example:

script: /*! Screenshot Moi Strg+G*/var v = moi.ui.getActiveViewport(); if ( v != null ) { moi.view.lineWidth = 4; v.renderToClipboard( 1000, 1000 ); moi.view.lineWidth = 1; }

- Michael
From: Franz
2 Feb   [#41] In reply to [#40]
Thanks Michael for the quick reply.
Unfortunately, it has nothing to do with that, but maybe it's a setting in Irfan View.
Should Java Script be installed?

My colleague works with Windows 11.

Best Regards,
Franz
From: Michael Gibson
2 Feb   [#42] In reply to [#41]
Hi Franz, do you mean that test shortcut above with a 1000 x 1000 pixel size still doesn't work?

And updating the video driver didn't make any difference either?


re:
> Should Java Script be installed?

MOI has JavaScript built in, it doesn't need to be installed separately.

- Michael
From: Franz
3 Feb   [#43] In reply to [#42]
Hello!

We found the error. It is probably due to the new version of Irfan View.
We have now installed the slightly older version and everything is working again.
“iview452_x64_setup.exe”

Thank you very much,
Franz

Show messages:  1-14  15-34  35-43