15,886,199 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by KateToo (Top 5 by date)
KateToo
6-Jun-12 13:24pm
View
I'm not ready to go that route. This should be simple, just resizing an image to write it to an AVI file. There must be something I'm doing wrong.
Thanks for trying to help.
KateToo
4-Jun-12 18:04pm
View
Still not following you. I can access the pixels directly, yes - but how do I map from one size to another?
Are there re-sampling functions I'm missing?
All I'm aware are of the StretchBlt and Graphics.DrawImage. Generally StretchBlt works great except for this occasional mirrored image.
KateToo
4-Jun-12 16:10pm
View
I do check the DEST and SOURCE and do not resample if the same.
Can you point me to what functions you mean for the pixel-wise resampling operations?
I'll take a look at artuxsoft, thanks.
KateToo
4-Jun-12 15:08pm
View
I do check the sizes and if they are the same use BitBlt.
What would you suggest for the resampling? Isn't that basically what I'm using StretchBlt for? My work around is actually to use Graphics.DrawImage so I dont need StretchBlt ... but this is too slow.
Please let me know if there is some other way to do the resample that is quick that I'm missing.
Thanks!
KateToo
3-Jun-12 13:22pm
View
I had read that, yes, but it is not the cause.
Those values are never negative, and the exact same values for those, from one image to the next, can result in one of the images having been flipped.