JPG Image to Lithophane C#

JPG images are widely used to save pictures, drawings, and other visual information. Whereas, lithophane represents three dimensional image that changes characteristics depending on the light source behind it. This article covers how to convert a JPG image to lithophane in C#.

JPG Image to Lithophane Converter – C# API Installation

Aspose.3D for .NET API can be used to manipulate different three dimensional models. Simply configure the API by downloading the DLL files from the Downloads section or with the following NuGet installation command:

PM> Install-Package Aspose.3D

Convert JPG Image to Lithophane in C#

You can convert a JPG image to Lithophane with the following steps:

  • Load the input JPG image.
  • Perform computational operations on Mesh objects.
  • Generate 3d scene and save objects using the Save method.

The following sample code demonstrates how to convert a JPG Image to Lithophane programmatically in C#:

Get Free Temporary License

You can evaluate the API in its full capacity by requesting a free temporary license.

Online Demo

Please try the JPG Image to Lithophane Converter web app developed using this API.

Conclusion

In this article, you have explored the conversion of JPG Image to lithophane. You can use the lithophane to create a 3D model, it uses thickness to reflect the darkness of the image and you can see the image when you put a light source behind the printed model. Furthermore, you can visit the documentation section to check out other features offered by the API. In case you notice any ambiguity, please reach out to us at the forum.

See Also

Convert USDZ to HTML in C#