Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ofn-tiles : example image
#5
(03-04-2024, 01:16 AM)gimpygirl Wrote: Sorry i dont speak english. What do you mean by "your character aren't as regularly spaced as the look".

Besides the typo "the/they". You would expect the distance between consecutive characters to be constant, but here it varies between 149 and 151 pixels. And IMHO this is due to some scaling that happened earlier in the workflow and that should have been avoided.

Quote:It's a big complicated to write a plugin for (for me). I want automatic process since i'm doing many of these images for font making.

I just found g'mic can do it with "extract objects"! They are extracted perfectly.

Do you know if I can make a plugin that calls g'mic and how?

Or how to batch process g'mic on a whole folder of images like the example?

So I want:

1. "extract objects" but the dot must be in the blue area (see image)
2. export all layers using your plugin

is this possible to combine in a plugin (1 + 2)?

I especially need code for 1 (2 I can do now)

I have no experience with GMIC scripting. Although it seems to solve your problem, you may end up with characters of varying widths.

Quote:If I use ofn-export-layers on the layers g'mic made (see previous example), they are exported by starting from the LAST layer Sad

See screenshot: it starts with number 32. You know why?
see next screenshot: the result of ofn-export-layers (with numUp0). I need the reverse order Sad


Can you add an option to ofn-export-layers to export the layers reverse order so the numUp0 is starting from 0 and corresponds to the first symbol in the image from left to right?
Maybe checkbox "reverse layer order"?

Did you ever wonder why the variable is called numUp? And then wonder if there could possibly be something called numDown?
Reply


Messages In This Thread
ofn-tiles : example image - by gimpygirl - 03-03-2024, 07:56 PM
RE: ofn-tiles : example image - by Ofnuts - 03-03-2024, 08:54 PM
RE: ofn-tiles : example image - by gimpygirl - 03-04-2024, 01:16 AM
RE: ofn-tiles : example image - by Ofnuts - 03-04-2024, 09:09 AM
RE: ofn-tiles : example image - by rich2005 - 03-04-2024, 02:14 PM
RE: ofn-tiles : example image - by Ofnuts - 03-03-2024, 08:54 PM

Forum Jump: