Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Pictures » Windows API » Visual FoxPro   (RSS)

Compress and timestamp your pictures to gain disk space

I was running out of space again on my notebook. As years go by, digital cameras can take pictures with more megapixels, but that means they take up more space. Thus my pictures from 10 years ago are much smaller than this year’s. Since I have multiple

Resize your pictures for your phone or pocket pc

I have many digital pictures, and I'd like to put some of my favorites on my SmartPhone . However the files are much higher resolution than the device's display. This means the files take a lot more memory on the phone, and they take longer to process.

Play movies with an ActiveX control

I’ve been using Canon Powershot cameras for years, and they take movies in AVI format as well as being a good camera. I store my photos and movies in the same folders, and use the same database to store them. To display the movies, I add a Windows Media

Why a large picture works, but a small one fails?

In my last post Enable crop and zooming in on your digital photograph display form there is code that seemed to work just fine for me, but failed for others. I subsequently fixd the code in that post to call ValidateRect , which works around the problem.

Enable crop and zooming in on your digital photograph display form

I wanted to add the ability to zoom into a portion of a photograph on my photo viewer. Below is some code that processes the MouseUp, MouseDown and MouseMove events to add a yellow dotted-dash selection rectangle using a Shape control that the mouse can

Call GDI+ JPG manipulation from Excel, Word, Powerpoint, VB.NET

Here’s a way to manipulate photos from within some Microsoft products. In the prior post , I wrote some code to write and draw directly on a JPG image. It draws text, a timestamp, and an ellipse with a gradient brush onto a JPG and then saves it out to

GDI+ can't handle some malformed JPG files

I received a comment on my blog VFP handles some images differently with GDIPlus Here's another problem with the way that VFP hooks into GDI+. If a JPG has malformed EXIF data, VFP will refuse to display it in a standard picture object. It returns error

VFP handles some images differently with GDIPlus

Visual Foxpro 9 uses GDIPlus to handle certain kinds of image files, such as JPG, GIF. Because the ability to decode image formats is now centralized in the operating system, VFP can take advantage of OS updates to file formats as well as other formats
 
Page view tracker