Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/07/2021 in all areas

  1. The icon can actually be any square size. It will be scaled to the appropriate size at display time. This permits you to use, for example, a 32x32 icon so that it still looks good on a high-DPI screen. I believe @BoltBait and @toe_head2001 make use of this for CodeLab.
    2 points
  2. Let's discuss here issues regarding the development of an .bmrl filetype plugin. There are .bmp files out there which do not contain Windows bitmap files. The signature is "RL" instead of "BM". Standard Windows viewers are not able to open these kind of .bmp files. The content of the the files is a run-length endcoded 8-bit indexed format which allows multiple palettes and an alpha channel. These files are used for iGO POI icons. We are not able to enhance or replace the built-in .bmp loader/saver so we have to choose a different filename extension and the user has to change the extension if she likes to edit the file in paint.net. My favorite extension is - in the moment - .bmrl . Because you just have to change the p to rl ,-) There seems to be no official specification describing the format. But we got a kind of reference implementation in c (open source). To implement load in c# is easy enough. Save is more tricky because standard color quantization does not respect an alpha channel . There are ideas how this can be done (if the reference implementation is not sufficient). Comments are welcome.
    1 point
  3. @Ego Eram Reputo In my thirst for knowledge, I came across this old thread that provides a walkthrough using VS to create a plugin. https://forums.getpaint.net/topic/25828-help-needed-using-visual-studio-instead-of-codelab-for-developing/ If you can believe it - your template still works in Visual Studio 2022 Preview. I took the liberty of editing the walkthrough to reflect the changes since VS Express. I am also able to describe some of the headaches I have been having on my learning curve. Perhaps we can rebuild this thread with tips on how to use VS 2022 Preview to build plugins. Here is the (edited) version of your walkthrough with my comments and questions added. I envision adding code snippets to this thread to provide addition help in building a plugin. They are spread all over the place. Your help would be appreciated
    1 point
  4. I added a new topic in the development area to continue the discussion about development. https://forums.getpaint.net/topic/118616-bmrl-filetype-development/
    1 point
  5. If gradients are allowed, I suggest that perhaps two fixed colors separated by a horizontal boundary also be allowed. The lower color could represent a surface upon which the ice cube rests, and the upper color, a background. It could used to help emphasize the ice cube's refractive aspect. Perhaps even two gradients separated by a horizontal boundary, if we want to get really fancy.
    1 point
  6. You can also adapt the code that I put on GitHub, https://github.com/paintdotnet/PaintDotNet.Quantization
    1 point
×
×
  • Create New...