Jump to content
RockWare Support Forum
Pat Knoll

Export to Raster in RockPlot2D Viewer

Recommended Posts

When exporting in the viewer I can get a good result.

But when I export in RCL it does not scale correctly and jumbles up the section.

Are there more DEFINE statements not listed below that more closely match what is in the export feature?

I'm using the RockPlot2D viewer menu 'File | Export | PNG'. In this form there are many additional settings for scale, width, etc.

Below is all the code I can find on this.

 

DEFINE:  RASTER_EXPORT    INPUT_FILE         TS2.rw2d
DEFINE:  RASTER_EXPORT    PNG_FILE_NAME      TS2.png
DEFINE:  RASTER_EXPORT    RESOLUTION         600
DEFINE:  RASTER_EXPORT    DISPLAY_OUTPUT     True
DEFINE:  RASTER_EXPORT    OUTPUT_FORMAT      2
EXECUTE: rp2d_to_raster

Share this post


Link to post
Share on other sites

Hi Pat,

 

To view the other RCL commands:

  • Choose the RockWorks 17 Utilities Graphix | 2D Utilities | Export | Raster (...) menu command to display the Raster Image (Bitmap) Export Options dialog box.
  • Click on the RCL button in the lower right corner.

Regards,

Tom B

RockWare Inc

 

 

 

 

DEFINE: RASTER_EXPORT    INPUT_FILE                 C:\Users\tomb\Documents\RockWorks17 Data\Samples\temp.Rw2D
DEFINE: RASTER_EXPORT    OUTPUT_FORMAT              2
DEFINE: RASTER_EXPORT    PNG_FILE_NAME              C:\Users\tomb\Documents\RockWorks17 Data\Samples\_c123_ore.png
DEFINE: RASTER_EXPORT    PNG_COMPRESSION            1
DEFINE: RASTER_EXPORT    PNG_PROGRESSIVE            0
DEFINE: RASTER_EXPORT    PNG_TRANSPARENT            0
DEFINE: RASTER_EXPORT    PNG_TRANSPARENT_COLOR      16777215
DEFINE: RASTER_EXPORT    PNG_CHANGE_BACKGROUND      0
DEFINE: RASTER_EXPORT    PNG_BACKGROUND_COLOR       16777215
DEFINE: RASTER_EXPORT    SCALING_METHOD             1
DEFINE: RASTER_EXPORT    RESOLUTION                 201
DEFINE: RASTER_EXPORT    SCALE                      1.00000000000000E+0002
DEFINE: RASTER_EXPORT    VERTICAL_EXAGGERATION      1.00000000000000E+0000
DEFINE: RASTER_EXPORT    MARGIN                     0
DEFINE: RASTER_EXPORT    PATTERN_SCALING_METHOD     0
DEFINE: RASTER_EXPORT    CREATE_WORLD_FILE          0
DEFINE: RASTER_EXPORT    DISPLAY_OUTPUT             1
EXECUTE: rp2d_to_raster

 

RasterExportRcl.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×