This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EMFBitmapBGColour <- function (filename, background = 0, replacementColour = -1) { | |
# by martin graham 6th feb 2019 | |
# need to integerise these values explicitly or they change the type of id when inserted | |
# which then means mangled values are written back to file | |
background <- as.integer (background) | |
replacementColour <- as.integer (replacementColour) | |
# read emf file | |
fullFileName <- paste0(filename) |