Sometimes some websites require https to work. This can be useful in those cases.
This has been tested with XAMPP (PHP 7.0.8) on Windows 7. Please see the Reference links at the end if in confusion about some step.
Open:
C:\xampp\php\php.ini
// Copyright 2019 Google LLC. | |
// SPDX-License-Identifier: Apache-2.0 | |
// Polynomial approximation in GLSL for the Turbo colormap | |
// Original LUT: https://gist.github.com/mikhailov-work/ee72ba4191942acecc03fe6da94fc73f | |
// Authors: | |
// Colormap Design: Anton Mikhailov (mikhailov@google.com) | |
// GLSL Approximation: Ruofei Du (ruofei@google.com) |
from collections import defaultdict | |
def node(): | |
return defaultdict(node) | |
def word_exists(word, node): | |
if not word: | |
return None in node | |
return word_exists(word[1:], node[word[0]) |
| Image format (sized) | Unsized | Compr | Pixel format | Pixel type | | |
|---------------------------------------|--------------------|-------|--------------------|-----------------------------------| | |
| GL_R8 | GL_RED | False | GL_RED | GL_UNSIGNED_BYTE | | |
| GL_R8_SNORM | GL_RED | False | GL_RED | GL_BYTE | | |
| GL_R16 | GL_RED | False | GL_RED | GL_UNSIGNED_SHORT | | |
| GL_R16_SNORM | GL_RED | False | GL_RED | GL_SHORT | | |
| GL_R32F | GL_RED | False | GL_RED | GL_FLOAT | | |
| GL_R8I | GL_RED | False | GL_RED_INTEGER | GL_INT | |