Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

about Using Drop library

$
0
0

hello gentlemen, I'm new to processing. and can use C little a bit.

Thanks for everyone who developing processing and libraries.

Anyway, I'm trying to make a program for CNC based DIY printer.

I tried to use Drop library for loading images, and am having some troubles.

Image files were successfully loaded. But when I try to get dimensions of image with ".width" and ".height", it fails.

Here are some cases that I've tried.

text(img.width,xx,yy);
==> My program frizzes and "Null pointer Exeption" is showed on consol.

println(img.width); ==> My program runs anyway... and only "4" is displayed on consol, always.

Well...

I'm trying another methods to get sizes of image, but hope to know what's the problem...

Thanks for your attention.


Viewing all articles
Browse latest Browse all 2896

Trending Articles