Commit Graph

130 Commits

Author SHA1 Message Date
mattias
369aa3055c fixed typo dont
git-svn-id: trunk@27304 -
2010-09-11 14:05:21 +00:00
marc
32dbf71e3a * add workaround for alpha channel on palette based PNG images for fpc2.4 (fixed in fpc r15926 #af088605bf). Fixes issue #0017267
git-svn-id: trunk@27242 -
2010-08-31 21:32:03 +00:00
sekelsenmat
fc9813f9cf Improves bitmapped button and adds an alpha blending routine to TLazIntfImage
git-svn-id: trunk@26760 -
2010-07-21 07:35:04 +00:00
mattias
3920c1a238 codetools: started init with new fpc cache
git-svn-id: trunk@26721 -
2010-07-18 00:50:13 +00:00
marc
996ccb8aac * Graphic: fixed rendering of gray-alpha images. Partially fixes #13266
git-svn-id: trunk@25258 -
2010-05-08 16:58:32 +00:00
marc
1ad1d06743 * Graphics: Added TTiffImage
git-svn-id: trunk@25134 -
2010-05-02 14:36:41 +00:00
paul
bf426e5704 lcl: ignore bitmap alpha channel if all alpha values = 0 (issue #0015644)
git-svn-id: trunk@23615 -
2010-02-03 10:05:54 +00:00
paul
c07babe2e7 lcl: cleanup old intfgraphics workarounds
git-svn-id: trunk@23391 -
2010-01-06 16:59:41 +00:00
mattias
f0afca08f5 LCL: reduced debugging under wince
git-svn-id: trunk@22777 -
2009-11-25 22:16:26 +00:00
marc
8f9838a385 * Initialize writers when writing a TPicture graphic in a different format. Fixes issue #0013451
git-svn-id: trunk@20562 -
2009-06-09 22:58:19 +00:00
marc
9601319387 * fixed compatebility with 32bpp bitmaps and alpha channel (issue #13917)
git-svn-id: trunk@20498 -
2009-06-07 16:38:54 +00:00
marc
216a9ab9a2 * Fixed bitmap and icon transparency (ussue #13883)
git-svn-id: trunk@20334 -
2009-06-01 17:58:36 +00:00
paul
10a39a669c lcl: fix compilation
git-svn-id: trunk@20330 -
2009-06-01 00:56:57 +00:00
marc
ca5bf5de6d * Added read support for OS2 v1 bitmaps
* Improved bitfield support when reading bitmaps
* Limited alpha bitmaps only to bitmaps with atleast a V4 header

git-svn-id: trunk@20326 -
2009-05-31 18:33:08 +00:00
paul
918eaf1a50 lcl: fix absolute usage for the new rules of fpc 2.3.1
git-svn-id: trunk@18989 -
2009-03-14 13:57:38 +00:00
marc
c8855d51da + Added flags to allow TLazIntfImage initialize description in creation
* replaced existing calls to create TLazIntfImage without description since it is set later (default works too, but might change).
* Enabled palette support for descriptions without palette

git-svn-id: trunk@17407 -
2008-11-16 15:27:37 +00:00
paul
f75f743776 lcl: prevent division by 0 when updating progress during graphic loading/saving (#0012070)
git-svn-id: trunk@16434 -
2008-09-05 13:03:41 +00:00
paul
68a2e1b6d1 lcl: improve Tomas change to CopyPixels, fixes #0012023
git-svn-id: trunk@16394 -
2008-09-03 22:23:30 +00:00
tombo
d84640530a LCL Carbon: finally fixed #0012033: Mac OS X : LoadCursorFromLazarusResource throws Division by Zero Exception! - mask data was not copied to alpha channel, only crSQLWait needs some repair
git-svn-id: trunk@16386 -
2008-09-03 11:17:26 +00:00
marc
98c9fb0791 * Don't copy mask when MaskBitsPerPixel = 0
git-svn-id: trunk@16371 -
2008-09-02 22:59:01 +00:00
paul
efbdaeaf0e lcl: add basic support for Progress during reading/writing of TCustomBitmap (tested with bpm,xpm). Based on patch of Laurent Jacques (#0008893)
git-svn-id: trunk@16334 -
2008-08-31 15:09:46 +00:00
mattias
69cfe88898 using UTF-8 for file operations and environment variables
git-svn-id: trunk@16236 -
2008-08-25 22:32:23 +00:00
paul
849470df8f lcl: fix typo in the method name (#0011904)
git-svn-id: trunk@16097 -
2008-08-18 02:43:22 +00:00
mattias
c81aab571f fixed uninitialized function results
git-svn-id: trunk@16088 -
2008-08-16 20:51:45 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
marc
b972e96632 * changed QueryDescription out param into var since it is allowed to update the description too (in that case it should be var).
git-svn-id: trunk@15810 -
2008-07-17 22:48:45 +00:00
marc
832f32e752 * mask alpha channel when device has no alpha support
git-svn-id: trunk@15754 -
2008-07-12 00:36:14 +00:00
paul
f181d04615 lcl: set FDataOwner to true in IntfImage after freeing data - fixes memory leak in the .ico reader
git-svn-id: trunk@15752 -
2008-07-11 16:49:57 +00:00
tombo
29ea8899f8 LCL: fixed range check errors
git-svn-id: trunk@15674 -
2008-07-04 14:02:11 +00:00
paul
145033569a lcl: implement .icns (osx icon resource) graphic reader
git-svn-id: trunk@15612 -
2008-06-30 01:11:14 +00:00
paul
c8d58add6a lcl:
- revert TLazIntfImage.HasMask (it was indeed right)
 - improve a bit TWin32WidgetSet.RawImage_CreateBitmaps

git-svn-id: trunk@15597 -
2008-06-27 15:36:15 +00:00
paul
29d8c931b8 extend comment in the png reader
git-svn-id: trunk@15573 -
2008-06-25 06:49:21 +00:00
paul
36feee63d6 lcl:
- fix Init_BPP32_B8G8R8A8_M1_BIO_TTB
- fix PngReader - it now handles 1 color transparent png images

git-svn-id: trunk@15571 -
2008-06-25 05:04:47 +00:00
paul
dabde77f8b lcl (from me and Marc):
- create bitmaps for icon in with icon description instead of alpha bitmaps (fixes #0011514, #0011539)
- add support for gtk mono cursors
- fix gtk2 shifts on pixbufs (gtk2 bug)
- misc graphic fixes

git-svn-id: trunk@15557 -
2008-06-24 03:45:36 +00:00
marc
29ceac9d9b * Fixed channel position calcualtions in chooseRGB functions
git-svn-id: trunk@15519 -
2008-06-22 22:50:01 +00:00
paul
f1b96ea408 lcl: finally fix LazReaderPng description
git-svn-id: trunk@15476 -
2008-06-20 09:43:16 +00:00
paul
52d3e8f481 lcl: fix LazReaderPng description from Marc
git-svn-id: trunk@15475 -
2008-06-20 09:31:13 +00:00
marc
d43db7b7f3 * Splitup of TBitmap into TRasterImage, TCustomBitmap, TFPImageBitmap and TBitmap
* Implemented TIcon and reading .ico (including Vista icons)

git-svn-id: trunk@15472 -
2008-06-20 00:21:07 +00:00
mattias
e3520a6d50 gtk intf: reduced warnings/notes - use -dVerboseLCLTodos and -dVerboseGtkTodos to see them
git-svn-id: trunk@15422 -
2008-06-14 12:04:46 +00:00
tombo
beec66d795 LCL IntfGraphics: fixed bug #0011109: Bitmap "Invalid Size" error. - Mac OS X - Leopard
- negative height in bmp header only means bitmap data is not upside-down

git-svn-id: trunk@14792 -
2008-04-09 09:54:12 +00:00
paul
11de6af8b9 decapitalize all procedure and function keywords to make all looks the same
git-svn-id: trunk@14375 -
2008-03-03 08:06:26 +00:00
mattias
4b057149d8 LCL: bmp reader: added RLE support from Sebastian Günther
git-svn-id: trunk@14158 -
2008-02-16 11:23:03 +00:00
paul
ac89221fef add ability to read TBitmap from resource (windows resource or linux)
git-svn-id: trunk@13309 -
2007-12-13 05:50:56 +00:00
paul
980c6a4889 change argument names
git-svn-id: trunk@12953 -
2007-11-21 09:31:55 +00:00
paul
399870cc81 extend TLazIntfImage to allow copy source to another position than 0,0
git-svn-id: trunk@12948 -
2007-11-21 07:05:49 +00:00
marc
be31650df1 * Enabled alpha loading for 32bpp bitmaps
git-svn-id: trunk@12604 -
2007-10-27 01:15:32 +00:00
marc
9313297b28 * Fixed rowstride rounding
* Fixed bitmap endianes on bigendian displays
* Fixed pixbuf alpha loading on bigendian displays
(fixes #9740)

git-svn-id: trunk@12587 -
2007-10-26 00:08:10 +00:00
marc
d969229f60 * fixed crash in lazintfimage when setting description with same size as before
git-svn-id: trunk@12511 -
2007-10-17 21:57:14 +00:00
marc
99dd765724 * Fixed cursors on win2000, winNT when bpp<24
git-svn-id: trunk@12420 -
2007-10-11 23:21:58 +00:00
marc
286cd77dab * Fixed loading mask of icons
git-svn-id: trunk@12398 -
2007-10-09 23:44:03 +00:00