Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Image files can I save?

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-08-2008, 12: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, 12:56 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,732
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Yes: http://www.basic4ppc.com/forum/additional-libraries/8-saving-image-file.html
Reply With Quote
  #3 (permalink)  
Old 01-08-2008, 01: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, 02:23 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 4,463
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

You can also use the dzImage Library in

http://www.basic4ppc.com/forum/additional-libraries/1403-dzimage-library.html

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, 02: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 Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
GetFile to save to other DIR tcgoh Questions (Windows Mobile) 9 08-09-2008 05:17 AM
Sound and Image files JamesC Questions (Windows Mobile) 1 04-15-2008 10:29 AM
save filter of a table manu Questions (Windows Mobile) 4 08-23-2007 03:46 PM
How to save images after they have been placed in an imagelist XerVision Questions (Windows Mobile) 2 07-13-2007 08:59 PM
Move an image inside an image control Cableguy Questions (Windows Mobile) 5 05-14-2007 07:40 PM


All times are GMT. The time now is 06:30 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0