Browse Source

more demo cleanup.

Ugochukwu Mmaduekwe 7 năm trước cách đây
mục cha
commit
e9e0a8031a

+ 6 - 3
QRCodeGenLib.Demo/src/uQrCodeGeneratorDemo.pas

@@ -292,16 +292,19 @@ begin
     end;
     end;
   end;
   end;
   LFilePath := LFilePath + AFileName;
   LFilePath := LFilePath + AFileName;
-  // save bmp
+  // create bmp
   LBitmap := AQrCode.ToBmpImage(AScale, ABorder);
   LBitmap := AQrCode.ToBmpImage(AScale, ABorder);
-  // save jpeg
+  // create jpeg
   LJpeg := AQrCode.ToJpegImage(AScale, ABorder);
   LJpeg := AQrCode.ToJpegImage(AScale, ABorder);
-  // save png
+  // create png
   LPng := AQrCode.ToPngImage(AScale, ABorder);
   LPng := AQrCode.ToPngImage(AScale, ABorder);
   try
   try
     try
     try
+      // save bmp
       LBitmap.SaveToFile(LFilePath + '.bmp');
       LBitmap.SaveToFile(LFilePath + '.bmp');
+      // save jpg
       LJpeg.SaveToFile(LFilePath + '.jpg');
       LJpeg.SaveToFile(LFilePath + '.jpg');
+      // save png
       LPng.SaveToFile(LFilePath + '.png');
       LPng.SaveToFile(LFilePath + '.png');
       AQrCode.ToSvgFile(ABorder, LFilePath + '.svg');
       AQrCode.ToSvgFile(ABorder, LFilePath + '.svg');
     except
     except