Giter VIP home page Giter VIP logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 27, 2024
I think everything should be normalized to a 0-255 range (and forget about the 
old
dos version) but as i already said the palette ranges and resolutions should be
handled by plugins.

Original comment by [email protected] on 16 Oct 2008 at 11:21

from grafx2.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 27, 2024
Yes, we will be normalizing in the program and in the saved files, but we must 
still
be able to load the old files, and possibly save in the old format.

Original comment by [email protected] on 17 Oct 2008 at 11:21

from grafx2.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 27, 2024
I'm Converting RGB components to 0-255 range.
It's easy so far, but the numeric display of R G B looks ugly until I add a new
(small) font.
(For the time being I only change the font, and keep the rest of the Palette 
screen
layout)

Original comment by yrizoud on 1 Dec 2008 at 2:04

  • Changed state: Started

from grafx2.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 27, 2024
Actual RGB components now use the 0-255 range.
Because of screen space, RGB value had to be printed with a thinner font that I
encoded in graph.c (function Print_compteur(). IMO the Palette screen looks good
enough for Milestone 1.0
All Save/Load functions were changed accordingly.
The menu colors in gfx2.ini are still entered with the 0-63 range for 
compatibility.

It's not visible in the current program, but the palette engine now allows 
sliders of
different ranges: If you change the value of Graduations_RGB from its current 
256 to
64 or 16 or 3 (CPC!), in RGB mode the sliders will have as many graduations as
queried. You'll still be able to switch to and from HSL mode, which always has 
256
levels of detail.
If we go forward with this feature, we'll need to clamp colors to the nearest
graduation in many places: For example after loading a picture ...

Original comment by yrizoud on 3 Dec 2008 at 1:29

  • Changed state: Fixed

from grafx2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.