Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

A method to find image height similar to mapproject -Wh

オープン
#9,256 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@Esteban82 がすでに取り組んでいます。

2026年10月12日 から。

  • #9262 @Esteban82 による — オープン

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
c
領域
cli

調査の方向性

Start by reading how the gmt image module handles -D+w sizing and how mapproject -J -R -Wh reports a height. Done means an image-height option accepts a width, preserves the image aspect ratio, and prints the resulting height to stdout, as in the example.

索引モデルが issue の本文から書いたものです。

説明

feature request

There should be a method of finding image height, maintaining aspect ratios within the gmt image module. This is a feature that is possible for maps via mapproject -J -R -Wh, and I think it could be useful for images. Images can currently have their width and height set via image -D+w, which can keep aspect ratio. I would like to see an option that, given the width, can output the height to stdout.
Possible example usage: gmt image -D+w3i -Wh returns 3.5

主要言語
C
スター
985
フォーク
414
平均マージ
22時間 51分
マージ済み PR(30日)
35

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

GenericMappingTools/gmt のほかの issue

GenericMappingTools/gmt の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。