BLUE
PHP 7.4.33
Path:
/var/www/receipt-app-backend-bitkit.dk/httpdocs/node_modules/sharp/src
Run
Logout
Edit File
Size: 1.49 KB
Close
/var/www/receipt-app-backend-bitkit.dk/httpdocs/node_modules/sharp/src/sharp.cc
Text
Base64
/*! Copyright 2013 Lovell Fuller and others. SPDX-License-Identifier: Apache-2.0 */ #include <mutex> #include <napi.h> #include <vips/vips8> #include "./common.h" #include "./metadata.h" #include "./pipeline.h" #include "./stats.h" #include "./utilities.h" Napi::Object init(Napi::Env env, Napi::Object exports) { static std::once_flag sharp_vips_init_once; std::call_once(sharp_vips_init_once, []() { vips_init("sharp"); }); g_log_set_handler("VIPS", static_cast<GLogLevelFlags>(G_LOG_LEVEL_WARNING), static_cast<GLogFunc>(sharp::VipsWarningCallback), nullptr); // Methods available to JavaScript exports.Set("metadata", Napi::Function::New(env, metadata)); exports.Set("pipeline", Napi::Function::New(env, pipeline)); exports.Set("cache", Napi::Function::New(env, cache)); exports.Set("concurrency", Napi::Function::New(env, concurrency)); exports.Set("counters", Napi::Function::New(env, counters)); exports.Set("simd", Napi::Function::New(env, simd)); exports.Set("libvipsVersion", Napi::Function::New(env, libvipsVersion)); exports.Set("format", Napi::Function::New(env, format)); exports.Set("block", Napi::Function::New(env, block)); exports.Set("_maxColourDistance", Napi::Function::New(env, _maxColourDistance)); exports.Set("_isUsingJemalloc", Napi::Function::New(env, _isUsingJemalloc)); exports.Set("_isUsingX64V2", Napi::Function::New(env, _isUsingX64V2)); exports.Set("stats", Napi::Function::New(env, stats)); return exports; } NODE_API_MODULE(sharp, init)
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 14
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
binding.gyp
10.35 KB
lrw-r--r--
2026-05-06 08:23:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
common.cc
38.26 KB
lrw-r--r--
2026-05-06 08:23:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
common.h
10.39 KB
lrw-r--r--
2026-05-06 08:23:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
metadata.cc
12.91 KB
lrw-r--r--
2026-05-06 08:23:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
metadata.h
1.73 KB
lrw-r--r--
2026-05-06 08:23:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
operations.cc
16.20 KB
lrw-r--r--
2026-05-06 08:23:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
operations.h
3.52 KB
lrw-r--r--
2026-05-06 08:23:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
pipeline.cc
82.45 KB
lrw-r--r--
2026-05-06 08:23:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
pipeline.h
9.60 KB
lrw-r--r--
2026-05-06 08:23:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
sharp.cc
1.49 KB
lrw-r--r--
2026-05-06 08:23:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
stats.cc
6.53 KB
lrw-r--r--
2026-05-06 08:23:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
stats.h
1.24 KB
lrw-r--r--
2026-05-06 08:23:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
utilities.cc
9.23 KB
lrw-r--r--
2026-05-06 08:23:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
utilities.h
741 B
lrw-r--r--
2026-05-06 08:23:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).