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
mattias
8f193ce68e
LCL: fixed TLazIntfImage setting DataDescription, updated example for scanline
...
git-svn-id: trunk@12267 -
2007-10-01 09:35:21 +00:00
mattias
622c1cea5a
example for TLazIntfImage fixed
...
git-svn-id: trunk@12266 -
2007-10-01 09:05:25 +00:00
marc
0e764d0c33
* Enabled alphadescription for icons
...
git-svn-id: trunk@11907 -
2007-09-01 17:57:01 +00:00
marc
6767396907
* fixed alpha images on 16 bpp
...
* fixed adding alpha to images
git-svn-id: trunk@11897 -
2007-09-01 02:46:24 +00:00
marc
04b4e27b62
* Implemented basic alpha support
...
* Implemented LCL side of imagelist
* restructured rawimage to more OO
Merged revisions 11289-11617 via svnmerge from
http://svn.freepascal.org/svn/lazarus/branches/marc-lcl
........
r11289 | marc | 2007-06-06 22:50:05 +0200 (Wed, 06 Jun 2007) | 1 line
private branch for bitmap rework
........
r11290 | marc | 2007-06-06 23:30:09 +0200 (Wed, 06 Jun 2007) | 2 lines
* Initial linux and win32 implementation
........
r11291 | paul | 2007-06-07 03:20:11 +0200 (Thu, 07 Jun 2007) | 3 lines
- fix compilation with fpc 2.3.1
- remove unneded code for converting cursor mask
- enabled loading of standard windows status icons instead of LCL
........
r11292 | paul | 2007-06-07 11:03:27 +0200 (Thu, 07 Jun 2007) | 1 line
- some bugs with mask and alpha
........
r11299 | marc | 2007-06-08 00:59:26 +0200 (Fri, 08 Jun 2007) | 2 lines
* force alpha channel when PNG has alpha
........
r11302 | paul | 2007-06-09 04:45:12 +0200 (Sat, 09 Jun 2007) | 1 line
- fix black rectangles instead of manu item images
........
r11303 | paul | 2007-06-09 04:46:14 +0200 (Sat, 09 Jun 2007) | 1 line
formatting
........
r11309 | marc | 2007-06-11 02:25:07 +0200 (Mon, 11 Jun 2007) | 3 lines
* Added alpha premultiply
* Published Colorbox selection property
........
r11310 | paul | 2007-06-11 19:10:18 +0200 (Mon, 11 Jun 2007) | 1 line
misc
........
r11312 | marc | 2007-06-12 01:44:03 +0200 (Tue, 12 Jun 2007) | 2 lines
* start with carbon
........
r11313 | paul | 2007-06-12 14:02:48 +0200 (Tue, 12 Jun 2007) | 1 line
- BitBtn glyph transparency
........
r11315 | paul | 2007-06-13 05:20:40 +0200 (Wed, 13 Jun 2007) | 1 line
- problems with internal bitmap saving/loading (is was 24bpp when 32bpp needed)
........
r11319 | paul | 2007-06-14 06:32:04 +0200 (Thu, 14 Jun 2007) | 1 line
- More LCL way of painting images through ThemeServices
........
r11320 | paul | 2007-06-14 06:32:56 +0200 (Thu, 14 Jun 2007) | 1 line
- ability to override bitbtn glyph to nothing
........
r11321 | paul | 2007-06-14 06:34:49 +0200 (Thu, 14 Jun 2007) | 1 line
painting headercontrol images through ThemeServices
........
r11325 | paul | 2007-06-17 10:14:27 +0200 (Sun, 17 Jun 2007) | 1 line
fixing painting of 32bpp bitmaps with no Alpha
........
r11326 | paul | 2007-06-17 10:16:00 +0200 (Sun, 17 Jun 2007) | 1 line
missed file
........
r11337 | paul | 2007-06-20 03:44:47 +0200 (Wed, 20 Jun 2007) | 3 lines
- revert previous commit
- create 24bpp bitmaps by default
........
r11342 | marc | 2007-06-21 01:47:30 +0200 (Thu, 21 Jun 2007) | 3 lines
* Added Alpha support on Carbon
* Simplified win32 rawimage_fromdevice
........
r11343 | paul | 2007-06-21 04:36:28 +0200 (Thu, 21 Jun 2007) | 1 line
- adopt gtk2 code
........
r11344 | paul | 2007-06-21 04:41:41 +0200 (Thu, 21 Jun 2007) | 1 line
make gtk2 work
........
r11353 | paul | 2007-06-22 10:12:19 +0200 (Fri, 22 Jun 2007) | 1 line
- default WS imagelist implementation
........
r11358 | marc | 2007-06-23 13:29:06 +0200 (Sat, 23 Jun 2007) | 2 lines
* Implemented MaskBlit
........
r11359 | paul | 2007-06-23 20:02:52 +0200 (Sat, 23 Jun 2007) | 1 line
draw new imagelist bitmap on widget canvas
........
r11371 | marc | 2007-06-25 23:50:13 +0200 (Mon, 25 Jun 2007) | 2 lines
* Rawimage rework
........
r11372 | marc | 2007-06-25 23:51:00 +0200 (Mon, 25 Jun 2007) | 2 lines
+ Added header
........
r11373 | marc | 2007-06-26 00:05:55 +0200 (Tue, 26 Jun 2007) | 2 lines
* Swapped RGBA <-> ARGB defualt format since most widgetsets use ARGB
........
r11374 | marc | 2007-06-26 00:09:36 +0200 (Tue, 26 Jun 2007) | 2 lines
* added
........
r11462 | marc | 2007-07-12 00:16:02 +0200 (Thu, 12 Jul 2007) | 2 lines
+ added header
........
r11463 | marc | 2007-07-12 00:18:49 +0200 (Thu, 12 Jul 2007) | 2 lines
* Added alpha/masked strechblt support
........
r11464 | marc | 2007-07-12 00:21:27 +0200 (Thu, 12 Jul 2007) | 2 lines
* create DIBSection instead of DIBitmap
........
r11502 | marc | 2007-07-14 00:23:42 +0200 (Sat, 14 Jul 2007) | 2 lines
* Fixed transparentcolor after loading bitmap
........
r11505 | marc | 2007-07-14 15:10:56 +0200 (Sat, 14 Jul 2007) | 2 lines
- Removed ARGB dataconversion, internal format is by default the same now
........
r11531 | marc | 2007-07-17 01:23:34 +0200 (Tue, 17 Jul 2007) | 2 lines
* changed TRawImage into object
........
r11533 | paul | 2007-07-17 05:10:31 +0200 (Tue, 17 Jul 2007) | 3 lines
- change several occurrence of FillChar(..TRawImageDescription..) with call to Init
- change imagelist defines to use old imagelist (new is crashes ide)
- change TWin32ThemeServices to use old imagelist
........
r11534 | paul | 2007-07-17 05:19:02 +0200 (Tue, 17 Jul 2007) | 3 lines
- change several occurrence of FillChar(..TRawImageDescription..) with call to Init in Qt widgetset
- change TRawImageDescription.IsEqual and TRawImage.IsEqual
........
r11535 | paul | 2007-07-17 05:23:53 +0200 (Tue, 17 Jul 2007) | 1 line
- change several occurrence of FillChar(..TRawImageDescription..) with call to Init in wince widgetset
........
r11554 | marc | 2007-07-18 00:10:11 +0200 (Wed, 18 Jul 2007) | 2 lines
* fixed compilation on 2.0.4
........
r11555 | marc | 2007-07-18 00:10:44 +0200 (Wed, 18 Jul 2007) | 2 lines
* fixed compilation
........
r11556 | marc | 2007-07-18 00:11:43 +0200 (Wed, 18 Jul 2007) | 2 lines
* fixed fillchar on TRawImage object
........
r11572 | marc | 2007-07-19 01:41:35 +0200 (Thu, 19 Jul 2007) | 2 lines
* fixed crash when object has vmt
........
r11573 | marc | 2007-07-19 01:42:14 +0200 (Thu, 19 Jul 2007) | 2 lines
* Made TRawimage compatible with record again
........
r11580 | marc | 2007-07-20 01:33:20 +0200 (Fri, 20 Jul 2007) | 2 lines
* enabled newimagelist
........
r11581 | marc | 2007-07-20 01:33:48 +0200 (Fri, 20 Jul 2007) | 2 lines
* fixed font
........
git-svn-id: trunk@11861 -
2007-08-25 01:49:40 +00:00
marc
1a84ef8f8a
* Added dataowner to LazIntfImage
...
* fixes imagelist code
git-svn-id: trunk@10938 -
2007-04-11 23:54:17 +00:00