Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/32comic/image2pixel-web
/ functions
Functions
140 in github.com/32comic/image2pixel-web
⨍
Functions
140
◇
Types & classes
10
↓ 15 callers
Method
showProgress
(percent, message)
pixelizer.js:1128
↓ 12 callers
Method
split
()
web/js/main.js:484
↓ 12 callers
Function
t
* image2pixel - Pixel Art Generator * Copyright (c) 2024 image2pixel.app. All Rights Reserved.
web/js/main.js:6
↓ 10 callers
Function
t
(key, params)
web/js/i18n.js:390
↓ 7 callers
Function
processImage
()
web/js/main.js:266
↓ 6 callers
Method
showError
(message)
pixelizer.js:1153
↓ 5 callers
Function
f
web/js/algorithms.js:22
↓ 4 callers
Function
buildLabPalette
(palette)
web/js/algorithms.js:33
↓ 4 callers
Function
hexToRgb
(hex)
web/js/main.js:637
↓ 4 callers
Method
hideProgress
()
pixelizer.js:1146
↓ 4 callers
Function
paintBlockGrid
(grid, rows, cols, imageData, blockSize)
web/js/algorithms.js:227
↓ 4 callers
Function
renderPaletteList
()
web/js/main.js:190
↓ 4 callers
Function
renderText
()
web/js/pixel-text-generator.js:41
↓ 4 callers
Method
split
()
pixelizer.js:1282
↓ 3 callers
Method
applyColorQuantization
* 应用颜色量化
pixelizer.js:664
↓ 3 callers
Function
cube
web/js/algorithms.js:107
↓ 3 callers
Function
medianCutGetPalette
(imageData, colorCount)
web/js/algorithms.js:51
↓ 3 callers
Function
nearestLabColor
(r, g, b, labPalette)
web/js/algorithms.js:37
↓ 3 callers
Function
removeAntiAliasing
(imageData, bg, threshold = 30)
web/js/main.js:432
↓ 3 callers
Function
rgbToLab
(r, g, b)
web/js/algorithms.js:16
↓ 3 callers
Function
srgbToLinear
(c)
web/js/algorithms.js:11
↓ 3 callers
Function
toSrgb
web/js/algorithms.js:114
↓ 3 callers
Function
toggleMenu
(show)
web/js/pixel-text-generator.js:25
↓ 3 callers
Function
toggleMenu
(show)
web/js/main.js:61
↓ 3 callers
Function
updateBlueprintCheckboxVisibility
()
web/js/main.js:824
↓ 3 callers
Function
updateButtonStates
()
web/js/main.js:36
↓ 3 callers
Method
updateGridDisplay
()
pixelizer.js:859
↓ 3 callers
Method
updatePreviewIfNeeded
()
pixelizer.js:1100
↓ 2 callers
Method
analyzeScanline
(data, width, height, pos, isHorizontal)
pixelizer.js:313
↓ 2 callers
Function
applyElements
()
web/js/i18n.js:430
↓ 2 callers
Function
applyMeta
()
web/js/i18n.js:413
↓ 2 callers
Method
applyZoom
(zoom)
pixelizer.js:920
↓ 2 callers
Method
calculateSizeStatistics
(sizes)
pixelizer.js:350
↓ 2 callers
Function
createPaletteCard
(p, isCustom)
web/js/main.js:195
↓ 2 callers
Method
detectPixelBlockSize
* 检测像素块大小
pixelizer.js:269
↓ 2 callers
Method
drawExportGrid
(canvas, scale)
pixelizer.js:897
↓ 2 callers
Function
extract1x1Grid
(imageData, blockSize)
web/js/main.js:876
↓ 2 callers
Function
extractBlockGridAverage
(imageData, blockSize)
web/js/algorithms.js:182
↓ 2 callers
Function
extractBlockGridNearest
(imageData, blockSize)
web/js/algorithms.js:207
↓ 2 callers
Function
floydSteinbergDither
(grid, rows, cols, labPalette)
web/js/algorithms.js:248
↓ 2 callers
Method
gcd
(a, b)
pixelizer.js:373
↓ 2 callers
Function
htmlLangAttr
(locale)
web/js/i18n.js:397
↓ 2 callers
Method
loadImage
(file)
pixelizer.js:161
↓ 2 callers
Method
pixelateToWidth
* 像素化到指定宽度
pixelizer.js:646
↓ 2 callers
Method
processImage
* 处理图片
pixelizer.js:493
↓ 2 callers
Function
quantizeToFixedPalette
(imageData, palette)
web/js/main.js:440
↓ 2 callers
Function
saveCustomPalettes
()
web/js/main.js:622
↓ 2 callers
Function
saveImageDataAsPng
(imageData, filename)
web/js/main.js:850
↓ 2 callers
Method
showPreview
()
pixelizer.js:820
↓ 2 callers
Method
showSuccess
(message)
pixelizer.js:1185
↓ 2 callers
Method
split
()
web/js/algorithms.js:156
↓ 2 callers
Function
updateLanguageSelector
()
web/js/i18n.js:456
↓ 2 callers
Function
updateResultInfo
(canvasWidth, canvasHeight)
web/js/main.js:404
↓ 2 callers
Function
updateSelectedPaletteLabel
()
web/js/main.js:44
↓ 1 callers
Method
analyzeHorizontalScanlines
(data, width, height)
pixelizer.js:287
↓ 1 callers
Method
analyzeVerticalScanlines
(data, width, height)
pixelizer.js:300
↓ 1 callers
Method
applyFloydSteinbergDithering
(imageData, colorCount)
pixelizer.js:814
↓ 1 callers
Method
applyPrefilter
(imageData, strength)
pixelizer.js:685
↓ 1 callers
Method
autoDetectAndSuggest
* 自动检测像素块大小并给出建议
pixelizer.js:226
↓ 1 callers
Function
bindLanguageSelector
()
web/js/i18n.js:466
↓ 1 callers
Method
calculateBlockVariance
(data, width, startX, startY, blockSize)
pixelizer.js:439
↓ 1 callers
Function
calculateScaledDimensions
(w, h)
web/js/main.js:417
↓ 1 callers
Method
calculateSuggestedWidth
(imageData)
pixelizer.js:473
↓ 1 callers
Method
colorDistance
(color1, color2)
pixelizer.js:805
↓ 1 callers
Method
computeMinMax
()
pixelizer.js:1234
↓ 1 callers
Method
computeMinMax
()
web/js/main.js:468
↓ 1 callers
Function
convertPerlerCodeMap
(codeMap)
scripts/convert-bead-palettes.js:178
↓ 1 callers
Function
deleteCustomPalette
(id)
web/js/main.js:630
↓ 1 callers
Function
detectBackgroundColor
(imageData)
web/js/main.js:424
↓ 1 callers
Method
displayOriginalImage
(img)
pixelizer.js:208
↓ 1 callers
Method
downsampleToBase
* 下采样到基准像素图
pixelizer.js:587
↓ 1 callers
Function
drawGrid
(canvas, size)
web/js/pixel-text-generator.js:257
↓ 1 callers
Function
drawGrid
(canvas, blockSize)
web/js/main.js:508
↓ 1 callers
Method
drawGrid
(canvas)
pixelizer.js:874
↓ 1 callers
Function
extractDynamicPalette
(imgData, maxColors)
web/js/pixel-text-generator.js:126
↓ 1 callers
Function
extractShortCode
(fullCode)
web/js/main.js:861
↓ 1 callers
Method
fileToDataUrl
(file)
pixelizer.js:192
↓ 1 callers
Function
findCode
(r, g, b)
web/js/main.js:933
↓ 1 callers
Method
findCommonSizes
(horizontal, vertical)
pixelizer.js:377
↓ 1 callers
Function
format
(str, params)
web/js/i18n.js:383
↓ 1 callers
Method
getAverageColor
()
pixelizer.js:1265
↓ 1 callers
Method
getAverageColor
()
web/js/main.js:480
↓ 1 callers
Method
getAvg
()
web/js/algorithms.js:70
↓ 1 callers
Method
getAvgRgb
()
web/js/algorithms.js:150
↓ 1 callers
Function
getContrastColor
(r, g, b)
web/js/main.js:871
↓ 1 callers
Function
getInitialLocale
()
web/js/i18n.js:372
↓ 1 callers
Function
getLogicalGridDimensions
(canvasWidth, canvasHeight, blockSize)
web/js/main.js:397
↓ 1 callers
Function
getNearestPaletteColor
(r, g, b, palette)
web/js/pixel-text-generator.js:177
↓ 1 callers
Method
handleModeChange
(e)
pixelizer.js:152
↓ 1 callers
Function
init
()
web/js/i18n.js:495
↓ 1 callers
Method
initializeEventListeners
()
pixelizer.js:31
↓ 1 callers
Method
initializeSliderControls
()
pixelizer.js:92
↓ 1 callers
Function
isFontPage
()
web/js/i18n.js:409
↓ 1 callers
Function
labDistanceSq
(lab1, lab2)
web/js/algorithms.js:29
↓ 1 callers
Function
labToRgb
(L, a, b)
web/js/algorithms.js:103
↓ 1 callers
Function
legalHref
(filename)
web/js/i18n.js:403
↓ 1 callers
Function
loadCustomPalettes
()
web/js/main.js:611
↓ 1 callers
Function
loadPalettes
()
web/js/main.js:558
↓ 1 callers
Function
medianCutGetPaletteInLab
* Median Cut entirely in CIELAB space. * Splits boxes by largest perceptual range (L*, a*, b*). * Averages in LAB space then converts back to RGB —
web/js/algorithms.js:128
↓ 1 callers
Function
medianCutQuantization
(imageData, colorCount)
web/js/main.js:452
next →
1–100 of 140, ranked by callers