Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!

1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Member Since 15 Apr 2012
Offline Last Active Jan 19 2013 11:59 PM

Posts I've Made

In Topic: Reducing Bitmap Object size

15 May 2012 - 01:13 AM

You are right, the original image that was read came in the format of 24bppRgb, however the one being outputted is 32bppArgb. The problem is the original image is actually being read from a pdf file of the size ~110 kb, and the bitmap object that is being outputted is around 2mb!! obviously the problem isn't limited to the pixel format, however this a start in the right direction.

Thank you for your help.

In Topic: Reducing Bitmap Object size

15 May 2012 - 12:41 AM

Thanks for the reply Bacterius,

How would I check if I am writing it back as an RGBA image? I am creating new pixel colors using the Color.FromArgb() method, and saving the image using the Bitmap Class' save() method

In Topic: class members, stack or heap?

17 April 2012 - 11:33 AM

Thank you for your responses,

That was my general concern I wasn't sure if I would need to explicitly create member variables on the heap ie. int x = new int(10), or would it happen automatically if the class itself was allocated on the heap. It is clear now thanks!

In Topic: class members, stack or heap?

16 April 2012 - 04:47 PM

Thank you!