Click here to Skip to main content
16,005,114 members
Home / Discussions / C#
   

C#

 
AnswerRe: Can you create instances named at runtime? Pin
Daniel Turini28-Nov-04 23:38
Daniel Turini28-Nov-04 23:38 
GeneralPKCS7 padding is invalid and cannot be removed Pin
anderslundsgard28-Nov-04 22:20
anderslundsgard28-Nov-04 22:20 
GeneralMessageBox Pin
Member 109769928-Nov-04 21:46
Member 109769928-Nov-04 21:46 
GeneralRe: MessageBox Pin
Heath Stewart28-Nov-04 22:09
protectorHeath Stewart28-Nov-04 22:09 
Generalreverse rotation of image Pin
montu337728-Nov-04 21:39
montu337728-Nov-04 21:39 
GeneralRe: reverse rotation of image Pin
Daniel Turini28-Nov-04 22:28
Daniel Turini28-Nov-04 22:28 
GeneralRe: reverse rotation of image Pin
montu337728-Nov-04 22:56
montu337728-Nov-04 22:56 
GeneralRe: reverse rotation of image Pin
Daniel Turini28-Nov-04 23:35
Daniel Turini28-Nov-04 23:35 
montu3377 wrote:
great.Yeah becoz here we are concen more about performance.I don't know wherether after using GDI+ gives better performance or slow performance in rotation and translation of image.
As a design principle, I start my coding using standard libraries as much as possible. Only after I have something working, I start optimizing it. It's simpler that way, because, once you have something working, you can measure it and optimize the most time consuming tasks.
GDI+ is fast, very fast, but not the fastest thing possible. Very often, GDI+ will be faster than anything you'll write, because it was written by experts at image manipulation on MS.
Here, on CP, you can find some articles that describe how to do high-performance and/or high quality image rotation, but I'd suggest you to first try GDI+ and see if image rotation is really what you need to optimize.
I can't stress enough how important is measuring. If image rotation takes only 1% of the time of your application, and you double its speed (and this kind of optimization is hard to do and time-consuming) you'll only have a 0.5% gain on your application.


Yes, even I am blogging now!
GeneralRe: reverse rotation of image Pin
montu337729-Nov-04 18:27
montu337729-Nov-04 18:27 
Generalflexgrid Pin
Yulianto.28-Nov-04 21:23
Yulianto.28-Nov-04 21:23 
GeneralIP Camera Pin
kimlye28-Nov-04 21:01
kimlye28-Nov-04 21:01 
GeneralRe: IP Camera Pin
Heath Stewart28-Nov-04 22:10
protectorHeath Stewart28-Nov-04 22:10 
GeneralUses SQL to update into MS Access Pin
Member 109769928-Nov-04 20:11
Member 109769928-Nov-04 20:11 
GeneralRe: Uses SQL to update into MS Access Pin
mav.northwind28-Nov-04 20:24
mav.northwind28-Nov-04 20:24 
GeneralRe: Uses SQL to update into MS Access Pin
Heath Stewart28-Nov-04 20:55
protectorHeath Stewart28-Nov-04 20:55 
GeneralRe: Uses SQL to update into MS Access Pin
Vasudevan Deepak Kumar28-Nov-04 23:15
Vasudevan Deepak Kumar28-Nov-04 23:15 
Generalweb service design question Pin
parrot12328-Nov-04 19:39
parrot12328-Nov-04 19:39 
GeneralRe: web service design question Pin
Heath Stewart28-Nov-04 20:59
protectorHeath Stewart28-Nov-04 20:59 
GeneralRe: web service design question Pin
parrot12329-Nov-04 8:48
parrot12329-Nov-04 8:48 
GeneralfileListBox Pin
miracle_monster28-Nov-04 19:27
miracle_monster28-Nov-04 19:27 
GeneralRe: fileListBox Pin
Heath Stewart28-Nov-04 21:40
protectorHeath Stewart28-Nov-04 21:40 
GeneralRe: fileListBox Pin
miracle_monster29-Nov-04 10:20
miracle_monster29-Nov-04 10:20 
GeneralRe: fileListBox Pin
Heath Stewart29-Nov-04 14:53
protectorHeath Stewart29-Nov-04 14:53 
GeneralRe: fileListBox Pin
miracle_monster29-Nov-04 18:00
miracle_monster29-Nov-04 18:00 
GeneralRe: fileListBox Pin
miracle_monster29-Nov-04 18:26
miracle_monster29-Nov-04 18:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.