Release of G'MIC 3.7

OK; found blend standard and it has a shape average option but no alpha option; have to use original stencil layer as mask layer afterwards. Doable but more steps. Even so, at least its an option should Blend [Shape Average} no longer will be available. :slight_smile:

But if you save it as a preset with shape average selected it’ll probably be the same steps.

I need the alpha channel as transparent, so still have to add a layer mask with the target template to get that result. Not a biggy, but really do miss the Blend [Shape Average] preset that David saved for me for over a decade. Not sure what happened to Pen preset either; oh well. Guess I might complain too much. lol

:slight_smile:

@lylejk , they’re back.

Thankyou so much David; had a work-a-round for Blend [Shape Average] but not really for Pen. As for Blend [Shape Average], the Blend [Standard] does work but needs the original stencil as mask to allow transparancy around the objects. Not sure if a check box for background transparency could be added to Blend [Standard] but if so, there would indeed be no need at all for Blend [Shape Average] within the workflow I used for my Marbles renderings. Even so, again, kudos to you and your team, David. 3.7 is a keeper. :slight_smile:

1 Like

I have 3.7.4 now but I can’t seem to get serindipitous circle to work? I have found it in my GMIC-qt But it shows an empty screen. I have even change no alpha channel to alpha and there is no change. Haven’t used it for a while, has something changed?

This filter has been made by @Reptorian , maybe he could tell what’s happening ?

For anyone like me who hasn’t updated for a while and has a huge set of scripts locally to update, a summary of breaking changes:

arg removed, replace with arg1 (or arg0 if simpler)
math arg() removed, replace with arg1() (or arg0() if simpler)
is_percent removed, replace with math ispercentage()
invert no longer has parameters, remove them (or use a custom method)

sort() parameters changed: sort(X,_is_increasing,_starting_index,_nb_elts,_size_elt,_sort_index)

Edit: I don’t mean to sound ungrateful, these changes make sense!

Yes, I will get to it right away.

I see why now. rep_symmmetrize_xy is now broken by changes.

$ sp cat rep_symmetrize_xy 3

Confirms it.

I don’t know where it’s coming from though.

This is the code:

#@cli rep_symmetrize_xy: 0<=mode<=3,_border_size>=0
#@cli : Create copies and then append images to generate symmetry alongside xy-axis.
#@cli :
#@cli : Default values: '_border_size=1'
#@cli : Author: Reptorian.
rep_symmetrize_xy:
skip ${2=1}
mode,border={[$1&3,int(abs($2))]}

a_x,a_y,b_x,b_y:=xor(vector(#4,[0,0,1,1,1,0,0,1][$mode<<1,2]),[1,1,0,0])

foreach {
	{([w,h]<<1)-$border},100%,100%
	j[1] [0],$b_x~,$b_y~
	mirror[0] xy
	j[1] [0],$a_x~,$a_y~
	mirror[0] x
	j[1] [0],$b_x~,$a_y~
	mirror[0] xy
	j[1] [0],$a_x~,$b_y~
	rm[0]
}

Which worked well before 3.7.4, but I can’t trace where it went wrong. Something to do with image/j command?

Huh, values of a_x,a_y,b_x,and b_y is pretty weird.

Found where it’s coming from:

@sallyanne Good news, it is fixed for G’MIC 3.7.5 release. Bad news, I don’t remember the feature request that you wanted for it.

Thanks. The filter was serendipitous circle. I didn’t say what I wanted it for.
I do not see a 3.7.5 for gimp’s vs 3.2, except a tar.gz which I have no idea if I can even open it. Maybe that is what you wanted to know?
I have a 3.2 gimp on a Windows 10. 64 bit.

I’ve just uploaded new pre-release versions with the bugfix included.
For windows users, get the installer : https://gmic.eu/files/prerelease/gmic_gimp3.2_win64.exe

2 Likes

Thankyou David - downloaded and installed

Not sure if it had to be done on a ‘square’ canvas before. I have done it on a rectangular piece and ended up with a blank area in the middle. I’m sure though I could do it on a rectangular piece before. But nearly always cropped it back to a square
Anyway glad to have it back :grinning: