LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Bitmap Animation


@Darin.K wrote:

The picture control (which is called a picture control despite almost always being used as an indicator),...


90% of the time I use it, it is a control.

 

Smiley Tongue

 

Ben

 
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 11 of 14
(611 Views)

@Josh B wrote:

Click on this link http://forums.ni.com/t5/LabVIEW/Concatenate-Images/m-p/1152517#M506549 and then look at the bottom of Darin.K's post you will see and attachment called  CoryKArtworkGenerator.llb 685 KB. If you open that attachment you will a labview LLB Manger open with three vis in it. I believe the ScaleBitmap.vi will be useful for you. Let me know if you that works. 

 

Regards,

 

Josh Brown

 


Wow. I can't believe LabView does not have a simple option for scaling bitmaps to the frame... Was it 25 years since first LabView release?... Sorry for the rant. I need to look closer to understand how ScaleBitmap works...

0 Kudos
Message 12 of 14
(600 Views)

Probably because LabVIEW is a programming language, not an image viewing program. Smiley Wink

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 13 of 14
(594 Views)

I originally wrote scale bitmap many years and LV versions ago, I decided it was better than waiting for NI.  Smiley Wink

 

It simply uses bilinear interpolation for each point in the bitmap.  When scaling up, for example, new points are added with fractional indices.  The values for these points are found by interpolating between the four nearest points in the original image. 

 

For extreme scaling, it will always be dodgy, but the best results are found by doing it in several smaller increments.

0 Kudos
Message 14 of 14
(589 Views)