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.


Is it possible to open a JPEG and resize?


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-19-2008, 03:02 PM
tigme's Avatar
Newbie
 
Join Date: Feb 2008
Posts: 4
Default Is it possible to open a JPEG and resize?

I want to open a JPEG file resize it and then save the new image to a file. Is this possible with Basic4PPC?
__________________
__________________________
Rudolph Thomas
www.carrara3d.co.za

Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 03:29 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,199
Default

You can resize an image and save it. It will be saved as a bitmap file not JPEG.
This example requires ImageLib and ImageLibEx.
Attached Files
File Type: sbp ImageResizer.sbp (991 Bytes, 19 views)
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 04:53 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,770
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

My ImageEdit library can resize and save jpgs (amongst other things ) Image processing library
Attached Files
File Type: zip ResizeJPG.ZIP (21.2 KB, 29 views)
Reply With Quote
  #4 (permalink)  
Old 02-19-2008, 05:12 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,199
Default

Interesting. Note that not all devices support native Jpeg Encoding and therefore will raise an error when you try to save.
Reply With Quote
  #5 (permalink)  
Old 02-19-2008, 09:18 PM
tigme's Avatar
Newbie
 
Join Date: Feb 2008
Posts: 4
Default

Any chance you going to support JPG saving/exporting in the future?
__________________
__________________________
Rudolph Thomas
www.carrara3d.co.za

Reply With Quote
  #6 (permalink)  
Old 02-19-2008, 09:19 PM
tigme's Avatar
Newbie
 
Join Date: Feb 2008
Posts: 4
Default

Quote:
Originally Posted by agraham View Post
My ImageEdit library can resize and save jpgs (amongst other things ) Image processing library
Thanks Agraham, will have a look...
__________________
__________________________
Rudolph Thomas
www.carrara3d.co.za

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
file open question scott93727 Questions & Help Needed 4 05-30-2008 10:07 AM
Serial Port won't open djmrozinski Questions & Help Needed 6 03-16-2008 05:25 PM
db2000 - JPEG Exif maXim Italian Forum 5 03-07-2008 07:03 PM
JPEG to byte array without writing to file brathbone Questions & Help Needed 2 03-01-2008 06:59 AM
SQLite Open Close - how often? sloopa Questions & Help Needed 3 05-01-2007 03:01 PM


All times are GMT. The time now is 01:35 AM.


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