MCPcopy Create free account

hub / github.com/32comic/image2pixel-web / functions

Functions140 in github.com/32comic/image2pixel-web

↓ 15 callersMethodshowProgress
(percent, message)
pixelizer.js:1128
↓ 12 callersMethodsplit
()
web/js/main.js:484
↓ 12 callersFunctiont
* image2pixel - Pixel Art Generator * Copyright (c) 2024 image2pixel.app. All Rights Reserved.
web/js/main.js:6
↓ 10 callersFunctiont
(key, params)
web/js/i18n.js:390
↓ 7 callersFunctionprocessImage
()
web/js/main.js:266
↓ 6 callersMethodshowError
(message)
pixelizer.js:1153
↓ 5 callersFunctionf
web/js/algorithms.js:22
↓ 4 callersFunctionbuildLabPalette
(palette)
web/js/algorithms.js:33
↓ 4 callersFunctionhexToRgb
(hex)
web/js/main.js:637
↓ 4 callersMethodhideProgress
()
pixelizer.js:1146
↓ 4 callersFunctionpaintBlockGrid
(grid, rows, cols, imageData, blockSize)
web/js/algorithms.js:227
↓ 4 callersFunctionrenderPaletteList
()
web/js/main.js:190
↓ 4 callersFunctionrenderText
()
web/js/pixel-text-generator.js:41
↓ 4 callersMethodsplit
()
pixelizer.js:1282
↓ 3 callersMethodapplyColorQuantization
* 应用颜色量化
pixelizer.js:664
↓ 3 callersFunctioncube
web/js/algorithms.js:107
↓ 3 callersFunctionmedianCutGetPalette
(imageData, colorCount)
web/js/algorithms.js:51
↓ 3 callersFunctionnearestLabColor
(r, g, b, labPalette)
web/js/algorithms.js:37
↓ 3 callersFunctionremoveAntiAliasing
(imageData, bg, threshold = 30)
web/js/main.js:432
↓ 3 callersFunctionrgbToLab
(r, g, b)
web/js/algorithms.js:16
↓ 3 callersFunctionsrgbToLinear
(c)
web/js/algorithms.js:11
↓ 3 callersFunctiontoSrgb
web/js/algorithms.js:114
↓ 3 callersFunctiontoggleMenu
(show)
web/js/pixel-text-generator.js:25
↓ 3 callersFunctiontoggleMenu
(show)
web/js/main.js:61
↓ 3 callersFunctionupdateBlueprintCheckboxVisibility
()
web/js/main.js:824
↓ 3 callersFunctionupdateButtonStates
()
web/js/main.js:36
↓ 3 callersMethodupdateGridDisplay
()
pixelizer.js:859
↓ 3 callersMethodupdatePreviewIfNeeded
()
pixelizer.js:1100
↓ 2 callersMethodanalyzeScanline
(data, width, height, pos, isHorizontal)
pixelizer.js:313
↓ 2 callersFunctionapplyElements
()
web/js/i18n.js:430
↓ 2 callersFunctionapplyMeta
()
web/js/i18n.js:413
↓ 2 callersMethodapplyZoom
(zoom)
pixelizer.js:920
↓ 2 callersMethodcalculateSizeStatistics
(sizes)
pixelizer.js:350
↓ 2 callersFunctioncreatePaletteCard
(p, isCustom)
web/js/main.js:195
↓ 2 callersMethoddetectPixelBlockSize
* 检测像素块大小
pixelizer.js:269
↓ 2 callersMethoddrawExportGrid
(canvas, scale)
pixelizer.js:897
↓ 2 callersFunctionextract1x1Grid
(imageData, blockSize)
web/js/main.js:876
↓ 2 callersFunctionextractBlockGridAverage
(imageData, blockSize)
web/js/algorithms.js:182
↓ 2 callersFunctionextractBlockGridNearest
(imageData, blockSize)
web/js/algorithms.js:207
↓ 2 callersFunctionfloydSteinbergDither
(grid, rows, cols, labPalette)
web/js/algorithms.js:248
↓ 2 callersMethodgcd
(a, b)
pixelizer.js:373
↓ 2 callersFunctionhtmlLangAttr
(locale)
web/js/i18n.js:397
↓ 2 callersMethodloadImage
(file)
pixelizer.js:161
↓ 2 callersMethodpixelateToWidth
* 像素化到指定宽度
pixelizer.js:646
↓ 2 callersMethodprocessImage
* 处理图片
pixelizer.js:493
↓ 2 callersFunctionquantizeToFixedPalette
(imageData, palette)
web/js/main.js:440
↓ 2 callersFunctionsaveCustomPalettes
()
web/js/main.js:622
↓ 2 callersFunctionsaveImageDataAsPng
(imageData, filename)
web/js/main.js:850
↓ 2 callersMethodshowPreview
()
pixelizer.js:820
↓ 2 callersMethodshowSuccess
(message)
pixelizer.js:1185
↓ 2 callersMethodsplit
()
web/js/algorithms.js:156
↓ 2 callersFunctionupdateLanguageSelector
()
web/js/i18n.js:456
↓ 2 callersFunctionupdateResultInfo
(canvasWidth, canvasHeight)
web/js/main.js:404
↓ 2 callersFunctionupdateSelectedPaletteLabel
()
web/js/main.js:44
↓ 1 callersMethodanalyzeHorizontalScanlines
(data, width, height)
pixelizer.js:287
↓ 1 callersMethodanalyzeVerticalScanlines
(data, width, height)
pixelizer.js:300
↓ 1 callersMethodapplyFloydSteinbergDithering
(imageData, colorCount)
pixelizer.js:814
↓ 1 callersMethodapplyPrefilter
(imageData, strength)
pixelizer.js:685
↓ 1 callersMethodautoDetectAndSuggest
* 自动检测像素块大小并给出建议
pixelizer.js:226
↓ 1 callersFunctionbindLanguageSelector
()
web/js/i18n.js:466
↓ 1 callersMethodcalculateBlockVariance
(data, width, startX, startY, blockSize)
pixelizer.js:439
↓ 1 callersFunctioncalculateScaledDimensions
(w, h)
web/js/main.js:417
↓ 1 callersMethodcalculateSuggestedWidth
(imageData)
pixelizer.js:473
↓ 1 callersMethodcolorDistance
(color1, color2)
pixelizer.js:805
↓ 1 callersMethodcomputeMinMax
()
pixelizer.js:1234
↓ 1 callersMethodcomputeMinMax
()
web/js/main.js:468
↓ 1 callersFunctionconvertPerlerCodeMap
(codeMap)
scripts/convert-bead-palettes.js:178
↓ 1 callersFunctiondeleteCustomPalette
(id)
web/js/main.js:630
↓ 1 callersFunctiondetectBackgroundColor
(imageData)
web/js/main.js:424
↓ 1 callersMethoddisplayOriginalImage
(img)
pixelizer.js:208
↓ 1 callersMethoddownsampleToBase
* 下采样到基准像素图
pixelizer.js:587
↓ 1 callersFunctiondrawGrid
(canvas, size)
web/js/pixel-text-generator.js:257
↓ 1 callersFunctiondrawGrid
(canvas, blockSize)
web/js/main.js:508
↓ 1 callersMethoddrawGrid
(canvas)
pixelizer.js:874
↓ 1 callersFunctionextractDynamicPalette
(imgData, maxColors)
web/js/pixel-text-generator.js:126
↓ 1 callersFunctionextractShortCode
(fullCode)
web/js/main.js:861
↓ 1 callersMethodfileToDataUrl
(file)
pixelizer.js:192
↓ 1 callersFunctionfindCode
(r, g, b)
web/js/main.js:933
↓ 1 callersMethodfindCommonSizes
(horizontal, vertical)
pixelizer.js:377
↓ 1 callersFunctionformat
(str, params)
web/js/i18n.js:383
↓ 1 callersMethodgetAverageColor
()
pixelizer.js:1265
↓ 1 callersMethodgetAverageColor
()
web/js/main.js:480
↓ 1 callersMethodgetAvg
()
web/js/algorithms.js:70
↓ 1 callersMethodgetAvgRgb
()
web/js/algorithms.js:150
↓ 1 callersFunctiongetContrastColor
(r, g, b)
web/js/main.js:871
↓ 1 callersFunctiongetInitialLocale
()
web/js/i18n.js:372
↓ 1 callersFunctiongetLogicalGridDimensions
(canvasWidth, canvasHeight, blockSize)
web/js/main.js:397
↓ 1 callersFunctiongetNearestPaletteColor
(r, g, b, palette)
web/js/pixel-text-generator.js:177
↓ 1 callersMethodhandleModeChange
(e)
pixelizer.js:152
↓ 1 callersFunctioninit
()
web/js/i18n.js:495
↓ 1 callersMethodinitializeEventListeners
()
pixelizer.js:31
↓ 1 callersMethodinitializeSliderControls
()
pixelizer.js:92
↓ 1 callersFunctionisFontPage
()
web/js/i18n.js:409
↓ 1 callersFunctionlabDistanceSq
(lab1, lab2)
web/js/algorithms.js:29
↓ 1 callersFunctionlabToRgb
(L, a, b)
web/js/algorithms.js:103
↓ 1 callersFunctionlegalHref
(filename)
web/js/i18n.js:403
↓ 1 callersFunctionloadCustomPalettes
()
web/js/main.js:611
↓ 1 callersFunctionloadPalettes
()
web/js/main.js:558
↓ 1 callersFunctionmedianCutGetPaletteInLab
* 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 callersFunctionmedianCutQuantization
(imageData, colorCount)
web/js/main.js:452
next →1–100 of 140, ranked by callers