libpng ~master (2019-01-09T11:32:29Z)
Home
Dub
Repo
png_set_gamma
libpng
png
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
version(!PNG_VERSION_INFO_ONLY)
extern (
C
)
static if
(
PNG_READ_GAMMA_SUPPORTED
)
void
png_set_gamma
(
png_structrp
png_ptr
,
double
screen_gamma
,
double
override_file_gamma
)
Meta
Source
See Implementation
libpng
png
aliases
PNG_COLOR_TYPE_GA
PNG_COLOR_TYPE_RGBA
PNG_COMPRESSION_TYPE_DEFAULT
PNG_FILTER_TYPE_DEFAULT
PNG_GAMMA_LINEAR
PNG_LIBPNG_BUILD_BASE_TYPE
PNG_TRANSFORM_STRIP_FILLER_BEFORE
png_color_16p
png_color_16pp
png_color_8p
png_color_8pp
png_colorp
png_colorpp
png_const_color_16p
png_const_color_8p
png_const_colorp
png_const_infop
png_const_inforp
png_const_sPLT_entryp
png_const_sPLT_tp
png_const_structp
png_const_structrp
png_const_textp
png_const_timep
png_const_unknown_chunkp
png_controlp
png_error_ptr
png_flush_ptr
png_free_ptr
png_imagep
png_infop
png_infopp
png_inforp
png_libpng_version_1_6_17
png_malloc_ptr
png_progressive_end_ptr
png_progressive_info_ptr
png_progressive_row_ptr
png_read_status_ptr
png_row_infop
png_row_infopp
png_rw_ptr
png_sPLT_entryp
png_sPLT_entrypp
png_sPLT_tp
png_sPLT_tpp
png_structp
png_structpp
png_structrp
png_textp
png_textpp
png_timep
png_timepp
png_unknown_chunkp
png_unknown_chunkpp
png_user_chunk_ptr
png_user_transform_ptr
png_write_status_ptr
functions
PNG_COL_FROM_PASS_COL
PNG_COL_IN_INTERLACE_PASS
PNG_IMAGE_BUFFER_SIZE
PNG_IMAGE_COLORMAP_SIZE
PNG_IMAGE_FAILED
PNG_IMAGE_MAXIMUM_COLORMAP_COMPONENTS
PNG_IMAGE_PIXEL_
PNG_IMAGE_PIXEL_CHANNELS
PNG_IMAGE_PIXEL_COMPONENT_SIZE
PNG_IMAGE_PIXEL_SIZE
PNG_IMAGE_ROW_STRIDE
PNG_IMAGE_SAMPLE_CHANNELS
PNG_IMAGE_SAMPLE_COMPONENT_SIZE
PNG_IMAGE_SAMPLE_SIZE
PNG_IMAGE_SIZE
PNG_PASS_COLS
PNG_PASS_COL_OFFSET
PNG_PASS_COL_SHIFT
PNG_PASS_MASK
PNG_PASS_ROWS
PNG_PASS_ROW_OFFSET
PNG_PASS_ROW_SHIFT
PNG_PASS_START_COL
PNG_PASS_START_ROW
PNG_ROW_FROM_PASS_ROW
PNG_ROW_IN_INTERLACE_PASS
PNG_get_int_32
PNG_get_uint_16
PNG_get_uint_32
png_access_version_number
png_benign_error
png_build_grayscale_palette
png_calloc
png_check_sig
png_chunk_benign_error
png_chunk_error
png_chunk_warning
png_composite
png_composite_16
png_const_set_sCAL_fixed
png_convert_from_struct_tm
png_convert_from_time_t
png_convert_to_rfc1123
png_convert_to_rfc1123_buffer
png_create_info_struct
png_create_read_struct
png_create_read_struct_2
png_create_write_struct
png_create_write_struct_2
png_data_freer
png_destroy_info_struct
png_destroy_read_struct
png_destroy_write_struct
png_err
png_error
png_free
png_free_data
png_free_default
png_get_IHDR
png_get_PLTE
png_get_bKGD
png_get_bit_depth
png_get_cHRM
png_get_cHRM_XYZ
png_get_cHRM_XYZ_fixed
png_get_cHRM_fixed
png_get_channels
png_get_chunk_cache_max
png_get_chunk_malloc_max
png_get_color_type
png_get_compression_buffer_size
png_get_compression_type
png_get_copyright
png_get_current_pass_number
png_get_current_row_number
png_get_error_ptr
png_get_filter_type
png_get_gAMA
png_get_gAMA_fixed
png_get_hIST
png_get_header_ver
png_get_header_version
png_get_iCCP
png_get_image_height
png_get_image_width
png_get_int_32
png_get_interlace_type
png_get_io_chunk_type
png_get_io_ptr
png_get_io_state
png_get_libpng_ver
png_get_mem_ptr
png_get_oFFs
png_get_pCAL
png_get_pHYs
png_get_pHYs_dpi
png_get_palette_max
png_get_pixel_aspect_ratio
png_get_pixel_aspect_ratio_fixed
png_get_pixels_per_inch
png_get_pixels_per_meter
png_get_progressive_ptr
png_get_rgb_to_gray_status
png_get_rowbytes
png_get_rows
png_get_sBIT
png_get_sCAL
png_get_sCAL_fixed
png_get_sCAL_s
png_get_sPLT
png_get_sRGB
png_get_signature
png_get_tIME
png_get_tRNS
png_get_text
png_get_uint_16
png_get_uint_31
png_get_uint_32
png_get_unknown_chunks
png_get_user_chunk_ptr
png_get_user_height_max
png_get_user_transform_ptr
png_get_user_width_max
png_get_valid
png_get_x_offset_inches
png_get_x_offset_inches_fixed
png_get_x_offset_microns
png_get_x_offset_pixels
png_get_x_pixels_per_inch
png_get_x_pixels_per_meter
png_get_y_offset_inches
png_get_y_offset_inches_fixed
png_get_y_offset_microns
png_get_y_offset_pixels
png_get_y_pixels_per_inch
png_get_y_pixels_per_meter
png_handle_as_unknown
png_image_begin_read_from_file
png_image_begin_read_from_memory
png_image_begin_read_from_stdio
png_image_finish_read
png_image_free
png_image_write_to_file
png_image_write_to_stdio
png_info_init_3
png_init_io
png_longjmp
png_malloc
png_malloc_default
png_malloc_warn
png_permit_mng_features
png_process_data
png_process_data_pause
png_process_data_skip
png_progressive_combine_row
png_read_end
png_read_image
png_read_info
png_read_png
png_read_row
png_read_rows
png_read_update_info
png_reset_zstream
png_save_int_32
png_save_uint_16
png_save_uint_32
png_set_IHDR
png_set_PLTE
png_set_add_alpha
png_set_alpha_mode
png_set_alpha_mode_fixed
png_set_bKGD
png_set_background
png_set_background_fixed
png_set_benign_errors
png_set_bgr
png_set_cHRM
png_set_cHRM_XYZ
png_set_cHRM_XYZ_fixed
png_set_cHRM_fixed
png_set_check_for_invalid_index
png_set_chunk_cache_max
png_set_chunk_malloc_max
png_set_compression_buffer_size
png_set_compression_level
png_set_compression_mem_level
png_set_compression_method
png_set_compression_strategy
png_set_compression_window_bits
png_set_crc_action
png_set_error_fn
png_set_expand
png_set_expand_16
png_set_expand_gray_1_2_4_to_8
png_set_filler
png_set_filter
png_set_filter_heuristics
png_set_filter_heuristics_fixed
png_set_flush
png_set_gAMA
png_set_gAMA_fixed
png_set_gamma
png_set_gamma_fixed
png_set_gray_to_rgb
png_set_hIST
png_set_iCCP
png_set_interlace_handling
png_set_invalid
png_set_invert_alpha
png_set_invert_mono
png_set_keep_unknown_chunks
png_set_mem_fn
png_set_oFFs
png_set_option
png_set_pCAL
png_set_pHYs
png_set_packing
png_set_packswap
png_set_palette_to_rgb
png_set_progressive_read_fn
png_set_quantize
png_set_read_fn
png_set_read_status_fn
png_set_read_user_chunk_fn
png_set_read_user_transform_fn
png_set_rgb_to_gray
png_set_rgb_to_gray_fixed
png_set_rows
png_set_sBIT
png_set_sCAL
png_set_sCAL_s
png_set_sPLT
png_set_sRGB
png_set_sRGB_gAMA_and_cHRM
png_set_scale_16
png_set_shift
png_set_sig_bytes
png_set_strip_16
png_set_strip_alpha
png_set_strip_error_numbers
png_set_swap
png_set_swap_alpha
png_set_tIME
png_set_tRNS
png_set_tRNS_to_alpha
png_set_text
png_set_text_compression_level
png_set_text_compression_mem_level
png_set_text_compression_method
png_set_text_compression_strategy
png_set_text_compression_window_bits
png_set_unknown_chunk_location
png_set_unknown_chunks
png_set_user_limits
png_set_user_transform_info
png_set_write_fn
png_set_write_status_fn
png_set_write_user_transform_fn
png_sig_cmp
png_start_read_image
png_warning
png_write_chunk
png_write_chunk_data
png_write_chunk_end
png_write_chunk_start
png_write_end
png_write_flush
png_write_image
png_write_info
png_write_info_before_PLTE
png_write_png
png_write_row
png_write_rows
png_write_sig
manifest constants
PNG_AFTER_IDAT
PNG_ALL_FILTERS
PNG_ALL_MNG_FEATURES
PNG_ALPHA_ASSOCIATED
PNG_ALPHA_BROKEN
PNG_ALPHA_OPTIMIZED
PNG_ALPHA_PNG
PNG_ALPHA_PREMULTIPLIED
PNG_ALPHA_STANDARD
PNG_ARM_NEON
PNG_BACKGROUND_GAMMA_FILE
PNG_BACKGROUND_GAMMA_SCREEN
PNG_BACKGROUND_GAMMA_UNIQUE
PNG_BACKGROUND_GAMMA_UNKNOWN
PNG_COLOR_MASK_ALPHA
PNG_COLOR_MASK_COLOR
PNG_COLOR_MASK_PALETTE
PNG_COLOR_TYPE_GRAY
PNG_COLOR_TYPE_GRAY_ALPHA
PNG_COLOR_TYPE_PALETTE
PNG_COLOR_TYPE_RGB
PNG_COLOR_TYPE_RGB_ALPHA
PNG_COMPRESSION_TYPE_BASE
PNG_CRC_DEFAULT
PNG_CRC_ERROR_QUIT
PNG_CRC_NO_CHANGE
PNG_CRC_QUIET_USE
PNG_CRC_WARN_DISCARD
PNG_CRC_WARN_USE
PNG_DEFAULT_sRGB
PNG_DESTROY_WILL_FREE_DATA
PNG_EQUATION_ARBITRARY
PNG_EQUATION_BASE_E
PNG_EQUATION_HYPERBOLIC
PNG_EQUATION_LAST
PNG_EQUATION_LINEAR
PNG_ERROR_ACTION_ERROR
PNG_ERROR_ACTION_NONE
PNG_ERROR_ACTION_WARN
PNG_FILLER_AFTER
PNG_FILLER_BEFORE
PNG_FILTER_AVG
PNG_FILTER_HEURISTIC_DEFAULT
PNG_FILTER_HEURISTIC_LAST
PNG_FILTER_HEURISTIC_UNWEIGHTED
PNG_FILTER_HEURISTIC_WEIGHTED
PNG_FILTER_NONE
PNG_FILTER_PAETH
PNG_FILTER_SUB
PNG_FILTER_TYPE_BASE
PNG_FILTER_UP
PNG_FILTER_VALUE_AVG
PNG_FILTER_VALUE_LAST
PNG_FILTER_VALUE_NONE
PNG_FILTER_VALUE_PAETH
PNG_FILTER_VALUE_SUB
PNG_FILTER_VALUE_UP
PNG_FLAG_MNG_EMPTY_PLTE
PNG_FLAG_MNG_FILTER_64
PNG_FORMAT_ABGR
PNG_FORMAT_ABGR_COLORMAP
PNG_FORMAT_AG
PNG_FORMAT_ARGB
PNG_FORMAT_ARGB_COLORMAP
PNG_FORMAT_BGR
PNG_FORMAT_BGRA
PNG_FORMAT_BGRA_COLORMAP
PNG_FORMAT_BGR_COLORMAP
PNG_FORMAT_FLAG_AFIRST
PNG_FORMAT_FLAG_ALPHA
PNG_FORMA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ADAM7_PASSES
PNG_INTERLACE_LAST
PNG_INTERLACE_NONE
PNG_INTRAPIXEL_DIFFERENCING
PNG_IO_CHUNK_CRC
PNG_IO_CHUNK_DATA
PNG_IO_CHUNK_HDR
PNG_IO_MASK_LOC
PNG_IO_MASK_OP
PNG_IO_NONE
PNG_IO_READING
PNG_IO_SIGNATURE
PNG_IO_WRITING
PNG_ITXT_COMPRESSION_NONE
PNG_ITXT_COMPRESSION_zTXt
PNG_KEYWORD_MAX_LENGTH
PNG_LIBPNG_BUILD_ALPHA
PNG_LIBPNG_BUILD_BETA
PNG_LIBPNG_BUILD_PATCH
PNG_LIBPNG_BUILD_PRIVATE
PNG_LIBPNG_BUILD_RC
PNG_LIBPNG_BUILD_RELEASE_STATUS_MASK
PNG_LIBPNG_BUILD_SPECIAL
PNG_LIBPNG_BUILD_STABLE
PNG_LIBPNG_BUILD_TYPE
PNG_LIBPNG_VER
PNG_LIBPNG_VER_BUILD
PNG_LIBPNG_VER_DLLNUM
PNG_LIBPNG_VER_MAJOR
PNG_LIBPNG_VER_MINOR
PNG_LIBPNG_VER_RELEASE
PNG_LIBPNG_VER_SONUM
PNG_LIBPNG_VER_STRING
PNG_MAXIMUM_INFLATE_WINDOW
PNG_MAX_PALETTE_LENGTH
PNG_NO_FILTERS
PNG_OFFSET_LAST
PNG_OFFSET_MICROMETER
PNG_OFFSET_PIXEL
PNG_OPTION_INVALID
PNG_OPTION_NEXT
PNG_OPTION_OFF
PNG_OPTION_ON
PNG_OPTION_UNSET
PNG_RESOLUTION_LAST
PNG_RESOLUTION_METER
PNG_RESOLUTION_UNKNOWN
PNG_RGB_TO_GRAY_DEFAULT
PNG_SCALE_LAST
PNG_SCALE_METER
PNG_SCALE_RADIAN
PNG_SCALE_UNKNOWN
PNG_SET_WILL_FREE_DATA
PNG_SIZE_MAX
PNG_SKIP_sRGB_CHECK_PROFILE
PNG_TEXT_COMPRESSION_LAST
PNG_TEXT_COMPRESSION_NONE
PNG_TEXT_COMPRESSION_NONE_WR
PNG_TEXT_COMPRESSION_zTXt
PNG_TEXT_COMPRESSION_zTXt_WR
PNG_TRANSFORM_BGR
PNG_TRANSFORM_EXPAND
PNG_TRANSFORM_EXPAND_16
PNG_TRANSFORM_GRAY_TO_RGB
PNG_TRANSFORM_IDENTITY
PNG_TRANSFORM_INVERT_ALPHA
PNG_TRANSFORM_INVERT_MONO
PNG_TRANSFORM_PACKING
PNG_TRANSFORM_PACKSWAP
PNG_TRANSFORM_SCALE_16
PNG_TRANSFORM_SHIFT
PNG_TRANSFORM_STRIP_16
PNG_TRANSFORM_STRIP_ALPHA
PNG_TRANSFORM_STRIP_FILLER
PNG_TRANSFORM_STRIP_FILLER_AFTER
PNG_TRANSFORM_SWAP_ALPHA
PNG_TRANSFORM_SWAP_ENDIAN
PNG_UINT_31_MAX
PNG_UINT_32_MAX
PNG_USER_WILL_FREE_DATA
PNG_sRGB_INTENT_ABSOLUTE
PNG_sRGB_INTENT_LAST
PNG_sRGB_INTENT_PERCEPTUAL
PNG_sRGB_INTENT_RELATIVE
PNG_sRGB_INTENT_SATURATION
properties
png_libpng_ver
structs
png_color
png_color_16
png_color_8
png_control
png_image
png_info
png_row_info
png_sPLT_entry
png_sPLT_t
png_struct
png_text
png_time
png_unknown_chunk