JCL Help:BitmapToJPeg

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Converts a bitmap to a JPEG.


Pascal

 procedure BitmapToJPeg(const FileName: string);


Parameters

Parameters Description
const FileName: string Name of the bitmap file to convert to a JPEG image.


Description

BitmapToJPeg converts a bitmap file to a JPEG file. The destination file is saved with the same name as the source bitmap file but with the extension '.jpg'. If the function fails at any point it raises an exception.


See Also

JPegToBitmap


About

Unit

JclGraphics


Donator

Marcel van Brakel


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page