Glitch Art Filters?

(dumb) #181

Two new scripts, both based on DCT operations. The first one messes with the DCT transforms of entire images, while the second is another take on that JFIF one I was previously focussing on with a few new features.

image

image

0 Likes

(dumb) #182

(Edited) Updated the new JFIF script again, along with subsampling it now handles quality slightly differently. It also has the glitch punch card thing implemented but I’m not sure how to get it to work in the way that it should where the locations of broken blocks coincide for each channel. I was able to do this with the older script but I don’t yet know how to do it for this one.

https://pastebin.com/K53DFtaQ

0 Likes

#183

@Joan_Rake1 You wouldn’t happen to know how to index square areas of image to #colors, would you? I’m gonna need it to update my transfer color for better stimulation of older systems. There’s also arbitrary stimulations I found in an android app named 8-bit photo lab.

0 Likes

(dumb) #184

There’s already the quadtree variations script and the posterise one too. Try modifying those.

0 Likes

#185

@Joan_Rake1 Finally got around to testing the filters. Let’s see…

JFIF Effect 2 : With 32 GB of RAM - It takes me over a minute to finish. I prefer your original filter, much faster, and it works. I think I"ll past on this one.

DCT FSU on the other hand. I find it useful though hard to get a nice image out of it, but the lines may have some applications though I just can’t figure out its application.

EDIT: Figured out the DCT FSU, I really like how the patterns looks like. It could work well with blending modes on the final version.

Here’s a test image of DCT FSU using a non-existent person -

image


By the way, I am attempting to make a cli command where you can apply commands per square of specified size. That would be good for glitch art, and it would be good for my pixel art command as many hardware have color restriction based on size.

And I just figured it out though it requires one to resize canvas, create a loop to keep certain areas, rotate all of those looped generated image, and apply the keep effect loop for those image. Then rotate them all again, and then assign your desired filter, and then append them altogether. That doesn’t sound so enjoyable to do. And I’m failing to resize by canvas rather than the image though I have a workaround using f"" to replicate the original image, and using w,h,depth,channel.

Also, I can’t seem to figure out how to keep a variable constant. Like iw = w, I want it to remain based on the original image.

0 Likes

#186

Remarks

1. If there is repeated rotation, you might not need to rotate so many times; only decide what the final position is, then rotate once.
2. If you need some sort of tiling, you have apply_tiles.
3. There is something called global variables. There is a large section on variables in the reference documentation.

0 Likes

#187

Apply_tiles actually worked for me. Thanks. If I didn’t knew of apply tiles, then I would have a headache making the cli and going all the way to doing unnecessary work. Well, time for me to add stimulate hardware restriction i.e few colors per tiles on reduced colors transfer. I’ll keep in mind about global variables using the reference documentation when I’m ready to use them.

@Joan_Rake1 - Any updates on those filters?

0 Likes

#188

I just found this. I knew that fill can break something in a interesting manner. This “glitch” might be explored.

The command is very simple

autocrop f. .

image

image
Result via preview window. Now, that is interesting.

Could literally just have a random layer, and then keep the filtered layer only. That’s all you need here. Previews isn’t to be trusted though.

0 Likes

#189

Could you upload your input image? Nothing happens when I do it to sample tiger for instance…

0 Likes

#190

I forgot to mention that there needs to be a dot next to first . Also, second layer needs to have something.

0 Likes

#191

I don’t know what to do, so I did something different.

gmic sample tiger,flower autocrop_seq auto +local autocrop fill. . endlocal -

tigerflower

PS With sample colorful,tulips

colorfultulips

0 Likes

#192

The result would look way better with transparent image on layer 2.

Here’s something of interest, what is this image for and for what PDN glitch does it relate to?

image

Hint - What it’s in the left? The right is a search pattern, and the result is in the left.

Made this as a reference for coding that glitch. Not really helping so much, but better G’MIC coders can figure this out quicker.

0 Likes