How to extend interMedia to support for new Image Format
Does anyone here has experience to extend interMedia to provide support for a new image format.
I have read the related chapter in Oracle Intermedia User Guide, I'm not very clear about it. Hope a step-by-step tutorial for this topic is available.
Thanks in advance for any idea
Can you send the details of your application to [email protected] and explain the reasons extensibility is needed by your application?
At this time, the only way to extend formats is to write your own procedures (ususally java stored procedures) to populate the image object... This does not extend the image processesing functionality to the new image format. Internally, this requires a translation to and from an intermediate format.
Larry
Similar Messages
-
How to add support for new file type.
Using the ESDK, I would like to add support for new file type ( a new extension). this new extension will function like any other non visual code editor but will have specific syntax highlighting, code folding and explorer.
I am trying ot figure out if I need to create a new editor or use existing JDeveloper code editor and add support for new file type. Does anyone have a high level outline on how to do this using the ESDK that is specifically targeted at adding new file type support for a text based code editor?
I have looked at the Samples and keep going in multipe directions. It would be cool if there was an example that was how add syntax higlighting for new file type.
Thank youBrian, thank you. I looked at this extension and it answered a lot of questions for me. I was going in the right direction but needed a little help and bost of confidence, this is just what I needed. I created the LanguageSupport, LanguageModel, Addin, Node and TextDocument that are specific to the new file type. I was getting hung up on how to hook this into the JDevelpoer editor. I keep thinking I have to create a custom editor but it looks like I don't have to and it looks like I can associate this file support with the editor framwork, for version 10.1.3.2, with the following in the Addin Initilize() method.
Recognizer.mapExtensionToClass(MY_EXTENSION, MyNode.class);
CodeEditor.registerNodeType(MyNode.class, MY_EXTENSION);
LanguageModule.registerModuleForFileType(new MyLanguageModule(), MY_EXTENSION);
I have done this but still not able to recognize the new file type.
At this point, I just want to be able to recognize the new file and display it's associated icon or display a messare to the message log. I put a System.out.println("test") in the Initilize() method of my addin. then I registered MyAddin in the extension.xml. JDeveloper sees this new extension and it is loaded but I have not been able to show the test message or display the new icon when I open the new file type.
extension.xml
<?xml version="1.0" encoding="windows-1252" ?>
<extension xmlns="http://jcp.org/jsr/198/extension-manifest"
id="teisaacs.jdev.myext.MyAddin" version="1.0.0" esdk-version="1.0"
rsbundle-class="teisaacs.jdev.myext.resources.MyResBundle">
<name rskey="EXTENSION_NAME">My Code Editor</name>
<owner rskey="EXTENSION_OWNER">Me</owner>
<dependencies>
<import version="10.1.3">oracle.jdeveloper</import>
</dependencies>
<hooks>
<jdeveloper-hook>
<addins>
<addin>teisaacs.jdev.myext.MyEditorAddin</addin>
</addins>
</jdeveloper-hook>
<feature-hook>
<description>My Code Editor</description>
<optional>true</optional>
</feature-hook>
<document-hook>
<documents>
<by-suffix document-class="teisaacs.jdev.myext.model.MySourceDocument">
<suffix>my</suffix>
<suffix>MY</suffix>
</by-suffix>
</documents>
</document-hook>
<editor-hook>
<editors>
<editor editor-class="teisaacs.jdev.myext.editor.MyEditor">
<name rskey="EXTENSION_NAME">My Editor</name>
</editor>
<mappings>
<mapping document-class='teisaacs.jdev.myext.model.MySourceDocument">
<open-with editor-class="teisaacs.jdev.myrext.editor.MyEditor"
preferred="true"/>
<open-with editor-class="javax.ide.editor.CodeEditor"/>
</mapping>
</mappings>
</editors>
</editor-hook>
</hooks>
</extension>
public class MyAddin implements Addin {
public static final String MY_EXTENSION = "my";
public void initialize() {
System.out.println("MyEditor Constructor");
new MyLanguageModule();
Recognizer.mapExtensionToClass(MY_EXTENSION, MyNode.class);
CodeEditor.registerNodeType(MyNode.class, MY_EXTENSION);
LanguageModule.registerModuleForFileType(new MyLanguageModule(), MY_EXTENSION);
}I have added and removed the editor hook along with many other modificaitons to the extension.xml but still not recognizing the new file extension.
Todd -
How to extend AVK to scan for other vendor-specific APIs?
All--
How do I extend AVK to scan for other vendor specific APIs.
I tried adding another <name> element underneath the
appropriate the <unsupported> tag in the asmt-config.xml file,
e.g.
<websphere50>
<supported>
</supported>
<unsupported>
<name>com.ibm.ws.activity.ActivityConstants</name>
.......... other <name> elements were left alone ..........
</unsupported>
</websphere50>
But when I scanned the source code it didn't find an import of that API.
Note: it did find an import of the APIs that were pre-defined in the asmt-
config file; just not the one that I added.
Is adding a <name> to the asmt-config.xml file the right approach?
If so, how does the SourceScan ant task know where to find the asmt-
config.xml file. Currently, I left it in the %JAVKE_HOME%/config folder.
Is that the right place for that file?
Any comments on how to extend AVK to scan for other vendor
specific APIs would be greatly appreciated.Oops!
Its probably bad form to answer your own question, but after
sending out the original post, I treid:
1. opening a new shell
2. running the %JAVKE_HOME%/bin/javke_setenv.bat
3. then ran the "asant code-scan" from that shell and viola it worked ...
Sorry for any confusion. -
BIOS SUPPORT FOR NEW CPUS!!!!
hello
new post , i just got this board (6547 v1.0) board with a celeron 1.7 (clocked at 125mhz ) 2.14ghz and is total stable.
v1.8 bios support up to a 1.8 cel, are they going to make a update to support a 2hz cel, OR have they droped support for it.
and where can you get beta bios for this and other board (msi-development site).... ?( ;(
MAKE A VOTE (HOW OLD IS YOU BOARD AND HAVE THEY DROPED SUPPORT FOR NEW CPU,S FOR YOU BOARD-POST?assuming its a 645 ultra by the bios numberlink
-
How to extend breadth first Search for Binary Tree to any kind of Tree??
Dear Friends,
I am thinking a problem, How to extend breadth first Search for Binary Tree to any kind of Tree?? ie each node has more than 2 leaves such as 1, 2,3,4 or any,
I have following code to successfully apply for breadth first Search in Binary Tree as follows,
package a.border;
import java.util.ArrayList;
import java.util.LinkedList;
public class Tree
int root;
Tree left;
Tree right;
static ArrayList<Integer> list = new ArrayList<Integer>();
static ArrayList<Tree> treeList = new ArrayList<Tree>();
private static LinkedList<Tree> queue = new LinkedList<Tree>();
* @param root root value
* @param left left node
* @param right right node
public Tree(int root, Tree left, Tree right)
this.root = root;
this.left = left;
this.right = right;
/** Creates a new instance of Tree
* You really should know what this does...
* @param root
public Tree(int root)
this.root = root;
this.left = null;
this.right = null;
* Simply runs a basic left then right traversal.
public void basicTraversal()
//Check if we can go left
if (left != null)
left.basicTraversal();
//Add the root
list.add(root);
//Check if we can go right
if (right != null)
right.basicTraversal();
public ArrayList<Integer> getBreadthTraversal(ArrayList<Integer> list)
//Add the root to the arraylist, we know it is always the first entry.
list.add(root);
//Basically we add the first set of nodes into the queue for
//traversing.
//Query if left exists
if (left != null)
//Then add the node into the tree for traversing later
queue.add(left);
//Same for right
if (right != null)
queue.add(right);
//Then we call the traverse method to do the rest of the work
return traverse(list);
private ArrayList<Integer> traverse(ArrayList<Integer> list)
//Keep traversing until we run out of people
while (!queue.isEmpty())
Tree p = queue.remove();
//Check if it has any subnodes
if (p.left != null)
//Add the subnode to the back of the queue
queue.add(p.left);
//Same for left
if (p.right != null)
//Same here, no queue jumping!
queue.add(p.right);
//Append to the ArrayList
list.add(p.root);
//And return
return list;
* Makes a tree and runs some operations
* @param args
public static void main(String[] args)
* 4
* t = 2 6
* 1 3 5 7
Tree leaf6 = new Tree(1);
Tree leaf7 = new Tree(3);
Tree leaf8 = new Tree(5);
Tree leaf9 = new Tree(7);
Tree t4 = new Tree(2, leaf6, leaf7);
Tree t5 = new Tree(6, leaf8, leaf9);
Tree t = new Tree(4, t4, t5);
t.basicTraversal();
System.out.println("Here is basicTraversal ="+list.toString());
list.clear();
t.getBreadthTraversal(list);
System.out.println("getBreadthTraversal= " +list.toString());
list.clear();
}Can Guru help how to update to any kind of tree??
here this code is for the tree like:
* 4
* t = 2 6
* 1 3 5 7
*/But i hope the new code can handle tree like:
* 4
* / | \
* / | \
* t = 2 8 6
* / | \ | /| \
* 1 11 3 9 5 10 7
*/Thankssunnymanman wrote:
Dear Friends,
I am thinking a problem, How to extend breadth first Search for Binary Tree to any kind of Tree?? ...The answer is interfaces.
What do all trees have in common? And what do all nodes in trees have in common?
At least these things:
interface Tree<T> {
Node<T> getRoot();
interface Node<T> {
T getData();
List<Node<T>> getChildren();
}Now write concrete classes implementing these interfaces. Let's start with a binary tree (nodes should have comparable items) and an n-tree:
class BinaryTree<T extends Comparable<T>> implements Tree<T> {
protected BTNode<T> root;
public Node<T> getRoot() {
return root;
class BTNode<T> implements Node<T> {
private T data;
private Node<T> left, right;
public List<Node<T>> getChildren() {
List<Node<T>> children = new ArrayList<Node<T>>();
children.add(left);
children.add(right);
return children;
public T getData() {
return data;
class NTree<T> implements Tree<T> {
private NTNode<T> root;
public Node<T> getRoot() {
return root;
class NTNode<T> implements Node<T> {
private T data;
private List<Node<T>> children;
public List<Node<T>> getChildren() {
return children;
public T getData() {
return data;
}Now with these classes, you can wite a more generic traversal class. Of course, every traversal class (breath first, depth first) will also have something in common: they return a "path" of nodes (if the 'goal' node/data is found). So, you can write an interface like this:
interface Traverser<T> {
List<Node<T>> traverse(T goal, Tree<T> tree);
}And finally write an implementation for it:
class BreathFirst<T> implements Traverser<T> {
public List<Node<T>> traverse(T goal, Tree<T> tree) {
Node<T> start = tree.getRoot();
List<Node<T>> children = start.getChildren();
// your algorithm here
return null; // return your traversal
}... which can be used to traverse any tree! Here's a small demo of how to use it:
public class Test {
public static void main(String[] args) {
Tree<Integer> binTree = new BinaryTree<Integer>();
// populate your binTree
Tree<Integer> nTree = new NTree<Integer>();
// populate your nTree
Traverser<Integer> bfTraverser = new BreathFirst<Integer>();
// Look for integer 6 in binTree
System.out.println("bTree bfTraversal -> "+bfTraverser.traverse(6, binTree));
// Look for integer 6 in nTree
System.out.println("bTree bfTraversal -> "+bfTraverser.traverse(6, nTree));
}Good luck! -
How to setup a default direction for new divs in fluid grid layout in dreamweaver?
Hi,
how to setup a default direction for new divs in fluid grid layout in dreamweaver? I am an RTL interface user, I need my new divs to be inserted from right to left not Left to Right! could it be in dreamweaver?
Thanks.This may get me into strife, but my experience is that you are better off finding another platform for your RWD.
The framework that I tend to use is by Zub-Foundation http://foundation.zurb.com/.
A commercial product that I have come to appreciate can be found here http://www.projectseven.com/products/tools/composer/index.htm. Please do not mention me if you happen to choose this product. -
When I do Google search for images from my website nothing newer than September 2012 shows up. How can I get Google to find new images?
Have you uploaded a sitemap.xml recently and checked your webmasters account to see when your site was last crawled?
http://www.iwebformusicians.com/Search-Engine-Optimization/SEO.html -
I have switched from using a PC to an iMac and want to know how to register Lightroom 5.7 for new Mac?
Are you on CC or standalone perpetual licence?
If the former I believe you merely download LR from the CC site onto your iMac and log in and off you go.
If the latter, download LR onto your Mac from the perpetual licence site (not the CC version), install it and use the same licence number as with your PC. -
Does anyone know how often camera raw is updated for new cameras I have a nikon D750
HI, I was wondering how often camera raw is updated for new cameras as I have just got a Nikon D750 and at present cannot adjust raw files
Thanks for the image sample, bsailus. I am also unable to open the file.
A couple of questions.
How did you import the image (Nikon transfer, Adobe Photo Downloader, etc.)?
What was the in-camera quality setting for the image (NEF (RAW), Lossless compressed, 12-bit, 14-bit, etc.)?
Thanks!
- Chris -
How to extend the time line for the premiere on mac pro mavericks
how to extend the time line for the premiere on mac pro mavericks
Wrong place.
Try the Adobe Premiere forum.
http://forums.adobe.com/community/premiere
Good luck,
x -
How to extend the costing view for a material
How to extend the costing view for a material
Use MM01 Trxn code and Select Material and Select Costing Views and Maintain, Save it.
Else Use MM50 and Select Material and Mainenance Status as G Costing and Execute, Maintain & Save. -
How much RAM should I install for new iMAC ?
Hi,
How much RAM should I install for new iMAC* running Logic Studio? It comes with 4 GB - is that enough? (can you run in 64 bit mode..)
*(The 21.5" 3.06GHz Intel Core 2 Duo)
Also, I was planning to get the stock 1 TB Hard Drive & save projects to an external drive.
Does that sound reasonable?
Any other recommendations?
Thanks,
Wm HeartUnless you plan on running huge projects with enormous sampled instruments, 4 GB will do (very) fine. And your disk plan is sound. Choose an external Firewire drive, rather than USB. FW is easier on the CPU and can handle more tracks than USB.
What you should get, instead of more memory, is a (24 bit) external audio interface, if you want to do serious recording and playback.
What type of audio interface you'ld need, depends on what you want to do with it and of course your budget. From decent to brilliant costs from roughly 100 to several 1,000's of europounddollars. Avoid the 16 bit ones, they're worse than the inbuilt audio chip of your iMac. You can recognize 16 bit Audio Interfaces (in webshops) by their prize (often under 100€£$) and the lack of mention of their bitrate.
HTH
Regards, Erik. -
Support for new Nvidia Quadro gpu?
When support for new Nvidia Quadro gpu? For example Nvida Quadro K2200 and K4200
ThkWhat do you mean when you say "support"? All of After Effects OpenGL features already work on those cards.
The only thing that isn't supported on those cards is GPU acceleration of the ray-traced 3D renderer, which is an obsolete and almost entirely irrelevant feature. No more GPUs will ever be added to the list of cards supported for that feature.
Details:
GPU (CUDA, OpenGL) features in After Effects -
How to find article based support for ipad or technical notes
how to find article based support for ipad or technical notes
The problem comes from VBUK/VBUP which are the control tables for most of SD tables (from VBAK/P to LIKP/PS and VBRK/P) and manage uniqueness of id in the module (and stores statuses). Even item tables don't refer to their header but both refer to the same VBUK record.
e.g.
LIPS : VBELN/POSNR -> VBUK/VBUP -> but you will only find LIKP/PS itself and no record in VBAK/VBAP
LIPS : VBELV/POSNV -> VBUK/VBUP -> you should find VBAK/VBAP
The table VBFA "Sales Document Flow" manages the relations from/to between two different SD documents which exist in VBUL/P and in only one other table depending on type of document. (Also note that the exact relationship may sometimes be modified to some extent by Customizing SD.)
As Katan wrote, look for views defined in ddic, look also at logical databases (SE36) like VLV.
You can also find valuable information in OSS notes/documents like 185530 - Performance: Customer developments in SD.
Regards,
Raymond -
How do i get PCL5 support for P1606dn printer windows 7 64-bit
how do i get PCL5 support for P1606dn printer windows 7 64-bit
The full solution, off the product page, is the recommended solution for this product. It works for most windows applications and installed by default.
The PCL 5 UPD driver only works for the 1606 models and is recommeneded for general office printing and 3rd party or custom software programs.
The XPS print driver (off the prodcut page) is recommened for capturing and printing exactly what is on the screen.
When you install the UPD driver, I would recommend that your install it in the traditional mode instead of the dynamic mode. Just my preference. This way you don't have to wait for it to search for the printer everytime you want to print.
I am an HP employee.
Say Thanks by clicking the Kudos Star in the post that helped you.
Please mark the post that solves your problem as Accepted Solution
Maybe you are looking for
-
Dear All How could I declare a variable and then used in WHERE IN clause? I would like to do something like SELECT * FROM rooms WHERE number IN ('1001','1012','1015') but with the room number array declared as variable so I could reuse it I tried the
-
Set cursor(caret) position in text field
Hello ! I have a <input type=text...> on a JSP Page with a default value... I want this: when the input get focus, it "sends" the cursor to the last position, so the user can continue the default value... setCaretPosition didn�t work... Any help??? T
-
Java script needed for premier elements 13
Which version of java script is needed for Adobe premier elements 13 and for photoshop elements 13 on mac with OS X YOSEMITE? And do I have to uninstall previous version of Java script? Any help Appreciated. Thank You.
-
So I'm trying MS Intune in a test environment and I can't figure out how to do Windows computer enrollment. I added users in the management portal, then I go to a user's computer, log in to the portal as a user, click the + Enroll Device, download th
-
Can Javascript or Actionscript blink the buttons for the browser instance on my windows tool bar.