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

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Code Samples & Tips > Additional Libraries
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Additional Libraries Users contributed libraries.
This sub-forum is only available to licensed users.

ImageLibEx library

Reply
 
LinkBack Thread Tools Display Modes
  #41 (permalink)  
Old 12-11-2008, 10:11 AM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 5,953
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by Softselect View Post
I mean if you load the image, then see it is the wrong one and try to load another image into the imagebox form the app direrctory.
I don't see a problem doing that either. I think you need to post a zip of your app directory with libraries, code and images and a step by step description of how to demonstrate the problem.
Reply With Quote
  #42 (permalink)  
Old 12-11-2008, 10:30 AM
Junior Member
 
Join Date: Jun 2007
Location: South Africa
Posts: 42
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Here it is
1. open form designer
2. click on image
3. click image button select image Softsect
4. view image in designer dont close form1
5. click image button again and select image softselect new logo
and then the error comes up (see Error screen shot)
could it have something to do with my path its quite long
d:\alldata\basic4ppc\softselect code\bitmap test\
Thanks again
You are a star
Reply With Quote
  #43 (permalink)  
Old 12-11-2008, 11:01 AM
Knows the basics
 
Join Date: Apr 2007
Location: Steinheim, Germany
Posts: 91
Default

Hi,
no problem with V6.5 and XP Home SP3. Maybe rename your file to softselect_new_logo.bmp
__________________
Thanks for all
wolfgang
___________________
Desktop: Dual Core 3.0 GHz, Win7
Device: IPAQ 3970 WM 2003, Asus 632N WM5, HTC 3650 Cruise
GPS: iblue 747
Reply With Quote
  #44 (permalink)  
Old 12-11-2008, 11:15 AM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 3,827
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

I have tested it, works fine, without any problem ?
Even with your long directory name.
Try perhaps to remove the blanc charactes in the filename ?

Best regards.

EDIT: Hi wolfgang, you were faster than me !
__________________
Klaus
Switzerland
Reply With Quote
  #45 (permalink)  
Old 12-11-2008, 11:23 AM
Junior Member
 
Join Date: Jun 2007
Location: South Africa
Posts: 42
Awards Showcase
Beta Tester 
Total Awards: 1
Default

I tried that, no luck
I have XP Prof SP3 and V6.5
the funny thing is if i delete the image from the app dir and load the same file from a different directory it works fine
Strange things happening, maybe its got something to do with the heat in South Africa 33c here today
Thanks Friedrich
Reply With Quote
  #46 (permalink)  
Old 12-11-2008, 11:51 AM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 5,953
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

No, I can't get it to go wrong. I've even replicated your paths on my D: drive. Interestingly in the background of the error screen shot it looks like the correct image actually is loaded. Is it possible that the image file is open in another app like an image editor? Also if you reboot and try again does the error persist?
Reply With Quote
  #47 (permalink)  
Old 12-11-2008, 09:09 PM
derez's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Posts: 918
Awards Showcase
Beta Tester Competition Winner 
Total Awards: 2
Default 1.2 loading problem ?

andrew
I have a strange problem which I can't solve. I loaded the 1.2 version and stored it in the library directory (with the cs and help)
If I start a new program and use it - everything works fine.
If I add the dll to my existing GPS program - I can't get the RotateHQ and RotateFast, as if I use the previous version.
Is there interference with the other libraries ?
see attached list
Attached Images
File Type: jpg dlls.JPG (15.5 KB, 10 views)
__________________
David Erez
Ramat Hasharon, Israel

Last edited by derez : 12-11-2008 at 09:21 PM.
Reply With Quote
  #48 (permalink)  
Old 12-11-2008, 09:27 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 5,953
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by derez View Post
Is there interference with the other libraries ?
I've had a quick look and can't see what might be a problem. I am afraid you will have to post the source that shows the problem so that I can have a better look.
Reply With Quote
  #49 (permalink)  
Old 12-12-2008, 09:40 AM
derez's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Posts: 918
Awards Showcase
Beta Tester Competition Winner 
Total Awards: 2
Default

In the directory of the program I had the previous version dll.
Loading the library from another source (the basic library directory) didn't copy the new version, and the program used the old, which does not have these two functions.

I think that it should have copied the selected library even if a library with the same name exist, but that is not the problem of this specific library.
Thanks.
__________________
David Erez
Ramat Hasharon, Israel
Reply With Quote
  #50 (permalink)  
Old 12-12-2008, 04:48 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 5,953
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Version 1.3 now posted with a single new method in BitmapEx - AlphaBlend. This allows a specified portion of a source bitmap to be blended with a destination bitmap using a specified transparency value. Optionally a colour in the source bitmap may be specified as transparent and hence not blended with the destination. This needs .NET 2.0 but will work on both device and desktop.

Note that this does not cope with images such as PNGs and GIFs that have individual alpha values for each pixel. I had initially hoped to do this but it would only have been available on WM5.0 and later on the device. Implementing this would have required native calls to the Windows GDI on the device as the Compact Framework does not support this. In the end the grief involved in getting it working properly, mapping it sensibly into ImageLibEx for access from Basic4ppc and implementing a desktop compatible version was just too much effort to be regarded as fun so I rolled my own implementation with direct bitmap pixel manipulation . The upside is that this works identically on device and desktop and doesn't require WM5.0 or later and so runs on any device that can run .NET 2.0.
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
Door library (Beta) - Special library Erel Official Updates 60 01-13-2011 12:23 PM
Merging Outlook library and Phone library Erel Official Updates 11 09-15-2010 10:22 AM
PhoneticAlgorithms Library (ex-StringComparison Library) moster67 Additional Libraries 10 11-11-2008 08:46 PM
ImageLibEx? agraham Basic4ppc Wishlist 2 11-05-2007 02:15 PM
ImageLibeX Error XerVision Questions (Windows Mobile) 8 08-27-2007 07:14 PM


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


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