Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Example Azure C# function that calls Batik JAR command line file and returns an image object

NotificationsYou must be signed in to change notification settings

osuhomebase/SVG2PNG-AzureFunction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Example function that calls Batik JAR command line file and returns an image object

The purpose of this function app is to convert SVG files to PNG's, specifically SVG's with embedded fonts. There are great conversion tools out there like:

Functionally, this app is a good tutorial for doing the following:

  • Calling Java.exe command line from C# to run a JAR file
  • Using Environment Variables in an Azure Function
  • Returning an image in an Azure Function
  • Using temp storage to download and manipulate files in an Azure Function
  • Pushing files to Azure Blob Storage from an Azure Function

Usage

[FunctionURL]?l=[URL of SVG File]

Sample Files

You can find a bunch of SVG Samples here:https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/

Notes

I'm pretty new at building for Azure and this was my first project. Happy to update based on suggested best practice. Also happy to share my learning experience.

About

Example Azure C# function that calls Batik JAR command line file and returns an image object

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp