Hi Mada, Check this link: http://stackoverflow.com/questions/629955/parameter-not-valid-exception-loading-system-drawing-image
With Regards, Irfan Ahmad (Kashmiri) 2010/7/1 ѕняєє мα∂α <[email protected]> Hi Irfan , > > I really thank you for your positive replay , > I have used same functionality but it throws exception as > "Paramerer not valid" .... > > > Thanks & Regards, > Shrinivas Mada, > > > > > > On Thu, Jul 1, 2010 at 10:12 AM, Irfan Habib <[email protected]>wrote: > >> Hi, >> >> May be below link will be helpful: >> >> http://bytescout.com/products/developer/misc/pdfimageextractorsdk.html >> >> With Regards, >> Irfan Ahmad >> (Kashmir) >> >> >> >> On Tue, Jun 29, 2010 at 6:06 PM, shree <[email protected]> wrote: >> >>> hello all, >>> here I am extracting images from pdf file >>> I am getting data in bytes[] successfully; >>> but when I am trying to cast it in Image Object it throws exception >>> as >>> " Parameter is not valid " >>> >>> here is my code ... >>> >>> MemoryStream stream = new MemoryStream(bytes); >>> stream.Position = 0; >>> Image img = >>> Image.FromStream(stream,true,false); >> >> >> >> >
