• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Bit Input/Output

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi.. Any of you out there know of a bitReader()/bitWriter() class? I think this is where Java is lacking... Bit's... I eventually want to input a graphic file (bitmap), and encrypt it, then output back to a bitmap... If I could get bit input I could theoretically encrypt and then decrypt any data type out there... I want it... The technical aspects of INPUTTING a BITMAP (heh...) is a whole nother problem.. Any help would be appreciated. Or point me to a new programming language.
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The term "bitmap" refers to the fact that the image isn't compressed. It corresponds bit-for-bit to the data displayed. You don't actually read/write individual bits. You can use the java.io.File*putStream classes to manipulate the files. Check out:
Javaworld: Saving bitmap files in Java
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic