Skip to content

[FEATURE] Adding texture filtering modes (bilinear and nearest neighbor) #133

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

Merged
merged 2 commits into from
Dec 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 61 additions & 1 deletion quick-picture-viewer/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions quick-picture-viewer/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -451,4 +451,22 @@
<data name="white_save" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\resources\imgs\light\white-save.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="black_filtering" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\resources\imgs\dark\black-filtering.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="black_bilinear" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\resources\imgs\dark\black-bilinear.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="black_nearest_neighbor" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\resources\imgs\dark\black-nearest-neighbor.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="white_bilinear" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\resources\imgs\light\white-bilinear.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="white_filtering" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\resources\imgs\light\white-filtering.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="white_nearest_neighbor" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\resources\imgs\light\white-nearest-neighbor.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>
12 changes: 12 additions & 0 deletions quick-picture-viewer/bin/Debug/languages/lang_cn.resx
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,18 @@
<value>填充</value>
<comment>Wallpaper</comment>
</data>
<data name="filtering" xml:space="preserve">
<value>过滤</value>
<comment>Menu</comment>
</data>
<data name="bilinear" xml:space="preserve">
<value>双线性</value>
<comment>Menu</comment>
</data>
<data name="nearest-neighbor" xml:space="preserve">
<value>最近邻</value>
<comment>Menu</comment>
</data>
<data name="fit" xml:space="preserve">
<value>适应</value>
<comment>Wallpaper</comment>
Expand Down
40 changes: 26 additions & 14 deletions quick-picture-viewer/bin/Debug/languages/lang_de.resx
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
<comment>Status bar, zoom text field</comment>
</data>
<data name="auto-size" xml:space="preserve">
<value>Automatische Grösse</value>
<value>Automatische Größe</value>
<comment>SVG options</comment>
</data>
<data name="auto-zoom" xml:space="preserve">
Expand Down Expand Up @@ -198,7 +198,7 @@
<comment>Picture in picture</comment>
</data>
<data name="check-for-app-updates" xml:space="preserve">
<value>Überprüfe nach App-Updates</value>
<value>Suche nach App-Updates</value>
<comment>Settings</comment>
</data>
<data name="checkboard-background" xml:space="preserve">
Expand Down Expand Up @@ -356,6 +356,18 @@
<data name="fill" xml:space="preserve">
<value>Ausfüllen</value>
<comment>Wallpaper</comment>
</data>
<data name="filtering" xml:space="preserve">
<value>Filterung</value>
<comment>Menu</comment>
</data>
<data name="bilinear" xml:space="preserve">
<value>Bilinear</value>
<comment>Menu</comment>
</data>
<data name="nearest-neighbor" xml:space="preserve">
<value>Nächster Nachbar</value>
<comment>Menu</comment>
</data>
<data name="fit" xml:space="preserve">
<value>Passend</value>
Expand Down Expand Up @@ -454,7 +466,7 @@
<comment>Settings</comment>
</data>
<data name="localization" xml:space="preserve">
<value>Lokalisierung</value>
<value>Sprache</value>
<comment>Settings</comment>
</data>
<data name="maintain-aspect-ratio" xml:space="preserve">
Expand Down Expand Up @@ -642,7 +654,7 @@
<comment>Suggestion</comment>
</data>
<data name="prev-image" xml:space="preserve">
<value>Vorheriges Bild in Verzeichnis</value>
<value>Vorheriges Bild im Verzeichnis</value>
<comment>Menu</comment>
</data>
<data name="print" xml:space="preserve">
Expand All @@ -654,11 +666,11 @@
<comment>Print</comment>
</data>
<data name="print-margins-error" xml:space="preserve">
<value>Dokumentenränder können nicht eingestellt werden</value>
<value>Dokumentränder können nicht eingestellt werden</value>
<comment>Print</comment>
</data>
<data name="print-size" xml:space="preserve">
<value>Druck-Grösse</value>
<value>Druck-Größe</value>
<comment>Image info</comment>
</data>
<data name="ready-to-install" xml:space="preserve">
Expand All @@ -674,7 +686,7 @@
<comment>Plugin manager</comment>
</data>
<data name="resize-svg" xml:space="preserve">
<value>Größe der SVG ändern </value>
<value>Größe der SVG ändern</value>
<comment>SVG options</comment>
</data>
<data name="resolution" xml:space="preserve">
Expand Down Expand Up @@ -730,7 +742,7 @@
<comment>Settings</comment>
</data>
<data name="select-all" xml:space="preserve">
<value>Wählen Sie Alle</value>
<value>Alle auswählen</value>
<comment>RMB menu</comment>
</data>
<data name="selection-tool" xml:space="preserve">
Expand Down Expand Up @@ -778,7 +790,7 @@
<comment>RMB menu</comment>
</data>
<data name="size" xml:space="preserve">
<value>Grösse</value>
<value>Größe</value>
<comment>Status bar</comment>
</data>
<data name="skip-this-version" xml:space="preserve">
Expand All @@ -798,7 +810,7 @@
<comment>Image info</comment>
</data>
<data name="startup" xml:space="preserve">
<value>Startup/Inbetriebnahme</value>
<value>Startverhalten</value>
<comment>Settings</comment>
</data>
<data name="stretch" xml:space="preserve">
Expand All @@ -814,7 +826,7 @@
<comment>Message box</comment>
</data>
<data name="switching-time" xml:space="preserve">
<value>Die Schaltdauer beträgt</value>
<value>Die Umschaltdauer beträgt</value>
<comment>Settings</comment>
</data>
<data name="theme" xml:space="preserve">
Expand Down Expand Up @@ -866,7 +878,7 @@
<comment>Main window</comment>
</data>
<data name="unsaved-changes-question" xml:space="preserve">
<value>Das aktuelle Bild hat nicht gespeicherte Änderungen. Was würden Sie gerne tun?</value>
<value>Das aktuelle Bild hat nicht gespeicherte Änderungen. Was möchten Sie tun?</value>
<comment>Main window</comment>
</data>
<data name="unsupported-pixel-format" xml:space="preserve">
Expand Down Expand Up @@ -914,15 +926,15 @@
<comment>Status bar</comment>
</data>
<data name="zoom-in" xml:space="preserve">
<value>Bild vergrößern/Heranzoomen</value>
<value>Bild vergrößern</value>
<comment>Menu</comment>
</data>
<data name="zoom-in-out" xml:space="preserve">
<value>Bild vergrößern/verkleinern</value>
<comment>Settings</comment>
</data>
<data name="zoom-out" xml:space="preserve">
<value>Bild verkleinern/Hinauszoomen</value>
<value>Bild verkleinern</value>
<comment>Menu</comment>
</data>
<data name="zoom-to-actual-size" xml:space="preserve">
Expand Down
12 changes: 12 additions & 0 deletions quick-picture-viewer/bin/Debug/languages/lang_en.resx
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,18 @@
<value>Fill</value>
<comment>Wallpaper</comment>
</data>
<data name="filtering" xml:space="preserve">
<value>Filtering</value>
<comment>Menu</comment>
</data>
<data name="bilinear" xml:space="preserve">
<value>Bilinear</value>
<comment>Menu</comment>
</data>
<data name="nearest-neighbor" xml:space="preserve">
<value>Nearest Neighbor</value>
<comment>Menu</comment>
</data>
<data name="fit" xml:space="preserve">
<value>Fit</value>
<comment>Wallpaper</comment>
Expand Down
12 changes: 12 additions & 0 deletions quick-picture-viewer/bin/Debug/languages/lang_es.resx
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,18 @@
<value>Rellenar</value>
<comment>Wallpaper</comment>
</data>
<data name="filtering" xml:space="preserve">
<value>Filtrado</value>
<comment>Menu</comment>
</data>
<data name="bilinear" xml:space="preserve">
<value>Bilineal</value>
<comment>Menu</comment>
</data>
<data name="nearest-neighbor" xml:space="preserve">
<value>Vecino más cercano</value>
<comment>Menu</comment>
</data>
<data name="fit" xml:space="preserve">
<value>Ajustar</value>
<comment>Wallpaper</comment>
Expand Down
12 changes: 12 additions & 0 deletions quick-picture-viewer/bin/Debug/languages/lang_fr.resx
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,18 @@
<value>Remplir</value>
<comment>Wallpaper</comment>
</data>
<data name="filtering" xml:space="preserve">
<value>Filtrage</value>
<comment>Menu</comment>
</data>
<data name="bilinear" xml:space="preserve">
<value>Bilinéaire</value>
<comment>Menu</comment>
</data>
<data name="nearest-neighbor" xml:space="preserve">
<value>Plus proche voisin</value>
<comment>Menu</comment>
</data>
<data name="fit" xml:space="preserve">
<value>Ajuster</value>
<comment>Wallpaper</comment>
Expand Down
12 changes: 12 additions & 0 deletions quick-picture-viewer/bin/Debug/languages/lang_hr.resx
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,18 @@
<value>Ispuni</value>
<comment>Wallpaper</comment>
</data>
<data name="filtering" xml:space="preserve">
<value>Filtriranje</value>
<comment>Menu</comment>
</data>
<data name="bilinear" xml:space="preserve">
<value>Bilinearno</value>
<comment>Menu</comment>
</data>
<data name="nearest-neighbor" xml:space="preserve">
<value>Najbliži susjed</value>
<comment>Menu</comment>
</data>
<data name="fit" xml:space="preserve">
<value>Prilagodi veličinu</value>
<comment>Wallpaper</comment>
Expand Down
12 changes: 12 additions & 0 deletions quick-picture-viewer/bin/Debug/languages/lang_hu.resx
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,18 @@
<value>Kitöltés</value>
<comment>Wallpaper</comment>
</data>
<data name="filtering" xml:space="preserve">
<value>Szűrés</value>
<comment>Menu</comment>
</data>
<data name="bilinear" xml:space="preserve">
<value>Bilineáris</value>
<comment>Menu</comment>
</data>
<data name="nearest-neighbor" xml:space="preserve">
<value>Legközelebbi szomszéd</value>
<comment>Menu</comment>
</data>
<data name="fit" xml:space="preserve">
<value>Illesztés</value>
<comment>Wallpaper</comment>
Expand Down
Loading