red free support for images - javascript

I am working on a web application for a opthology research firm. They work on cornea images and use red free light to identify lesions (artries and nerve fibers) easily. I have implemented the addAmbient() method provided by microsoft for this purpose and it is working fine.
<img id="eyepic" src="GetImage.jsp" height="1291" width="1944" STYLE="filter:light" onload="eyepic.filters.light.addAmbient(0,255,255,100)">
But the problem is this thing works only in IE. I am looking for a method to implement this for other browsers too. If anyone has any idea please help me.
Thanks

hey everyone thanks for responding.Actually i slved my problem a month ago,just forgot to update it here.I am now using java2D api for creating redfree images.It has BandCombineOp to manipulate pixels.
Thanks anyway

Related

How to add notification Badge count in Android?

I have been learning coding recently and i wanted to develop an android app .I have the vision of what it needs to do but i need some help and i am unable to implement that vision in codes, so seeking some help here. please assist of you can.
The situation here is I created a app with Bottom Navigation Activity. In the home fragment and dashboard i had used few view and web view to show or fetch the information and presented but unable to sort out the notification fragment.
In this area i wanted to display notification number and list of notification in that page. An example image for your reference. I just need that please advise how to take this forward. I would he happy if someone can assist me .
Please try below lib it is allow to add budge into bottom Navigation
https://github.com/aurelhubert/ahbottomnavigation
Using this lib add budge following below code
bottomNavigation.setNotification(notification, bottomNavigation.getItemsCount() - 1);
Please find below result as you want
I hope this can help you!
Thank You.
Your response is for highly skilled programmer friend. But i managed to run it step by step and took 2 days to figure out. But this is a good answer. Thank you so much. Now I'm confident that I can build this feature

Producing image by running highcharts-convert.js on phantomjs

I'm new to highcharts-convert & phantomjs and I was trying to run these to obtain image on serverside.
While I was working on it, there was a tiny rounded edges on each corner of the image..
(damn.. stackoverflow doesn't allow me to upload an image..)
I'm not sure which attribute is causing it..
If anyone have any clue, please let me know.
Thank you for reading :)
(Also I went to official highchart forum and apparently it went down and suggested to post in here..)
The option you're looking for is http://api.highcharts.com/highcharts#chart.borderRadius.

coder textarea in javascript/jquery

I need a textarea that looks more like an programing environment, like notepad++. Basically, all I want is to insert TABs and keeps the cursor in the same indenting level as the previous line.
Any help on building my own would be greatly apreciated as well (my javascript/jquery skills are very basic).
thanks (:
Code Mirror would be a great option, it's easy to use with your skills.
You can also check this Wikipedia post for more information. http://en.wikipedia.org/wiki/Comparison_of_JavaScript-based_source_code_editors
Good luck ;)
Take a look at this link which will help you decide which editor to use based on your requirement. It has provided wide variety of JavaScript based editors with support for various browsers.
http://en.wikipedia.org/wiki/Comparison_of_JavaScript-based_source_code_editors
You can try this plugin for TABs http://teddevito.com/demos/textarea.html

JsPlumb doesn't make connections when using non-default instance

I'm going to use separate instances of jsPlumb for each canvas.
I'm using new features like Continious anchors and StateMachine connectors.
But I face the following issues:
First of all, I initiate new instances with specific defaults, and do not see them being applied.
Secondary, the connection is not established on drop. I thought scope is the reason of an issues, but no.
Here is an example http://jsfiddle.net/CjBdX/34/, where you can reproduce issues stated above. (Please click initiate anchor before using demo) When using only one _default jsPlumbInstance, everything seems to work fine.
Please help me find a reason this code does not work.
Thank you very much in advance!
Thanks to project author, Simon Porritt, all bugs wich led to my issues are now fixed in the latest version.
Thank you very much!

Simple web-based icon editor

My web site uses 16 x 16 pixel icons (stored on the server as PNG files). I'd like to provide functionality for users of the site to edit these icons. My site already uses jQuery and jQuery UI, and I'm familiar with these, but any suggestions would be welcome.
EDIT
It seems that this is harder than I thought. I think I'm going to hold off trying to incorporate this functionality into the web site. But if anyone knows of a JavaScript icon/bitmap editor not already mentioned in the thread, please let me know.
Check out http://www.jpie.net/ (requires PHP as well), it's the most advanced thing I've found but not too sure how much actual 'editing' users need to do (or can do on a 16px image...)
This is what you need: 100% javascript, great clean code.
https://mrcoles.com/favicon-creator/
Is the perfect start. With some work you can make it fit exactly as you need.
HIH,
You can get some inspiration here
http://www.rw-designer.com/online_icon_maker.php
I don't know of any licence-free, ready-to-go editor though.

Categories