Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: How to covert negative images to positive images

  1. #1
    Join Date
    Apr 2006
    Beans
    4,068

    How to covert negative images to positive images

    Hi all,

    How to covert negative images to positive images

    I have posted this question before but I couldn't find a reliable solution.

    Running on Terminal
    Code:
    $ convert -negate source.png target.png
    But the quality of the positive images converted are poor.

    Steps performed by me creating the negative images on films
    1. Use a 12" tablet as light box
    2. Mount the film on film holder
    3. Place the film holder on top of the tablet
    4. Take photos with a mobile phone camera mounted on a tripod

    I have no problem taking negative images from films but I couldn't find a solution converting the negative images to quality positive images.

    Please help or advising me where I should post my problem for a solution?

    Thanks in advance

    Regards

  2. #2
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!
    Distro
    Xubuntu 24.04 Noble Numbat

    Re: How to covert negative images to positive images

    Are you trying to do this with command line or using a GUI application? I am certain imagemagick can do it but can't give you the command now as I'm on an Android tablet.

    Don't forget many if not all GUI image editors, eg gimp, can do the job easily though I can't comment on the quality of the output image.

  3. #3
    Join Date
    Apr 2006
    Beans
    4,068

    Re: How to covert negative images to positive images

    Quote Originally Posted by ajgreeny View Post
    Are you trying to do this with command line or using a GUI application? I am certain imagemagick can do it but can't give you the command now as I'm on an Android tablet.

    Don't forget many if not all GUI image editors, eg gimp, can do the job easily though I can't comment on the quality of the output image.
    Hi ajgreeny,

    Thanks for your advice. I have tried command line before but the quality of the positive image was not good. I think that this is not the road for me to follow.

    Regards

  4. #4
    Join Date
    Mar 2011
    Location
    U.K.
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: How to covert negative images to positive images

    Recently I suggested in another post leveraging Wolfram language.

    Same applies to this requirement.

    But admittedly Wolfram features can be rather overwhelming.

    https://reference.wolfram.com/langua...lorNegate.html

  5. #5
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!
    Distro
    Xubuntu 24.04 Noble Numbat

    Re: How to covert negative images to positive images

    I have just used imagemagick to convert a positive photograph to negative then used nomacs to invert that image back to positive.
    All went very well with no real difference between the original and the double converted.

    Just to be sure I also did this in both directions, positive to negative then negative to positive 3 times each using the most recently converted image so I ended with 4 versions of each image, positive and negative.
    I could detect no difference between the 8 total of images and all exif data was retained etc etc. and the images all appeared visually identical

    The command used was very simple
    Code:
    convert positive.jpg -negate negative.jpg
    Why not give it a try?

  6. #6
    Join Date
    Apr 2006
    Beans
    4,068

    Re: How to covert negative images to positive images

    Quote Originally Posted by dragonfly41 View Post
    Recently I suggested in another post leveraging Wolfram language.

    Same applies to this requirement.

    But admittedly Wolfram features can be rather overwhelming.

    https://reference.wolfram.com/langua...lorNegate.html
    Hi dragonfly41,

    Thanks for your advice.

    I'm searching for a simple and straightforward solution, if possible. I have hundreds of negatives to develop. I can further treat the developed positives on GIMP or Darktable.

    Regards

  7. #7
    Join Date
    Mar 2011
    Location
    U.K.
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: How to covert negative images to positive images

    Intuitively I would use a tool such as Albert, write a Python extension to automate the process. You can then write your own commands in the popup query field. Try the standard plugins.

    P.S. Example of custom Albert / Python script here:

    https://github.com/albert-ying/ImageTools

    Actually the above post is not related to Albert launcher. The developer is named Albert.

    Here is another attempt to show examples of plugins. But write your own..

    https://github.com/bergercookie/awesome-albert-plugins
    Last edited by dragonfly41; October 26th, 2024 at 03:22 PM.

  8. #8
    Join Date
    Apr 2006
    Beans
    4,068

    Re: How to covert negative images to positive images

    Quote Originally Posted by ajgreeny View Post
    I have just used imagemagick to convert a positive photograph to negative then used nomacs to invert that image back to positive.
    All went very well with no real difference between the original and the double converted.

    Just to be sure I also did this in both directions, positive to negative then negative to positive 3 times each using the most recently converted image so I ended with 4 versions of each image, positive and negative.
    I could detect no difference between the 8 total of images and all exif data was retained etc etc. and the images all appeared visually identical

    The command used was very simple
    Code:
    convert positive.jpg -negate negative.jpg
    Why not give it a try?
    Hi ajgreeny,

    Thanks for your advice.

    I have tried long time ago on Terminal running
    Code:
    $ convert negative.jpg -negate positive.jpg
    The quality of the postive.jpg was poor.

    I just tried it again, with the same poor positive image resulted. No improvement

    Regards

  9. #9
    Join Date
    Apr 2006
    Beans
    4,068

    Re: How to covert negative images to positive images

    Quote Originally Posted by dragonfly41 View Post
    Intuitively I would use a tool such as Albert, write a Python extension to automate the process. You can then write your own commands in the popup query field. Try the standard plugins.

    P.S. Example of custom Albert / Python script here:

    https://github.com/albert-ying/ImageTools

    Actually the above post is not related to Albert launcher. The developer is named Albert.

    Here is another attempt to show examples of plugins. But write your own..

    https://github.com/bergercookie/awesome-albert-plugins
    Hi dragonfly41,

    Is it the plugin for GIMP? I haven't added it

    Regards

  10. #10
    Join Date
    Jun 2007
    Location
    Arizona U.S.A.
    Beans
    5,897

    Re: How to covert negative images to positive images

    In GIMP, it's in the Colors menu.
    Open the image file, then
    Colors > Invert

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •