Jump to content

Toli

Members
  • Posts

    134
  • Joined

  • Last visited

Posts posted by Toli

  1. Please take a brief look at my thread "About a "Selective blur / average" Plugin"

    While developing the plugin, I changed the concept a little, so now the plugin has no UI and works like that:

    1. You select an area of similar color (with the Magic Wand for best results)

    2. Click Effects.Blurs.Smooth

    That's all!

    The Selected Area is Smoothed internally, as if there were no surroundings.

    This is especially useful in my opinion when doing sprites.

    Example:

    Let's consider this sprite:

    Some smoothing seems appropriate. If we try Blur...

    The gray and red interfere with each other.

    If we move the gray area to another layer, it will blend with the transparency around it.

    Its grey areas would need some smoothing. The red area needs it too. Only separately.

    So, select the grey areas, click Smooth, then select the red area and click Smooth again. Done!

    You can get this and other plugins plus the source code from HERE

    Toli Cuturicu

  2. Please check the new binary and source code at the beggining of the thread. I think these are almost final, because I am not going to work at this plugin in the near future unless serios bugs / drawbacks are found.

    I made another plugin, Smooth, check that one too, please.

  3. Thank you for your appreciation.

    Less CPU and Memory overhead is an old habit of mine, from the era when CPU frequency was around 0.87 MHz, bandwidth was 8 bits and RAM 64 KB...

    By the way, do you think that I should make a little tutorial about how to make a faster plugin or something? (I am a professor too, not only a programmer)

  4. I would very much like such a Plugin and I am ready to start programming it.

    However, I do not want to duplicate some other programmer's work. So I ask the question here first.

    Is there anything like this around?

    Let me be a little more specific:

    [attachment=0]PortLeft.png[/attachment]

    This is a Supaplex Port (a sprite).

    See that the grey areas are not very smooth.

    If I smooth them using a blur (e.g. Gaussian Blur, Radius = 1), some red will get into the first column of grey pixels adjeacent to the red pixels.

    My plugin should only blur / average if the color difference is not greater than a specified value.

    What do you think? Is it worth coding that?

    Thank you for any feedback

    Toli Cuturicu

  5. This will be neither easy nor straightforward.

    However, I might implement it time available and / or more people complaining about it.

    The difference is not only about two missing buttons, but the fact that now all the options are on Buttons, not RadioButtons anymore. The best solution would probably be to use two different forms and load whichever appropriate at runtime (the user's choice, remembered in the Ini File)

  6. Reply to Pantaleao.

    Thank you for your feedback. I program since 1982, so I am quite old in the branch too!

    Usually, you are right. However, the changes in the look and feel are marginal and in the functionality are none. Taking into the consideration the gain in usability, I suppose that the users will be happy. If not and should I receive more negative feedback, it wouldn't be so difficult to revert to the initial UI.

  7. I updated it again!

    Look at the beggining of the thread.

    1. Now it remembers the last choice.

    2. The OK and Cancel Buttons are gone. "None" is now Cancel and all the others are OK. The preview is automated on Button_MouseHover and Button_Enter. This way, you save a click!

    3. Try to right-click! You'll see the UI change. Use the UI you like from three choices. The plugin will remember it too.

    Comments?

  8. > Perhaps emulate the built-in Rotate when no selection is active - i.e. rotate the entire canvas

    I am not sure I am able to do that (actually change the Dimensions of the Canvas).

    > and when there is one active still rotate what is in the selection within the selection. What do you think?

    > See how it was rotated within the selection? Therefore this would enable all the functions afforded to us available

    > all the time. Is something like my suggestion feasible?

    This would be feasible, but will take some time, because I have some other work to do right now.

  9. > Could you use a thumbnail of the current picture instead of a Paint.NET icon?

    > Just throwing it here...

    Sorry, I don't think this would be feasable.

    1. Thumbnail of what? The picture? The selection? The Selection Bounds?

    2. If it does not have Transparency near the edges it will not look nice on a Button.

    3. You see the Effect on the fly on the Canvas anyway.

    4. I do not have an algorhythm to save a part of an Image as a *.png / I don't know how to do it.

    5. What about the Disabled Buttons. They should display something, shouldn't they?

  10. > Toli,

    > Fantastic job! I really like the UI how it shows what the result will be with the buttons. This plugin is essential and will

    > especially be easy to use for newer users.

    > Keep up the great work.

    > Dave

    Thank you for your compliments. Everybody who knows my programs appreciates especially the UI.

    I will keep coding, of course.

  11. > Nice, and please put it in "Distort".

    > Thanks.

    Thank you too.

    I am not sure if my plugin performs any distorsion at all. In my point of view, the result is either identical or enantiomorphic with the original, so it is tehnically not distorted.

    But I will take it into consideration further.

  12. > Great!

    > I'm going to replace my flip version by this plugin!

    Thank you. I will try to make it better.

    > Source? I would like to see how to remember the position!

    > Thanks!

    I feel quite ashamed of releasing the source code, because everybody will then see my mistakes and bad coding practises.

    If you think I will not make a fool of myself, probably I will post it after editing it a bit for clarity.

    The position is remembered in an *.ini file created in the same directory. Open it with a text editor and look at it.

    Form.Left and Form.Top are written there at Form.FormClosing and read from there at Form.Load.

    The whole Ini File stuff is wrapped by me in a class IniFile, which I use in many of my projects. It is extremely large, so I stripped all the unnecessary code out of it and added the remaining to this project.

×
×
  • Create New...