Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLEDragDrop GetData() in BMP/WAV format?
Message
From
24/05/2005 16:44:09
 
 
To
24/05/2005 16:08:12
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01016102
Message ID:
01017274
Views:
71

>There's one little tweak left to do and I strongly believe it may be related to Office apps vs. your code. As presently coded, the images get converted to a 256 color palette. My guess is that this is Word doing the conversion. The reason I believe this is if I copy and paste a Word image into MS Paint, the MS Paint image is more than twice the size of raw image data we receive in a DIB via .GetData( CF_DIB ).
>
>Example:
>
>Saved as 24 color BMP via Paint: 17,334
>Saved as BMP created from Word DIB: 6,838 (256 color palette)
>
>Note: I recieved the same result regardless of how I pasted (Edit/Paste Special) my source images into Word: bitmap, Windows Metafile, or DIB all resulted in a palette conversion being performed by Word.
>


Well that's what I thought. If you paste to WordPad then drop into VFP, you get 24 BPP


>
>Herman, thanks again for all your hard work on this thread!!!
>

No problem at all. Playing with this thing added my experienced too :-)
Herman
Previous
Reply
Map
View

Click here to load this message in the networking platform