storms47@lemmy.world to Perchance - Create a Random Text Generator@lemmy.worldEnglish · 3 months agoImage Editor not workingperchance.orgexternal-linkmessage-square2linkfedilinkarrow-up16arrow-down10file-text
arrow-up16arrow-down1external-linkImage Editor not workingperchance.orgstorms47@lemmy.world to Perchance - Create a Random Text Generator@lemmy.worldEnglish · 3 months agomessage-square2linkfedilinkfile-text
minus-squareVioneT@lemmy.worldMlinkfedilinkEnglisharrow-up1·3 months agoThere is no “Image to Image” or “AI Image Editor” working in Perchance. Looking at the code, it is generated through the AI code helper in which there are these sections: // AI Remove Object removeBtn.addEventListener('click', async function() { showLoading('Removing objects with AI...'); // Simulate AI processing setTimeout(() => { if (selectedArea.isActive && selectedArea.width !== 0 && selectedArea.height !== 0) { // For demo: fill selection with a gradient (simulating AI inpainting) const gradient = ctx.createLinearGradient( selectedArea.x, selectedArea.y, selectedArea.x + selectedArea.width, selectedArea.y + selectedArea.height ); ... // Simulate AI object extraction setTimeout(() => { const img = new Image(); img.onload = function() { // Scale the image Which is why it doesn’t work.
There is no “Image to Image” or “AI Image Editor” working in Perchance.
Looking at the code, it is generated through the AI code helper in which there are these sections:
// AI Remove Object removeBtn.addEventListener('click', async function() { showLoading('Removing objects with AI...'); // Simulate AI processing setTimeout(() => { if (selectedArea.isActive && selectedArea.width !== 0 && selectedArea.height !== 0) { // For demo: fill selection with a gradient (simulating AI inpainting) const gradient = ctx.createLinearGradient( selectedArea.x, selectedArea.y, selectedArea.x + selectedArea.width, selectedArea.y + selectedArea.height ); ... // Simulate AI object extraction setTimeout(() => { const img = new Image(); img.onload = function() { // Scale the image
Which is why it doesn’t work.