public inbox for gentoo-user-br@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Bruno Laturner" <renrutal@gmail.com>
To: gentoo-user-br@lists.gentoo.org
Subject: Re: [gentoo-user-br] convert bmp 16-bit
Date: Mon, 4 Dec 2006 21:48:51 -0300	[thread overview]
Message-ID: <e1bc7720612041648r4ac82fa7l3463f900c774d5f6@mail.gmail.com> (raw)
In-Reply-To: <1165278420.2855.5.camel@localhost.localdomain>

2 elevado à 16ª potência = 65536

Basicamente isso quer dizer que com 16 bits, pode-se representar até
65536 valores de cores, no caso, diferentes.

Isso parte do mesmo princípio do qual com 3 dígitos (na base decimal),
você pode representar até 1000 números, de 000 à 999. Com 16 bits (16
dígitos na base binária), você representa de 0000000000000000 à
1111111111111111. Em decimal isso se traduz para 0 à 65535.


On 12/4/06, Lincoln Lordello <lincoln.lordello@terra.com.br> wrote:
> Em Seg, 2006-12-04 às 10:05 -0200, Mario Luiz Bernardinelli escreveu:
> > já experimentou --colors 65536, que corresponde a 16bits?
>
> Não funciona :-(
> Só por curiosidade, como chegou nesse número?
> Obrigado.
>
> --
> gentoo-user-br@gentoo.org mailing list
>
>


-- 
ja ne

-- 
gentoo-user-br@gentoo.org mailing list



      reply	other threads:[~2006-12-05  0:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-04 11:27 [gentoo-user-br] convert bmp 16-bit Lincoln Lordello
2006-12-04 12:05 ` Mario Luiz Bernardinelli
2006-12-05  0:27   ` Lincoln Lordello
2006-12-05  0:48     ` Bruno Laturner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e1bc7720612041648r4ac82fa7l3463f900c774d5f6@mail.gmail.com \
    --to=renrutal@gmail.com \
    --cc=gentoo-user-br@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox