code: public static URI create(
              final Dimension targetSize,
              final String graphicFile,
              final Color backgroundColor,
              final Double rotation,
              final File workingDir,
              final MfClientHttpRequestFactory clientHttpRequestFactory) throws Exception {
          try (Closer closer = Closer.create()) {
              final RasterReference input = loadGraphic(graphicFile, clientHttpRequestFactory, closer);
              if (graphicFile == null || graphicFile.toLowerCase().trim().endsWith("svg")) {
                  return createSvg(targetSize, input, rotation, backgroundColor, workingDir);
              } else {
                  return createRaster(targetSize, input, rotation, backgroundColor, workingDir);
              }
          }
      }
docs: Creates the north-arrow graphic.
  <p>
  Scales the given graphic to the given size and applies the given rotation.
  
  @param targetSize The size of the graphic to create.
  @param graphicFile The graphic to use as north-arrow.
  @param backgroundColor The background color.
  @param rotation The rotation to apply.
  @param workingDir The directory in which the graphic is created.
  @param clientHttpRequestFactory The request factory.
  @return The path to the created graphic.