Russel Brown Image Processor Pro works is not about Photoshop CC 2015.5.0

Hi all

I went to install Russell Brown Image Processor Pro 2.3.1 on my Adobe Bridge / Photoshop CC. I have a Mac computer and that you have installed manually (by following the steps described in the provided Pdf) the Image Processor Pro by dropping plug-ins in their designated files.

Now, once I did, the Image Processor Pro is displayed in the menu drop-down from the bridge, and when I press on it (once), the only thing it does is to start the Photoshop application without further intervention. There is not a pop-up of any kind.

I have the latest version of Photoshop CC 2015.5.0.

My question is, does anyone know a workaround for this problem?

Thank you

Update: for what it's worth, I managed to find a Dr. Browns Services facility, and who install it on the site of Adobe here: https://creative.adobe.com/addons/my_addons

It has an option to install it, which is what I did, and that's available on the CC bridge, however with the warning.

Whenever I get close the bridge and then run it again, a pop up appears to indicate this:

I click Yes, and then go the preferences at the bridge, as part of Startup Scripts, activate the Services of RD Browns. I close the bridge, start it again, then get this popup:

I choose ok, Bridge opens, I go to tools and in its menu, there is Image Processor Pro Dr Browns Services and fully operational.

As long as I never close the bridge, Image Processor Pro is still there, but whenever I close the bridge, I need to follow the same steps above here.

Hope this can help someone out there.

Tags: Photoshop

