Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GDI+ image class - storing PNGs stretched out
Message
From
05/11/2003 12:41:21
 
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00846147
Message ID:
00846646
Views:
46
Alexander,

I tried messing with resolution, and while that affects the way the TIF displays in the TIF viewer, a standard image viewer still shows the original graphic with no changes (this is when I am saving as PNG).

I am trying the Resize method, but am getting "Out of memory" error. My call to the resize looks like:

loImg.Resize(1728, 2188, InterpolationModeDefault)

I am assuming the units for the passed in width and height are the same as those used for ImageWidth and ImageHeight, and I am trying to take an image that is 1728x1093 to one that is 1728x2188, thereby matching the side-to-side streatching with top-to-bottom stretching. Why would I bet getting Out of Memory errors when that line executes?

Thanks,
JoeK
Previous
Reply
Map
View

Click here to load this message in the networking platform