-
help! Resize a picture, width&height, to another jpg file
I tried as below:
1. Create a PictureBox in the form
2. LoadPicture(original picture)
3. calculate the ratio, get new width, height
4. PaintPicture
5. SavePicture
It works, but the destination picture lost color, looks vague.
Are there any other better solutions? Thanks in advance!
-
Phil Weber
http://www.philweber.com
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
-
Hi, Phil
It works out, the quality is so much better by the previous one
Thank you very much!
Similar Threads
-
Replies: 146
Last Post: 08-12-2002, 10:40 PM
-
By oigres P in forum .NET
Replies: 5
Last Post: 12-24-2001, 12:20 PM
-
By Paul in forum Database
Replies: 0
Last Post: 08-22-2000, 10:54 PM
-
By Kiran Kumar in forum VB Classic
Replies: 6
Last Post: 06-15-2000, 09:11 AM
-
By Kiran Kumar in forum VB Classic
Replies: 0
Last Post: 06-12-2000, 07:59 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks