MCPcopy Create free account
hub / github.com/32comic/image2pixel-web / gcd

Method gcd

pixelizer.js:373–375  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

371 }
372
373 gcd(a, b) {
374 return b === 0 ? a : this.gcd(b, a % b);
375 }
376
377 findCommonSizes(horizontal, vertical) {
378 const candidates = [];

Callers 2

findCommonSizesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected