Pesky lines between images in dreamweaver

Help,
I have created a simple web pager here....
www.therevelgoup.com .... There are faintlines between the images
and rollover images. Any suggestions on how to remove those? thank
you in advance.

chas1658 wrote:
> Help,
>
> I have created a simple web pager here....
www.therevelgoup.com .... There
> are faintlines between the images and rollover images.
Any suggestions on how
> to remove those? thank you in advance.
Incorrect URL. Should be www.therevelgroup.com
The lines are in the graphics. For instance, there is a
single-pixel
line in "revel-main.jpg" at the top that is not black but
#231F1C.
JMS

Similar Messages

  • Line between images

    The images on this page have a line or space between them:
    http://www.dreams-catcher.net/twoimages_03.php
    There are 4 layers with a two cell table in each layer. Each
    cell has an image. There is NO cell padding or spacing. The images
    are the same size as the cells. Why is that line or clean space
    showing and how do I get rid of it.
    Thank you.

    fawny111 wrote:
    > The images on this page have a line or space between
    them:
    >
    >
    http://www.dreams-catcher.net/twoimages_03.php
    >
    > There are 4 layers with a two cell table in each layer.
    Each cell has an
    > image. There is NO cell padding or spacing. The images
    are the same size as
    > the cells. Why is that line or clean space showing and
    how do I get rid of it.
    >
    > Thank you.
    >
    I'm guessing you need to zero out your padding/margins on
    your tables,
    but I'm not sure what effect the images with absolute
    positioning (but
    no specs as to **where** they are positioned) would have on
    that.
    To be honest, I'm a bit confused about how you coded your
    page.
    Bonnie
    in California
    8 ^ )

  • Why is there a thin dark line between two of my three cover images that wasn't there before?  When I delete the images, you can tell that there is extra space between the first two image boxes.

    Getting ready to purchase my first book, I looked over everything once more and noticed that there is now a thin gray line between the first two of my three cover images.  I believe this may have happened when I switched out the left image.  When I delete the images, you can see an extra space between the center and left image boxes.  How can I fix this without starting over?

    What size book? Are you previewing this way -
    Before ordering your book preview it using this method - http://support.apple.com/kb/HT1040 - and save the resulting PDF for reference - the delivered book will match it.
    LN

  • Colored lines in images from Photoshop CS2

    One of our users is having a problem with colored, horizontal, 1 pixel lines intermittently appearing in photos worked on in Photoshop CS2 (as far as I know he is in Tiger - unable to check presently as I am at home and he is in his home and everybody is off on holidays...). I will ask him about OS etc, but will probably not get an answer immediately.
    Does somebody maybe remember what causes this (if the description is enough)? Reminds me of the white lines in images sometimes talked about. But these are colored, horizontal. I did a forum search and a kb search but found nothing.

    Also try adding - bad Ram corruption - to your search as these are also symptoms of bad ram
    Typical symptoms of bad Ram in Photoshop include rows lines patches of bad pixels on screen that also print (the actual file is being corrupted). If the bad pixel areas are on the monitor, but do not print (the actual file is not corrupted), video card or video-card drivers are prime suspects.
    A bad cable, bad card, bad switch, bad/misconfigured router, bad repeater, bad termination, bad wiring, bad hard drive, bad controller, bad connections, bad logic board, bad CPU just about anything between your computer and other computers can also cause these symptoms in Photoshop, said Adobe computer engineer Chris Cox.

  • Thin white line between line art and live paint fill?

    I am using live paint to paint cartoon character illustrations.  The artwork is brought into Illustrator CS3 and live traced.  Then I convert it to a live paint group and use the paint bucket to fill.  Everything looks fine no matter how much I zoom in.  If I bring the AI file into Photoshop CS6 I can see a thin white line between the black line art and the fill.  This is most noticeable where black meets black. I can also see this sometimes in file previews while browsing through files.  If the white line cannot be seen in Illustrator is the file ok?  I did just upgrade to CS6 if that would make a difference.
    Thank you for any help.    

    If the white line cannot be seen in Illustrator is the file ok?
    Without knowing specifics,nobody knows.
    "Okay" for what?
    If it looks okay to you in Illustrator, then it's okay for viewing in Illustrator.
    If the export of it does not look okay in Photoshop at 1:1 or higher zoom, then it's probably not okay for whatever you're going to do with that raster image.
    If it's printed to a low-res composite printer, then it may be okay, because the printer may not be able to resolve the whitish pixels.
    If it's printed for commercial (color-separated) reproduction, it may not be okay, depending on the scale at which it will be printed, and on other considerations partially described below.
    The autotrace routine does not build traps. Typically, when you color-fill cartoon line art manually, you don't make the shapes that define the fills merely "kiss" the black line work, as would the default treatments of a stupid autotrace. The black line work typically overprints the fills, thereby creating printing traps.
    Suppose a portion of your cartoon is a hand-drawn closed circle. The black line work is irregular; it varies in width, having been drawn with a marker or a brush. The circle is colored in with a medium green. There are no sloppy gaps in the original between the green and the black.
    You scan it and autotrace it. Unless you apply some deliberate care to make it do otherwise, the autotrace is going to create a compound path, filled with black, and with no stroke; and a green simple path which (hopefully) exactly "kisses" (abuts) the black path. Adobe's on-screen antialiasing of the edge where the two colors abut may or may not cause your monitor to display a faint whitish or grayish sliver between the two colors.
    Similarly, Photoshop's rasterization of it, or the rasterization of a raster export filter may do the same, and may actually result in some off-color pixels along the edge. (Your description of the scenario kinda raises the question of why you are auto-tracing something that you're then just going to rasterize in Photoshop anyway. Why do that? Why not just work with the scan in Photoshop?.)
    So let's leave Photoshop out of the picture and assume you are autotracing it because you want vector artwork. You zoom way in to see if the whitish sliver enlarges. It doesn't, so you assume it's just an aberation of Illustrator's on-screen antialising. And then someone tells you you're in the clear. But are you? Not so fast.
    Let's assume the artwork is destined for commercial (color-separated) printing. Further assume the color of the autotraced black is 100% K, and the color of the autotraced green is 100Y 50C. Three inks involved. None of those three inks are shared between the two objects. So even if the paths do, in fact, perfectly abut, there is no "wiggle room" built in for the minor alignment shifts that almost aways do occur on press.
    Bottom line: Even if you do determine that the common antialiasing aberations that frequently occur on-screen in Adobe apps is just that—just an onscreen aberation, that does not necessarily mean your file is suitable for commercial color-separated reproduction.
    First, you need to understand that autotracing is not the one-click, instant "conversion" of a raster image to vector artwork that far too many think it to be. Just like everything else, you don't just launch a program like Illustrator, start autotracing things willy-nilly without understanding what's really going on. Just like anyting else, you can use an autotrace feature intelligently or...well...not.
    You have options. Illustrator provides an auto-trapping feature. Read up on it in the documentation so you understand what it's all about. Alternatively, you can expand the results of your autotrace, select all the black linework and apply a composite color that includes 100% K and reasonable percentages of C, M, and Y (a so-called "rich black"). Or,depending on the artwork and the desired results, you may consider doing the autotrace as centerlines so you have stroked paths, not just filled paths for the linework. That way, using the flood fill (so called LivePaint) will cause the auto-created fill objects to extend to the paths, not just to the edges of their strokes. Then set the linework to overprint.
    At any rate, if you are doing this professionally, you need to read up on the principles and practices of trapping and color separation.
    JET

  • Edging problem "thin white line" between paths in Illustrator CS4...

    I am making a map of Europe with Illustrator CS4 for a documentary about WWI and how the Versailles Treaty carved up imperial Germany. After having traced imperial Germany before Versailles, I then carve out the territories given to neighboring states. The problem is these very fine white lines that appear between paths.
    I have two paths right next to each other. But for some reason I see this very thine white line gap that shows up between them and becomes much more evident when I export into Photoshop. Please notice this very fine white line in the black image. What you see in this image are in fact two paths side by side. There should be no line between them. And I have no idea why this very fine line appears but it gets much worse in Photoshop much more noticeable. Please click on image to see the line more clearly.
    Thank you very much in advance for any help or suggestions.
    - Nick

    Dear Jacob and Peter,
    Thank you both very much for your help.
    Please see these photos showing my problem more clearly.
    I am using Illustrator to draw the regions, Photoshop to consolidate the layers, and Apple Motion 4 to build my animation.
    [1] : Imperial Germany in 1914.
    [2] : Germany after Versailles.
    In Illustrator CS4, the images [1] and [2] have the colored layers in "Multiply" transparency mode. It's how I want the layers to look when I import them into Apple Motion 4.
    My idea was to color all the layers black in "Normal" mode and then apply "colorize" filters in Motion 4 and set the transparency to "multiply" in Motion.
    Now with Imperial Germany (all layers colored in black with transparency set to "Normal"), when I bring the image into Photoshop, I suddenly get very fine white lines between the layers and these lines show up in Motion which is the big problem. Like I said, when you click on this last photo, and you see the image full size, you can clearly see the problematic lines which appear exactly where the layers touch each other. In the photo below, the territories ceded to Poland (West Prussia) and Lithuania (Memel) are not yet red. They are still black but you can see the lines.
    I don't understand because in Illustrator there were no gaps whatsoever between the layers. In Illustrator CS4, I simply cut the "territorial losses" from imperial Germany using the "Trim" function in the Pathfinder Menu. I created the red and yellow layers from the original single "imperial Germany" layer. In Illustrator I can colorize all the layers black and still never see any gaps. The fine white lines, appear in Photoshop and in Motion.
    (NOTE: The documentary is being in edited in Final Cut Studio which is why I use Motion for animating.)
    Sorry to ramble on. Thank you again for any further help you can give me.
    - Nick

  • White space between images

    I have 5 rollover images lined up beside each other in a
    table cell. I have reduced their borders to 0, the cell padding and
    cell spacing to 0 also. I even tried reducing the images padding
    and margin to 0. However, there is still a really thin line between
    each of the images that i want to get rid of (it's as if the images
    all have a small white border around them, but I've reduced their
    borders to 0).
    Here is what the code looks like:
    <table border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td width="53">
    <div id="box">
    <p align="right"><img src="banner.jpg"
    name="banner" width="536" height="101" border="0" id="banner" />
    <a href="#" onmouseout="MM_swapImgRestore()"
    onmouseover="MM_swapImage('home','','Buttons/homebtnover.jpg',1)"><img
    src="Buttons/homebtnup.jpg" name="home" width="107" height="36"
    border="0" id="home" /></a><a href="#"
    onmouseout="MM_swapImgRestore()"
    onmouseover="MM_swapImage('theteam','','Buttons/theteambtnover.jpg',1)"><img
    src="Buttons/theteambtnup.jpg" name="theteam" width="107"
    height="36" border="0" id="theteam" /></a><a href="#"
    onmouseout="MM_swapImgRestore()"
    onmouseover="MM_swapImage('schedule','','Buttons/schedulebtnover.jpg',1)"><img
    src="Buttons/schedulebtnup.jpg" name="schedule" width="107"
    height="36" border="0" id="schedule" /></a><a href="#"
    onmouseout="MM_swapImgRestore()"
    onmouseover="MM_swapImage('gallery','','Buttons/gallerybtnover.jpg',1)"><img
    src="Buttons/gallerybtnup.jpg" name="gallery" width="107"
    height="36" border="0" id="gallery" /></a><a href="#"
    onmouseout="MM_swapImgRestore()"
    onmouseover="MM_swapImage('contact','','Buttons/contactbtnover.jpg',1)"><img
    src="Buttons/contactbtnup.jpg" name="contact" width="108"
    height="36" border="0" id="contact" /></a></p>
    </div> </td>

    .oO(Twinbird24)
    >It still doesn't work. I've even tried to just make a new
    document and just
    >place the rollover images beside each other in a row
    (horizontally). However,
    >even with the image's borders, padding, and margin set to
    0, there still seems
    >to be a really small space between the images.
    >
    > Here is a link to the rollover images, as you can see,
    there is that small
    >white space between the images:
    >
    http://www.arkdesigns.ca/untitled.html
    The gap I see is in the images themselves - the outermost
    right and
    bottom pixels are faded. There's no other gap between the
    images in
    Opera and IE 6.
    Micha

  • Spaces in between images ; textbox help

    in my dreamweaver HTML page, after i insert say like, 5 images, they clump all together, and i'm unable to separate them (like how i'd be able to do them in microsoft powerpoint)
    is there anyway that will enable me to freely shift around these images, so that they are not always joined together?
    another questions, how can i insert a space for me to type what i want, without the annoying form box, where you fill in stuff in surveys. it'd be like inserting a text box in microsoft ppt, just allocating a space for you to put in your words
    hope you guys know what i mean!
    EDIT: i've realised that i can put in the H and V space. but how would i say, put in a paypal "buy now" button HTML code, under that space? is the space usable?

    Building web pages in Dreamweaver is nothing like working with PowerPoint.  This isn't a click and drag application.  If you switch to Code View, you can insert non-breaking spaces (   ) between images like so:
    <img src="some-image.jpg">  insert space, insert space,   <img src="some-other-image.jpg">
    To add captions to images, you will need a working knowlege of CSS and HTML code.
    Start here:
    HTML & CSS Tutorials - http://w3schools.com/
    Creating your first web site in DW CS4 -
    http://www.adobe.com/devnet/dreamweaver/articles/first_cs4_website_pt1.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com
    Message was edited by: Nancy O. Can't get Forum to accept code for non-breaking spaces.

  • How do I remove a white line between cells?

    I have navigation buttons setting on top of a header image. The nav buttons are in one row and the header image is in the row below it. I have all cell padding and margins set to 0 in CSS, however, I still get the thin white line between the nav buttons and the image. Is this an IE problem? Additionally, I have removed all extra spacing within the pages HTML but still to no avail. Does anyone have any expert advice on how to get rid of this thin white strip so the images will butt up together?

    Understood,
    Here is my HTML
    <table id="outerTable" >
      <tr><td valign="bottom" id="mainMenu">
        <div><img src="images/home-current.gif"/>
        <a href="screenshots.htm"><img src="images/screenshots.gif" width="80px" height="105px" border="0"/></a>
        <a href="purchase.htm"><img src="images/purchase.gif" width="80px" height="105px"/></a>
        <a href="mailto:[email protected]"><img src="images/contact.gif" width="80px" height="105px"/></a></div>
      </td></tr><tr><td id="topbar"><img src="images/golfSharkTopbar.jpg" width="700" height="70" alt="Welcome to Golf Shark Online"></td>
      </tr>
    and here is my CSS
    /* ===== outer table ===== */
    #outerTable {
        margin: 0 0;
        width: 700px;
    height: 200px;
    background: #fff url(images/golfSharkLogo.jpg) no-repeat;
    /* ===== topbar ===== */
    td#topbar {
        height: 70px;
    cellspacing: 0;
    cellpadding: 0;
    margin: -5 0 0 0
    /* ===== main menu ===== */
    td#mainMenu {
        height: 125px;
        vertical-align: bottom;
    cellspacing: 0;
    cellpadding: 0;
    #mainMenu div {
        height: 80px;
        margin-left: 350px;
        padding: 0;
    vertical-align: bottom;
    #mainMenu img {
        margin: 0 0 -5px 0;
    padding: 0;
        border: none;

  • PDF has white gaps between images

    Hi,
    I'm getting white lines between InDesign rendered images when viewing them in Acrobat.
    ie. When I place a .psd file with trasparency onto another image and make a PDF, the area around the psd file has a faint white line.
    I've looked into it a bit and seen that these are called atomic gaps or something and will never show on print. Also that I can turn off 'Smooth Line Art' in preferences to remove them (which then screws up other areas).
    So the client isnt happy with an explanation of it, and would prefer a fix. One that makes everything look nice on his screen.
    Is there fix? A way I can make InDesign or Distiller render the whole image maybe?
    Thanks for any suggestions.

    If you can't use PDF 1.4 (Acrobat 5) due to your service provider, then this is known as stitching and is only visible on screen. It does not effect final printed output.
    In Acrobats preferences turn off smooth line art (Preferences > Page Display > Rendering > Smooth Line Art). This may have a visual on screen effect on type etc.

  • How can i remove the line between columns?

    I'm laying out poetry and I only want one column--even in landscape mode. But in landscape mode there's still the line between columns that cuts through my text. I've tried dragging the line, clicking on it and deleting it. When I click on it two Xes appear on the top and bottom, but they don't appear to do anything.

    I did a little more reading of threads and now I understand the approach.
    Go to View/Layouts and click on any of the layouts which appear on the left. At that point you will have access to the full page template and may make any and all changes you wish.
    Keep in mind that some elements will be locked requiring an Arrange/Unlock command before you can eliminat them.
    In the end it will be very easy to create completely customized layouts, including background images, rules, etc. etc.
    Good luck with the poetry.

  • Polar equation of a line between two points

    I am trying to make a method to output the points (in polar coordinates (r, theta)) along a line between two given polar coordinates.
    This will mimick the path of an object traveling across a radar screen.
    Is this possible?

    Java does not plot in polar coordiantes, you'll have to convert to rectangular to get a plot. If you're just doing a sweep on a screen, then it's fairly simple to do:
    r is the radius of your screen,
    (0,0) is your Origin translated as (Xmax/2, Ymax/2)
    when you draw the line you just start at your Origin and get your end values as
    X1=X0+r*cos(Theta) and
    Y1=Y0+r*sin(Theta),
    I've not seen, nor do I think there is any other support to do what you want--you have to convert to (x,y) coordinate system.
    This will leave a ragged edge so make a border around your screen.
    import java.awt.Color;
    import java.awt.Dimension;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.image.BufferedImage;
    import java.awt.Point;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.Timer;
    public class JRadar{
      public JRadar(){
        JPanel p = new MyJPanel();
        JFrame f = new JFrame("ForumJunk: JRadar");
        f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        f.add(p);
        f.pack();
        f.setVisible(true);
      public static void main(String[] args){
        new JRadar();
      class MyJPanel extends JPanel implements ActionListener{
        Timer t = new Timer(10, this);
        Dimension d = new Dimension(512, 512);
        BufferedImage bi = new BufferedImage(d.width, d.height, BufferedImage.TYPE_INT_RGB);
        Graphics2D g = bi.createGraphics();
        double theta = 0;
        int r = d.width/2 - 16;
        Point origin = new Point(d.width/2, d.height/2);
        public MyJPanel(){
          g.setColor(Color.RED);
          this.setPreferredSize(d);
          t.start();
        public void actionPerformed(ActionEvent e){
          g.clearRect(0, 0, d.width, d.height);
          g.drawOval(16, 16, 480, 480);
          g.drawLine(origin.x, origin.y, (int)(origin.x+r*Math.cos(theta)), (int)(origin.y+r*Math.sin(theta)));
          theta += 0.01;
          if(theta>=Math.PI*2) theta = 0.0;
          repaint();
        public void paintComponent(Graphics g){
          super.paintComponent(g);
          g.drawImage(bi, 0, 0, this);
    }Edited by: morgalr on Mar 3, 2010 4:59 PM: code example added

  • Removing Line between Div tags

    Hi all.  I am new to this forum - have just started using DIV Tags and am getting a bit messed up!!  I have a simple web page that has 2 DIV statements - on loads a menu bar I have created in Fireworks and is rihgt justified, the other is a header that contains an image and is centred.  I have specified a coloured page background.  Trouble is, I have a line between my two div tags that shows the background colour!  I just cant get rid of it - I have tried the "Display - Inline" but that doesn't work.  I have tried "Float Left" and "Right" - no-good.  I dont know what to do!  It could be that I am using these commands in the wrong place?  There seems to be quite a lot of stuff on the net about this issue but I cant get any of the solutions to work for me.  Please can anyone help?
    Here is an example of my code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <style type="text/css">
    body {
    background-color: #C90;
    .menu {
    BACKGROUND: #000000;
    .header {
    BACKGROUND: #000000;
    </style>
    </head>
    <body>
    <DIV class=menu align="right" >
    <P> </P>
    <P> </P>
    </DIV>
    <DIV class=header align= "center">
    <P> </P>
    <P> </P>
    <P> </P>
    </DIV>
    </body>
    </html>

    This is invalid markup.
         <DIV class=menu align="right" >
         </DIV>
         <DIV class=header align= "center">
         </DIV>
    CSS should look like this:
    body {
    margin:0;
    padding:0;
    background: #C90;
    color: #000;
    #wrapper {
    width: 970px; /**some value in px, % or ems**/
    margin: 0 auto; /**with width, this centers page**/
    background: #FFF;
    border: 2px solid #000;
    #menu {
    background: #000;
    text-align:right;
    margin:0;
    padding:0;
    #header {
    background: #000;
    width: 970px;
    margin:0 auto;
    padding:0;
    Then add the relevant selector ID (or .class) to your markup like so.
    <body>
    <div id="wrapper>
    <div id="menu">
    your menu code here
    </div>
    <div id="header">
    your header here
    </div>
    <p>your content goes here<p>
    <!--end wrapper--> </div>
    </body>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Optimizing images | Learn Dreamweaver CS6 | Adobe TV

    In Dreamweaver CS6, Adobe has streamlined the integration between Photoshop and Dreamweaver. Learn how to take images directly from Photoshop to Dreamweaver. Then, see how to optimize the images and edit them in Photoshop using Adobe's round-trip editing feature.
    http://adobe.ly/IUFnwT

    warlock7,
    I tested this out in Dreamweaver CS6, but in all cases the drag-and-drop was functioning properly.
    If you create a new document using one of the included layouts (e.g. 3-column liquid) and insert an image in it, are you able to drag it around?

  • Draw line between black pixel : coordinates of selected pixels ?

    Hi
    I want to build a script which can check a Photoshop file and :
    - find black pixel
    - for each black pixel, look for another black pixel within maximum distance of 5 pixels
    - then draw a line between the two black pixels.
    I wrote this script below (my first script ...), but it's VERY slow (and my final image is VERY big), I think because I test the colour for each pixel of the image.
    So another solution would be to first select black pixel with magic wand, then the script save all coordinates of selected pixels, then my script wil test only this pixels (less than 1% of the pixels are black in my image).
    Is it possible with JavaScript ?
    Thank you for your response !
    Marc
    function main(){
    var startRulerUnits = app.preferences.rulerUnits;
    app.preferences.rulerUnits = Units.PIXELS;
    var myHeight = app.activeDocument.height;
    var myWidth = app.activeDocument.width;
    // Find black pixel
    for(var i=5; i<myWidth; i++) {
      for(var j=5; j<myHeight; j++) {
       activeDocument.colorSamplers.removeAll()
       var sampler = activeDocument.colorSamplers.add([new UnitValue (i, 'px'), new UnitValue (j, 'px')]);
       if (sampler.color.rgb.hexValue === "000000") {
    // For each black pixel, search another black pixel below left up to 5 pixels
        for (var m=i-5; m<i; m++) {
         for (var n=j+1; n<j+5; n++) {
          activeDocument.colorSamplers.removeAll()
          var test = activeDocument.colorSamplers.add([new UnitValue (m, 'px'), new UnitValue (n, 'px')]);
          if (test.color.rgb.hexValue === "000000") {
    // Then draw a black line between the two black pixels
           var FillColour = new SolidColor;
           FillColour.rgb.hexValue = '000000';
           var ad=activeDocument;
           ad.selection.select([[m,n],[i,j],[m,n+1],[i,j+1]], SelectionType.REPLACE, 0, true);
           ad.selection.fill(FillColour);
           ad.selection.deselect()
    // For each black pixel, search another black pixel below right up to 5 pixels
         for (var m=i+1; m<i+5; m++) {
          for (var n=j; n<j+5; n++) {
           activeDocument.colorSamplers.removeAll()
           var test = activeDocument.colorSamplers.add([new UnitValue (m, 'px'), new UnitValue (n, 'px')]);
           if (test.color.rgb.hexValue === "000000") {
    // Then draw a black line between the two black pixels
            var FillColour = new SolidColor;
            FillColour.rgb.hexValue = '000000';
            var ad=activeDocument;
            ad.selection.select([[i,j],[m,n],[m,n+1],[i,j+1]], SelectionType.REPLACE, 0, true);
            ad.selection.fill(FillColour);
            ad.selection.deselect()
    main();

    The first alert should have shown the first pathPoint.anchors for all the subPaths in the path.
    The xyArray is just something I added for the alerts. The array 'myPathInfo' should have all the info extracted from the path.
    myPathInfo.length will tell you how many subPaths are in the Path.
    myPathInfo[index].entireSubPath.length will tell you how many pathPoints are in that subPath
    myPathInfo[index].entireSubPath[index].anchor will tell you the position of that pathPoint.
    The indexes start with zero.
    The bounding box of the entire subPath can be hard to work out just from the pathPoints. Unless all the point are corner points the path may extend beyond the anchors. One think you can do is create a new path from just one of the subPaths, convert by to a selection, and then get the bounds from the selection. You can make a new path from a subPath using the 'myPathInfo' array from above.
    app.activeDocument.pathItems.add("myPath1", [myPathInfo[0]]);
    That line will make a new path from the first subPath. Change the index to use a different subPath.
    Some other info that may help.
    app.activeDocument.histogram[0] will tell you how may black pixels are in the document. But its no help determining where they are. If that returns 0 there are no black pixels.
    If you don't have any luck working with converting the original color range selection into a path and need to go back to searching with the colorSampler it may help to use a grid approach. For example make a square selection, the size depending on how scattered the black pixels are, say 25x25px. Then use color range to select black. With an active selection it will only select pixels in that selected area( if any). You could then check to see if there is a selection. If not make another same size square to the right edge of the last area. If there is a selection, the solid property will tell you if more than one black pixel was selected( unless they are right next to each other ). If solid == true the selection bounds will tell you where the pixel is. If false you have to then search that square. But if there are areas where there are no black pixels checking a square range of pixels at once should be quite a bit faster than checking every pixel. And checking the historgram first will let you know if you should bother searching to start with.

Maybe you are looking for

  • Automatic Batch Determination   in Production order

    Dear All, We are using automatic batch determination is based on FIFO (first Mfg first out) for components..After releasing the order. I have maintained Batch Class in all the materials which are used as a all material special Characteristic LOBM_HSD

  • DVD Player encountered an error it could not recover from

    When I try to play a disk that has been burned on a VCR/DVD combo machine, I very often get an error message that says: "DVD Player encountered an error it could not recover from There was an error reading from disc. It might be scratched or dirty. [

  • FPCJ Cash Desk fields populate through event 6060

    Hi All, I have a requirement to populate fields of Cash Desk tcode FPCJ through event 6060 ( reading bar code) but no idea how this event will get trigger .I checked it is not getting trigger through FPCJ. For testing , Contract Acc (VKONT) is filled

  • Mini Windows 7 Starter won't restore!

    Hi, I have an HP mini netbook; Windows 7 starter. And I have a TON of viruses. And my computer won't even connect to the Wi-fi anymore even when I am right next to it! And frankly it's gotten annoying. I have tons of conduit viruses on this thing and

  • Download and convert to pdf

    I am attempting to convert a file to a pdf file. It has been sitting on my screen as an upload but has not completing the action. What do I do?