Click here to Skip to main content
15,887,365 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# and Large Images Pin
Huxley Stronghead10-Jul-09 4:00
Huxley Stronghead10-Jul-09 4:00 
GeneralRe: C# and Large Images Pin
awaldro10-Jul-09 4:28
awaldro10-Jul-09 4:28 
GeneralRe: C# and Large Images Pin
Huxley Stronghead10-Jul-09 8:42
Huxley Stronghead10-Jul-09 8:42 
GeneralRe: C# and Large Images Pin
awaldro10-Jul-09 9:21
awaldro10-Jul-09 9:21 
GeneralRe: C# and Large Images Pin
Huxley Stronghead10-Jul-09 11:25
Huxley Stronghead10-Jul-09 11:25 
GeneralRe: C# and Large Images Pin
awaldro13-Jul-09 4:08
awaldro13-Jul-09 4:08 
GeneralRe: C# and Large Images Pin
Huxley Stronghead13-Jul-09 7:11
Huxley Stronghead13-Jul-09 7:11 
GeneralRe: C# and Large Images Pin
Huxley Stronghead11-Jul-09 0:22
Huxley Stronghead11-Jul-09 0:22 
OK, I have my doubts that you actually have a problem here but this could be a solution if you really want to code something ...

Now this idea I already has been mentioned. But I shall explain it a bit deeper and I would like to call it the Google Map approach. It is about cutting the big monster image into smaller pieces, store those pieces on the HDD as temporary files and only load those that are within the view. Which means you will require some sort of zooming function too. Also you will have to calculate the actual visible pixel in the view and the pixel of your image pieces you use. I think this way you could determine whether an image downsize could help. Of course the downsize only will happen to the loaded pieces in the RAM, neither the original nor the cut version on the HDD. If they apply a filter then you should load all the image pieces from HDD, process them and save back.

There may occur some lag because of the image loading time from HDD but hey, they want to work with monster images! However, this approach is some sort of streaming which means you really only load that what you need to work with and not the entire thing. I never coded it before but I think Google did. Sniff | :^)

I came, saw, and then coded.

GeneralRe: C# and Large Images Pin
awaldro13-Jul-09 4:13
awaldro13-Jul-09 4:13 
GeneralRe: C# and Large Images Pin
Huxley Stronghead13-Jul-09 6:59
Huxley Stronghead13-Jul-09 6:59 
Questionhow to deal with local drive..? Pin
Mtyb8-Jul-09 11:27
Mtyb8-Jul-09 11:27 
AnswerRe: how to deal with local drive..? Pin
musefan8-Jul-09 11:48
musefan8-Jul-09 11:48 
AnswerRe: how to deal with local drive..? Pin
Luc Pattyn8-Jul-09 22:46
sitebuilderLuc Pattyn8-Jul-09 22:46 
QuestionDoes anyone know of any command line email programs that work!!! Pin
Antone Eason8-Jul-09 9:54
professionalAntone Eason8-Jul-09 9:54 
AnswerRe: Does anyone know of any command line email programs that work!!! Pin
Tr@v8-Jul-09 10:19
Tr@v8-Jul-09 10:19 
GeneralRe: Does anyone know of any command line email programs that work!!! [modified] Pin
Antone Eason8-Jul-09 10:30
professionalAntone Eason8-Jul-09 10:30 
GeneralRe: Does anyone know of any command line email programs that work!!! Pin
Tr@v8-Jul-09 10:36
Tr@v8-Jul-09 10:36 
GeneralRe: Does anyone know of any command line email programs that work!!! Pin
Antone Eason8-Jul-09 10:47
professionalAntone Eason8-Jul-09 10:47 
GeneralRe: Does anyone know of any command line email programs that work!!! Pin
danzar8-Jul-09 17:55
danzar8-Jul-09 17:55 
QuestionExplicitly call IDispose() method Pin
Richard Blythe8-Jul-09 9:41
Richard Blythe8-Jul-09 9:41 
AnswerRe: Explicitly call IDispose() method Pin
Luc Pattyn8-Jul-09 10:46
sitebuilderLuc Pattyn8-Jul-09 10:46 
GeneralRe: Explicitly call IDispose() method Pin
Richard Blythe8-Jul-09 11:08
Richard Blythe8-Jul-09 11:08 
AnswerRe: Explicitly call IDispose() method Pin
N a v a n e e t h8-Jul-09 17:25
N a v a n e e t h8-Jul-09 17:25 
GeneralRe: Explicitly call IDispose() method Pin
Luc Pattyn8-Jul-09 22:50
sitebuilderLuc Pattyn8-Jul-09 22:50 
GeneralRe: Explicitly call IDispose() method Pin
N a v a n e e t h9-Jul-09 16:40
N a v a n e e t h9-Jul-09 16:40 

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.