Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / August 2007

Tip: Looking for answers? Try searching our database.

System.Drawing & Tiff images

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Scott Elgram - 13 Aug 2007 18:50 GMT
Hello everyone,
   I'm hoping someone here can pose an alternative that might work better
than what I have created so far.  I have a web site that needs to deal with
Multi-Page TIFF images.  Primarily they need to be split by page or group of
pages and uploaded into a DB.  The code I have currently works alright but
it throws a "Parameter is not valid." error on the line containing this code
"using (Bitmap source = new Bitmap(imgFile)) {...}".  From what I have been
able to find it would appear the "System.Drawing" class is "Unsafe" for web
applications and even though it does work most of the time this unusual
behavior is the result of the class not being designed or tested for use in
this type of scenario.

Thanks,
Signature

-Scott

sloan - 13 Aug 2007 19:42 GMT
http://www.bobpowell.net/generating_multipage_tiffs.htm

I don't know if that helps or not, but when I have an image issue, bob
powell's site is the FIRST one I check.

I've used System.Drawing in web apps before.  Outside of speed/performance,
I haven't had issues.

> Hello everyone,
>    I'm hoping someone here can pose an alternative that might work better
[quoted text clipped - 15 lines]
>
> Thanks,
Eliyahu Goldin - 13 Aug 2007 21:40 GMT
I second both points:

1. Bob Powell's site is the first to check.

2. I use System.Drawing all the time with no problems.

Signature

Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin

> http://www.bobpowell.net/generating_multipage_tiffs.htm
>
[quoted text clipped - 23 lines]
> >
> > Thanks,
Scott Elgram - 16 Aug 2007 20:32 GMT
Thanks guys,
some of his code is very different from mine so I'll have to make some
changes and see what happens.
Sorry it took so long for me to reply

-Scott

> I second both points:
>
[quoted text clipped - 33 lines]
> > >
> > > Thanks,

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.