Fetching several image variants per image

I am trying to extract image variants through MDM Java API. Currently, we have several variants per image.
I could not find the information on how to extract all variants for each image,
We have RetrieveBlobCommand class that has set/getImageVariant, I haven't tested. Suppose it has some functionality, it can update/get a single variant.
In my case, I have 3 variants per image and would like to fetch them. We have getImageVariants on SchemaRepository class but we need to know how to associate each variant with original image.
It is greatly appreciate if you can help on this.
Thanks
Erol Akarsu

This kind of question will probably get proper attention in the Application Express forum. Consider asking over there ...

Similar Messages

  • Associating Image variants with image lookup fields

    In the console reference guide you can find the following explanation on the use of Image variants:
    "A variant defines the structure of the image but does not specify if the variant is actually required for a particular image.
    Instead, each image lookup field in the repository has a Variants property that allows you to associate one or more variants with the image lookup field, and in so doing, identify which variants should be generated when an image is associated with that particular field.
    For each variant, all the images associated with that variant will be generated according to the specifications of the variant and the crop/rotate settings stored for that image. MDM tracks the changes to the variant definitions, the variant associations, each image, and the crop/rotate settings for each image, and thus know when the variants need to be regenerated."
    My question is the following:
    Assuming that the definitions of the Image variants are made via the console and thus present in the Image variants table,...
    Is it possible to change the Variant property of the image lookup field(s) in the main table through the Java API?
    So that you could write a function that automatically associates specified Image variants with all the image lookup fields in the main table of a certain repository.
    I hope somebody can help,
    Joeri

    Did you ever figure out your problem?
    I'm trying to retrieve an image variant thru the API and always get the same error:
    <i>Error retrieving image: hr=0x80004005, ImageID=58, VariantID=1</i>

  • I would like to be able to size images by kilobytes instead of pixels--is this possible?  I use I-Contact which requires a maximum of 70kb per image.  For best quality I want to make the images as close to 70 as possible.  Currently I choose a size of 300

    I would like to be able to size images by kilobytes instead of pixels--is this possible?  I use I-Contact which requires a maximum of 70kb per image.  For best quality I want to make the images as close to 70 as possible.  Currently I choose a size of 300 pixels on the shortest side but sometimes this gives me an image of slightly greater than 70kb and sometimes the image is just 30-40kb.  Is there a way to be more precise in reaching but not exceeding 70 kb?

    That is not a feature of iPhoto - suggest to Apple - iPhoto Menu ==> provide iPhoto feedback.
    You can opnly resize using the available options and file size is not one of them
    LN

  • Problems with Image Variants

    I got two problems with Image Variants:
    1. catalogCache.GetImagePath("Images", id) doesn’t work for some id. The error message is “GetImageVariant error”.
    2. catalogCache.Preload("Images", “Original”)
        catalogCache.Preload("Images", “Thumbnails”)
        catalogCache.Preload("Images", null)
       catalogCache.Preload("Images", "")
    get failed, the status code is -2147483647
    Anyone know how to setup  image variants?
    Thanks.
    Forrest

    status code: -2147483647 is RC_BADPARAM.

  • Image Variants

    I have a Image Variant record created in Image Variants Table in Console.
    The name of the Variant is "Image Variant for Publication 1".
    I attached this variant to a <b>Lookup Image field</b> in the main table.
    The name of the field in the main table is Product Image.
    I generated the image variants in the Image Manager. I have assigned the images to the products in the main table.
    Now I created another Image Variant called "Variant 2".
    <u>I am trying to assign this variant also to the same lookup Image field in the main table.</u>
    The System is letting me pick either "Image Variant for Publication 1" or "Variant 2".
    <b>I want to assign both. Is it a bug or am I missing something?</b>
    To test this:
    I created Variant 3 and Variant 4.
    I am able to assign Variant 1, 2 and 3 to the same field now. The difference is these three are new variants, for which no variants have been created in Image Manager.
    Any assistance in this regard is appreciated.

    Assignment of Variants in the console.
    If the variants are new, I am able to assign, any number of them in the console.
    But if the variant is NOT new, and some image variants are created in the image manager, and the images have been assigned to products in the Data Manager, then it is not letting me
    in the Console, to pick both the old and some new.
    The system behaves like all multiple new ones OR the old one.
    For fields in the console, for which I am attaching the multiple new ones, it works fine.
    Version 5.5 SP4 [5.5.35.16]
    null

  • Need several forms to show the same image from an image library

    Hi
    I have several InfoPath forms with a logo at the top of the form. I would like to have the logo linked to an image file so if I have to change the logo, I can just overwrite the file that's sitting in a SharePoint image library without having to edit and
    re-publish 30 forms.
    I can get the file placed in the InfoPath form, but when I publish the form, the image looks correct but the publish process embeds the image. If I view the properties of the image on the form in SharePoint, the URL isn't the URL to the image in the image
    library. It's a long URL that looks hashed.
    So I went back to InfoPath and tried Insert > Picture > pasted the URL to the image in the image library > then clicked the down-arrow on the Insert button and chose Link to File. Now when I publish it, I get an error that says:
    Linked images are not supported by InfoPath Forms Services. To fix this problem, make the image a part of the form template. (Then it has a link to the image from the image library.)
    Is it possible to link to an image file so if the image file is updated the forms will see the new image?
    Thanks in advance,
    Sonya

    Thanks for the reply. So if I understand the info on the links above, to simply display an image that's not embedded in my InfoPath form, I have to create a Rich Text Box in the form, add a Receive data connection to a Picture Library on SharePoint, add
    a Loading Event to the InfoPath form template and edit/paste C# code (because I only want to display one image from the image library and not a repeating table like the example in the article above), then edit and add more blocks of C# code to an "addImageToTable"
    function, save/build/publish the form, then perform an "administrator-approved form template deployment" on the server? lol, all of that seems excessive just to display a non-embedded image. I'll need to decide if I want to fool with that since the logos don't
    change very often.

  • Automatic generation of Image Variants

    Hello.
    I have a repository where I use different Image Variants. My problem is that when I upload an Image I have to manually go into the Image manager to generate the variants. I would like to have an automatic way of doing this. CLIX can not be used.
    Does anyone have an idea how to do this?
    Best regards
    John-Kjell

    Hi,
    You can automatically generate the image variants.For this you import the images in data manager.In Data manager select the Images table right click in record pane and add a data group.If data group is already present then add the image to that data group or else add a data group (as a child) and then add tha image file to it.Select the option Store in Repository.Then click OK to import the image .After the image is imported in data manager the image variants are automatically filled.
    In your console you have a field say images of data type Lookup image.
    Then in your  source create a field named images where you add reference to the images say href1,href2 etc.
    In Import manager select products table then map the corresponding fields.For image field you need to do the value mapping.Then Match the records and import it.
    Regards
    Nisha

  • Link Image Variants

    I have defined in the Console, the required Image Variants.
    I have generated the image variants using the Image Manager.
    Now how do I link the image variants to the products?
    Does the image variants have a different name than the original?
    How can I syndicate the image variant image names via Syndicator?
    Ex:
    I have a product. I have assigned the original image. Now I have to assign the image variant to this product in Data Manager. How will I do that?

    Adhappan,
    You do not ever need to link variants. You only link the originals and then decide which variant to pull when exporting, publishing,... The variant names are the same as the original.
    For example, when you do an export and select to export images you can determine which variants you want to export. When in the Publisher you can tell it which variant to use to print. And for the web you can pull different variants.
    Not real sure what you are trying to do with the Syndicator, but if you are trying to pull images from the repository I'd assume that there is an option in there to tell it which variant to use.
    Hope this helps,
    Tim

  • Image variants width/length scale

    Hi
    This is from the Console Manual:
    Image variants
    Scale
    Should the original image be scaled (Yes/No)?
    Width
    The maximum width of the scaled variant (integer value).
    Height
    The maximum height of the scaled variant (integer value).
    what is the scale measure?
    mm, inch, point etc. ?
    /Kurt
    Update:
    found it in "layouts, default units" = "Inch"
    Edited by: Kurt Jørgensen on Dec 1, 2010 10:50 AM

    If you're talking about the JPEG preview image contained within the files, I think the DNG converter is simply creating a little bit larger preview image.  This does not have any impact on the raw data.

  • I have several layers for this image: Background, Moon, Tree, Grass and Clouds.  When I try to use the Move tool to move the Moon, the tool jumps to the Tree layer.  The same thing happens with the other layers as well (except the background layer).  How

    I have several layers for my image: Background, Moon, Tree, Grass and Clouds.  When I try to use the Move tool to move the Moon, the tool jumps to the Tree layer.  The same thing happens with the other layers as well (except the background layer).  How can I keep the move tool from jumpimg to the Tree layer?

    1. Pre-select (highlight) the layer to move in the Layers panel.  or-
    2. [ALT+Right mouse click]  to select the wanted layer in the image window.
    and maybe
    3. Set the PS option to "Auto-select" a layer with cursor hover.  (can be very confusing!)

  • Extracting image variants for web index from MDM via Java API

    Hi There, we are currently using an open source search engine to crawl the MDM database and build indexes for our webstores nightly. In this process, we have an image extraction method using the MDM java API's. Can someone please tell me how to call an image variant into this process rather than the 'original image' stored in MDM? I've created a variant that will optimise for web conditions and we need to call this one into the webstore, not the originals that are sometimes huuuuge...

    Hi Adam,
    From MDM Documentation (can be found here [http://help.sap.com/saphelp_nwmdm71/helpdata/en/49/0505fba870404ce10000000a42189b/frameset.htm]):
    Retrieving Image Variants
    To retrieve binary data for image variants carry out these steps:
           1.      Retrieve all image variants using the RetrieveImageVariantsCommand class.
           2.      Retrieve the Image BLOB whose variants you want to get, (see Retrieving BLOB Records above).
           3.      Retrieve the BLOB for the specific image variant using the RetrieveBlobCommand.
    Hope this information helps,
    Idan

  • Image Gallery from images in database.

    Hi,
    I am developing image gallery from images stored in oracle database.
    I am using JQuery ColorBox plugin (http://www.jacklmoore.com/colorbox/example1/) and I need to specify image in href for plugin.
    My JSP page (http://localhost:8080/gallery/show_image.jsp?id=1) fetch image from database and show.
    I can see image in browser when I run url http://localhost:8080/gallery/show_image.jsp?id=1.
    But following not working when JSP page specify in href.
    <h2>No Transition + fixed width and height (75% of screen size)</h2>
    class="group3" href="http://localhost:8080/gallery/show_image.jsp?id=1">Grouped Photo 1</ a>
    class="group3" href="http://localhost:8080/gallery/show_image.jsp?id=2">Grouped Photo 2</ a>
    class="group3" href="http://localhost:8080/gallery/show_image.jsp?id=3">Grouped Photo 3</ a>
    class="group3" href="http://localhost:8080/gallery/show_image.jsp?id=4">Grouped Photo 1</ a>
    class="group3" href="http://localhost:8080/gallery/show_image.jsp?id=5">Grouped Photo 2</ a>
    class="group3" href="http://localhost:8080/gallery/show_image.jsp?id=6">Grouped Photo 3</ a>
    class="group3" href="http://localhost:8080/gallery/show_image.jsp?id=7">Grouped Photo 3</ a>
    Any solution?
    - Thanks
    Zohaib.
    Edited by: zohaib82 on Oct 30, 2012 2:46 AM
    Edited by: zohaib82 on Oct 30, 2012 2:46 AM

    Hard to say when you don't provide anything actually useful other than "its not working". I can only guess that your JSP needs to set a proper content-type. I would investigate using an image servlet in stead of your JSP:
    http://balusc.blogspot.com/2007/04/imageservlet.html

  • How to add a Image on Another Image in Photoshop?

    Hi
    I am totally New to Photoshop I want to add Some Image on Another Image.How to do this?
    I am using Photoshop first time...
    Thanks

    I suggest to watch online tutorial videos. Check Adobe TV for a first start.
    About your question: Open both images in PS, then switch to the one you want to add, press Ctrl+A (selects everything), press Ctrl+C (copy everything in the layer), assuming your image only has one layer, then this is OK. Then switch to the other image and press Ctrl+V to paste. PS will create a new layer and paste the image 1:1.
    Alternatively, open only the target image and place the other image per drag 'n drop in the target image, which will let PS make it a smart object (not 1:1, but can be resized).
    Then do whatever you want with the layer of the added image.

  • Bitmap images to Vectored images

    Is there a way really one can use to convert bitmap images into vectored images?
    I ask this question in response to a problem that I have. I take photos using a camera of resolution 72 pixels per inch and then process them in a program I have written in Java. I then print cards as the output of the system processing. The picture quality I then produce is a worry. The images are blurred and they rather look like zoomed bitmap images. Its not very disgusting but its something the clients are complaining about.
    I have tried editing the images in different photo editors but it still remains a question. I have tried to change the resolution of the images but still the problem persists. This the led me to thinking that the reasons could be:
    1. the printer I am using is printing at a different resolution with the resolution of the camera.
    2. the images are bitmaps and so since I am changing the height and width (propotionally though), that could be leading to distortion of the images slightly. Hence I am looking for a bitmap to vector image convetor.
    Suggestions with regards to where I could be going wrong are very much welcome.
    Thanx in advance
    kernan

    Is there a way really one can use to convert bitmap
    images into vectored images?
    I ask this question in response to a problem that I
    have. I take photos using a camera of resolution 72
    pixels per inch and then process them in a program I
    have written in Java. I then print cards as the
    output of the system processing. The picture quality
    I then produce is a worry. The images are blurred and
    they rather look like zoomed bitmap images. Its not
    very disgusting but its something the clients are
    complaining about. And what makes you think that vectorizing an image is actually an improvement?
    Suggestions with regards to where I could be going
    wrong are very much welcome.Get a better camera.

  • Parsing the URL of all images from Google Images html file

    Hello all,
    I am trying to pull all the image URL's from a html file. I have used URLConnection class to copy the follwing link
    http://images.google.com/images?q=tiger&gbv=2&svnum=10&hl=en&start=21&sa=N&ndsp=21
    into a html file in my local drive. Now this file has the URL's of the images that have been displayed by google images (searched for: tiger). Now I need to fetch up those image URL's.
    any ideas???

    Thank you for the reply.
    I am beginner. Can you please eloborate the explanation or do u have some code examples.
    thank you very much

Maybe you are looking for

  • I downloaded Lion and everything works, save Photobooth

    So I recently bought a new mac this spring and transfered everything from my old mac book pro onto this new one using an external hd and time machine. Now I recently installed lion and hoped this issue would go away but it has not. I open up photoboo

  • Track 3 of U2 album is undelete-able from iPhone 5

    even with "show all music" turned off in Settings track 3 is still on my phone with the cloud symbol. I cannot delete in iTunes as there is nothing in the Purchased area for U2. I cannot swipe to delete.  I've tried rebooting phone. Help me help find

  • RAW support for Pentax istDS2

    Would like to buy aperature, but istDS2 not supported. Is this a possible solution? (from http://ok1000.blogspot.com/2006/06/waiting-for-aperture-and-iphoto.html) If you have OS 10.4.6 or later, but don't have support for your Pentax's .PEF format, t

  • Issues adding TCP/IP Printer with Group Policy

    I have been trying to add a TCP/IP Printer using group policy, User Preferences. I can add a HP Laserjet 4600 Printer but I'm not able to add the second printer a Canon iRC4580. It keeps coming up with issues stating "The object selected does not mat

  • IMovie '08 movies & projects don't appear in '09

    I apologize if this has been answered before, but I just upgraded to iMovie '09 and none of the movies I created in '08 or the projects I was working on in '08 appear in '09. I've not moved the '08 files -- they all appear in Finder -- but not in iMo