diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-07-16 10:08:28 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-07-16 10:08:28 +0000 |
commit | 18a3ef60ba3c2ef8bd3f842c5b7e70cdf5a9c5c3 (patch) | |
tree | 8cb70a3a29cf3541cea58ba923e3c6ebb10cdcde /Game/Code/MacOSX/Wrapper/JPEG.pas | |
parent | 4dd9427bd27321e5ac8e9bff9a677f527294ac97 (diff) | |
download | usdx-18a3ef60ba3c2ef8bd3f842c5b7e70cdf5a9c5c3.tar.gz usdx-18a3ef60ba3c2ef8bd3f842c5b7e70cdf5a9c5c3.tar.xz usdx-18a3ef60ba3c2ef8bd3f842c5b7e70cdf5a9c5c3.zip |
removed outdated files
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1202 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/MacOSX/Wrapper/JPEG.pas')
-rw-r--r-- | Game/Code/MacOSX/Wrapper/JPEG.pas | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/Game/Code/MacOSX/Wrapper/JPEG.pas b/Game/Code/MacOSX/Wrapper/JPEG.pas deleted file mode 100644 index e25c193e..00000000 --- a/Game/Code/MacOSX/Wrapper/JPEG.pas +++ /dev/null @@ -1,34 +0,0 @@ -unit JPEG; - -{$I switches.inc} - -interface - -uses Graphics; - -type - TJPEGImage = class(TBitmap) - private - FCompressionQuality : Integer; - public - Procedure SaveToFile(const f : String); override; - property CompressionQuality : Integer read FCompressionQuality write FCompressionQuality; - end; - -implementation - -uses FreeImage; - -{ TJPEGImage } - -procedure TJPEGImage.SaveToFile(const f: String); -begin - if CompressionQuality = 0 then begin - CompressionQuality := 95; - end; - - FImage.Save( f, CompressionQuality); -end; - -end. - |