Skip to content

Commit

Permalink
Effects > Stylize > Palettize: many new features
Browse files Browse the repository at this point in the history
(Note: this effect was formerly the Image > Indexed color... menu, but
as explained in a previous commit, it no longer makes sense there.)

- Dithering is now supported across all adaptive quantization methods.
11 different options, including both ordered (fixed) and error-diffusion
methods are available.
- An option to precisely preserve white and black in the final palette
is now available.  Note that white and/or black are only preserved if
they exist in the original image.  (Otherwise, we'd be wasting palette
entries on them.)
- Reduced color bleed is now an available option.
- Minor bugfixes to the pdMedianCut class.
  • Loading branch information
tannerhelland committed Jan 17, 2017
1 parent 5929ed6 commit 4643291
Show file tree
Hide file tree
Showing 30 changed files with 2,699 additions and 2,214 deletions.
179 changes: 85 additions & 94 deletions App/PhotoDemon/Languages/Croatian.xml
Expand Up @@ -6,7 +6,7 @@

<langid>hr-HR</langid>
<langname>Croatian</langname>
<langversion>6.8.2196</langversion>
<langversion>6.8.2197</langversion>
<langstatus>raw machine translation</langstatus>

<author>Google Translator</author>
Expand Down Expand Up @@ -4751,11 +4751,6 @@ or the File > Open and File > Import menus.</original>
<translation>Flip vertikalna</translation>
</phrase>

<phrase>
<original>Indexed color</original>
<translation>indeksirana u boji</translation>
</phrase>

<phrase>
<original>Metadata</original>
<translation>Metapodaci</translation>
Expand Down Expand Up @@ -5566,6 +5561,11 @@ or the File > Open and File > Import menus.</original>
<translation>obris</translation>
</phrase>

<phrase>
<original>Palettize</original>
<translation></translation>
</phrase>

<phrase>
<original>Portrait glow</original>
<translation>Portret sjaj</translation>
Expand Down Expand Up @@ -6263,11 +6263,6 @@ Do imate GitHub račun? (Ako nemate pojma što to znači, odgovor "ne".)</transl
<translation>Okreni sliku okomito</translation>
</phrase>

<phrase>
<original>Reduce colors</original>
<translation>Smanjiti boje</translation>
</phrase>

<phrase>
<original>Internet import</original>
<translation>Internet uvoz</translation>
Expand Down Expand Up @@ -6408,7 +6403,7 @@ Do imate GitHub račun? (Ako nemate pojma što to znači, odgovor "ne".)</transl
<translation>Uklonite alfa kanal</translation>
</phrase>

<!-- MainWindow.frm contains 567 phrases. 187 were duplicates of existing phrases, so only 380 new phrases were written to file. -->
<!-- MainWindow.frm contains 567 phrases. 188 were duplicates of existing phrases, so only 379 new phrases were written to file. -->

<!-- END text for MainWindow.frm-->

Expand Down Expand Up @@ -10139,6 +10134,77 @@ If želite ga spremiti sa drugim imenom datoteke, odaberite "Cancel", zatim pomo

<!-- END text for Effects_Stylize_Outline.frm-->

<!-- BEGIN text for Effects_Stylize_Palettize.frm (FormPalettize) -->

<phrase>
<original>dithering</original>
<translation></translation>
</phrase>

<phrase>
<original>reduce color bleed</original>
<translation></translation>
</phrase>

<phrase>
<original>palette size</original>
<translation>veličina paleta</translation>
</phrase>

<phrase>
<original>quantization method</original>
<translation>Postupak kvantizacije</translation>
</phrase>

<phrase>
<original>preserve white and black</original>
<translation></translation>
</phrase>

<phrase>
<original>alpha cut-off</original>
<translation>alfa cut-off</translation>
</phrase>

<phrase>
<original>median cut</original>
<translation></translation>
</phrase>

<phrase>
<original>Xiaolin Wu</original>
<translation>Xiaolin Wu</translation>
</phrase>

<phrase>
<original>NeuQuant</original>
<translation></translation>
</phrase>

<phrase>
<original>full</original>
<translation>puni</translation>
</phrase>

<phrase>
<original>binary</original>
<translation>binarni</translation>
</phrase>

<phrase>
<original>Generating optimal palette</original>
<translation></translation>
</phrase>

<phrase>
<original>Applying new palette to image</original>
<translation></translation>
</phrase>

<!-- Effects_Stylize_Palettize.frm contains 35 phrases. 22 were duplicates of existing phrases, so only 13 new phrases were written to file. -->

<!-- END text for Effects_Stylize_Palettize.frm-->

<!-- BEGIN text for Effects_Stylize_PortraitGlow.frm (FormPortraitGlow) -->

<phrase>
Expand Down Expand Up @@ -11671,11 +11737,6 @@ I Iskreno se ispričavamo zbog neugodnosti, ali na žalost ne postoji ništa %2
<translation>GIF opcije izvoza</translation>
</phrase>

<phrase>
<original>alpha cut-off</original>
<translation>alfa cut-off</translation>
</phrase>

<phrase>
<original>transparent color (right-click image to select)</original>
<translation>prozirna boja (desni klik na sliku za odabir)</translation>
Expand All @@ -11696,7 +11757,7 @@ I Iskreno se ispričavamo zbog neugodnosti, ali na žalost ne postoji ništa %2
<translation>po boji</translation>
</phrase>

<!-- File_Save_GIF.frm contains 19 phrases. 13 were duplicates of existing phrases, so only 6 new phrases were written to file. -->
<!-- File_Save_GIF.frm contains 19 phrases. 14 were duplicates of existing phrases, so only 5 new phrases were written to file. -->

