Git Product home page Git Product logo

Comments (5)

xianjimli avatar xianjimli commented on May 30, 2024

谢谢,下午我看看。

from awtk-stm32f103ze-raw.

xianjimli avatar xianjimli commented on May 30, 2024

不好意思,可能是前几天我测试nanovg-agge时,定义了WITH_BITMAP_RGB565并更新了资源。
你再试试,谢谢。

from awtk-stm32f103ze-raw.

zhanglu993 avatar zhanglu993 commented on May 30, 2024

我试了,还是有问题,我现在是在static ret_t lcd_reg_draw_image(lcd_t* lcd, bitmap_t* img, rect_t* src, rect_t* dst) 函数里做了一个判断,然后RGB565单独刷才正常。
if(img->format != BITMAP_FMT_RGB565)
{...}
else
{
lcd_reg_set_window(x, y, x + dw - 1, y + dh - 1);

	for (j = 0; j < dh; j++) 
	{
		for (i = 0; i < dw; i++) 
		{
			pixel_num = (j*dh + i)*2;
			color_fill = data_point[pixel_num] + (data_point[pixel_num+1] << 8);					
			write_data_func(color_fill);			
		}
	}	

}

from awtk-stm32f103ze-raw.

xianjimli avatar xianjimli commented on May 30, 2024

我知道了,以前确实没支持,这两天加上。谢谢

from awtk-stm32f103ze-raw.

xianjimli avatar xianjimli commented on May 30, 2024

支持了RGB565的图片,你有空试试。

from awtk-stm32f103ze-raw.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.