B4X FEED ZoomImageView panning performance problem!

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: ZoomImageView panning performance problem! است. این موضوع تا کنون 30 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع ZoomImageView panning performance problem!
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
30
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
My main interest nowadays is mapping and I have programs written for Android and Windows Desktop. The maps are big, at the limit of what Windows can decode, typically 20,00 pixels on each side. For display on Android I use my ScaleImageView which performs very well. On the desktop I have been using my desktop optimised version of Basic4ppc and my own C# library which implements a Windows Form with a WinForms PictureBox on a Panel to display a bitmap decoded from jpg by the GDI+ image decoder. Panning is implemented by moving the PictureBox location on the Panel which works well and quickly.

For various reasons I would like to try using B4J for my next mapping program but I have run into performance problems with ZoomImageView. Zooming performance seems a little slower than my WinForms solution and is acceptable but the panning performance is dire, a quick look inside ZoomImageView seems to indicate the the problem is with ImageView.SetLayoutAnimated.

Before I start to try...



 

عقب
بالا