Click here to Skip to main content
15,920,896 members
Home / Discussions / C#
   

C#

 
GeneralRe: I need to resize a large image of more than 2MEGABYTE and I can not upload it to the program Pin
OriginalGriff28-Aug-09 8:27
mveOriginalGriff28-Aug-09 8:27 
GeneralRe: I need to resize a large image of more than 2MEGABYTE and I can not upload it to the program Pin
gilvani28-Aug-09 8:56
gilvani28-Aug-09 8:56 
GeneralRe: I need to resize a large image of more than 2MEGABYTE and I can not upload it to the program Pin
DaveyM6928-Aug-09 13:24
professionalDaveyM6928-Aug-09 13:24 
The only thing I can think of is to get a handle to the file without actually loading the file into memory (OpenFile [^] may do this - if not, there may be other functions that will).

Once you have that, you can read the data in the file in sections and do what you wish with them, carefully disposing of each section from memory as you go. You'll need to understand the image format so you can interpret the headers and the image data itself.

I have no idea with regards to the implementation of this - just an idea that may work.

Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
Why are you using VB6? Do you hate yourself? (Christian Graus)

QuestionProblem in connect with Remote server?? Pin
RA|-|UL PATEL28-Aug-09 3:32
RA|-|UL PATEL28-Aug-09 3:32 
AnswerRe: Problem in connect with Remote server?? Pin
Searril28-Aug-09 3:57
Searril28-Aug-09 3:57 
AnswerRe: Problem in connect with Remote server?? Pin
DoctorMick28-Aug-09 5:31
DoctorMick28-Aug-09 5:31 
GeneralRe: Problem in connect with Remote server?? Pin
RA|-|UL PATEL28-Aug-09 18:01
RA|-|UL PATEL28-Aug-09 18:01 
QuestionCheckBox initial value [SOLVED] Pin
mostofmonty28-Aug-09 3:20
mostofmonty28-Aug-09 3:20 
AnswerRe: CheckBox initial value Pin
Manas Bhardwaj28-Aug-09 3:26
professionalManas Bhardwaj28-Aug-09 3:26 
AnswerRe: CheckBox initial value Pin
DaveyM6928-Aug-09 3:28
professionalDaveyM6928-Aug-09 3:28 
GeneralRe: CheckBox initial value Pin
mostofmonty28-Aug-09 3:31
mostofmonty28-Aug-09 3:31 
GeneralRe: CheckBox initial value Pin
Luc Pattyn28-Aug-09 4:09
sitebuilderLuc Pattyn28-Aug-09 4:09 
GeneralRe: CheckBox initial value Pin
mostofmonty28-Aug-09 4:17
mostofmonty28-Aug-09 4:17 
GeneralRe: CheckBox initial value Pin
Luc Pattyn28-Aug-09 4:24
sitebuilderLuc Pattyn28-Aug-09 4:24 
GeneralRe: CheckBox initial value Pin
mostofmonty28-Aug-09 4:32
mostofmonty28-Aug-09 4:32 
GeneralRe: CheckBox initial value Pin
Luc Pattyn28-Aug-09 4:45
sitebuilderLuc Pattyn28-Aug-09 4:45 
GeneralRe: CheckBox initial value Pin
DaveyM6928-Aug-09 5:17
professionalDaveyM6928-Aug-09 5:17 
QuestionLogin Page as Popup after session Expired Pin
basantakumar28-Aug-09 2:47
basantakumar28-Aug-09 2:47 
AnswerRe: Login Page as Popup after session Expired Pin
Henry Minute28-Aug-09 8:25
Henry Minute28-Aug-09 8:25 
QuestionDoes exist this user control. Pin
Fired.Fish.Gmail28-Aug-09 2:40
Fired.Fish.Gmail28-Aug-09 2:40 
AnswerRe: Does exist this user control. Pin
Henry Minute28-Aug-09 8:26
Henry Minute28-Aug-09 8:26 
GeneralRe: Does exist this user control. Pin
Fired.Fish.Gmail28-Aug-09 16:10
Fired.Fish.Gmail28-Aug-09 16:10 
GeneralRe: Does exist this user control. Pin
Henry Minute29-Aug-09 3:11
Henry Minute29-Aug-09 3:11 
GeneralRe: Does exist this user control. Pin
Fired.Fish.Gmail30-Aug-09 4:48
Fired.Fish.Gmail30-Aug-09 4:48 
QuestionInstalling a service ? Pin
Mohammad Dayyan28-Aug-09 2:36
Mohammad Dayyan28-Aug-09 2:36 

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.