Page 1 of 2

Picture Plugin

Posted: April 12th, 2006, 12:42 am
by nsa666666
CHANGELOG
=======
0.3 Alpha
-size setting
-bug fixes
-animated gif added to the package

0.2 Alpha
-Animated gif support
-More formats(not only bmp)

0.1 Alpha
-Initial release

INSTALLATION:
=============

Copy the picturepg.dll in plugin folder of lcd smartie.
Copy your picture(20x16 pixel) in LCD-smartie folder.
Be sure that .NET Framework 2.0 is installed on your system.


USE
===

Please use following syntax:


$dll(picturepg,1,[size],[filename])
$dll(picturepg,2,[line number],[size])
...
size is given in chars.

for example:

$dll(picturepg,1,4,nuclear.gif)
$dll(picturepg,2,2,4)
will show the inclued atom-icon.

NOTE
====
-all custom chars used.

Code: Select all

http://web44 [dot] server-drome [dot] com/PHP/pafiledb/index [dot] php?act=view&id=1

(C)2006  http://www [dot] nsa666 [dot] de [dot] vu
Disabled by admin

Posted: April 12th, 2006, 6:34 am
by _X7JAY7X_
Doesnt work... exception thrown. Why am I copying the bigtext.dll?

J

Posted: April 12th, 2006, 9:37 am
by nsa666666
sorry copy/paste. :lol:

what kind of exception?
you should copy the picturepg.dll in PLUGINS directory, but the picture shoud be in the ROOT directory of lcd smartie(where the .exe is).

Posted: April 12th, 2006, 3:10 pm
by _X7JAY7X_
That was the problem.

Now I am getting a bunch of garbage on the LCD. I will retry with a different LCD and let you know.

J

Posted: April 12th, 2006, 3:34 pm
by nsa666666
Now I am getting a bunch of garbage
:shock: strange...

it should look like this:
Image

Another example of use:

Image

Code: Select all

$dll(picturepg,1,0,winamp.bmp) Winamp $dll(picturepg,1,0,winamp.bmp)
$dll(picturepg,2,2,0)   *    $dll(picturepg,2,2,0)
$WinampTitle
$WinampStat

Posted: April 12th, 2006, 4:28 pm
by fishthecat
This looks like a nice plugin.

Does the .bmp have to be in black and white? Does it have to only have two colours?

Posted: April 12th, 2006, 4:50 pm
by nsa666666
Thank you.

It must not be a 1-bit .bmp, but every color except white displayed as black. :) If the bmp is greater than 20x18 pixel only the left-top part of the bmp will be displayed(no resize) .

Posted: April 12th, 2006, 6:29 pm
by limbo
Great plugin. I'm impressed!
:)

To prove how much I like it I'm going to release some image packs for this plugin!
The first is available! Imagepack1
Please read the first page on my site and find the link for the zip file!

Keep on nsa666666

Posted: April 12th, 2006, 7:15 pm
by fishthecat
I've tried it, and I like it! Top marks for this plugin nsa666666! :lol:
Image
Nice pack of images Limbo.

It's extra plugins like this that are expanding Smartie into something very special.
We still need to display normal words and numbers, but adding image support etc is a great extra.

By the way, my LCD character blocks are 5x8 pixels but your images need to be 18 high (2x9?). Am I missing a row on my blocks?

Posted: April 12th, 2006, 7:34 pm
by Rafael
Great Plugin nsa666666...

What do you think? Your plugin is able to read gif files? If yes, the plugin can detect the intervall between the frames and you can animate it... :D

It?s only a idea... congratulations!!!

Posted: April 12th, 2006, 8:02 pm
by fishthecat
Rafael wrote:Great Plugin nsa666666...
What do you think? Your plugin is able to read gif files? If yes, the plugin can detect the intervall between the frames and you can animate it... :D
What an idea. Hope it's do able.

Is it also possible to choose the size the plugin uses on screen? It's be nice to tell it to only use 2x1 blocks and give it a 10x9 image etc.

Posted: April 12th, 2006, 8:24 pm
by Rafael
With a animated GIF this should definitly bring out the worst in our hd44780 controller :twisted:

Posted: April 12th, 2006, 8:30 pm
by Rafael
Damage your controller:

Image

Posted: April 12th, 2006, 11:17 pm
by hejmowski
Nsa6666666, can you add function that display 5x8 bitmap in one customchar?

Posted: April 13th, 2006, 12:15 am
by _X7JAY7X_
The problem was the LCD, I switched to my MO emulated display... works fine. Limbo have you had problems with the HTVision LCD?

I like it. Really cool. Can you make a it read images from a folder like bmpimages or something. Right now I am cluttering up my smartie folder with bitmaps. .. Just a thought.

It would be real cool to animate gifs.

J

Thank....

Posted: April 13th, 2006, 12:15 am
by geminis74
Just i wanted to give those thanks to those that dedicate their time to create these plugin since without them I believe that I had never decided to mount my LCD.

Thank you for your time and for the great work.
:D

Posted: April 13th, 2006, 6:30 am
by limbo
_X7JAY7X_ wrote: Limbo have you had problems with the HTVision LCD?

It would be real cool to animate gifs.

J

I don't try nothing to this display J.
I have upgrated the firmware to the latest available by sending the microcontroller to HTVision but no custom characters supported! So I give up with custom characters to HTVision...

Posted: April 13th, 2006, 1:10 pm
by nsa666666
Thank you!

NEW RELEASE!

0.2 Alpha
-Animated .gif support :twisted: :!:
-more formats (not only bmp)

@limbo cool image pack. :D

im waiting for cool animated gifs... :wink:

Posted: April 13th, 2006, 1:41 pm
by HeAtom
I cant find limbos image pack :(

Posted: April 13th, 2006, 6:46 pm
by limbo
HeAtom wrote:I cant find limbos image pack :(
take a look on the LCD SMARTIE NEWS on the home page of my site.

Posted: April 13th, 2006, 6:47 pm
by fishthecat
EDIT: Bug now fixed, no need to display images of it.

Posted: April 13th, 2006, 7:18 pm
by nsa666666
It is only 20x16 sorry.
:arrow: Left shift bug fixed.

:idea: you can create folder for the images an than use it like "pictures\youpicutre.gif"

Posted: April 13th, 2006, 9:37 pm
by fishthecat
nsa666666 wrote:It is only 20x16 sorry.
No, that' makes perfect sense. Thanks for clearing it up.

:) 20x16 .gif working great.
:) Pictures folder working fine.

Here's a winamp gif I made. i tried to compensate for the gaps between character blocks on my LCD.
Image

Posted: April 13th, 2006, 9:51 pm
by nsa666666
New release.
0.3Alpha
-size setting
-bug fixes
-animated gif added to the package

:arrow: NOTE THE SYNTAX CHANGE

$dll(picturepg,1,[size],[filename])
$dll(picturepg,2,[line number],[size])

size is given in characters.

Demo video:
http://rapidshare.de/files/17935036/VID ... 6.avi.html

My PDA dont make good videos. :roll:

Posted: April 14th, 2006, 4:27 am
by _X7JAY7X_
Cool.

Limbo are you releasing a .gif pack now?

J