Commit Graph
802 Commits
Author SHA1 Message Date
VincentWei 6de3db1482 TUNE 2018-09-18 13:36:33 +08:00
VincentWei 019bc4deef Merge branch 'master' of github.com:VincentWei/minigui 2018-09-18 10:55:35 +08:00
VincentWei 9e17f428fe BUGFIXING: handle PNG_COLOR_TYPE_GRAY_ALPHA color type 2018-09-18 10:55:06 +08:00
Vincent Wei 120705742e cleanup and remove unused code 2018-09-06 16:13:22 +08:00
Vincent Wei 6e5407f42d cleaup for coding style 2018-09-04 16:33:17 +08:00
Vincent Wei 2237be6721 Merge pull request #12 from 10km/master
add __mg_save_jpg function for storing MYBITMAP as JPEG file.
2018-09-04 16:23:20 +08:00
10km faa7a2636e fix bug for MYBITMAP_get_pixel_row_pal16,MYBITMAP_get_pixel_row_pal256 2018-09-04 16:06:06 +08:00
10km ce442b5e96 add __mg_save_jpg function for storing MYBITMAP as JPEG file.
enable application to store image as JPEG file.
description: Convert all color space(RGBA,BGR,RGB565,index color256,16) to RGB ,and compress JPEG with JCS_RGB color space. 
Can use preprocessor _MGIMAGE_JPG_SAVE_QUALITY to define JPEG compression quality.default value 90.
For RGBA color space image ,can use _MGIMAGE_JPG_RGBA_BGCOLOR define background color,default value 0XFFFFFF (white).
For image with index color space(256 or 16) ,the argument 'pal' of __mg_save_jpg must be NULL.
LIMIT:type of MG_RWops object must be RWAREA_TYPE_STDIO ( a file).not suport RWAREA_TYPE_MEM.
2018-09-04 13:40:59 +08:00
10km 69050f7a5c Merge pull request #1 from VincentWei/master
update
2018-08-31 22:25:44 +08:00
Vincent Wei fcbcc86c6f tune for the coding style 2018-08-31 16:57:57 +08:00
Vincent Wei 07a51b22ae Merge pull request #10 from 10km/master
modified logic for checking JPEG format.
2018-08-31 16:51:53 +08:00
10km 1297ba836d improve logic of __mg_check_jpg for performance .
loop for reading JPEG marker from MG_RWops object,if meet other JPEG marker(eg. SOI,APPn,DQT) skip the payload bytes for next marker,until reach SOF0 or SOF2.
about JPEG marker, see also https://en.wikipedia.org/wiki/JPEG
2018-08-31 15:00:50 +08:00
10km 09e83b6a8b modified logic judgment for checking JPEG format.JFIF and Exif is morst popular file format of JPEG encoded image,but not all,for MJPEG format that used by camera,the flag is 'AVI1' OR not any flag ,starting FFC0 after FFD8.
so the old logic is not work for other JPEG format.see  my blog for detail : https://blog.csdn.net/10km/article/details/82155967
2018-08-30 17:10:26 +08:00
Vincent Wei ae532f03fa add GetGlyphBIDIType and BidiCharType -> Uint32 2018-08-29 20:03:20 +08:00
Vincent Wei 9945cd25a5 BIDI flag for DC 2018-08-28 18:38:20 +08:00
VincentWei 4f515a0359 fix the error of arabic charset 2018-08-27 19:13:56 +08:00
Vincent Wei 808718bdb4 Support BIDI for UNICODE charsets and cleanup the implementation 2018-08-27 18:55:12 +08:00
Vincent Wei e7924ebd51 fix bug of free null pointer 2018-08-25 18:27:37 +08:00
Vincent Wei 1935734df1 debug 2018-07-31 19:05:59 +08:00
Vincent Wei 5ff06823e4 check socket closed when reading 2018-07-31 11:13:33 +08:00
Vincent Wei 1bc43f6580 tune 2018-07-30 16:40:28 +08:00
Vincent Wei be27e8cb7c usvfb engines are almost ok 2018-07-30 10:43:17 +08:00
Vincent Wei 4597cbbc28 finish USVFB IAL engine 2018-07-30 09:01:35 +08:00
Vincent Wei cde8a653b4 add USVFB IAL engine 2018-07-29 21:02:12 +08:00
Vincent Wei 8b73fe0022 add USVFB NEWGAL engine 2018-07-29 20:54:28 +08:00
Vincent Wei 4db2aa093c enhance commlcd engint to support more pixel type and synchronously update 2018-07-29 13:45:17 +08:00
Vincent Wei d9da4d6e3a tune for release v3.2.0 2018-07-12 10:52:51 +08:00
Vincent Wei 318dee8fd5 tune for official release v3.2.0 2018-07-12 10:41:31 +08:00
Vincent Wei dcc50d45ce change version number from 3.0 to 3.2 for splash 2018-07-02 17:41:42 +08:00
Vincent Wei 96a4e917d9 debug 2018-06-20 18:07:50 +08:00
Vincent Wei a507af807c tune: disable key message for invalid low-level event 2018-06-20 18:01:46 +08:00
Vincent Wei 9189fa4efe pass timeout to __comminput_wait_for_input 2018-06-20 13:45:40 +08:00
Vincent Wei ac8e230207 fixbug: handle retvalue of wait_event correctly. 2018-06-20 11:40:52 +08:00
VincentWei 2aa6794636 cleanup 2018-06-13 23:31:35 +08:00
VincentWei 25d5b03154 add sharedres.h 2018-06-08 16:00:46 +08:00
Vincent Wei ab8ce45ab0 debug for stain pixel of subpixel 2018-06-06 09:41:32 +08:00
Vincent Wei 2036a8592c enable build_ttfcache_support by default 2018-06-06 08:55:09 +08:00
VincentWei dd0445689e cleanup 2018-06-05 23:59:14 +08:00
Vincent Wei 0d49ed794e cleanup 2018-06-04 18:59:19 +08:00
Vincent Wei df627ee3b1 fixbug: lost DT_CALCRECT attribute when DT_CENTER set 2018-06-01 12:07:28 +08:00
VincentWei 0599227023 use stderr for _MG_PRINTF 2018-05-31 23:29:52 +08:00
VincentWei 66769dee51 tune 2018-05-31 23:24:54 +08:00
VincentWei 1cfd032718 use ANSI color for _ERR_PRINTF, _DBG_PRINTF, and _MG_PRINTF 2018-05-31 23:16:52 +08:00
VincentWei a45ee0b3f4 disable xMax+=2 for SUBPIXEL 2018-05-31 23:16:15 +08:00
VincentWei 8b72783a12 tune for subpixel style 2018-05-25 22:49:26 +08:00
VincentWei 378f7e1986 cleanup 2018-05-19 15:13:12 +08:00
VincentWei 0b9c425b84 remove debug output 2018-05-19 14:01:09 +08:00
VincentWei 5e0dda0421 use 0x01UL for timermask test 2018-05-18 20:21:09 +08:00
VincentWei c0addda03b cleanup 2018-05-19 00:56:50 +08:00
VincentWei 977ac1ec9b fix bug of (0x01<<slot) for 64bit 2018-05-19 00:56:39 +08:00