Export to JPEG?

Next
 From:  Bob (APTIVABOY)
7542.1 
I'm able to do it using a third party converter, but it adds a step to everything. Might an export to JPEG option become available in MOI's next release?

Thanks,

Bob
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
7542.2 In reply to 7542.1 
Hi Bob,

> Might an export to JPEG option become available in MOI's next release?

It's actually available right now by setting up a shortcut key with a script on it.

Go to Options > Shortcut keys, and add in a new one, for the key put in whatever key you want to trigger it, and for the command part paste in the following:


script:/* Save snapshot to image file */ var v = moi.ui.getActiveViewport(); if ( v != null ) { moi.view.lineWidth = 4; var img = v.render( 2560, 2048 ); moi.view.lineWidth = 1; var name = img.getSaveFileName(); if ( name != '' ) img.save( name ); }



You can alter the values for 2560, 2048 to control the width and height of the generated image.

This version will pop up a file dialog and ask you for a file name to save, you can type in a filename with a .jpg extension and that will save it as a JPEG type file, or you can set the file type dropdown as another way to make a JPEG file type.


You can also set up a different script which will render the view and put the image into the clipboard so you can paste it into an image editing program, for that one see here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=1049.5

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Bob (APTIVABOY)
7542.3 In reply to 7542.2 
That is awesome, thank you! Here's its first uses, a gun director tub for a 1/350th Fletcher-class destroyer. In this scale, there's not much detail to add. I"ll be making other versions with pipe railings and canvas covers to the rails.

Bob
Image Attachments:
Size: 188.3 KB, Downloaded: 52 times, Dimensions: 2560x2048px
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All