Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


Image files can I save?


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-08-2008, 01:49 PM
Newbie
 
Join Date: May 2007
Posts: 2
Default Image files can I save?

I am trying to develope a simple drawing tool, and I would like to save the image to the ppc.

Can this be done!?

Many thanks
Reply With Quote
  #2 (permalink)  
Old 01-08-2008, 01:56 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,335
Default

Yes: Saving an image to a file
Reply With Quote
  #3 (permalink)  
Old 01-08-2008, 02:09 PM
Newbie
 
Join Date: May 2007
Posts: 2
Default

Thanks that must be one of the fastest replies ever!!!!!
Reply With Quote
  #4 (permalink)  
Old 01-08-2008, 03:23 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Switzerland
Posts: 818
Awards Showcase
Beta Tester Competition Winner 
Total Awards: 2
Default

You can also use the dzImage Library in

dzImage Library

Where you have different functions like, below part of the txt file for the library.

Methods:
ScreenCapture: Captures the whole screen.
ScreenCapture2(x,y,width,Height): Captures part of the screen.
ControlCapture(ControlName,x,y,width,Height): Captures part of a control. x,y are relatives to control upper left corner. The control can be a form or any other control
SaveImageBMP(Image, FileName): Saves the Image as BMP to a file with filename Filename.
SaveImageJPEG(Image, FileName): Saves the Image as JPG to a file with filename Filename.
SaveImageGIF(Image, FileName): Saves the Image as GIF to a file with filename Filename.
CopyImage(sourceImage, x,y,width, height): Copies a part of an image. Returns the new cropped Image (part of the source)
RotateImage(sourceImage, angle): Rotates an image. Angle can be one of 0, 90, 180, 270. Returns the rotated Image
ZoomImage(sourceImage, Percent): Zoomes an image Percent% of the original (Percent = 0 to 1000). Returns the Zoomed Image
ImageSize(Image): Returns an array(2) containing width and height of the image. array(0) = width and array(1) = height

The last version is V5, the text file is in version V2
I think the functions you are looking for are in this library.

Best regards
Klaus
Switzerland
Reply With Quote
  #5 (permalink)  
Old 01-17-2008, 03:16 PM
Newbie
 
Join Date: Dec 2007
Posts: 6
Default

I am also working on something like painting, if you want we can do it together..
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
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
GetFile to save to other DIR tcgoh Questions & Help Needed 9 08-09-2008 06:17 AM
Sound and Image files JamesC Questions & Help Needed 1 04-15-2008 11:29 AM
save filter of a table manu Questions & Help Needed 4 08-23-2007 04:46 PM
How to save images after they have been placed in an imagelist XerVision Questions & Help Needed 2 07-13-2007 09:59 PM
Move an image inside an image control Cableguy Questions & Help Needed 5 05-14-2007 08:40 PM


All times are GMT. The time now is 07:06 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0