KiXforms Forum Index KiXforms
The Forum for the KiXforms Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Quick Links 
Site News
Downloads
Documentation
Donations
Script Archive
Tracking Systems

Image Class lacking too much...

 
Post new topic   Reply to topic    KiXforms Forum Index -> KiXforms.NET Discussion
View previous topic :: View next topic  
Author Message
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Fri Sep 16, 2005 12:02 pm    Post subject: Image Class lacking too much... Reply with quote

shawn, have you decided do you make the image class full?
like have all the save() and sh*t too?

like, save is just one more method and it surely is worth it...

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Fri Sep 16, 2005 12:23 pm    Post subject: Reply with quote

I am adding Save now. If you have a shopping list of important Image members shoot away ...
Back to top
View user's profile Send private message
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Fri Sep 16, 2005 12:45 pm    Post subject: Reply with quote

well...
last time I played with images...

I think Image class should directly support:
-fromFile
-fromStream
-save (actually SaveAs() as dotnet save supports format)
-GetThumbnailImage

and that's it for me. Wink
someone might wanna have the frameControl too, but for myself and for many others, I think the above bulk methods do quite easily.

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Fri Sep 16, 2005 2:04 pm    Post subject: Reply with quote

FromFile is already there. Going to do SaveAs as:

SaveAs(filename, imageFormat)

where imageFormat is an enumeration of many different formats (bmp,jpg,gif,png,etc)
Back to top
View user's profile Send private message
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Fri Sep 16, 2005 8:59 pm    Post subject: Reply with quote

ja.
I did a test class with Save with optional format argument but SaveAs works fine.

just wanna be sure.
these are not under bitmap but directly in the image class, right?

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Fri Sep 16, 2005 9:03 pm    Post subject: Reply with quote

ja, save is in the image class, bitmap inherits from image. posting a new build now...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KiXforms Forum Index -> KiXforms.NET Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group