Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify transparency in grids and images #8191

Closed
wants to merge 86 commits into from
Closed

Commits on Dec 13, 2023

  1. Clarify transparency in grids and images

    See forum post for some background and limitations.  This PR does not implement code changes yet, but tries to describe via the documentation what we would like to have implemented before 6.5 is released:
    PaulWessel committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    94410b2 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2023

  1. Count transparencies etc

    Add new function grdimage_transparencies which determines what type of scenario we have regarding the alpha channel.
    PaulWessel committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    f2ca7af View commit details
    Browse the repository at this point in the history
  2. Update grdimage.c

    PaulWessel committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    6cee400 View commit details
    Browse the repository at this point in the history
  3. Update grdimage.c

    PaulWessel committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    107f24c View commit details
    Browse the repository at this point in the history
  4. parse +o|t for -Q

    PaulWessel committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    dfe9f85 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a2f48de View commit details
    Browse the repository at this point in the history
  6. Update grdimage.rst

    PaulWessel committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    e9bae5a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ecfad1d View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2023

  1. Updates

    PaulWessel committed Dec 15, 2023
    Configuration menu
    Copy the full SHA
    67b7197 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ec10cda View commit details
    Browse the repository at this point in the history
  3. Update

    add test
    PaulWessel committed Dec 15, 2023
    Configuration menu
    Copy the full SHA
    393da26 View commit details
    Browse the repository at this point in the history
  4. More updates

    PaulWessel committed Dec 15, 2023
    Configuration menu
    Copy the full SHA
    1b33009 View commit details
    Browse the repository at this point in the history
  5. Make sure we also project any alpha layer

    gmtlib_bcr_get_img sames the r,g,b values at given point, but did not also do tramsparency (unless it was coded as 4th band). This commit checks if alpha is not NULLand bands is 1 or 3 then we also compute the sampled transparency
    PaulWessel committed Dec 15, 2023
    Configuration menu
    Copy the full SHA
    d012dcb View commit details
    Browse the repository at this point in the history
  6. Start at 0

    PaulWessel committed Dec 15, 2023
    Configuration menu
    Copy the full SHA
    4d5d392 View commit details
    Browse the repository at this point in the history
  7. still working on it

    PaulWessel committed Dec 15, 2023
    Configuration menu
    Copy the full SHA
    7a64154 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2023

  1. Improve w/e/sn passing to GDAL

    If image header has wesn so that e>w and n> s we use that for domain
    PaulWessel committed Dec 16, 2023
    Configuration menu
    Copy the full SHA
    f54fdcb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ff521f3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0493620 View commit details
    Browse the repository at this point in the history
  4. Update grdimage.c

    PaulWessel committed Dec 16, 2023
    Configuration menu
    Copy the full SHA
    534cb57 View commit details
    Browse the repository at this point in the history
  5. Watch out for -A

    PaulWessel committed Dec 16, 2023
    Configuration menu
    Copy the full SHA
    8095d8d View commit details
    Browse the repository at this point in the history
  6. Elliminate dead code

    PaulWessel committed Dec 16, 2023
    Configuration menu
    Copy the full SHA
    70fe024 View commit details
    Browse the repository at this point in the history
  7. Update grdimage.c

    PaulWessel committed Dec 16, 2023
    Configuration menu
    Copy the full SHA
    5f598ab View commit details
    Browse the repository at this point in the history
  8. Update grdimage.c

    PaulWessel committed Dec 16, 2023
    Configuration menu
    Copy the full SHA
    e52f65a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    3477378 View commit details
    Browse the repository at this point in the history
  10. Update grdimage.c

    PaulWessel committed Dec 16, 2023
    Configuration menu
    Copy the full SHA
    ef2124e View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    fba12c6 View commit details
    Browse the repository at this point in the history
  12. Use -Qi

    PaulWessel committed Dec 16, 2023
    Configuration menu
    Copy the full SHA
    d941202 View commit details
    Browse the repository at this point in the history
  13. Update grdimage.c

    PaulWessel committed Dec 16, 2023
    Configuration menu
    Copy the full SHA
    5b3ba6d View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2023

  1. Add highres square plotting

    Scale PS coordinates by 10 and round to nearest integer then divide by 10 and separate intereger from single decimal (0-9) and write xx.y to the PS file. to ensure neighboring squares match exactly.
    PaulWessel committed Dec 17, 2023
    Configuration menu
    Copy the full SHA
    742b409 View commit details
    Browse the repository at this point in the history
  2. Update grdimage.c

    PaulWessel committed Dec 17, 2023
    Configuration menu
    Copy the full SHA
    a5a74a6 View commit details
    Browse the repository at this point in the history
  3. 8 Configuration menu
    Copy the full SHA
    f9d689d View commit details
    Browse the repository at this point in the history
  4. Update gmt_api.c

    PaulWessel committed Dec 17, 2023
    Configuration menu
    Copy the full SHA
    78fec98 View commit details
    Browse the repository at this point in the history
  5. Update gmt_api.c

    PaulWessel committed Dec 17, 2023
    Configuration menu
    Copy the full SHA
    3d1cdca View commit details
    Browse the repository at this point in the history
  6. Update gmt_api.c

    PaulWessel committed Dec 17, 2023
    Configuration menu
    Copy the full SHA
    0955fbf View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    36007df View commit details
    Browse the repository at this point in the history
  8. Update grdimage.c

    PaulWessel committed Dec 17, 2023
    Configuration menu
    Copy the full SHA
    390b379 View commit details
    Browse the repository at this point in the history
  9. Update grdmix.c

    PaulWessel committed Dec 17, 2023
    Configuration menu
    Copy the full SHA
    fd8d7cd View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2023

  1. Update grdmix.rst

    PaulWessel committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    31287e7 View commit details
    Browse the repository at this point in the history
  2. Update grdmix.rst

    PaulWessel committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    8bfb98f View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2023

  1. pause

    PaulWessel committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    5e930aa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    81c895b View commit details
    Browse the repository at this point in the history
  3. ups

    PaulWessel committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    6cfd412 View commit details
    Browse the repository at this point in the history
  4. Update grdimage.c

    PaulWessel committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    b74fb0d View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2023

  1. Update grdimage.c

    PaulWessel committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    52e8954 View commit details
    Browse the repository at this point in the history
  2. Update grdimage.c

    PaulWessel committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    56a9256 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2023

  1. Update grdimage.c

    PaulWessel committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    af40af6 View commit details
    Browse the repository at this point in the history
  2. wording

    PaulWessel committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    120e79a View commit details
    Browse the repository at this point in the history
  3. Modier +o for -A

    If we hvae opacities we need a modifier
    PaulWessel committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    eff6cd9 View commit details
    Browse the repository at this point in the history
  4. working on it

    PaulWessel committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    e7a91ef View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b00566a View commit details
    Browse the repository at this point in the history
  6. Update grdimage.c

    PaulWessel committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    eafbe32 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    aff83ce View commit details
    Browse the repository at this point in the history
  8. Update grdmix.rst

    PaulWessel committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    91ef4db View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2023

  1. Configuration menu
    Copy the full SHA
    f4dc964 View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2023

  1. minors

    PaulWessel committed Dec 24, 2023
    Configuration menu
    Copy the full SHA
    0b10892 View commit details
    Browse the repository at this point in the history
  2. Update grdimage.c

    PaulWessel committed Dec 24, 2023
    Configuration menu
    Copy the full SHA
    f703aaf View commit details
    Browse the repository at this point in the history
  3. Update grdimage.c

    PaulWessel committed Dec 24, 2023
    Configuration menu
    Copy the full SHA
    f763b25 View commit details
    Browse the repository at this point in the history