Similar Questions

  • Russell Brown 'Image Processor Pro' does not work under CC

    I just switched from Photoshop CS 6 CC and use Russell Brown 'Image Processor Pro. Unfortunately only runs under CC. I also want to install the patch but we probably only applied to CS6.

    Does anyone have a solution to this problem.

    Here is the German error message: https://DL.dropboxusercontent.com/u/12684660/CC_IPP.jpg

    Message translated with google translator from German.

    This script is now updated to the current version of 2015. You can download it at: http://blogs.adobe.com/jkost/2015/06/image-processor-pro-for-photoshop-cc-2015.html

  • I can't get Dr. Browns Image Processor Pro to work with Photoshop CC 2014 bridge

    We use the DR Browns wonderful Pro Processor Image script much, but cannot make it work with PS CC 2014 bridge. When I select files in Bridge CC, then go to tools > Dr. Browns Services 2.3.1 > Image Processor Pro it appears an error message that says ReferenceError: photoshop is undefined.

    The real script works fine if I run it from Photoshop CC 2014 - just not so I load it from bridge CC.

    I uninstalled it and re installed a few times, both manually and through the CC of the extensions Manager.

    I use a 64-bit Windows 7 computer.

    I guess that there are a few changes in the part of the script that loads Photoshop of the bridge, but not course. It worked fine in CC. Simply not CC 2014.

    I open the Dr Browns Services .jsx file but don't see anything obvious. This is the section on the Image Processor Pro part:

    //-----------------------------------------------------------------
      // This routine takes an array of files. If called by Photoshop,
      // it will invoke Dr. Brown's Process 1-2-3 with the files. If called by
      // any other app, it will send a BridgeTalk message to Photoshop
      // to invoke this routine with the same arguments.
      //-----------------------------------------------------------------
    drbrownserv.process123 = function (files) {
    // Bring Photoshop to the foreground.
      BridgeTalk.bringToFront ("photoshop");
    
      // Create a new BridgeTalk message for Photoshop to invoke
      // Image Processor with the selected files
      var btMessage = new BridgeTalk;
    btMessage.target = "photoshop";
      btMessage.body = "drbrownserv.process123 (" + files.toSource () + ");";
      btMessage.send ();
      } else {
    photoshop.runActionCommand ('611736f0-9c46-11e0-aa82-0800200c9a66', files);
          }
      }
      catch (error) {
      if (error.number != 8007) // Don't report user cancelled errors.
      drbrownserv.alert (error);
      }
      }
    

    Nevermind - Dr. Browns Services works very well with CC 2014. I just had a lot of trouble with the upgrade... After uninstalling any version of PS and bridge, reboot and reinstall just CC 2014 everything works as it should. I had trouble with the upgrade by 2014 CC on both computers I use - but re-installing fixed everything and was easier to do that I thought it would be.

  • Russell Brown's Image Processor will work not in 2015 PS

    Russell Brown's Image Processor will work not in 2015 PS

    a quick search revealed the update:

    Image Processor Pro 3.2b1 beta released

  • Help to improve the Image Processor Pro Script to save transparency in TIF

    Hello world

    This is my first post in this community.

    We have a droplet which reduces the resolution of tif images at 72 dpi and save the image tif with transparency. It works very well, but it took a long time for the whole process of many picture in different folders. This is the reason why we have sought another script that can preserve the folder structure and define the resolution of each image at 72 dpi tif.

    We found Image Processor Pro, which does exactly what we needed. The script works perfectly in CS5 and CS5.5 save the tif with transparency. The tif images could be used in InDesign with transparency.

    BUT Image Processor Pro script works not so perfectly in CS6 as it seems that this option to save a tif with transparency does not exist or does not work in the script. The result is that those converted tif images are without transparency in InDesign. It is a huge problem for us.

    This is the point where I need your help. Neither I have experience yet with jsx-files or the right syntax of it.

    Is it possible for someone of you to implement / improve Image Processor Pro so it will save tif with transparency?

    We used the last German Image Processor Pro Version: 2.3.1 (link: http://www.russellbrown.com/scripts.html)

    (The German version contains only German on the texts of the screen!)

    I am very grateful for any help you can give.

    Thanks in advance for your help.

    The only reason why I can invision would happen, is that they change the default behavior on what to do when the transparency option is not specified.

    The simplest solution, if you always want to have transparency with tif files is:

    Find this piece of code or towards line 3811:

         case "tif": {
            var value = (isWindows() ? ByteOrder.IBM : ByteOrder.MACOS);
            var str = fsOpts.tiffByteOrder.toString();
    

    Change to look like this:

         case "tif": {        saveOpts.transparency = true;        var value = (isWindows() ? ByteOrder.IBM : ByteOrder.MACOS);        var str = fsOpts.tiffByteOrder.toString();
    

    It will not work properly if there is transparency.

    BTW, where did you get a German version of this? I've written PPI but never germanisés he...

  • Image Processor Pro and image converter eps files without pixelation them loading

    Hello. My name is Lucas. IM of the Argentina, who now lives in the Brazil. I have the problem that is in the title. IM new to do such things but to read much, I discovered that both scripts open files eps and because what they do is reasterized, then files stored looks preety bad.

    I know that there are some parameters to open the eps, e.g.:

    var epsOpenOptions = new EPSOpenOptions();
       epsOpenOptions.antiAlias = true;
       epsOpenOptions.mode = OpenDocumentMode.RGB;
       epsOpenOptions.resolution = 72;
       epsOpenOptions.constrainProportions = true;
    
    

    I must say that the search for a solution has found a script and changed to partially answer my needs. I said partially because I need the script to review the files and save the output files with the same structure. Here's the script that manage a folder at the same time:

    #target photoshop
    // Asks user for input folder
    var inputFolder = Folder.selectDialog("Select a folder to process");
    // Asks user for output folder
    var OutputFolder = Folder.selectDialog("Select a folder to save your Tiffs");
    if ( inputFolder != null && OutputFolder  != null ) {
       
       // Makes list of all files located in that folder
       var fileList = inputFolder.getFiles( "*.eps" );
       
       // Create a EPS option object [height & width are doc size]
       var epsOpenOptions = new EPSOpenOptions();
       epsOpenOptions.antiAlias = true;
       epsOpenOptions.mode = OpenDocumentMode.RGB;
       epsOpenOptions.resolution = 72;
       epsOpenOptions.constrainProportions = true;
       
        
       // Open each file in turn
       for (var i = 0; i < fileList.length; i++) {
          
          // open the file
          app.open( fileList[i], epsOpenOptions );
          
          var baseName = activeDocument.name.slice( 0,-4 );
          
          // put your code to 'save as' the file here
          var saveFile = new File ( OutputFolder + "/" + baseName + ".jpg" );
       SaveForWeb(saveFile,60); // set quality to suit
          
          
     function SaveForWeb(saveFile,jpegQuality) {
      var sfwOptions = new ExportOptionsSaveForWeb(); 
      sfwOptions.format = SaveDocumentType.JPEG; 
      sfwOptions.includeProfile = false; 
      sfwOptions.interlaced = 0; 
      sfwOptions.optimized = true; 
      sfwOptions.quality = jpegQuality;
     
     activeDocument.exportDocument(saveFile, ExportType.SAVEFORWEB, sfwOptions);
      
       };  
     activeDocument.close( SaveOptions.DONOTSAVECHANGES );  
          
          
       
       };
       
       };
    
     
     
     
    

    So, if you know a way change image processor pro or photo I will be very happy.

    Because I use only the script to handle eps files and save them as jpg (except for the web) I don't have a special button to activate this option. Keep things simple. Thank you!!

    You can tweak ImageProcessorPro.jsx to do the following editing.

    Search for code that looks like this:

    ImageProcessor.prototype.openDocument = function(file) {
      var self = this;
      var settings = self.settings;
      var mode = DialogModes.NO;
      var ext = file.strf("%e").toLowerCase();
      var isRaw = ImageProcessor.CAMERA_RAW_FILES.contains(ext);
    
      if (isRaw) {
      }
    

    and insert this code right after it:

      if (ext == "eps") {
        var epsOpenOptions = new EPSOpenOptions();
        epsOpenOptions.antiAlias = true;
        epsOpenOptions.mode = OpenDocumentMode.RGB;
        epsOpenOptions.resolution = 72;
        epsOpenOptions.constrainProportions = true;
        try {
          var doc = app.open(file, epsOpenOptions);
        } catch (e) {
          Error.runtimeError(9002, ZStrings.UnableToOpenErr);
        }
        return doc;
      }
    

    I have not tested at all, but it looks good from here.

  • Image processor "sorry, I could not deal with the following... * all."

    Hey! I so about 150 files opened in Photoshop. They are for a customer and the customer wanted individually to certain effects on each file. The files are RAW initially, first imported in Lightroom as .dng, then all my tonal changes made in Lightroom. I then opened images as smart objects in Photoshop, with a script of Lightroom. I then did the individual work on each image in Photoshop on the assumption that it would not trouble to save using the Image Processor script. When it came time to save, I tried save as .tif files using Image Processor. I selected the target in the form of open files files, set my destination folder, chose the TIF format and click on run in the top of the window. He shortly after said one very fast without source images, which disappears and then he says: "Sorry, I couldn't deal with the following" and then lists all of the 150 open pictures. It is a big problem because I'm on a lack of time.

    Any help or another idea for how to register all these images open in TIF or PSD even at this stage is extremely appreciated. I think there must be a fix or other road opposite to old fashion one save under...

    Thank you!

    !

    It doesn't look like the IPP will not new document either.

    He can. I added an option that can be set in the script to take care of this problem.

    //

    PROCESS_UNSAVED_IMAGES

    This will allow the treatment of unsaved images. To make this work,

    an unregistered image file is ~ / Desktop. If a file extension is

    not in the name of the image, .psd is used.

    //

    ImageProcessorOptions.PROCESS_UNSAVED_IMAGES = true;

    By default, it is false to get the 'traditional' behavior Set to true will leave PPI to process new images, not registered.

  • image of renowned works do not or not showing not...?

    When I go and publish the image scrolling text, there is not no matter what image showing ob website and any browser, so I want to talk about muse support team they tell you to contact you then please help me with this...?

    Here is the video link for you

    Marquee in Muse - YouTube

    Here is the code used by me in the video.

    Concerning

    Vivek

  • Do not start Photoshop CC 2015?

    Hello

    I used the demo of Photoshop CC 2015 and it works beautifully. 30 days finished, so I bought the license for it. In some reason it will not start? When I hit the Open button, his tent to open it, but...

    There is no error message or anything, like something is blocking? A clean place, I installed Win7 64 bit, still does not work?

    Please help, anyone?

    Problem solved!

    I did installed Service Pack 1 and a few other updates to Win7. After that, everything started to work properly.

  • EFEX Pro works do not under El captain

    Hello, if anyone can help that would be great

    EfEx Pro installed but does not work in Photoshop elements 12 under El Capitan, ok on the Mavericks.

    I have watched a few posts but include no bugs.

    When I look at the filters there is no EfEx Pro options

    Thank you very much

    Roger

    HI Jon,

    I left elements and now he manifests

    Thank you

    Roger

  • Adobe Acrobat 9 Pro - work is not on the platform of El Capitan OSX...

    Hello

    I just bought a new mac running on OS X El Capitan and noticed that some of my Adobe products have problems or do not properly transfer to this operating system platform. I use "Adobe CS5 Premium" and "Adobe Acrobat 9 Pro" and met the next 2 questions so far:

    1 adobe Illustrator CS5 crashes whenever I use the eyedropper tool. Any suggestions on how to fix this? You do not yet know what other questions, I will meet you as I still test all the software included in the CS5 Premium package.

    2. in addition, when I bought the ' Adobe CS5 Premium ' package for use with Web/Design, it included "Adobe Acrobat 9 Pro", for which I also have the serial number of the product (shown as recorded in my account Adobe). I downloaded from the Adobe downloads at the following site: https://helpx.adobe.com/acrobat/kb/acrobat-8-9-product-downloads.html and it won't open at all (I realize this is an older version). Any suggestions on fixing this or provide me a link to a level which would work in tandem with the CS5 on El Capitan OS X platform?

    Thanks in advance to anyone who cares enough to provide useful solutions to the above.

    E

    Hi e999999999,

    Acrobat 9 is not compatible with Mac OS El Capitan Adobe Acrobat required configuration.

    Make sure that you use Acrobat in a compatible environment to make it functional.

    Kind regards
    Nicos

  • Scrolling created in Flash 5.5 Pro works is not in CP5.5

    Hi all.

    I created a .swf scrolling marquee in Flash 5.5 Pro with the dimensions of 30 x 205.

    It works perfectly both tests the stage in Flash, as well as when you view the .swf on its own.

    However, when I matter the .swf in Captivate 5.5 and run the project, the scrolling text starts perfectly but then does not stop, it is not bounded by the original size of the Flash project so I find myself with the message sscrolling right on the screen until all the text is visible, when it disappears.

    I don't know if it of a problem of Flash where I missed something or done something wrong, or Captivate.

    I am VERY new to Flash so I think it's something that I did not.

    I understand that you can force the Flash projects to be limited to an area of the screen using AS3, but I have no coding experience and am stuck.

    Can anyone help?

    I'm happy to share relevant records, if anyone wants to see what I did.

    Thank you all.

    P.S. I also posted this in the Flash forum in the cases where it is only.

    Col, it's just one of the oddities of how Flash works.  Even if youv'e set the size of your Flash document to only 30 pixels by 205 pixels, if you have text from out of the scene and the scroll on the stage, then the area of the REAL (including the area of debris around the scene) scene MUST be larger than 30 x 205 right?

    So what happens is that unless you hide the stage area to hide the pieces you want to see, if you place this SWF in another SWF with a larger area of the scene, then the scrolling text will be visible even before it gets to what you thought was the visible stage area.

    If you need get your head around the concept of masking in Flash to remove what you want to do here.  With masking, you are actually looking for through a window of the same size as the mask to see the scrolling text.  Then, even when you bring in a larger SWF as in the Captivate movie, all you will see is the area covered by the mask.

    I tried to get to your FLA file, but could not find in Acrobat.com for some reason any.  Message says that the file is not found.

  • Overlap two images, ordinary java works, and not in BlackBerry JDE 5

    I have an application for swing of simple java that takes two images and overlaps the other. While trying to this port in JDE5, I got out there is no class BufferedImage in the api of BB, but a similar class of the Bitmap. It's brought to BB mixing function is unable to produce an image that overlap. It shows a blank white screen.

    Here's the plain java function

    public BufferedImage blend( BufferedImage bi1, BufferedImage bi2,            double weight )   {     if (bi1 == null)          throw new NullPointerException("bi1 is null");
    
          if (bi2 == null)          throw new NullPointerException("bi2 is null");
    
          int width = bi1.getWidth();       if (width != bi2.getWidth())          throw new IllegalArgumentException("widths not equal");
    
         int height = bi1.getHeight();     if (height != bi2.getHeight())
    
              throw new IllegalArgumentException("heights not equal");
    
            BufferedImage bi3 = new BufferedImage(width, height,              BufferedImage.TYPE_INT_RGB);      int[] rgbim1 = new int[width];        int[] rgbim2 = new int[width];        int[] rgbim3 = new int[width];
    
          for (int row = 0; row < height; row++)     {         bi1.getRGB(0, row, width, 1, rgbim1, 0, width);           bi2.getRGB(0, row, width, 1, rgbim2, 0, width);
    
             for (int col = 0; col < width; col++)          {             int rgb1 = rgbim1[col];               int r1 = (rgb1 >> 16) & 255;                int g1 = (rgb1 >> 8) & 255;             int b1 = rgb1 & 255;
    
                    int rgb2 = rgbim2[col];               int r2 = (rgb2 >> 16) & 255;                int g2 = (rgb2 >> 8) & 255;             int b2 = rgb2 & 255;
    
                    int r3 = (int) (r1 * weight + r2 * (1.0 - weight));               int g3 = (int) (g1 * weight + g2 * (1.0 - weight));               int b3 = (int) (b1 * weight + b2 * (1.0 - weight));               rgbim3[col] = (r3 << 16) | (g3 << 8) | b3;            }
    
               bi3.setRGB(0, row, width, 1, rgbim3, 0, width);       }
    
           return bi3;   } 
    

    Here's the java function of BB

      public Bitmap blend( Bitmap bi1, Bitmap  bi2,                      double weight )        {
    
                  if (bi1 == null)                       throw new NullPointerException("bi1 is null");
    
                    if (bi2 == null)                       throw new NullPointerException("bi2 is null");
    
                    int width = bi1.getWidth();            if (width != bi2.getWidth())                   throw new IllegalArgumentException("widths not equal");
    
                   int height = bi1.getHeight();          if (height != bi2.getHeight())
    
                            throw new IllegalArgumentException("heights not equal");
    
             Bitmap bi3 = new Bitmap(width, height);         int[] rgbim1 = new int[width];         int[] rgbim2 = new int[width];         int[] rgbim3 = new int[width];
    
                    for (int row = 0; row < height; row++)         {
    
                           bi1.getARGB(rgbim1,0,width,0,row, width,1);                       bi2.getARGB(rgbim2,0,width,0,row, width,1); 
    
                           for (int col = 0; col < width; col++)                  {                              int rgb1 = rgbim1[col];                                int r1 = (rgb1 >> 16) & 255;                           int g1 = (rgb1 >> 8) & 255;                            int b1 = rgb1 & 255;
    
                              int rgb2 = rgbim2[col];                                int r2 = (rgb2 >> 16) & 255;                           int g2 = (rgb2 >> 8) & 255;                            int b2 = rgb2 & 255;
    
                              int r3 = (int) (r1 * weight + r2 * (1.0 - weight));                            int g3 = (int) (g1 * weight + g2 * (1.0 - weight));                            int b3 = (int) (b1 * weight + b2 * (1.0 - weight));                            rgbim3[col] = (r3 << 16) | (g3 << 8) | b3;                     }
    
                         bi3.setARGB(rgbim3, 0, width, 0,  row,width, 1);
    
                    }
    
                 return bi3;    }
    

    The weight of the arg is a value from 1 to 100.

    For reference, the full plain java source

    /* * To change this template, choose Tools | Templates * and open the template in the editor. */
    
    package imagetest;
    
    /** * * @author COMPUTER */// Blender1.java
    
    import java.awt.*;import java.awt.image.*;
    
    import javax.swing.*;import javax.swing.event.*;
    
    /** * This class describes and contains the entry point to an application that * demonstrates the blending transition. */
    
    public class Blender1 extends JFrame{  /**    *     */   private static final long serialVersionUID = 1L;
    
        /**    * Construct Blender1 GUI.     */
    
     public Blender1() {     super("Blender #1");      setDefaultCloseOperation(EXIT_ON_CLOSE);
    
            // Load first image from JAR file and draw image into a buffered image.
    
         ImageIcon ii1 = new ImageIcon(getClass().getResource("x.png"));       final BufferedImage bi1;      bi1 = new BufferedImage(ii1.getIconWidth(), ii1.getIconHeight(),              BufferedImage.TYPE_INT_RGB);      Graphics2D g2d = bi1.createGraphics();        int h = ii1.getImage().getHeight(null);       System.out.println("Blender1.Blender1()--------> height :" + h);       g2d.drawImage(ii1.getImage(), 0, 0, null);        g2d.dispose();
    
          // Load second image from JAR file and draw image into a buffered image.
    
            ImageIcon ii2 = new ImageIcon(getClass().getResource("y.png"));       final BufferedImage bi2;      bi2 = new BufferedImage(ii2.getIconWidth(), ii2.getIconHeight(),              BufferedImage.TYPE_INT_RGB);      g2d = bi2.createGraphics();       int h2 = ii2.getImage().getHeight(null);      System.out.println("Blender1.Blender1()--------> height :" + h2);      g2d.drawImage(ii2.getImage(), 0, 0, null);        g2d.dispose();
    
          // Create an image panel capable of displaying entire image. The widths       // of both images and the heights of both images must be identical.
    
         final ImagePanel ip = new ImagePanel();       ip.setPreferredSize(new Dimension(ii1.getIconWidth(), ii1             .getIconHeight()));       getContentPane().add(ip, BorderLayout.NORTH);
    
           // Create a slider for selecting the blending percentage: 100% means      // show all of first image; 0% means show all of second image.
    
          final JSlider slider = new JSlider(JSlider.HORIZONTAL, 0, 100, 100);      slider.setMinorTickSpacing(5);        slider.setMajorTickSpacing(10);       slider.setPaintTicks(true);       slider.setPaintLabels(true);      slider.setLabelTable(slider.createStandardLabels(10));        slider.setInverted(true);     ChangeListener cl;        cl = new ChangeListener()     {         public void stateChanged( ChangeEvent e )         {             // Each time the user adjusts the slider, obtain the new              // blend percentage value and use it to blend the images.
    
                   int value = slider.getValue();                ip.setImage(blend(bi1, bi2, value / 100.0));          }     };        slider.addChangeListener(cl);     getContentPane().add(slider, BorderLayout.SOUTH);
    
           // Display the first image, which corresponds to a 100% blend     // percentage.
    
          ip.setImage(bi1);
    
           pack();       setVisible(true); }
    
       /**    * Blend the contents of two BufferedImages according to a specified weight.   *     * @param bi1  *            first BufferedImage  * @param bi2  *            second BufferedImage     * @param weight   *            the fractional percentage of the first image to keep     *     * @return new BufferedImage containing blended contents of BufferedImage  *         arguments   */
    
     public BufferedImage blend( BufferedImage bi1, BufferedImage bi2,         double weight )   {     if (bi1 == null)          throw new NullPointerException("bi1 is null");
    
          if (bi2 == null)          throw new NullPointerException("bi2 is null");
    
          int width = bi1.getWidth();       if (width != bi2.getWidth())          throw new IllegalArgumentException("widths not equal");
    
         int height = bi1.getHeight();     if (height != bi2.getHeight())
    
              throw new IllegalArgumentException("heights not equal");
    
            BufferedImage bi3 = new BufferedImage(width, height,              BufferedImage.TYPE_INT_RGB);      int[] rgbim1 = new int[width];        int[] rgbim2 = new int[width];        int[] rgbim3 = new int[width];
    
          for (int row = 0; row < height; row++)     {         bi1.getRGB(0, row, width, 1, rgbim1, 0, width);           bi2.getRGB(0, row, width, 1, rgbim2, 0, width);
    
             for (int col = 0; col < width; col++)          {             int rgb1 = rgbim1[col];               int r1 = (rgb1 >> 16) & 255;                int g1 = (rgb1 >> 8) & 255;             int b1 = rgb1 & 255;
    
                    int rgb2 = rgbim2[col];               int r2 = (rgb2 >> 16) & 255;                int g2 = (rgb2 >> 8) & 255;             int b2 = rgb2 & 255;
    
                    int r3 = (int) (r1 * weight + r2 * (1.0 - weight));               int g3 = (int) (g1 * weight + g2 * (1.0 - weight));               int b3 = (int) (b1 * weight + b2 * (1.0 - weight));               rgbim3[col] = (r3 << 16) | (g3 << 8) | b3;            }
    
               bi3.setRGB(0, row, width, 1, rgbim3, 0, width);       }
    
           return bi3;   }
    
       /**    * Application entry point.    *     * @param args     *            array of command-line arguments  */
    
     public static void main( String[] args )  {     Runnable r = new Runnable()       {         public void run()         {             // Create Blender1's GUI on the event-dispatching             // thread.
    
                  new Blender1();           }     };        EventQueue.invokeLater(r);    }}
    
    /** * This class describes a panel that displays a BufferedImage's contents. */
    
    class ImagePanel extends JPanel{ /**    *     */   private static final long serialVersionUID = 4977990666209629996L;    private BufferedImage bi;
    
       /**    * Specify and paint a new BufferedImage.  *     * @param bi   *            BufferedImage whose contents are to be painted   */
    
     void setImage( BufferedImage bi ) {     this.bi = bi;     repaint();    }
    
       /**    * Paint the image panel.  *     * @param g    *            graphics context used to paint the contents of the current   *            BufferedImage    */
    
     public void paintComponent( Graphics g )  {     if (bi != null)       {         Graphics2D g2d = (Graphics2D) g;          g2d.drawImage(bi, null, 0, 0);        } }}
    

    Full java BB source

    /* * ImageScreen.java * * © ,  * Confidential and proprietary. */
    
    package src;
    
    /** *  */
    
    import java.io.OutputStream;import javax.microedition.io.Connector;import javax.microedition.io.file.FileConnection;import net.rim.device.api.system.Bitmap;import net.rim.device.api.ui.Field;import net.rim.device.api.ui.FieldChangeListener;import net.rim.device.api.ui.UiApplication;import net.rim.device.api.ui.component.BitmapField;import net.rim.device.api.ui.component.ButtonField;import net.rim.device.api.ui.component.Dialog;import net.rim.device.api.ui.component.LabelField;import net.rim.device.api.ui.container.HorizontalFieldManager;import net.rim.device.api.ui.container.MainScreen;import net.rim.device.api.ui.component.GaugeField;/** * The main screen to display an image taken from the camera demo. */public final class ImageScreen extends MainScreen{    /** The down-scaling ratio applied to the snapshot Bitmap */    private static final int IMAGE_SCALING = 7;
    
        /** The base file name used to store pictures */    private static final String FILE_NAME = System.getProperty("fileconn.dir.photos") + "IMAGE";
    
        /** The extension of the pictures to be saved */    private static final String EXTENSION = ".bmp";
    
        /** A counter for the number of snapshots taken */    private static int _counter;    Bitmap image1,image2; BitmapField imageField;     /** A reference to the current screen for listeners */    private ImageScreen _imageScreen;
    
       /**    * Constructor    * @param raw A byte array representing an image    */    public ImageScreen( final byte[] raw1,final byte[] raw2 )    {        // A reference to this object, to be used in listeners        _imageScreen = this;
    
            setTitle("Blend and Save");
    
            // Convert the byte array to a Bitmap image        image1 = Bitmap.createBitmapFromBytes( raw1, 0, -1, 1 );        image2 = Bitmap.createBitmapFromBytes( raw2, 0, -1, 1 );        // Create two field managers to center the screen's contents        HorizontalFieldManager hfm1 = new HorizontalFieldManager( Field.FIELD_HCENTER );        HorizontalFieldManager hfm2 = new HorizontalFieldManager( Field.FIELD_HCENTER );        HorizontalFieldManager hfm3 = new HorizontalFieldManager( Field.FIELD_HCENTER );        // Create the field that contains the image//blend(image1, image2, 50/ 100.0)        imageField = new BitmapField(blend(image1, image2, 50/ 100.0) ){
    
               public int getPreferredWidth(){ return 250;}           public int getPreferredHeight(){ return 150;}
    
             };
    
            hfm1.add( imageField ); 
    
            GaugeField scroller = new GaugeField("Adjust (alt + < >)",0,100,50,Field.EDITABLE | Field.FOCUSABLE);        //scroller.setBackground( net.rim.device.api.ui.decor.BackgroundFactory.createSolidBackground(0x00000000));          scroller.setChangeListener( new GaugeFieldListener() );         hfm2.add(scroller);         // Create the SAVE button which returns the user to the main camera        // screen and saves the picture as a file.        ButtonField photoButton = new ButtonField( "Save" );        photoButton.setChangeListener( new SaveListener(raw1,raw2) );        hfm3.add(photoButton);
    
            // Create the CANCEL button which returns the user to the main camera        // screen without saving the picture.        ButtonField cancelButton = new ButtonField( "Cancel" );        cancelButton.setChangeListener( new CancelListener() );        hfm3.add(cancelButton);
    
            // Add the field managers to the screen        add( hfm1 );        add( hfm2 );        add( hfm3 );scroller.setFocus();//scroller.setValue(50);    }    public Bitmap blend( Bitmap bi1, Bitmap  bi2,                      double weight )        {
    
                  if (bi1 == null)                       throw new NullPointerException("bi1 is null");
    
                    if (bi2 == null)                       throw new NullPointerException("bi2 is null");
    
                    int width = bi1.getWidth();            if (width != bi2.getWidth())                   throw new IllegalArgumentException("widths not equal");
    
                   int height = bi1.getHeight();          if (height != bi2.getHeight())
    
                            throw new IllegalArgumentException("heights not equal");
    
             Bitmap bi3 = new Bitmap(width, height);         int[] rgbim1 = new int[width];         int[] rgbim2 = new int[width];         int[] rgbim3 = new int[width];
    
                    for (int row = 0; row < height; row++)         {            // bi -> int startX, int startY, int w, int h, int[] rgbArray, int offset, int scansize) 
    
                 // bit - > int[] argbData, int offset, int scanLength, int x, int y, int width, int height) 
    
                           bi1.getARGB(rgbim1,0,width,0,row, width,1);//  row, width, 1, , 0, width);                       bi2.getARGB(rgbim2,0,width,0,row, width,1); 
    
                           //bi1.getRGB(0, row, width, 1, rgbim1, 0, width);                       //bi2.getRGB(0, row, width, 1, rgbim2, 0, width);
    
                           for (int col = 0; col < width; col++)                  {                              int rgb1 = rgbim1[col];                                int r1 = (rgb1 >> 16) & 255;                           int g1 = (rgb1 >> 8) & 255;                            int b1 = rgb1 & 255;
    
                              int rgb2 = rgbim2[col];                                int r2 = (rgb2 >> 16) & 255;                           int g2 = (rgb2 >> 8) & 255;                            int b2 = rgb2 & 255;
    
                              int r3 = (int) (r1 * weight + r2 * (1.0 - weight));                            int g3 = (int) (g1 * weight + g2 * (1.0 - weight));                            int b3 = (int) (b1 * weight + b2 * (1.0 - weight));                            rgbim3[col] = (r3 << 16) | (g3 << 8) | b3;                     }                    //bi -> int startX, int startY, int w, int h, int[] rgbArray, int offset, int scansize)                     //bit -> (int[] data, int offset, int scanLength, int left, int top, int width, int height)                      bi3.setARGB(rgbim3, 0, width, 0,  row,width, 1);
    
                        // bi3.setRGB(0, row, width, 1, rgbim3, 0, width);                }
    
                 return bi3;    }
    
       /**    * Handles trackball click events    * @see net.rim.device.api.ui.Screen#invokeAction(int)    */       protected boolean invokeAction(int action)    {        boolean handled = super.invokeAction(action); 
    
            if(!handled)        {            switch(action)            {                case ACTION_INVOKE: // Trackball click.                {                                 return true;                }            }        }                return handled;              }
    
     /**    * A listener used for the "Save" button    */    private class GaugeFieldListener implements FieldChangeListener    {        public void fieldChanged(Field field, int context)        {          int value =  ((GaugeField)field).getValue(); if (value==0){return;}          imageField.setBitmap( blend(image1, image2, value/ 100.0) );          ((GaugeField)field).setLabel("Adjust (alt + < >)"+value);        }    }   /**    * A listener used for the "Save" button    */    private class SaveListener implements FieldChangeListener    {        /** A byte array representing an image */        private byte[] _raw1,_raw2;
    
           /**        * Constructor.        * @param raw A byte array representing an image        */        SaveListener(byte[] raw1,byte[] raw2)        {            _raw1 = raw1;            _raw2 = raw2;        }
    
           /**        * Saves the image as a file in the BlackBerry filesystem        */        public void fieldChanged(Field field, int context)        {            try            {                       // Create the connection to a file that may or                // may not exist.                FileConnection file = (FileConnection)Connector.open( FILE_NAME + _counter + EXTENSION );
    
                    // If the file exists, increment the counter until we find                // one that hasn't been created yet.                while( file.exists() )                {                    file.close();                    ++_counter;                    file = (FileConnection)Connector.open( FILE_NAME + _counter + EXTENSION );                }
    
                    // We know the file doesn't exist yet, so create it                file.create();
    
                    // Write the image to the file                OutputStream out = file.openOutputStream();                out.write(_raw1);
    
                    // Close the connections                out.close();                file.close();            }            catch(Exception e)            {                Dialog.alert( "ERROR " + e.getClass() + ":  " + e.getMessage() );            }
    
                // Inform the user where the file has been saved            Dialog.inform( "Saved to " + FILE_NAME + _counter + EXTENSION );
    
                // Increment the image counter            ++_counter;
    
                // Return to the main camera screen            UiApplication.getUiApplication().popScreen( _imageScreen );        }    }
    
       /**    * A listener used for the "Cancel" button    */    private class CancelListener implements FieldChangeListener    {       /**        * Return to the main camera screen        */        public void fieldChanged(Field field, int context)        {            UiApplication.getUiApplication().popScreen( _imageScreen );        }    }}
    

    Yes, your original code:

    for (int col = 0; col < width; col++){int rgb1 = rgbim1[col];int r1 = (rgb1 >> 16) & 255;int g1 = (rgb1 >> 8) & 255;int b1 = rgb1 & 255;
    
    int rgb2 = rgbim2[col];int r2 = (rgb2 >> 16) & 255;int g2 = (rgb2 >> 8) & 255;int b2 = rgb2 & 255;
    
    int r3 = (int) (r1 * weight + r2 * (1.0 - weight));int g3 = (int) (g1 * weight + g2 * (1.0 - weight));int b3 = (int) (b1 * weight + b2 * (1.0 - weight));rgbim3[col] = (r3 << 16) | (g3 << 8) | b3;}
    

    Labour Code:

    for (int col = 0; col < width; col++)
    {
    int rgb1 = rgbim1[col];
    int a1 = (rgb1 >> 24) & 255;
    int r1 = (rgb1 >> 16) & 255;
    int g1 = (rgb1 >> 8) & 255;
    int b1 = rgb1 & 255;
    
    int rgb2 = rgbim2[col];
    int a2 = (rgb2 >> 24) & 255;
    int r2 = (rgb2 >> 16) & 255;
    int g2 = (rgb2 >> 8) & 255;
    int b2 = rgb2 & 255;
    
    int a3 = (int) (a1 * weight + a2 * (1.0 - weight));
    int r3 = (int) (r1 * weight + r2 * (1.0 - weight));
    int g3 = (int) (g1 * weight + g2 * (1.0 - weight));
    int b3 = (int) (b1 * weight + b2 * (1.0 - weight));
    rgbim3[col] = (a3 << 24) | (r3 << 16) | (g3 << 8) | b3;
    }
    
  • Over the image doesn't work is not in the navigation bar

    I created over the images for my navigation bar. The top image is all that shows - even when I mouse - above or click the button. Thanks for your help!

    Jim

    "'MM_nbGroup('down','group1','WhatWeDo','Images_and_Video/WhatWeDo_Over.gif',1)' onmouseover =" MM_nbGroup ('more', 'WhatWeDo', ' Images_and_Video/WhatWeDo_Over.gif', 'Images_an d_Video/WhatWeDo_Over.gif', 1) "onmouseout =" MM_nbGroup ('out') "> < img src =" Images_and_Video/WhatWeDo_Up.gif "alt ="homepage link"name ="WhatWeDo"width ="161"height ="39"border ="0"id ="Home"onload =" "/ > < /a > < table >"
    < /tr >
    < b >
    "" "< td > < a href ="whoweare.html"target ="_top"onclick =" MM_nbGroup('down','group1','WhoWeAre','Images_and_Video/WhoWeAre_Over.gif',1) "onmouseover =" MM_nbGroup ('more', 'WhoWeAre', ' Images_and_Video/WhoWeAre_Over.gif', 'Images_an d_Video/WhoWeAre_Over.gif', 1) "onmouseout =" MM_nbGroup ('out') "> < img src =" Images_and_Video/WhoWeAre_Up.gif "alt =" who we are navigation link"name ="WhoWeAre"width ="161"height ="39"border ="0"id = onload 'Test' =" "/ > < /a > < table >

    I'm sorry to tell you that the first thing you need to do is to get rid of
    the method that you used. It is quite ancient and has been designed for box
    pages. It adds a bit of extra code (of which a part is not valid)
    your page than the alternative of using an image quite ordinary swaps for
    your menu.

    So, just create your menu from the top images in each row and use Swap of DW
    the behavior of the image on each.

    And put some tape on this option on the navigation bar, so that you do not use
    Once again!

    --
    Murray - ICQ 71997575
    Adobe Community Expert
    (If you * MUST * write me, don't don't LAUGH when you do!)
    ==================
    http://www.projectseven.com/go - DW FAQs, tutorials & resources
    http://www.dwfaq.com - DW FAQs, tutorials & resources
    ==================

    "JRStaf4ord" wrote in message
    News:gb85gs$5E$1@forums. Macromedia.com...
    > I created over the images for my navigation bar. The top image is everything
    > who
    > shows - even when I smile - above or click the button. Thank you for your
    > help!
    >
    > Jim
    >
    >
    > 'MM_nbGroup('down','group1','WhatWeDo','Images_and_Video/WhatWeDo_Over.gif',1) '.
    > onmouseover = "MM_nbGroup ('more', 'WhatWeDo', ' Images_and_Video/WhatWeDo_Over.gif',')"
    (> Images_and_Video/WhatWeDo_Over.gif',1) ".
    > onmouseout = "MM_nbGroup ('out')" > "<>
    > src = "Images_and_Video/WhatWeDo_Up.gif" alt = "link to the home page"
    > name = 'WhatWeDo.
    "" > width = "161" height = "39" border = "0" id = onload 'House' = "" / >
    >
    >
    >
    > onclick = "MM_nbGroup (" down "," group1', ' WhoWeAre ',' Images_and_Video/WhoWeAre_Over.g ")"
    (> if', 1) ".
    > onmouseover = "MM_nbGroup ('more', 'WhoWeAre', ' Images_and_Video/WhoWeAre_Over.gif',')"
    (> Images_and_Video/WhoWeAre_Over.gif',1) ".
    > onmouseout = "MM_nbGroup ('out')" > "<>
    ' > src = "Images_and_Video/WhoWeAre_Up.gif" alt ="who we are navigation link.
    "" > name = "WhoWeAre" width = "161" height = "39" border = "0" id = onload "Test =""
    > />
    >

  • With the help of Photoshop 6 How to sting a variety of photos together as one? They are different images won't work so not on photomerge

    Using SP6 I want to manually assemble a variety of different photos. When I tried photomerge no merged at all as I expected. Some of the photos are different sizes at the moment and it will be a mixture of portrait and landscape photos planned assemble as if it was a photo

    You can size for a particular tile size and hide this aspect ratio and have them.  It will look like more to tiled photos one image.  Its easy to do...  http://www.mouseprints.NET/old/DPR/PasteImageRoll.jsx is the script and its operation is here http://www.mouseprints.net/old/dpr/PasteImageRoll.html

    Ther are bugs in CC 2015 scripting. I patched to run cc 2015 but there are too many questions in 2015 CC for general use. I always use CC 2014

Maybe you are looking for

  • SMU - connection to the modules in the chassis

    Hi all Sorry for the rather simple question. I'm trying to implement a new PXI system. The implementation is the following: A PXIe1078 chassis with controller embedded SMU-8115, 4065, 2526, 4844 and 6220 cards PXI chassis.  With the help of MAX, I am

  • How do to erase a program by default

    I put (mistakenly) Open (default) Office program to open all programs it can.  I can longer open spreadsheets in Excel.  How do I cancel my mistake?  Thank you - Skeet0

  • HP Deskjet 5740 do print the pages!

    HelloWindows OS 8.1 Pro. Don't print all the pages, but only the assets, both using a PDF or Word document! I tried two diagnostic tools (HP print and Scan, diagnosis HP utilities doctor) but was not detected no problems.What could be the cause?Thank

  • CSCun53913 ISA500: SSL VPN stops accepting connections.

    Since the beginning when put into production ISA570 had this problem (SSL VPN stops and the solution is to reboot the device) used 3 new firmwares and none of them has solved this problem.I don't understand the company like CISCO not solving this pro

  • Transfer of the original Windows copy

    Hello I wanted to know if in my laptop I have a genuine copy of windows 7 Professional. I bought a new laptop from Samsung, now I want to transfer this copy of original windows of my old laptop to new samsung.Is there a process for this? or the origi