Re: Does Image.FromFile alway produce a bitmap no mater the format of the file?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Thanks a lot

"Rick Mogstad" <Rick.Mogstad@xxxxxxxxxxxxxxxx> wrote in message
news:OcWF4t5GGHA.648@xxxxxxxxxxxxxxxxxxxxxxx
> All image files are represented as Bitmap objects in memory. File formats
> are determined when the file is saved. You can use a memorystream to save
> a compressed file in memory, but to work with it, you must decode it into
> a bitmap.
>
>
> " **Developer**" <REMOVEdeveloper@xxxxxxxxxx> wrote in message
> news:u2ji1q5GGHA.1180@xxxxxxxxxxxxxxxxxxxxxxx
>> If the files not a metafile does
>> Dim zz As Image = Image.FromFile(imageFileName) '
>>
>> always produce a bitmap no mater the format of the file?
>>
>>
>>
>>
>>
>> thanks
>>
>>
>>
>>
>
>


.



Relevant Pages

  • Re: High Performance Image Cropping
    ... Seems that'd be very hard to do - if you don't want it in memory, ... limited file formats. ... can use a bitmap like a database, in that, I pass in coordinates ...
    (microsoft.public.dotnet.framework.drawing)
  • Re: Does Image.FromFile alway produce a bitmap no mater the format of the file?
    ... All image files are represented as Bitmap objects in memory. ... File formats ...
    (microsoft.public.dotnet.framework.drawing)
  • Re: memory leak
    ... ArgumentException on Full Framework) when I have a ton of virtual memory ... "new Bitmap" line. ... Dispose is not a required call - it is optional. ... you are done with those resources. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: One Thing I Noticed - Line Too Long
    ... > in memory plus a further bitmap, or "extra space on the Form wasting ... Turning on autoredraw keeps a copy of what's on the screen in memory. ... are drawing a bitmap to the screen and have the bitmap in memory then you ... > Picture Box and one Command Button. ...
    (microsoft.public.vb.general.discussion)
  • Re: memory leak
    ... Adding GC.Collectcauses the memory to drop, ... Now do you still agree that the GC will cleanup Bitmap objects? ... Dispose is not a required call - it is optional. ... done with those resources. ...
    (microsoft.public.dotnet.framework.compactframework)