Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default LoadPicture - how to keep .jpg compression

Hi,

I need to create a user form programatically - most work
already done. I also use
ThisWorkbook.VBProject.VBComponents
("UserForm1").Designer.Image1.Picture = LoadPicture
("c:\test.jpg") to assign a picture to the "Image1" component.

It works fine, but when I save the result, the .jpg is probably
decompressed and saved in .bmp - the size of .xls file is
about 2 MB, althought it should contain just a 80 kB jpg file.

Is it possible to keep the picture compressed? (when I add
the image manualy, it works fine, just the LoadPicture
seems to decompress it).

Kind regards,

Karel Rys

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel Data Compression Data Excel Discussion (Misc queries) 0 March 23rd 10 10:12 PM
Compression of Y axis Moonpanther Charts and Charting in Excel 1 September 4th 07 08:37 AM
How do I set up a salary compression template in Excel? Jeremy Excel Discussion (Misc queries) 0 December 12th 06 04:31 PM
Using compression to reduce file size Ken Johnson Excel Discussion (Misc queries) 7 October 2nd 06 12:18 AM
Row Compression W. Watson Excel Discussion (Misc queries) 4 April 16th 05 03:09 PM


All times are GMT +1. The time now is 11:09 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"