-
Notifications
You must be signed in to change notification settings - Fork 339
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
Handling of images in GMT #3299
Comments
Regarding point 2. I think we also support (or intended to) L(ine) interleaving (row of rrrrr, row of gggg, row of bbbb). That is, last char is either of B|P|L The GMT_IMAGE is used in Julia. |
OK, leaving GMT_IMAGE as is. Working on TRB->TRP for now, and maybe if inspired enough we can do more of these. |
See other post, got GMT_Change_Layout to working so left gmt_gdalwrite.c alone for now. |
Won't have time to continuing discuss this before night but the 1a. We want the the alpha channel as separate layer. This is the case when passing data to Matlab where the alpha goes into a separate slot. The advantage of having it separate is to avoid potentially large data copies. 1b. We want to put it after the RGB, that is as a RGBA. This would get
|
OK, seems like we may want to have a function that strips A from the image and places it in I->alpha, and maybe the other way as well (although for writing the I->alpha works fine). May need a GMT_Image_Alpha () function to do the two operations. |
This issue has been automatically marked as stale because it has not had activity in the last 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions. |
For bad or for worst this had been addressed in the work at November 2023 for transparencies. Not all is working but this is now obsolete. |
Description of the desired feature
This issue tries to summarize the status of how GMT deals with image i/o and what we may wish to have. I think these statements are true - to be vetted by @joa-quim:
Seems to me we need to put in some work on the image front to reach at least these minimum goals so that basic image handling can be implemented:
The text was updated successfully, but these errors were encountered: