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 / .NET Framework / Compact Framework / April 2006

Tip: Looking for answers? Try searching our database.

Saving bitmaps in CF: Reducing size in Kb

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jover - 20 Apr 2006 09:16 GMT
Hello,

ive been looking around the net for ages just to find easy to implemen
code to reduce the size of my bitmap drawing. I am making a bitmap an
capture a signature onto that bitmap. Then i want to save it. Tha
works but the file is too large (80kb) to send over gprs (it will b
used frequently).
First i looked for a way to save it as JPEG, but found nothing decent.
Second i tried to save it as monochrome bitmap (only two colors ar
needed).
Third: Maybe compression techniques like zip?
Nothing worked!
Does anyone have any experience with this?
Th

--
jove
Peter Morris [Droopy eyes software] - 20 Apr 2006 15:24 GMT
I zip mine using the ZIP library from Resco, I also use their signature
control :-)
Tim Wallace - 20 Apr 2006 15:35 GMT
80k doesn't seem overly large...well, not to me.  Have you tried
compression?  I've had pretty good results in the past when compressing
bitmaps.

Tim Wallace

> Hello,
>
[quoted text clipped - 10 lines]
> Does anyone have any experience with this?
> Thx
jover - 20 Apr 2006 16:02 GMT
I just found a solution!
I zip the images with the SHARPZIPLIB (free) to about 1.5 KB!
Then i send that as a filestream to my webservice, that unzips it an
puts it in the GIF format (works on the normal .net framework, not o
cf).
So thats it!

Thanks for all your help

--
jove

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.