Commits on Dec 26, 2023

  1. Polish again

    PaulWessel committed Dec 26, 2023
    Configuration menu
    Copy the full SHA
    d0ad175 View commit details
    Browse the repository at this point in the history
  2. Update grdimage.c

    PaulWessel committed Dec 26, 2023
    Configuration menu
    Copy the full SHA
    35905d2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    091f9f8 View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2023

  1. Configuration menu
    Copy the full SHA
    63dd5b4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8e8b005 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cbe4a8a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    816d541 View commit details
    Browse the repository at this point in the history
  5. Update gmt_gdalread.c

    PaulWessel committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    8059ba4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f613e69 View commit details
    Browse the repository at this point in the history
  7. Update gmt_internals.h

    PaulWessel committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    034a2e4 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8e58dc5 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8968228 View commit details
    Browse the repository at this point in the history
  10. Update gmt_map.c

    PaulWessel committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    019ee22 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    a36f4c7 View commit details
    Browse the repository at this point in the history
  12. Update gmt_macros.h

    PaulWessel committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    d4d03f2 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    83564bb View commit details
    Browse the repository at this point in the history
  14. Update gmt_hidden.h

    PaulWessel committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    3840366 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    d49dc43 View commit details
    Browse the repository at this point in the history
  16. Update gmt_api.c

    PaulWessel committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    6a22866 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    9699efe View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    4b58827 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    64e9cc4 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    61bd1ea View commit details
    Browse the repository at this point in the history
  21. Update grdimage.c

    PaulWessel committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    2ff8397 View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2023

  1. Update grdimage.c

    PaulWessel committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    dd3de0a View commit details
    Browse the repository at this point in the history
  2. Update grdimage.c

    PaulWessel committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    85a03fc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    885397d View commit details
    Browse the repository at this point in the history
  4. Update grdimage.c

    PaulWessel committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    61425ff View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1dec20f View commit details
    Browse the repository at this point in the history