Questions tagged [graphicex]

GraphicEx is a free Delphi library to load various image formats (png, gif, tiff, tga, bmp, dib and many more), including some rather seldomly used types like sgi, cut, rla, pcd and others.

The GraphicEx library was created by Mike Lischke. It's homepage is www.soft-gems.net. The code is available on Github

8 questions
11
votes
4 answers

Custom component dependency hell

I'm trying to make a package for a custom component I made. It's based on several libraries, including Graphics32, GraphicEx and CCR.Exif. I created a Package project, wrote the unit including its Register procedure, added some extra references…
Thijs van Dien
  • 6,516
  • 1
  • 29
  • 48
4
votes
2 answers

How can I resize any kind of image?

The goal of my project is to resize any kind of image (jpeg/gif/png) in Delphi 6. I have tried many ways but I could not get the ideal solution. Any clue of how to do that? It can be a simple command line tool, some code or a Delphi component. I…
yarek
  • 11,278
  • 30
  • 120
  • 219
3
votes
1 answer

Delphi XE2 64bit: inline asm in GraphicEx

How would this turn out from asm to pure delphi? I cant compile a component that needs GraphicEx, giving me an error in JPG unit that inline assembly isn't suported for 64 bit. function __ftol: Integer; var f: double; begin asm lea eax, f…
hikari
  • 3,393
  • 1
  • 33
  • 72
2
votes
1 answer

Migrate to Delphi 2009 - Invalid Typecast error

I'm converting GraphicEx project to Delphi 2009. I have trouble in converting following procedure in unit Scanf_c.pas. Here is the problem: With TscRec(FType) do begin FType is an integer and TscRec is defined: TscRec = packed record // Has…
bman
  • 5,016
  • 4
  • 36
  • 69
1
vote
1 answer

Can't get how to draw PNG properly via GraphicEx in Delphi

I have a little problem with PNG format. To read and display PNG files I use GraphicEx library by Mike Lischke (got it there). All was good before I decided to draw PNG file with transparent background. I use this code to load and draw PNG on form's…
Josef Švejk
  • 1,047
  • 2
  • 12
  • 23
0
votes
0 answers

problem with transparency after unchecking Link with runtime packages and Link with Dynamic RTL

I am using graphicex lib to support transparency in graphics32 library (I am using RAD Studio 11, C++ builder). Everything works well - except - when I try to compile and run app with unchecking of the items ("Link with runtime packages" =false and…
0
votes
1 answer

Unity3d lighmap issue

Im using unity 2017 and sometimes when i want to bake lightmap a dark shadow appear. see image : why this happening ?! it is progressive lightmapper.
iman_sh
  • 420
  • 1
  • 8
  • 22
0
votes
1 answer

How to correct the GraphicEx InChunk() Function?

I am trying to port the GraphicEx component library (for PNG files) from my Delphi 2006 to XE3 (Finally got it) when correcting the basic errors, I got stuck in this error: "TPNGGraphic.IsChunk" invalid type cast At lines: function…
NaN
  • 8,596
  • 20
  • 79
  • 153