Skip to content

Commit 5f6f8e1

Browse files
committed
Add dicomizer prefs
1 parent 016b91c commit 5f6f8e1

File tree

4 files changed

+26
-2
lines changed

4 files changed

+26
-2
lines changed

content/basics/customize/preferences.en.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ locale.lang.code=fr_CH
3939
{{< /highlight >}}
4040
3. The default value is "en\_US"
4141

42-
## List of Preferences
42+
## List of preferences
4343
The preferences listed below are extracted from the `base.json` file, which is located in [the source code](https://github.com/nroduit/Weasis/tree/master/weasis-distributions/etc/config).
4444

4545
The properties are grouped into categories (note: not all categories are shown in the list below), and each property includes the following details:
@@ -52,8 +52,14 @@ The properties are grouped into categories (note: not all categories are shown i
5252
- **AP**: Always processed by the viewer but only from `base.json` or other `.json` files.
5353
5. **Description**: A brief explanation of the property, provided on the second line.
5454

55+
### Base preferences
56+
5557
{{< render-preferences url="https://raw.githubusercontent.com/nroduit/Weasis/refs/heads/master/weasis-distributions/etc/config/base.json" categories="LOG,LAUNCH,GENERAL,DICOM,VIEWER,UI" >}}
5658

59+
### Dicomizer preferences
60+
61+
{{< render-preferences url="https://raw.githubusercontent.com/nroduit/Weasis/refs/heads/master/weasis-distributions/etc/config/dicomizer.json" categories="LOG,LAUNCH,GENERAL,DICOM,VIEWER,UI,METADATA" >}}
62+
5763

5864
### Customize resources
5965

content/tutorials/dicomizer.en.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,15 @@ The Dicomizer tool supports encapsulating the following file types into DICOM ob
5353

5454
3. Alternatively, you can drag and drop files from the system file explorer into the central panel. Images will either be grouped into the current series if applicable, or assigned to a default series based on their media type.
5555

56+
{{% notice note %}}
57+
For image types containing EXIF tags, the following values are automatically mapped to DICOM tags:
58+
- **Image Orientation** → Adjust image orientation based on this value
59+
- **Image Description** → Maps to "Image Comments"
60+
- **Manufacturer Description** → Maps to "Manufacturer"
61+
- **Camera Model Description** → Maps to "Manufacturer Model Name"
62+
- **Date/Time (Original)** or, if absent, **Date/Time** → Maps to "ContentDate" and "ContentTime"
63+
{{% /notice %}}
64+
5665
{{% notice note %}}
5766
Buttons that group series cannot be deleted directly. To remove a button, you must first remove all associated elements (thumbnails in the central panel).
5867
{{% /notice %}}

layouts/shortcodes/render-preferences.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<!-- Convert $category to camel case by capitalizing the first letter -->
3636
{{ $category := printf "%s%s" (upper (substr $categoryKey 0 1)) (lower (substr $categoryKey 1)) }}
3737
{{ if in $categories $categoryKey }}
38-
<h3>{{ $category }} Category</h3>
38+
<h5>{{ $category }} Category</h5>
3939
<ul>
4040
{{ range $entries }}
4141
<li>

static/tuto/icon/synch.svg

Lines changed: 9 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)