Announcement

Collapse
No announcement yet.

Simple way to load a PNG graphic for pb 9.03 or less.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Simple way to load a PNG graphic for pb 9.03 or less.

    I have just one program that the user wants to load a PNG graphic. All the DDT controls seem to be limited to bitmaps in a resource files and I use that a lot. They say the PNG file looks pixalated. Text is not crisp. The PNG is 60 kb so load time should not be an issue. We have a bitmap version that is 981,000 bytes. Need guidance.

    Bob Mechler

  • #2
    The bitmap also looks pixalated with the text not sharp at all.

    Comment


    • #3
      Using a load from resourc file for the bitmap version.

      Comment


      • #4
        After using some better search tags found several examples and include "GDIPlus_Simple.inc" (Jose Roca) with examples by Gary Beene fit the bill.

        Comment


        • #5
          Originally posted by BOB MECHLER View Post
          After using some better search tags found several examples and include "GDIPlus_Simple.inc" (Jose Roca) with examples by Gary Beene fit the bill.
          Alternative using PB includes and a cut down GDI+ include:
          https://forum.powerbasic.com/forum/u...029#post799029

          Comment

          Working...
          X