Jump to content

midora

Members
  • Posts

    1,490
  • Joined

  • Last visited

  • Days Won

    18

Everything posted by midora

  1. All my 4.3 plugin variants are showing this warning. I never could eliminate it. But there seems to be no negative effect at runtime.
  2. There was one issue. Maybe someone could provide a hint. Adding the icon to the resource always created code with the icon type byte[]. Means I couldn't use it as StaticImage. At some point I gave up and edited the .resx file (it's a text file) and changed there byte[] to Bitmap. This worked. The created .cs file got this type and I was able to use it as StaticImage. This is only an issue in the .net 5 environmment.
  3. I didn't debug it. It is simple and just worked.
  4. But I did this project using VS 2019. So maybe you missed any update. Even Net 6.0 should work.
  5. I guess you are right. I switched to 2019 beginning of the year because I couldn't install some newer sdks.
  6. I created an update of the solution (VS 2019) which uses .NET 5 and requires paint.net 4.3.0. PdnUiAllPropertyBasedControls 4.3.0.zip You have to update the references to the paint.net assembly (the project references the portable version).
  7. Untested, just looking in the repo. Add to the override Render method // Get the current settings from the token (or do it in OnSetRenderInfo) Amount1 = Amount2 = // Render each rectangle for (int index = startIndex; index < startIndex + length; ++index) Render(dstArgs.Surface, srcArgs.Surface, rois[index]); But you should really start with a more simple project. There is too much overhead in this one.
  8. Your override of the Render method doesn't render anything. To create a virtual OnRender method makes only sense if you like to override it (and the loop there executes an empty statement). So add the loop with a call to the second Render method to the first one. Take the surfaces from the RenderArgs. I'm not adding a code snippet now.
  9. @AndrewDavidZero would mean there is no row or column. A minimum of one makes more sense. Anyway if the author allows zero - for what ever reason - the code has to check that there is no division by this value.
  10. A division by zero in the plugin Render method is most likely a bug in the plugin code. Does it make sense to allow zero for the slider value?
  11. Win 10 Home 21H1 build 19043.1237. I remember that I changed the colors on the second screen once to be a little bit warmer. This explains the difference. No difference in paint.net compared to the FileExplorer.
  12. That's a little bit strange because the Windows FileExplorer shows it like the third image. And I guess the the FileExplorer uses also WIC. Maybe icm is not enabled. paint.net 4.2.16 and the 4.3 beta shows it like the second one, which seems to be fine. And the What's it plugin identifies it as jpeg 😉 I have to correct the first sentence. It only gets the green touch on my second monitor on the main one it looks fine.
  13. By mistake I figured out that the rule 'paint.net does only load an image if the image filename has the correct extension' is not always true. Renaming a .jpg to .bmp still loads the file. I guess this is the case because both extension use WIC to decode the file and WIC identifies the file by content and not by extension. We will not tell this users 😉
  14. You missed the point that women should stay at home and shouldn't get any education. There are good reasons why most countries removed god from their constitutions and tell religion is something private which is protected. I don't know how the situation is outside of Switzerland but here exist two types of marriage. One by the state and one by the religion. The one by the state is just about that two decide that they share responsibility for each other. The religions can decide if they are accepting mixed couples. My one does and also allows women to be priest. I guess it's the same in other European countries. Still if all countries would share the same basic measurement units then life would be easier. Who cares if there are local additions.
  15. I started developing of some new plugins beginning of the year and got redraw issues (some issues I reported in the 'callout selection' plugin). I retested the plugins using the beta and the issues are gone. I will now change the plugin code to .net 5.
  16. I have to correct this Pixey 🙂 The roots of the family are in Poland. We were asked to leave the country after WW2.
  17. Cultural identity is an important thing to keep local people together but it also creates borders to others. So IMHO we have to think about what's really important and not just something we are used to. But if something is part of your daily life then this is not a big surprise. You would also adjust if the signs would shown km for a period of 40 years. Is a mile a natural distance between anything? If not then there is no difference to km. Just yesterday there was a message about a new TV from LG. The size is 325 inches. I can not imagine this amount of inches. There are no EU overloards. There is a union of countries which share common values, try to solve issues peacefully, and show solidarity.
  18. They are coming because their English is better than mine ,-) Yeah, it's sometimes a disadvantage to be the homeland of a language which people are using worldwide. Not like German or French. Still you should be happy that there is the French channel. In Swizerland we are using Deziliter (tenth of a liter) to measure bear. Everything is small. At the end let's see what the UK goverment decides. And as I remember it was not forbidden to add imperial units but a must to use metric. Which make sense in a global world. So maybe it will be now vice versa. And for sure i noticed the death Sir Sinclair (independent of my potential programming skills, others have to judge this ;-). So RIP Clive. But I'm much more interested to see what's going on in the future and not in the past. 'Evil empire E.U.' that's really funny. That's worth an up-vote.
  19. Just red in the Times that the UK government decided that companies have to scrap metric units and return to pound, ounces, and pints. What a big advantage of independence and freedom. Soon every country in the world will follow Global Britain and use their own units.
  20. Typically it's easier to use the numeric controls to fine-tune the effect. But as @Pixeymentioned sometimes it's better to use a perspective plugin (depending on the effect you like to achieve).
  21. New tools, new challenges, more fun 😉 I remember when I first had to use this machine to create holes on cards to program the computer on university. Just 40 years have been passed and nowadays we are fighting with gigabits of data per second in mobile communication and still trying to debug and understand what's going on there.
  22. As @null54said. It looks like that you placed your whole project inside of the paint.net folder. You should locate it somewhere outside of paint.net folders and just copy the plugin dll from the output folder to the Effect folder using a post-build command. It's standard that VS copies your dll and all dependencies and .pdb into the output folder.
  23. You are right that would be better. Plus Span<T> is pinable and can be used in a fixed context.
×
×
  • Create New...