MuPDF 1.25.0 Documentation
[options] -p password The password needed to open a password protected PDF file. -c profile.cc Load an ICC profile to use for display (default is sRGB). -r resolution Set the initial zoom level, specified built with a color management engine and ICC is enabled the Gray and RGB colorspaces use an sRGB ICC profile. fz_colorspace *fz_device_gray(fz_context *ctx); fz_colorspace *fz_device_rgb(fz_context *ctx); range of 0..255. ICC colorspaces You can create ICC colorspaces from a buffer containing the ICC profile. fz_colorspace *fz_new_icc_colorspace(fz_context *ctx, enum fz_colorspace_type type, int flags0 码力 | 259 页 | 1.11 MB | 7 月前3MuPDF 1.23.0 Documentation
[options] -p password The password needed to open a password protected PDF file. -c profile.cc Load an ICC profile to use for display (default is sRGB). -r resolution Set the initial zoom level, specified built with a color management engine and ICC is enabled the Gray and RGB colorspaces use an sRGB ICC profile. fz_colorspace *fz_device_gray(fz_context *ctx); fz_colorspace *fz_device_rgb(fz_context *ctx); range of 0..255. ICC colorspaces You can create ICC colorspaces from a buffer containing the ICC profile. fz_colorspace *fz_new_icc_colorspace(fz_context *ctx, enum fz_colorspace_type type, int flags0 码力 | 245 页 | 817.74 KB | 7 月前3MuPDF 1.24.0 Documentation
[options] -p password The password needed to open a password protected PDF file. -c profile.cc Load an ICC profile to use for display (default is sRGB). -r resolution Set the initial zoom level, specified built with a color management engine and ICC is enabled the Gray and RGB colorspaces use an sRGB ICC profile. fz_colorspace *fz_device_gray(fz_context *ctx); fz_colorspace *fz_device_rgb(fz_context *ctx); range of 0..255. ICC colorspaces You can create ICC colorspaces from a buffer containing the ICC profile. fz_colorspace *fz_new_icc_colorspace(fz_context *ctx, enum fz_colorspace_type type, int flags0 码力 | 249 页 | 830.15 KB | 7 月前3MuPDF 1.22.0 Documentation
built with a color management engine and ICC is enabled the Gray and RGB colorspaces use an sRGB ICC profile. fz_colorspace *fz_device_gray(fz_context *ctx); fz_colorspace *fz_device_rgb(fz_context *ctx); range of 0..255. ICC colorspaces You can create ICC colorspaces from a buffer containing the ICC profile. fz_colorspace *fz_new_icc_colorspace(fz_context *ctx, enum fz_colorspace_type type, int flags want to automatically infer the colorspace type from the profile data. If the type is anything else, then an error will be thrown if the profile does not match the type. 136 Chapter 4. C API MuPDF Documentation0 码力 | 175 页 | 698.87 KB | 7 月前3PyMuPDF 1.24.2 Documentation
length for a given font & fontsize glyph_name_to_unicode() return unicode from a glyph name image_profile() return a dictionary of basic image properties INFINITE_IRECT() return the (only existing) infinite to convert Return type str Returns PDF-compatible string enclosed in either () or <>. image_profile(stream) • New in v1.16.7 • Changed in v1.19.5: also return natural image orientation extracted case of an error, None is returned. Otherwise, there are the following items: In [2]: fitz.image_profile(open("nur-ruhig.jpg", "rb").read()) Out[2]: {'width': 439, 'height': 501, 'orientation': 0, # natural0 码力 | 565 页 | 6.84 MB | 1 年前3
共 5 条
- 1