How to select (all black) image outline using script

hi all,
we have thousands of clipart images to convert from wmf to png. We need to apply some processing to each image. We do this by selecting the black outline with contiguous off so it selects all the black. We then inverse the selection and apply processing to the remaining color parts of the image, leaving the black untouched. We can easily automate all of the steps excluding the first black outline selection.
anybody have any idea how we can do this?
alternatively should we do this in illustrator when we do the conversion from wmf to png and create layers there?
thanks.

Thanks Michael, we're trying this now.
Yes images are very similar in the fact that the have a complex hand drawn pure black outline with gradient colour inside.
This gradient being a WMF is only linited to 16 steps, so the banding occurs. This is especially noticable when enlarged.
so the purpose of the surface blur processing is to smooth this banding in the output png image, but keep the black outline sharp and crisp.
Below is a sample of one of the images done manually. now only 5999 to go
original wmf: https://dl.dropbox.com/u/40046102/Aardvark%20v2.wmf
Imported PNG from WMF through Illustrator, note the colour banding in the blue fill:
when smoothed in photoshop:

Similar Messages

  • How to select all black in a photo?

    I have an all black jpeg image, a flourish -  I want to select all of the black, and change it to white instead.  When I try and select it with the selection tool, it takes forever and isn't accurate bc there are so many twirls in it, etc.
    Is there a way to ask photoshop to select all black, and transform it into another color?

    short way: Ctrl+Alt+2 and then Ctrl+Shift+i
    the long way: ctrl+click the RGB channel in the Channels panel and then go to Select->Inverse
    and there are a ton of other ways as well including using the magic wand tool, quick select tool, Select->Color Range(with localized off), etc

  • ALV GRID-how to select all the check boxes using push button

    Hai All,
    I displayed ALV grid & every record contains one check box as first column.
    If user clicks on one push button all the check boxes needs to selected.
    Could any one tell me how to do this?
    Regards,
    Bhaskar

    Hi Bhaskar,
       Try this code :
    *" Table declarations...................................................
    TABLES :
      spfli.                              " Flight Schedule
    *" Data declarations...................................................
    Work variables                                                      *
    DATA :
      w_checkbox  TYPE c,                  " Check Box
      w_checkbox1 TYPE c,                  " Check Box
      w_lineno    LIKE sy-lilli,           " Current Line No
      w_lines     TYPE i.                  " No. Of Records in Int.Table
    Internal table to hold Flight Schedule data                         *
    DATA :
       t_spfli LIKE
      STANDARD TABLE
            OF spfli.
    Structure to hold Function Codes                                    *
    DATA :
      fs_fcode LIKE LINE OF t_fcode.
                          TOP-OF-PAGE EVENT                             *
    TOP-OF-PAGE.
      PERFORM top_of_page.
                       START-OF-SELECTION EVENT                         *
    START-OF-SELECTION.
      PERFORM fetch_spfli_data.
      SET PF-STATUS 'YMENU1'.
      DESCRIBE TABLE t_spfli LINES w_lines.
      fs_fcode = 'EXIT'.
      APPEND fs_fcode TO t_fcode.
      fs_fcode = 'SELECT'.
      APPEND fs_fcode TO t_fcode.
      fs_fcode = 'DESELECT'.
      APPEND fs_fcode TO t_fcode.
      fs_fcode = 'RETRIEVE'.
      APPEND fs_fcode TO t_fcode.
                        AT USER-COMMAND EVENT                           *
    AT USER-COMMAND.
      PERFORM user_command.
    FORM top_of_page .
      WRITE :/50 'Flight Schedule Information'(008).
      ULINE.
      FORMAT COLOR 1.
      WRITE :/10 'Carrier ID'(001),
              25 'Connection ID'(002) ,
              43 'Airport From'(003),
              59 'Airport To'(004),
              74 'Departure Time'(007),
              93 'Arrival Time'(011),
             106 space.
    ENDFORM.                               " FORM TOP_OF_PAGE
    FORM fetch_spfli_data .
      SELECT carrid                        " Carrier ID
             connid                        " Connection ID
             airpfrom                      " Airport From
             airpto                        " Airport To
             deptime                       " Departure Time
             arrtime                       " Arrival Time
        FROM spfli
        INTO CORRESPONDING FIELDS OF
       TABLE t_spfli.
      IF sy-subrc EQ 0.
        PERFORM display_spfli_data.
      ENDIF.                               " IF SY-SUBRC EQ 0
    ENDFORM.                               " FORM FETCH_SPFLI_DATA
    FORM display_spfli_data .
      SORT t_spfli BY carrid ASCENDING.
      LOOP AT t_spfli INTO spfli.
        FORMAT COLOR 2.
        WRITE :/2 w_checkbox AS CHECKBOX,
                  spfli-carrid   UNDER text-001,
                  spfli-connid   UNDER text-002,
                  spfli-airpfrom UNDER text-003,
                  spfli-airpto   UNDER text-004,
                  spfli-deptime  UNDER text-007,
                  spfli-arrtime  UNDER text-011.
      ENDLOOP.                             " LOOP AT T_SPFLI...
    ENDFORM.                               " FORM DISPLAY_SPFLI_DATA
    FORM user_command .
      CASE sy-ucomm.
        WHEN 'SELECT'.
          w_checkbox1 = 'X'.
          DO w_lines TIMES.
            w_lineno = sy-index + 3.
            READ LINE w_lineno FIELD VALUE w_checkbox.
            IF w_checkbox = '*'.
              CONTINUE.
            ELSE.
              MODIFY LINE w_lineno FIELD VALUE w_checkbox FROM w_checkbox1.
            ENDIF.                         " IF W_CHECKBOX = '*'
          ENDDO.                           " DO W_LINES TIMES.
        WHEN 'DESELECT'.
          w_checkbox1 = ' '.
          DO w_lines TIMES.
            w_lineno = sy-index + 3.
            READ LINE w_lineno.
            IF w_checkbox = '*'.
              CONTINUE.
            ELSE.
              MODIFY LINE w_lineno FIELD VALUE w_checkbox FROM w_checkbox1.
            ENDIF.                         " IF W_CHECKBOX = '*'
          ENDDO.                           " DO W_LINES TIMES.
        WHEN 'RETRIEVE'.
          w_checkbox = ' '.
          DO w_lines TIMES.
            w_lineno = sy-index + 3.
            READ LINE w_lineno FIELD VALUE w_checkbox INTO w_checkbox.
            IF w_checkbox = 'X'.
              PERFORM fetch_sflight_data.
              PERFORM display_sflight_data.
            ENDIF.                         " IF W_CHECKBOX = 'X'
          ENDDO.                           " DO W_LINES TIMES.
      ENDCASE.                             " CASE SY-UCOMM
    ENDFORM.                               " FORM USER_COMMAND
    This report gives you the SPFLI Data and places a check box in front of each record. When u click on select all button it will select all the records. And if you click on deselect all it will deselect all the records. When you are trying this maintain the pf-status 'YMENU1' and give the function codes as in the code.
    Regards,
    Swapna.

  • How to delete all those images of an event "in one go" which were not used in a foto book of that event?

    How to delete all those images of an event "in one go"
    which were not used in a foto book of that event?

    To select multiple photos in an event for deletion hold down the Command key and click on those you want to delete.
    OT

  • How to select all files in "user dir" (LastAccessedDirectrory) using applet

    Hi,
    Can anyone tell me " How to select all files in "user dir" (Last Accessed Directrory) using applet"?
    For this which method in applet used?
    Thanks in Advance.

    1) Do you want "user dir" (watever that is) or do you wnat the last accessed directory? Last accessed by what/whom?
    2) Applets can't access the local file sytem, and for good reason, unless they're signed and the client has given permission.

  • How to select all the colomns_names from a table, with their datatypes ..

    hi :)
    i would like to know, how to select in SQL all the columns names from a table with their datatypes so that i get something like this :
    Table 1 : table_name
    the column ID has the Datatype NUMBER
    the column name has the Datatype Varchar2
    Table 2 : table_name
    the column check has the Datatype NUMBER
    the column air has the Datatype Varchar2
    and that has to be for all the tables that i own ! ..
    P. S : i m trying to do this with java, so it s would be enough if you just tell me how to select all the tables_names with all their colums_names and with all their datatypes ! ..
    thank you :)
    i ve heard it can be done with USER_TABLES .. but i have no idea how :( ..
    Edited by: user8865125 on 17.05.2011 12:22

    Hi,
    The data dictionary view USER_TAB_COLUMNS has one row for every column in every table in your schema. The columns TABLE_NAME, COLUMN_NAME and DATA_TYPE have all the information you need.
    Another data dictionary view, USER_TABLES, may be useful, too. It has one row pre table.

  • How to SELECT ALL records of a TABLE VIEW in the BSP page

    Hi All,
    In the BSP portal, I am displaying some data(multple records) in the form of a table using the BSP TAG <htmlb:tableView>. I wrote the logic in the 'VIEW' of the BSP application which will be triggered by the controller. I have used the attribute selectionMode = "MULTISELECT" to have a Check Box to select a row.
    My requirement is to have a button/checkbox on the first column of the header of the table view. By clicking on this, it should select/desect all the records of the table. Could someone please help me how to do this? What attribute I should use in the tableview to get the button in the header row of the table and how to select all the records of the table.?
    Please provide your valuable inputs.
    Thanks & Regards,
    Paddu.

    Select all / Deselect all functionality when onRowSelection is there

  • How to select data from a table using a date field in the where condition?

    How to select data from a table using a date field in the where condition?
    For eg:
    data itab like equk occurs 0 with header line.
    select * from equk into table itab where werks = 'C001'
                                                      and bdatu = '31129999'.
    thanks.

    Hi Ramesh,
    Specify the date format as YYYYMMDD in where condition.
    Dates are internally stored in SAP as YYYYMMDD only.
    Change your date format in WHERE condition as follows.
    data itab like equk occurs 0 with header line.
    select * from equk into table itab where werks = 'C001'
    and bdatu = <b>'99991231'.</b>
    I doubt check your data base table EQUK on this date for the existince of data.
    Otherwise, just change the conidition on BDATU like below to see all entries prior to this date.
    data itab like equk occurs 0 with header line.
    select * from equk into table itab where werks = 'C001'
    and <b> bdatu <= '99991231'.</b>
    Thanks,
    Vinay
    Thanks,
    Vinay

  • 11.5.9 How to select all invoices in Payment batches ??

    Hi Guys,
    We are working on 11.5.9 Payment batches...
    Could anyone help me out on how to select all the Invoices whether due or not in the Payment Batches ?? I see that unchecking only due' doesn't work...is Pay through date is the only option ??
    Rgds,

    SelectManyListBox has a separate ALL checkbox visible. You can use that component
    jdevadf.oracle.com/adf-richclient-demo/faces/components/selectManyListbox.jspx

  • How can I see how often and where an image is used in the site?

    Just realized the post appeared twice as at first sending I
    got an error page (contains no data...).
    So, please do all answer to the other post, so that all
    replies get collected at one post only.
    Hello,
    please excuse my maybe dumb question but converting from
    GoLive I am still trying to find several practical effective
    workflow features in DW ...
    1. where in the sitewindow/assets or files panel can I see an
    indication at each image if and how often it is used in a site?
    2. and where can I see/check on which pages it is used?
    Thanks in advance for guiding me there ...
    bye,
    Beate

    > How do DW users know how often and where an image is
    used on the site
    > then?
    I'm not sure what the benefit is of knowing how often an
    image is used, but
    a search for the image by filename would do the trick.
    And just so you'll know, this is a peer forum, not an
    official communication
    vehicle to Adobe. We are all just users here, not Adobe
    employees.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "beatrice" <[email protected]> wrote in
    message
    news:[email protected]...
    > OK. I sent the below feature request.
    > How do DW users know how often and where an image is
    used on the site
    > then?
    > always doing a find/search?
    > in GoLive there was an simple window where all the files
    a page consisted
    > of
    > were listed plus all the files that were pointing to
    that page. such,
    > without
    > having to open a page links and image and componentes
    etc. could be
    > changed via
    > point&shoot.
    >
    > Couldn't you all think of this a being great and helpful
    and making site
    > management easy? Then send in a feature request as well,
    please.
    >
    > ...............
    > How can one know by the assets or files list if an image
    is used at all on
    > the
    > site?
    > and how many times? and on which pages?
    > This is very useful to know especially in larger sites.
    > e.g. an image should get changed on one page, now it
    would be very good to
    > see
    > if when it was used on other pages as well if it would
    make still sense
    > there
    > when changed.
    > as DW can update files (when e.g. an image name gets
    changed) there is a
    > way
    > this is already recorded. why not take this records and
    send this back
    > into a
    > list/column in the files panel to indicated that the
    image is used and
    > how
    > many times.
    > plus to have another window that can display all the
    pages the image is
    > used
    > in.
    > so one could click through all those pages and open them
    to check the
    > image
    > there.
    > in GoLive that feature was called 'In and Out links' and
    one could see a
    > page
    > in the middle and left and right from it many
    branches/lines at which ends
    > the
    > filenames were visible used in that page.
    > so one e.g. could also point and shoot from this list
    and change a file or
    > image or component simply by point and shooting to the
    files panel without
    > having to open the pages.
    > These features were so practical for an effective daily
    workflow that I
    > don't
    > understand why they haven't been put into cool DW yet.
    Please, please do
    > so in
    > the next release. I can test it thoroughly if you need
    testers for it.
    > bye,
    > beate
    >

  • How to select all files in a stack? Control-click doesn't work

    how to select all files in a stack? Control-click doesn't work

    Switch to list or column view. If you must use icon view, instead of Shift-clicking items, click on an empty space near one of them and drag to enclose them.
    (119467)

  • How to select all the people that are not in any equipe  ?

    Hi,
    I have a nice SQL expression that gives me as a result all the "AGENTS" (people) that are working in an EQUIPE (a team)
    select a."AGENT_ID",
    a."NOM" || ' ' || a."PRENOM" "Nom",
    c.libelle "Equipe",
    a."DATE_EMBAUCHE" "Date embauche",
    a."DATE_DEBAUCHE" "Date débauche"
    from OBSERVATOIRE."AGENT" a,
    observatoire.equipe_agents b,
    observatoire.equipe c
    where a.agent_id = b.agent_id
    and b.equipe_id = c.equipe_id
    order by nom
    Now, how to select all the agents that are NOT working in any "EQUIPE" (team) ?
    I have tried but could not succeed !
    Thank you for your kind help.
    Christian

    Christian from France wrote:
    It is not working because the table EQUIPE_AGENTS does not contains a row if the agent is not into any equipe.
    CREATE TABLE "OBSERVATOIRE"."EQUIPE_AGENTS"
    (     "EQUIPE_AGENTS_ID" NUMBER NOT NULL ENABLE,
         "EQUIPE_ID" NUMBER NOT NULL ENABLE,
         "AGENT_ID" NUMBER NOT NULL ENABLE)
    CREATE TABLE "OBSERVATOIRE"."AGENT"
    (     "AGENT_ID" NUMBER NOT NULL ENABLE,
         "GRADES_ID" NUMBER NOT NULL ENABLE,
         "NOM" VARCHAR2(50 BYTE) NOT NULL ENABLE,
         "PRENOM" VARCHAR2(50 BYTE),
         "DATE_EMBAUCHE" DATE NOT NULL ENABLE,
         "DATE_DEBAUCHE" DATE)
    The only way to "know" if an agent is not into any equipe (team) is to search into the EQUIPE_AGENTS table, and if we do not find the ID of the agent into this table, then we know that this agent is not into any EQUIPE (team).
    I don't know ho to translate this into SQL.And that's what my query does. It uses an OUTER JOIN so that a result record is returned whether or not there is a record in EQUIPE_AGENTS. And the check for EQUIPE_ID is NULL restricts the result set to those where there IS NOT a record in EQUIPE_AGENTS.
    A more traditional way would be to use NOT IN or NOT EXISTS clauses, but they can prove inefficient.

  • I noticed the bright spots on the ipad retina display in a black image. Used only 2 weeks.is it normal?

    I noticed the bright spots on the ipad retina display in a black image. Used only 2 weeks.is it normal?

    No its not normal. I'm not sure how big these bright spots are, but it could be a hardware problem. Without more details, I would suggest that you take it to an Apple Store or take it back to wherever you bought it and let the, evaluate the iPad.

  • How to select all photos placed in a photo book?

    Dear friends,
    while I can easily show only unplaced photos in the browser of an Aperture photo book it is hard to select just the ones that are used in the book. This would be handy to tag all used photos after finishing on the book or to export just thos photos as a backup.
    Any help?
    Thank you!
    007_checker

    Interesting, it would seem there would be a way to show all images used just as there is a way to show all images not used but I can;t seem to find a single button solution.
    What you can do is:
    Make sure no images are flagged, that is the Flagged album is empty. (you could use something other then flagged for this such as label color but flagged is easiest to explain)
    In the book before placing any images select all images and flag them.
    Now make your book.
    When you are done adding images to the book switch the browser to show images not in the book. Select all the images show and remove the flag.
    What is left in the Flagged album are the images in the book.
    This is a bit of a kludge and as I wrote it seems there should be a one button solution (there might be I don't use books much).  You might want to send feedback to Apple suggesting this feature. See Aperture->Provide Aperture Feedback.
    regards

  • How to select all PERNR from infotype 0000 (Action)

    Hi,
    How to select all PERNR from IT0000 (Action), if an action has been done on IT0000 between reporting START DATE and END DATE. What fields I should consider in IT0000.
    Thanks,
    mini

    You can try:
    data: t_0000 type standard table of pa0000.
    select * from pa0000
       into corresponding fields of table t_0000
      where begda le <your-initial-date> and endda ge <your-final-date>.
    Or use one of options described at last forum.
    Regards!
    Marcello
    Edited by: Marcello Lanzoni on Jul 24, 2008 8:11 PM

Maybe you are looking for

  • ALV toolbar excel icon using REUSE_ALV_GRID_DISPLAY

    Hi! I’ve created an ALV with using REUSE_ALV_GRID_DISPLAY. In ALV out put on toolbar I’ve excel, sort default icons.  If I sort my ALV on some column and press excel icon one row has got deleted and some column I don’t get data in rows (where my rows

  • SRUDB.dat Event Log - about 117 per hour!

    After getting my first Windows 8 Blue Screen (I made it one year and one month from the purchase of a new Lenovo Laptop) I checked the event log.  I am getting approximately 2 of these errors EVERY MINUTE! I looked up what was running under this proc

  • Need auto PR creation using ME51n from excel file

    Hi experts,                       I have a requirement for above mentioned subject line I have gone through BAPI_PR_CREATE fm . need to test the fm successfully, so that i can do the programming. so could you tell me what are fields,i need to take to

  • Oracle Portal environment comes to halt/crawl

    We've got an Oracle Portal environment that will periodically crash (load excessivly slow, almost not loading at all, sometimes pages err out), and we're not entirely sure of the cause. When we experence the issues, the memory seems fine, the process

  • Statistical and Target postings

    Hi, Can you pl tell me what is Statistical and Target postings in detail and how to identify it. Appreciate on your immediate help. Regards, Rinny