<!-- END text for File_Save_GIF.frm-->

Expand Down Expand Up @@ -11900,17 +11961,12 @@ I Iskreno se ispričavamo zbog neugodnosti, ali na žalost ne postoji ništa %2
<translation>floating-point</translation>
</phrase>

<phrase>
<original>binary</original>
<translation>binarni</translation>
</phrase>

<phrase>
<original>ASCII</original>
<translation>ASCII</translation>
</phrase>

<!-- File_Save_Pixmap.frm contains 17 phrases. 11 were duplicates of existing phrases, so only 6 new phrases were written to file. -->
<!-- File_Save_Pixmap.frm contains 17 phrases. 12 were duplicates of existing phrases, so only 5 new phrases were written to file. -->

<!-- END text for File_Save_Pixmap.frm-->

Expand Down Expand Up @@ -11951,11 +12007,6 @@ I Iskreno se ispričavamo zbog neugodnosti, ali na žalost ne postoji ništa %2
<translation>bez gubitaka veličina datoteke optimizacija (OptiPNG)</translation>
</phrase>

<phrase>
<original>palette size</original>
<translation>veličina paleta</translation>
</phrase>

<phrase>
<original>click to generate a new preview image</original>
<translation>kliknite za generiranje novog pregled slike</translation>
Expand Down Expand Up @@ -12016,11 +12067,6 @@ I Iskreno se ispričavamo zbog neugodnosti, ali na žalost ne postoji ništa %2
<translation>indeksirano</translation>
</phrase>

<phrase>
<original>full</original>
<translation>puni</translation>
</phrase>

<phrase>
<original>binary (by cut-off)</original>
<translation>binarni (za cut-off)</translation>
Expand All @@ -12041,7 +12087,7 @@ I Iskreno se ispričavamo zbog neugodnosti, ali na žalost ne postoji ništa %2
<translation>Ove gubljenje postavke za optimizaciju smanjila veličina datoteke %1.</translation>
</phrase>

<!-- File_Save_PNG.frm contains 62 phrases. 37 were duplicates of existing phrases, so only 25 new phrases were written to file. -->
<!-- File_Save_PNG.frm contains 62 phrases. 39 were duplicates of existing phrases, so only 23 new phrases were written to file. -->

<!-- END text for File_Save_PNG.frm-->

Expand Down Expand Up @@ -12210,61 +12256,6 @@ I Iskreno se ispričavamo zbog neugodnosti, ali na žalost ne postoji ništa %2

<!-- END text for Image_ContentAwareResize.frm-->

<!-- BEGIN text for Image_IndexedColor.frm (FormReduceColors) -->

<phrase>
<original>quantization method</original>
<translation>Postupak kvantizacije</translation>
</phrase>

<phrase>
<original>Xiaolin Wu</original>
<translation>Xiaolin Wu</translation>
</phrase>

<phrase>
<original>NeuQuant neural network</original>
<translation>NeuQuant neuronska mreža</translation>
</phrase>

<phrase>
<original>The FreeImage plugin is missing. Please install it if you wish to use this tool.</original>
<translation>Dodatak Free Image nedostaje. Molimo ga instalirajte, ako želite koristiti ovaj alat.</translation>
</phrase>

<phrase>
<original>Note: this operation will flatten the image before converting it to indexed color mode.</original>
<translation>Napomena: Ova operacija će poravnati sliku prije pretvaranja u indeksirane način boja.</translation>
</phrase>

<phrase>
<original>Flattening image</original>
<translation>ravnanje slika</translation>
</phrase>

<phrase>
<original>Indexing colors</original>
<translation>indeksiranje boje</translation>
</phrase>

<phrase>
<original>Image successfully quantized to %1 unique colors.</original>
<translation>Slika je uspješno kvantiziranim na %1 jedinstvenim bojama.</translation>
</phrase>

<phrase>
<original>The FreeImage interface plug-in (FreeImage.dll) was marked as missing or disabled upon program initialization.

To enable support for this feature, please copy the FreeImage.dll file into the plug-in directory and reload the program.</original>
<translation> FreeImage sučelje plug-in (FreeImage.dll) je označena kao nestalo ili onemogućena po programu initialization.

To omogućiti podršku za ovu značajku, molimo kopirajte FreeImage.dll podnijeti u plug-in katalog i ponovno učitati program.</translation>
</phrase>

<!-- Image_IndexedColor.frm contains 21 phrases. 12 were duplicates of existing phrases, so only 9 new phrases were written to file. -->

<!-- END text for Image_IndexedColor.frm-->

<!-- BEGIN text for Image_Metadata.frm (FormMetadata) -->

<phrase>
Expand Down Expand Up @@ -14903,10 +14894,10 @@ If dalje onemogućite ažuriranja, ne zaboravite posjetiti photodemon.org s vrem

<!-- Automatic text extraction complete. -->

<phrasecount>2509</phrasecount>
<phrasecount>2508</phrasecount>

<!-- As of this build, PhotoDemon contains 4452 phrases. -->
<!-- 1943 are duplicates, so only 2509 unique phrases have been written to file. -->
<!-- These 2509 phrases contain approximately 12448 total words. -->
<!-- As of this build, PhotoDemon contains 4466 phrases. -->
<!-- 1958 are duplicates, so only 2508 unique phrases have been written to file. -->
<!-- These 2508 phrases contain approximately 12390 total words. -->

</pdData>

0 comments on commit 4643291

Please sign in to comment.