Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    BaseBitmap: Problem with less than 24 Bit

    SDK Help
    0
    5
    421
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 21/06/2004 at 07:37, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   8.207 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      The sdk says, that only some functions are save for bitmaps with less than 24 bit. But if I try to load a 1-Bit BMP, in my case yellow and black colour table, then the image is black/white, even GetLine, which is said to be save for less than 24 bit, fails and returns b/w.

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 21/06/2004 at 11:12, xxxxxxxx wrote:

        That´s probably because of the nature of a 1-bit image file. It actually only knows two color values, black and white.

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 21/06/2004 at 23:07, xxxxxxxx wrote:

          Not necessarily, I took a close - binary - look at the bitmap file, the image data is coded with 1 Bit, and there is also a color table in the file with two entries, 4 bytes each, one with black, one with kind of yellow....so the information is there, and all other programs also open the image in black/yellow, except cinema.

          1 Reply Last reply Reply Quote 0
          • H
            Helper
            last edited by

            THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

            On 22/06/2004 at 06:44, xxxxxxxx wrote:

            How is the yellow expressed? Can you show an example?
            "Not necessarily"
            that´s the right sentence. But it´s still the nature of a bitmap (4 bytes each...of course, for 1 bit is 8 bytes ;). If there are exceptions, the best you can do is asking for support of such files. Email MAXON.

            1 Reply Last reply Reply Quote 0
            • H
              Helper
              last edited by

              THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

              On 22/06/2004 at 22:14, xxxxxxxx wrote:

              I'm afraid it seems BaseBitmap doesn't support embedded color tables for 1 bpp images. (I'm not sure if it supports any color tables.)

              1 Reply Last reply Reply Quote 0
              • First post
                Last post