Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Change Jpg Size
cosmic
post Nov 14 2006, 07:41 PM
Post #1


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 15
Joined: 14-November 06
Member No.: 17,259



var
jpg: TJpegImage;


......

if openpicturedialog1.Execute then
begin
jpg:= TJpegImage.Create;
try
jpg.Loadfromfile( openpicturedialog1.filename );
if jpg.Height>jpg.Width then
begin
jpg.Height:=round(jpg.Height/20);
jpg.Width:=round(jpg.Width/20);
end;
EDBImage1.Picture.LoadFromFile(openpicturedialog1.FileName);
finally
jpg.Free;
end;
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Disable /change The Find In Page Sound In Firefox(1)
  2. Joomla Template Kit Extension For Nvu/composer(3)
  3. Css File Size(7)
  4. Center Update(5)
  5. How To Change Registered Owner`s Name On Win Xp(21)
  6. How To Change Ur Ip Address(47)
  7. How To Change Your Ip Address.(68)
  8. Domain Change.(10)
  9. Howto: Change Graphical Login To Text(3)
  10. What is the size of you HD(122)
  11. Switch Network Settings With Batch Files(18)
  12. Dynamically Change The Background Image On Mouse Effects!(3)
  13. Change Font On Series 60 Phone(9)
  14. Change Fonts On A S60 Phone [tutorial](13)
  15. Monitor Size(22)
  1. Power Distribution Change Reboot After 8pm Pst On Saturday May 31, 2008(0)
  2. Domain Change(2)
  3. How To Change Drive Icons And Labels(3)
  4. How To Change Language At Login Screen(7)
  5. How To Change The Color Of The Leds On A Dell Xps System(9)
  6. Change Server Time?(9)
  7. Phpbb - Configuration Help ?(4)
  8. Delete Files By Size Recursively(2)
  9. Change Default Applications(3)
  10. Change Start Button Text(10)
  11. Buying A Computer(7)
  12. Change Table Colors On Mouse Effects!(8)
  13. How To Surf & Download Efficiently(7)
  14. Change The Look Of Your Myspace Page(1)
  15. Database Size?(10)


 



- Lo-Fi Version Time is now: 13th October 2008 - 04:08 PM