Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #142260

Re: [OT] turning words into colors

From Eli the Bearded <*@eli.users.panix.com>
Newsgroups comp.lang.c
Subject Re: [OT] turning words into colors
Date 2019-03-22 19:43 +0000
Organization Some absurd concept
Message-ID <eli$1903221543@qaz.wtf> (permalink)
References <23223ab5-54a3-4181-8bc0-bc3c55556c7f@googlegroups.com> <87zhppxaze.fsf_-_@bsb.me.uk> <eli$1903211921@qaz.wtf> <87va0bvhfx.fsf@bsb.me.uk>

Show all headers | View raw


In comp.lang.c, Ben Bacarisse  <ben.usenet@bsb.me.uk> wrote:
> Eli the Bearded <*@eli.users.panix.com> writes:
>> ObCompLangC: I'm using the integer HSV to RGB conversion from here:
>> https://stackoverflow.com/questions/3018313/algorithm-to-convert-rgb-to-hsv-and-hsv-to-rgb-in-range-0-255-for-both
> Good that you make some connection to C -- I failed to do that!
> However, if I recall correctly, modern CSS supports HSV colours directly
> (not that you'd want to rely on browser support for them).

I'm not using CSS for the color block. I'm generating an actual PNG
which can be downloaded and used elsewhere.

Behind the scenes it creates a 1x1 PPM and then pipes that through
pnmscale and pnmtopng. The libnetpbm color picker doesn't speak HSV.

Elijah
------
not actually generating a full sized PPM is pure laziness

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[content] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-20 13:58 -0700
  [content] turning words into colors fir is a sexy shemale <cdalten@gmail.com> - 2019-03-20 14:12 -0700
  Re: [content] turning words into colors luser droog <luser.droog@gmail.com> - 2019-03-20 14:36 -0700
    Re: [content] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-20 14:55 -0700
      Re: [content] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-20 15:17 -0700
        Re: [content] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-20 15:18 -0700
      Re: [content] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-20 15:35 -0700
        Re: [content] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-20 16:29 -0700
  Re: [content] turning words into colors Eli the Bearded <*@eli.users.panix.com> - 2019-03-20 21:48 +0000
    Re: [content] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-20 14:58 -0700
      Re: [content] turning words into colors Eli the Bearded <*@eli.users.panix.com> - 2019-03-20 22:37 +0000
        Re: [content] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-20 15:44 -0700
    Re: [content] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-20 16:50 -0700
      Re: [content] turning words into colors Eli the Bearded <*@eli.users.panix.com> - 2019-03-21 00:17 +0000
        Re: [content] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-20 17:42 -0700
    Re: [OT] turning words into colors Ben Bacarisse <ben.usenet@bsb.me.uk> - 2019-03-21 01:38 +0000
      Re: [OT] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-20 19:06 -0700
        Re: [OT] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-20 19:39 -0700
          Re: [OT] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-21 08:30 -0700
      Re: [OT] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-21 03:44 -0700
        Re: [OT] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-21 03:53 -0700
      Re: [OT] turning words into colors Eli the Bearded <*@eli.users.panix.com> - 2019-03-21 23:33 +0000
        Re: [OT] turning words into colors Ben Bacarisse <ben.usenet@bsb.me.uk> - 2019-03-22 01:14 +0000
          Re: [OT] turning words into colors Eli the Bearded <*@eli.users.panix.com> - 2019-03-22 19:43 +0000
            Re: [OT] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-22 13:31 -0700
        Re: [OT] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-22 01:31 -0700
          Re: [OT] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-22 01:56 -0700
            Re: [OT] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-22 02:11 -0700
              Re: [OT] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-22 06:59 -0700

csiph-web