craigsboyd
IS-IT--Management
There appears to be an undocumented limit on images displayed in the Image control of 9999 pixels. I was hoping this would be fixed in VFP 9, but alas it was not. For instance, try opening a tif file of 10000 pixels square in the image control, even if it is under 200 KB in size and VFP is not very graceful. What happens is that your computer spins for what seems like eternity (3-5 minutes consumes an enormous amount of system resources) and then finally a message pops up saying something about picture being corrupt, wrong format or too large.
I wonder why that is, certainly GDI+ can handle images of 10000+ pixels square (actually just one dimension needs to be larger than 9999 in order for the behavior to be displayed). Also, if MS isn't going to fix the limitation then why not document the size restriction and at the very least run some quick code to figure out that the image is too large and display the error message almost immediately rather than dragging the whole system down like that?
I realize that VFP is not necessarily considered the best option when dealing with images. However so many enhancements have come on that front, starting with VFP 8 and continuing in VFP 9, that I was hopeful this would have been addressed in the latest version.
I wonder why that is, certainly GDI+ can handle images of 10000+ pixels square (actually just one dimension needs to be larger than 9999 in order for the behavior to be displayed). Also, if MS isn't going to fix the limitation then why not document the size restriction and at the very least run some quick code to figure out that the image is too large and display the error message almost immediately rather than dragging the whole system down like that?
I realize that VFP is not necessarily considered the best option when dealing with images. However so many enhancements have come on that front, starting with VFP 8 and continuing in VFP 9, that I was hopeful this would have been addressed in the latest version.
