diff options
141 files changed, 26456 insertions, 8258 deletions
diff --git a/ICM.TODO b/ICM.TODO new file mode 100644 index 0000000..70b4c6d --- /dev/null +++ b/ICM.TODO @@ -0,0 +1,7 @@ +- convert image to sRGB and other colorspaces while saving: email, multipage +- append ICC/ICM profile to email, multipage +- add CMS preview options to preview or xsane main window for preview image +- add support for 16bits/sample PDF files +- reduce to 8 bits/sample after color conversion for all image formats +- add support for grayscale postscript files + @@ -846,6 +846,7 @@ Optional Features: --disable-jpeg do not include JPEG support --disable-png do not include PNG support --disable-tiff do not include TIFF support + --disable-lcms do not include LCMS support --disable-nls do not use Native Language Support --disable-sanetest Do not try to compile and run a test SANE program --disable-gimptest do not try to compile and run a test GIMP program @@ -1321,14 +1322,14 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu # version code: V_MAJOR=0 -V_MINOR=991 +V_MINOR=993 PACKAGE=xsane BINPROGS="xsane" # languages -ALL_LINGUAS="cs da de es fr hu it ja nl pl pt pt_BR ro ru sk sl sr sv vi tr zh" +ALL_LINGUAS="ca cs da de es fr hu it ja nl pl pt pt_BR ro ru sk sl sr sv vi tr zh zh_CN" SANE_V_MAJOR=1 VERSION=${V_MAJOR}.${V_MINOR} @@ -1433,6 +1434,18 @@ fi; echo "$as_me:$LINENO: result: $USE_TIFF" >&5 echo "${ECHO_T}$USE_TIFF" >&6 +echo "$as_me:$LINENO: checking whether LCMS (color management) support is requested" >&5 +echo $ECHO_N "checking whether LCMS (color management) support is requested... $ECHO_C" >&6 +# Check whether --enable-lcms or --disable-lcms was given. +if test "${enable_lcms+set}" = set; then + enableval="$enable_lcms" + USE_LCMS=$enableval +else + USE_LCMS=yes +fi; +echo "$as_me:$LINENO: result: $USE_LCMS" >&5 +echo "${ECHO_T}$USE_LCMS" >&6 + echo "" echo "**************************************************************************" echo "" @@ -5790,6 +5803,83 @@ fi fi +if test "${USE_LCMS}" = "yes"; then + +echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5 +echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6 +if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-llcms $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char cmsOpenProfileFromFile (); +int +main () +{ +cmsOpenProfileFromFile (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_lib_lcms_cmsOpenProfileFromFile=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_lcms_cmsOpenProfileFromFile=no +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5 +echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6 +if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBLCMS 1 +_ACEOF + + LIBS="-llcms $LIBS" + +fi + +fi + # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works # for constant arguments. Useless! echo "$as_me:$LINENO: checking for working alloca.h" >&5 @@ -12507,6 +12597,12 @@ else echo "* - PNG support deactivated *" fi +if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile}" = "yes"; then + echo "* - LCMS (color management) support activated *" +else + echo "* - LCMS (color management) support deactivated *" +fi + echo "* *" echo "****************************************************************" echo "* *" diff --git a/configure.in b/configure.in index f942795..622cc70 100644 --- a/configure.in +++ b/configure.in @@ -6,14 +6,14 @@ AC_CONFIG_HEADER(include/config.h) # version code: V_MAJOR=0 -V_MINOR=991 +V_MINOR=993 PACKAGE=xsane BINPROGS="xsane" # languages -ALL_LINGUAS="cs da de es fr hu it ja nl pl pt pt_BR ro ru sk sl sr sv vi tr zh" +ALL_LINGUAS="ca cs da de es fr hu it ja nl pl pt pt_BR ro ru sk sl sr sv vi tr zh zh_CN" SANE_V_MAJOR=1 VERSION=${V_MAJOR}.${V_MINOR} @@ -68,6 +68,12 @@ dnl Default is enabled TIFF AC_ARG_ENABLE(tiff, [ --disable-tiff do not include TIFF support], USE_TIFF=$enableval, USE_TIFF=yes) AC_MSG_RESULT($USE_TIFF) +dnl Check for lcms support +AC_MSG_CHECKING([whether LCMS (color management) support is requested]) +dnl Default is enabled LCMS +AC_ARG_ENABLE(lcms, [ --disable-lcms do not include LCMS support], USE_LCMS=$enableval, USE_LCMS=yes) +AC_MSG_RESULT($USE_LCMS) + echo "" echo "**************************************************************************" echo "" @@ -123,6 +129,10 @@ if test "${USE_TIFF}" = "yes"; then AC_CHECK_LIB(tiff, TIFFOpen) fi +if test "${USE_LCMS}" = "yes"; then + AC_CHECK_LIB(lcms, cmsOpenProfileFromFile) +fi + dnl Checks for library functions. AC_FUNC_ALLOCA AC_FUNC_MMAP @@ -284,6 +294,12 @@ else echo "* - PNG support deactivated *" fi +if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile}" = "yes"; then + echo "* - LCMS (color management) support activated *" +else + echo "* - LCMS (color management) support deactivated *" +fi + echo "* *" echo "****************************************************************" echo "* *" diff --git a/doc/sane-xsane-advanced-doc.html b/doc/sane-xsane-advanced-doc.html index 3d5d56e..9a48bdd 100644 --- a/doc/sane-xsane-advanced-doc.html +++ b/doc/sane-xsane-advanced-doc.html @@ -51,6 +51,9 @@ <a href="sane-xsane-medium-definition-doc.html">Medium selection</a> <br> <br> +<a href="sane-xsane-color-management-doc.html">Color management</a> +<br> +<br> <a href="sane-xsane-color-correction-doc.html">Color correction:</a> <ul> <li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li> @@ -115,6 +118,7 @@ <li><a href="sane-xsane-setup-filetype-doc.html">Filetype setup</a></li> <li><a href="sane-xsane-setup-email-doc.html">E-mail setup</a></li> <li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li> +<li><a href="sane-xsane-setup-color-management-doc.html">Color management setup</a></li> </ul> </td> diff --git a/doc/sane-xsane-batch-scan-doc.html b/doc/sane-xsane-batch-scan-doc.html index eedd528..50490be 100644 --- a/doc/sane-xsane-batch-scan-doc.html +++ b/doc/sane-xsane-batch-scan-doc.html @@ -51,6 +51,9 @@ <a href="sane-xsane-medium-definition-doc.html">Medium selection</a> <br> <br> +<a href="sane-xsane-color-management-doc.html">Color management</a> +<br> +<br> <a href="sane-xsane-color-correction-doc.html">Color correction:</a> <ul> <li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li> @@ -115,6 +118,7 @@ <li><a href="sane-xsane-setup-filetype-doc.html">Filetype setup</a></li> <li><a href="sane-xsane-setup-email-doc.html">E-mail setup</a></li> <li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li> +<li><a href="sane-xsane-setup-color-management-doc.html">Color management setup</a></li> </ul> </td> diff --git a/doc/sane-xsane-color-correction-doc.html b/doc/sane-xsane-color-correction-doc.html index dca9144..f5b7567 100644 --- a/doc/sane-xsane-color-correction-doc.html +++ b/doc/sane-xsane-color-correction-doc.html @@ -51,6 +51,9 @@ <a href="sane-xsane-medium-definition-doc.html">Medium selection</a> <br> <br> +<a href="sane-xsane-color-management-doc.html">Color management</a> +<br> +<br> <a href="sane-xsane-color-correction-doc.html">Color correction:</a> <ul> <li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li> @@ -115,6 +118,7 @@ <li><a href="sane-xsane-setup-filetype-doc.html">Filetype setup</a></li> <li><a href="sane-xsane-setup-email-doc.html">E-mail setup</a></li> <li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li> +<li><a href="sane-xsane-setup-color-management-doc.html">Color management setup</a></li> </ul> </td> diff --git a/doc/sane-xsane-color-management-doc.html b/doc/sane-xsane-color-management-doc.html new file mode 100644 index 0000000..c18f61a --- /dev/null +++ b/doc/sane-xsane-color-management-doc.html @@ -0,0 +1,253 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="GENERATOR" content="Mozilla/4.74 [en] (X11; U; Linux 2.2.18 i686) [Netscape]"> + <meta name="Author" content="Oliver Rauch"> + <meta name="Description" content="scan, photocopy and fax frontend for SANE"> + <title>XSane - Color management</title> +</head> +<body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#51188E" alink="#FF0000"> + + +<table> +<tr> +<td width=200> +<img SRC="xsane-logo.jpg" alt="XSane-logo" hspace=30 align=TOP> +</td> +<td> +<blockquote> +<h1><u><font color="#009900">Color management</font></u></h1> +</blockquote> +</td> +</tr> +</table> + + +<hr WIDTH="100%"> + +<table> +<tr> +<td valign=TOP width="200" bgcolor="#E0E0BA"> +<br> +<a href="sane-xsane-doc.html">Index</a> +<br> +<br> +<font color="#000000">XSane mode:</font> +<img SRC="xsane-target.jpg" alt="xsane-target"> +<ul> +<li><a href="sane-xsane-viewer-doc.html">Viewer mode</a></li> +<li><a href="sane-xsane-save-doc.html">Save mode</a></li> +<li><a href="sane-xsane-copy-doc.html">Copy mode</a></li> +<li><a href="sane-xsane-multipage-doc.html">Multipage mode</a></li> +<li><a href="sane-xsane-fax-doc.html">Fax mode</a></li> +<li><a href="sane-xsane-email-doc.html">E-mail mode</a></li> +<li><a href="sane-xsane-gimp-doc.html">Gimp plugin</a></li> +</ul> +<br> +<a href="sane-xsane-scan-options-doc.html">Scan options</a> +<br> +<br> +<a href="sane-xsane-medium-definition-doc.html">Medium selection</a> +<br> +<br> +<a href="sane-xsane-color-management-doc.html">Color management</a> +<br> +<br> +<a href="sane-xsane-color-correction-doc.html">Color correction:</a> +<ul> +<li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li> +<li><a href="sane-xsane-color-correction-doc.html#BRIGHTNESS">Brightness</a></li> +<li><a href="sane-xsane-color-correction-doc.html#CONTRAST">Contrast</a></li> +<li><a href="sane-xsane-color-correction-doc.html#THRESHOLD">Threshold</a></li> +<li><a href="sane-xsane-color-correction-doc.html#RGB_DEFAULT">RGB default</a></li> +<li><a href="sane-xsane-color-correction-doc.html#NEGATIVE">Negative</a></li> +<li><a href="sane-xsane-color-correction-doc.html#AUTOENHANCEMENT">Autoenhancement</a></li> +<li><a href="sane-xsane-color-correction-doc.html#ENHANCEMENT_DEFAULT">Default</a></li> +<li><a href="sane-xsane-color-correction-doc.html#RESTORE_ENHANCEMENT">Restore</a></li> +<li><a href="sane-xsane-color-correction-doc.html#STORE_ENHANCEMENT">Store</a></li> +<li><a href="sane-xsane-histogram-doc.html">Histogram window</a></li> +<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette functions</a></li> +</ul> +<br> +<a href="sane-xsane-standard-doc.html">Standard options window</a> +<br> +<br> +<a href="sane-xsane-advanced-doc.html">Advanced options window</a> +<br> +<br> +<a href="sane-xsane-preview-doc.html">Preview:</a> +<ul> +<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette white</a></li> +<li><a href="sane-xsane-preview-doc.html#PIPETTE_GRAY">Pipette gray</a></li> +<li><a href="sane-xsane-preview-doc.html#PIPETTE_BLACK">Pipette black</a></li> +<li><a href="sane-xsane-preview-doc.html#UNZOOM">Unzoom</a></li> +<li><a href="sane-xsane-preview-doc.html#ZOOM_OUT">Zoom out</a></li> +<li><a href="sane-xsane-preview-doc.html#ZOOM_IN">Zoom in</a></li> +<li><a href="sane-xsane-preview-doc.html#UNDO_ZOOM">Undo zoom</a></li> +<li><a href="sane-xsane-preview-doc.html#AUTOSELECT">Autoselect scanarea</a></li> +<li><a href="sane-xsane-preview-doc.html#AUTORAISE">Autoraise scanarea</a></li> +<li><a href="sane-xsane-preview-doc.html#SELECT_VISIBLE_AREA">Select visible area</a></li> +<li><a href="sane-xsane-preview-doc.html#DELETE_PREVIEW_CACHE">Delete preview cache</a></li> +<li><a href="sane-xsane-preview-doc.html#PRESET_AREA">Preset area</a></li> +<li><a href="sane-xsane-preview-doc.html#ROTATION">Rotation</a></li> +<li><a href="sane-xsane-preview-doc.html#ASPECT_RATIO">Aspect ratio</a></li> +<li><a href="sane-xsane-preview-doc.html#RGB_VALUES">RGB values</a></li> +<li><a href="sane-xsane-preview-doc.html#SELECT_SCAN_AREA">Select scanarea</a></li> +<li><a href="sane-xsane-preview-doc.html#MOVE_SCAN_AREA">Move scanarea</a></li> +</ul> +<br> +<a href="sane-xsane-batch-scan-doc.html">Batch scan:</a> +<ul> +<li><a href="sane-xsane-batch-scan-doc.html#BATCH_SCAN_EMPTY">Empty batch list</a></li> +<li><a href="sane-xsane-batch-scan-doc.html#BATCH_SCAN_OPEN">Open batch list</a></li> +<li><a href="sane-xsane-batch-scan-doc.html#BATCH_SCAN_SAVE">Save batch list</a></li> +<li><a href="sane-xsane-batch-scan-doc.html#BATCH_SCAN_ADD">Add area to list</a></li> +<li><a href="sane-xsane-batch-scan-doc.html#BATCH_SCAN_DELETE">Remove selection</a></li> +<li><a href="sane-xsane-batch-scan-doc.html#BATCH_SCAN_RENAME">Rename selection</a></li> +<li><a href="sane-xsane-batch-scan-doc.html#BATCH_SCAN_ROTATE">Rotate image</a></li> +<li><a href="sane-xsane-batch-scan-doc.html#BATCH_SCAN_MIRROR">Mirror image</a></li> +</ul> +<br> +<font color="#000000">Setup:</font> +<ul> +<li><a href="sane-xsane-setup-copy-doc.html">Copy setup</a></li> +<li><a href="sane-xsane-setup-display-doc.html">Display setup</a></li> +<li><a href="sane-xsane-setup-enhancement-doc.html">Enhancement setup</a></li> +<li><a href="sane-xsane-setup-fax-doc.html">Fax setup</a></li> +<li><a href="sane-xsane-setup-filetype-doc.html">Filetype setup</a></li> +<li><a href="sane-xsane-setup-email-doc.html">E-mail setup</a></li> +<li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li> +<li><a href="sane-xsane-setup-color-management-doc.html">Color management setup</a></li> +</ul> +</td> + + + +<td VALIGN=TOP BGCOLOR="#FFFFFF"> +<br> +<center><img SRC="xsane-color-management-main-window.jpg" + alt="XSane-main-window-with-color-management"></center> +<br> +<br> +<blockquote> +When you scan an image with color management disabled then you often get an image that does not look very good. +The colors do not look natural, the contrast is bad, the image is too dark etc. + +The reason for this is that each device interprets a color e.g. represented by a red, green and blue value in +its own way. +<p> +When you want a display or a printer to produce an image with the colors of a photo that you want to scan with a scanner +then you need to tell your system how each device interprets colors. This is done with ICC/ICM profiles. +When you have at least an ICC/ICM profile for your scanner and for your display then you can enable the color management of XSane. +Please make sure that you filled out the +<a href="sane-xsane-setup-color-management-doc.html">color management setup</a> +correct before you enable it, otherwise you will get a lot of error messages. +<br> +<br> +<br> +<a NAME="ENABLE_CMS"></a><b>Enable color management:</b><br> + +<img SRC="xsane-enable-color-management.jpg" alt="enable-color-management"> + +<blockquote> +To enable the color management activate it in the <i>Preferences</i> menu. +When you do this then the gamma, contrast and brightness options are disabled. +</blockquote> + +<a NAME="CMS_FUNCTION"></a><b>Color management function:</b><br> + +<img SRC="xsane-cms-function.jpg" alt="cms-function"> +<blockquote> +There are three different functions available when color management is enabled: +<ul> + <li> + <a NAME="EMBED_ICM_PROFILE"></a><b>Embed scanner ICM profile</b> + <br> + The image is saved with the original image data, no color transformation is + done. The ICM profile is embedded to the image file. Programs that support + color management know how to correct the colors. + <br> + Advantages: + <ul> + <li>no loss of information</li> + </ul> + Disadvantages: + <ul> + <li>a lot of programs are not able to handle embedded profiles</li> + </ul> + Usage: + <ul> + <li>image archieve, image manipulation with all color corrections, + professional printing</li> + </ul> + <br> + When the selected file format does not support the embedded profiles then + the image is tranformed to sRGB. + <p> + </li> + + <li> + <a NAME="CONVERT_TO_SRGB"></a><b>Convert to sRGB</b> + <br> + The image is converted to sRGB, no ICM profile is embedded. + <br> + Advantages: + <ul> + <li>all programs can handle the color corrected image</li> + </ul> + Disadvantages: + <ul> + <li>sRGB does not cover all visible colors</li> + <li>when you do any further color correction then you lose color + information that can result in visible color steps</li> + </ul> + Usage: + <ul> + <li>web publication, office documents, image manipulation only when no color + correction is done, home and office printing</li> + </ul> + <p> + </li> + + <li> + <a NAME="CONVERT_TO_WORKING_COLOR_SPACE"></a><b>Convert to working color space</b> + <br> + The image is converted to the working color space you selected in the color + management setup. The ICM profile of the working color space is embedded + to the image file. + <br> + Advantages: + <ul> + <li>There are color spaces that do cover the visible colors better than sRGB + does</li> + </ul> + Disadvantages: + <ul> + <li>when you do any further color correction then you lose color + information that can result in visible color steps</li> + </ul> + Usage: + <ul> + <li>image archieve, image manipulation with (may be limited) color correction, + professional printing</li> + </ul> + <p> + </li> +</ul> +</blockquote> + +</blockquote> +</td> +</tr> +</table> + +<hr WIDTH="100%"> + +<blockquote> +Author: <a href="mailto:Oliver.Rauch@xsane.org">Oliver Rauch</a> +</blockquote> + +</body> +</html> + diff --git a/doc/sane-xsane-copy-doc.html b/doc/sane-xsane-copy-doc.html index 97b98e9..af79ee8 100644 --- a/doc/sane-xsane-copy-doc.html +++ b/doc/sane-xsane-copy-doc.html @@ -51,6 +51,9 @@ <a href="sane-xsane-medium-definition-doc.html">Medium selection</a> <br> <br> +<a href="sane-xsane-color-management-doc.html">Color management</a> +<br> +<br> <a href="sane-xsane-color-correction-doc.html">Color correction:</a> <ul> <li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li> @@ -115,6 +118,7 @@ <li><a href="sane-xsane-setup-filetype-doc.html">Filetype setup</a></li> <li><a href="sane-xsane-setup-email-doc.html">E-mail setup</a></li> <li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li> +<li><a href="sane-xsane-setup-color-management-doc.html">Color management setup</a></li> </ul> </td> diff --git a/doc/sane-xsane-doc.html b/doc/sane-xsane-doc.html index dd9f481..89b5d46 100644 --- a/doc/sane-xsane-doc.html +++ b/doc/sane-xsane-doc.html @@ -51,6 +51,9 @@ <a href="sane-xsane-medium-definition-doc.html">Medium selection</a> <br> <br> +<a href="sane-xsane-color-management-doc.html">Color management</a> +<br> +<br> <a href="sane-xsane-color-correction-doc.html">Color correction:</a> <ul> <li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li> @@ -112,9 +115,10 @@ <li><a href="sane-xsane-setup-display-doc.html">Display setup</a></li> <li><a href="sane-xsane-setup-enhancement-doc.html">Enhancement setup</a></li> <li><a href="sane-xsane-setup-fax-doc.html">Fax setup</a></li> -<li><a href="sane-xsane-setup-filetpye-doc.html">Filetype setup</a></li> +<li><a href="sane-xsane-setup-filetype-doc.html">Filetype setup</a></li> <li><a href="sane-xsane-setup-email-doc.html">E-mail setup</a></li> <li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li> +<li><a href="sane-xsane-setup-color-management-doc.html">Color management setup</a></li> </ul> </td> diff --git a/doc/sane-xsane-email-doc.html b/doc/sane-xsane-email-doc.html index 2441548..ccbb0fd 100644 --- a/doc/sane-xsane-email-doc.html +++ b/doc/sane-xsane-email-doc.html @@ -51,6 +51,9 @@ <a href="sane-xsane-medium-definition-doc.html">Medium selection</a> <br> <br> +<a href="sane-xsane-color-management-doc.html">Color management</a> +<br> +<br> <a href="sane-xsane-color-correction-doc.html">Color correction:</a> <ul> <li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li> @@ -115,6 +118,7 @@ <li><a href="sane-xsane-setup-filetype-doc.html">Filetype setup</a></li> <li><a href="sane-xsane-setup-email-doc.html">E-mail setup</a></li> <li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li> +<li><a href="sane-xsane-setup-color-management-doc.html">Color management setup</a></li> </ul> </td> diff --git a/doc/sane-xsane-empty-doc.html b/doc/sane-xsane-empty-doc.html index f651ba2..346c071 100644 --- a/doc/sane-xsane-empty-doc.html +++ b/doc/sane-xsane-empty-doc.html @@ -40,9 +40,14 @@ <li><a href="sane-xsane-gimp-doc.html">Gimp plugin</a></li> </ul> <br> +<a href="sane-xsane-scan-options-doc.html">Scan options</a> +<br> +<br> <a href="sane-xsane-medium-definition-doc.html">Medium selection</a> <br> <br> +<a href="sane-xsane-color-management-doc.html">Color management</a> +<br> <br> <a href="sane-xsane-color-correction-doc.html">Color correction:</a> <ul> @@ -110,6 +115,7 @@ <li><a href="sane-xsane-setup-filetype-doc.html">Filetype setup</a></li> <li><a href="sane-xsane-setup-email-doc.html">E-mail setup</a></li> <li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li> +<li><a href="sane-xsane-setup-color-management-doc.html">Color management setup</a></li> </ul> </td> diff --git a/doc/sane-xsane-fax-doc.html b/doc/sane-xsane-fax-doc.html index b91b85f..09d61af 100644 --- a/doc/sane-xsane-fax-doc.html +++ b/doc/sane-xsane-fax-doc.html @@ -51,6 +51,9 @@ <a href="sane-xsane-medium-definition-doc.html">Medium selection</a> <br> <br> +<a href="sane-xsane-color-management-doc.html">Color management</a> +<br> +<br> <a href="sane-xsane-color-correction-doc.html">Color correction:</a> <ul> <li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li> @@ -115,6 +118,7 @@ <li><a href="sane-xsane-setup-filetype-doc.html">Filetype setup</a></li> <li><a href="sane-xsane-setup-email-doc.html">E-mail setup</a></li> <li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li> +<li><a href="sane-xsane-setup-color-management-doc.html">Color management setup</a></li> </ul> </td> diff --git a/doc/sane-xsane-gimp-doc.html b/doc/sane-xsane-gimp-doc.html index babc3ac..aea7421 100644 --- a/doc/sane-xsane-gimp-doc.html +++ b/doc/sane-xsane-gimp-doc.html @@ -51,6 +51,9 @@ <a href="sane-xsane-medium-definition-doc.html">Medium selection</a> <br> <br> +<a href="sane-xsane-color-management-doc.html">Color management</a> +<br> +<br> <a href="sane-xsane-color-correction-doc.html">Color correction:</a> <ul> <li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li> @@ -115,6 +118,7 @@ <li><a href="sane-xsane-setup-filetype-doc.html">Filetype setup</a></li> <li><a href="sane-xsane-setup-email-doc.html">E-mail setup</a></li> <li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li> +<li><a href="sane-xsane-setup-color-management-doc.html">Color management setup</a></li> </ul> </td> diff --git a/doc/sane-xsane-guide-doc.html b/doc/sane-xsane-guide-doc.html index 3f20c1c..cabc04c 100644 --- a/doc/sane-xsane-guide-doc.html +++ b/doc/sane-xsane-guide-doc.html @@ -51,6 +51,9 @@ <a href="sane-xsane-medium-definition-doc.html">Medium selection</a> <br> <br> +<a href="sane-xsane-color-management-doc.html">Color management</a> +<br> +<br> <a href="sane-xsane-color-correction-doc.html">Color correction:</a> <ul> <li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li> @@ -115,6 +118,7 @@ <li><a href="sane-xsane-setup-filetype-doc.html">Filetype setup</a></li> <li><a href="sane-xsane-setup-email-doc.html">E-mail setup</a></li> <li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li> +<li><a href="sane-xsane-setup-color-management-doc.html">Color management setup</a></li> </ul> </td> diff --git a/doc/sane-xsane-histogram-doc.html b/doc/sane-xsane-histogram-doc.html index de0a333..556cd90 100644 --- a/doc/sane-xsane-histogram-doc.html +++ b/doc/sane-xsane-histogram-doc.html @@ -40,9 +40,15 @@ <li><a href="sane-xsane-gimp-doc.html">Gimp plugin</a></li> </ul> <br> +<a href="sane-xsane-scan-options-doc.html">Scan options</a> +<br> +<br> <a href="sane-xsane-medium-definition-doc.html">Medium selection</a> <br> <br> +<a href="sane-xsane-color-management-doc.html">Color management</a> +<br> +<br> <br> <a href="sane-xsane-color-correction-doc.html">Color correction:</a> <ul> @@ -110,6 +116,7 @@ <li><a href="sane-xsane-setup-filetype-doc.html">Filetype setup</a></li> <li><a href="sane-xsane-setup-email-doc.html">E-mail setup</a></li> <li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li> +<li><a href="sane-xsane-setup-color-management-doc.html">Color management setup</a></li> </ul> </td> diff --git a/doc/sane-xsane-medium-definition-doc.html b/doc/sane-xsane-medium-definition-doc.html index 2938169..62bc49b 100644 --- a/doc/sane-xsane-medium-definition-doc.html +++ b/doc/sane-xsane-medium-definition-doc.html @@ -51,6 +51,9 @@ <a href="sane-xsane-medium-definition-doc.html">Medium selection</a> <br> <br> +<a href="sane-xsane-color-management-doc.html">Color management</a> +<br> +<br> <a href="sane-xsane-color-correction-doc.html">Color correction:</a> <ul> <li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li> @@ -115,6 +118,7 @@ <li><a href="sane-xsane-setup-filetype-doc.html">Filetype setup</a></li> <li><a href="sane-xsane-setup-email-doc.html">E-mail setup</a></li> <li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li> +<li><a href="sane-xsane-setup-color-management-doc.html">Color management setup</a></li> </ul> </td> diff --git a/doc/sane-xsane-multipage-doc.html b/doc/sane-xsane-multipage-doc.html index 7cca205..774b597 100644 --- a/doc/sane-xsane-multipage-doc.html +++ b/doc/sane-xsane-multipage-doc.html @@ -51,6 +51,9 @@ <a href="sane-xsane-medium-definition-doc.html">Medium selection</a> <br> <br> +<a href="sane-xsane-color-management-doc.html">Color management</a> +<br> +<br> <a href="sane-xsane-color-correction-doc.html">Color correction:</a> <ul> <li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li> @@ -115,6 +118,7 @@ <li><a href="sane-xsane-setup-filetype-doc.html">Filetype setup</a></li> <li><a href="sane-xsane-setup-email-doc.html">E-mail setup</a></li> <li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li> +<li><a href="sane-xsane-setup-color-management-doc.html">Color management setup</a></li> </ul> </td> diff --git a/doc/sane-xsane-preview-doc.html b/doc/sane-xsane-preview-doc.html index 17dea20..e258208 100644 --- a/doc/sane-xsane-preview-doc.html +++ b/doc/sane-xsane-preview-doc.html @@ -51,6 +51,9 @@ <a href="sane-xsane-medium-definition-doc.html">Medium selection</a> <br> <br> +<a href="sane-xsane-color-management-doc.html">Color management</a> +<br> +<br> <a href="sane-xsane-color-correction-doc.html">Color correction:</a> <ul> <li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li> @@ -115,6 +118,7 @@ <li><a href="sane-xsane-setup-filetype-doc.html">Filetype setup</a></li> <li><a href="sane-xsane-setup-email-doc.html">E-mail setup</a></li> <li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li> +<li><a href="sane-xsane-setup-color-management-doc.html">Color management setup</a></li> </ul> </td> diff --git a/doc/sane-xsane-save-doc.html b/doc/sane-xsane-save-doc.html index 6673e25..661bb5e 100644 --- a/doc/sane-xsane-save-doc.html +++ b/doc/sane-xsane-save-doc.html @@ -51,6 +51,9 @@ <a href="sane-xsane-medium-definition-doc.html">Medium selection</a> <br> <br> +<a href="sane-xsane-color-management-doc.html">Color management</a> +<br> +<br> <a href="sane-xsane-color-correction-doc.html">Color correction:</a> <ul> <li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li> @@ -115,6 +118,7 @@ <li><a href="sane-xsane-setup-filetype-doc.html">Filetype setup</a></li> <li><a href="sane-xsane-setup-email-doc.html">E-mail setup</a></li> <li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li> +<li><a href="sane-xsane-setup-color-management-doc.html">Color management setup</a></li> </ul> </td> diff --git a/doc/sane-xsane-scan-options-doc.html b/doc/sane-xsane-scan-options-doc.html index 5858870..a8415f8 100644 --- a/doc/sane-xsane-scan-options-doc.html +++ b/doc/sane-xsane-scan-options-doc.html @@ -51,6 +51,9 @@ <a href="sane-xsane-medium-definition-doc.html">Medium selection</a> <br> <br> +<a href="sane-xsane-color-management-doc.html">Color management</a> +<br> +<br> <a href="sane-xsane-color-correction-doc.html">Color correction:</a> <ul> <li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li> @@ -115,6 +118,7 @@ <li><a href="sane-xsane-setup-filetype-doc.html">Filetype setup</a></li> <li><a href="sane-xsane-setup-email-doc.html">E-mail setup</a></li> <li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li> +<li><a href="sane-xsane-setup-color-management-doc.html">Color management setup</a></li> </ul> </td> @@ -184,7 +188,6 @@ and a cursor key the resolution is changed in larger steps. </blockquote> </blockquote> -</blockquote> </td> </tr> </table> diff --git a/doc/sane-xsane-setup-color-management-doc.html b/doc/sane-xsane-setup-color-management-doc.html new file mode 100644 index 0000000..81549fc --- /dev/null +++ b/doc/sane-xsane-setup-color-management-doc.html @@ -0,0 +1,198 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="Author" content="Oliver Rauch"> + <meta name="Description" content="scan, photocopy and fax frontend for SANE"> + <title>XSane - Color management setup</title> +</head> +<body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#51188E" alink="#FF0000"> + + +<table> +<tr> +<td width=200> +<img SRC="xsane-logo.jpg" alt="XSane-logo" hspace=30 align=TOP> +</td> +<td> +<blockquote> +<h1><font color="#009900">Color management setup</font></h1> +</blockquote> +</td> +</tr> +</table> + + +<hr WIDTH="100%"> + +<table> +<tr> +<td valign=TOP width="200" bgcolor="#E0E0BA"> +<br> +<a href="sane-xsane-doc.html">Index</a> +<br> +<br> +<font color="#000000">XSane mode:</font> +<img SRC="xsane-target.jpg" alt="xsane-target"> +<ul> +<li><a href="sane-xsane-viewer-doc.html">Viewer mode</a></li> +<li><a href="sane-xsane-save-doc.html">Save mode</a></li> +<li><a href="sane-xsane-copy-doc.html">Copy mode</a></li> +<li><a href="sane-xsane-multipage-doc.html">Multipage mode</a></li> +<li><a href="sane-xsane-fax-doc.html">Fax mode</a></li> +<li><a href="sane-xsane-email-doc.html">E-mail mode</a></li> +<li><a href="sane-xsane-gimp-doc.html">Gimp plugin</a></li> +</ul> +<br> +<a href="sane-xsane-scan-options-doc.html">Scan options</a> +<br> +<br> +<a href="sane-xsane-medium-definition-doc.html">Medium selection</a> +<br> +<br> +<a href="sane-xsane-color-management-doc.html">Color management</a> +<br> +<br> +<a href="sane-xsane-color-correction-doc.html">Color correction:</a> +<ul> +<li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li> +<li><a href="sane-xsane-color-correction-doc.html#BRIGHTNESS">Brightness</a></li> +<li><a href="sane-xsane-color-correction-doc.html#CONTRAST">Contrast</a></li> +<li><a href="sane-xsane-color-correction-doc.html#THRESHOLD">Threshold</a></li> +<li><a href="sane-xsane-color-correction-doc.html#RGB_DEFAULT">RGB default</a></li> +<li><a href="sane-xsane-color-correction-doc.html#NEGATIVE">Negative</a></li> +<li><a href="sane-xsane-color-correction-doc.html#AUTOENHANCEMENT">Autoenhancement</a></li> +<li><a href="sane-xsane-color-correction-doc.html#ENHANCEMENT_DEFAULT">Default</a></li> +<li><a href="sane-xsane-color-correction-doc.html#RESTORE_ENHANCEMENT">Restore</a></li> +<li><a href="sane-xsane-color-correction-doc.html#STORE_ENHANCEMENT">Store</a></li> +<li><a href="sane-xsane-histogram-doc.html">Histogram window</a></li> +<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette functions</a></li> +</ul> +<br> +<a href="sane-xsane-standard-doc.html">Standard options window</a> +<br> +<br> +<a href="sane-xsane-advanced-doc.html">Advanced options window</a> +<br> +<br> +<a href="sane-xsane-preview-doc.html">Preview:</a> +<ul> +<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette white</a></li> +<li><a href="sane-xsane-preview-doc.html#PIPETTE_GRAY">Pipette gray</a></li> +<li><a href="sane-xsane-preview-doc.html#PIPETTE_BLACK">Pipette black</a></li> +<li><a href="sane-xsane-preview-doc.html#UNZOOM">Unzoom</a></li> +<li><a href="sane-xsane-preview-doc.html#ZOOM_OUT">Zoom out</a></li> +<li><a href="sane-xsane-preview-doc.html#ZOOM_IN">Zoom in</a></li> +<li><a href="sane-xsane-preview-doc.html#UNDO_ZOOM">Undo zoom</a></li> +<li><a href="sane-xsane-preview-doc.html#AUTOSELECT">Autoselect scanarea</a></li> +<li><a href="sane-xsane-preview-doc.html#AUTORAISE">Autoraise scanarea</a></li> +<li><a href="sane-xsane-preview-doc.html#SELECT_VISIBLE_AREA">Select visible area</a></li> +<li><a href="sane-xsane-preview-doc.html#DELETE_PREVIEW_CACHE">Delete preview cache</a></li> +<li><a href="sane-xsane-preview-doc.html#PRESET_AREA">Preset area</a></li> +<li><a href="sane-xsane-preview-doc.html#ROTATION">Rotation</a></li> +<li><a href="sane-xsane-preview-doc.html#ASPECT_RATIO">Aspect ratio</a></li> +<li><a href="sane-xsane-preview-doc.html#RGB_VALUES">RGB values</a></li> +<li><a href="sane-xsane-preview-doc.html#SELECT_SCAN_AREA">Select scanarea</a></li> +<li><a href="sane-xsane-preview-doc.html#MOVE_SCAN_AREA">Move scanarea</a></li> +</ul> +<br> +<a href="sane-xsane-batch-scan-doc.html">Batch scan:</a> +<ul> +<li><a href="sane-xsane-batch-scan-doc.html#BATCH_SCAN_EMPTY">Empty batch list</a></li> +<li><a href="sane-xsane-batch-scan-doc.html#BATCH_SCAN_OPEN">Open batch list</a></li> +<li><a href="sane-xsane-batch-scan-doc.html#BATCH_SCAN_SAVE">Save batch list</a></li> +<li><a href="sane-xsane-batch-scan-doc.html#BATCH_SCAN_ADD">Add area to list</a></li> +<li><a href="sane-xsane-batch-scan-doc.html#BATCH_SCAN_DELETE">Remove selection</a></li> +<li><a href="sane-xsane-batch-scan-doc.html#BATCH_SCAN_RENAME">Rename selection</a></li> +<li><a href="sane-xsane-batch-scan-doc.html#BATCH_SCAN_ROTATE">Rotate image</a></li> +<li><a href="sane-xsane-batch-scan-doc.html#BATCH_SCAN_MIRROR">Mirror image</a></li> +</ul> +<br> +<font color="#000000">Setup:</font> +<ul> +<li><a href="sane-xsane-setup-copy-doc.html">Copy setup</a></li> +<li><a href="sane-xsane-setup-display-doc.html">Display setup</a></li> +<li><a href="sane-xsane-setup-enhancement-doc.html">Enhancement setup</a></li> +<li><a href="sane-xsane-setup-fax-doc.html">Fax setup</a></li> +<li><a href="sane-xsane-setup-filetype-doc.html">Filetype setup</a></li> +<li><a href="sane-xsane-setup-email-doc.html">E-mail setup</a></li> +<li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li> +<li><a href="sane-xsane-setup-color-management-doc.html">Color management setup</a></li> +</ul> +</td> + + + +<td VALIGN=TOP BGCOLOR="#FFFFFF"> +<blockquote> +<br> +You open the setup window via the menu <i>preferences/setup</i> in the +main window of xsane. +<br> +<br> +<br> +<center><p><br><img SRC="xsane-setup-color-management.jpg" alt="XSane-setup-color-management-window"></center> +<br> +<br> +<br> +<h4>Black point compensation:</h4> +<blockquote> +Do black point compensation when color transformation is done. +</blockquote> +<br> + +<h4>Rendering intent:</h4> +<blockquote> +Select rendering intent for preview and saving. This selection is also used as default +for the viewer. +</blockquote> +<br> + +<h4>Scanner reflektive ICM profile:</h4> +<blockquote> +Select scanner color ICM profile. This is the most important profile because this is the one that is generally used. +</blockquote> +<br> + +<h4>Scanner reflektive gray ICM profile:</h4> +<blockquote> +Select scanner grayscale ICM profile. +</blockquote> +<br> + +<h4>Display ICM profile:</h4> +<blockquote> +Select display ICM profile. This profile is important for the preview and the viewer. When you do not have +a profile for your display then you can select sRGB what should produce usable output. +</blockquote> +<br> + +<h4>Custom proofing ICM profile:</h4> +<blockquote> +When you want to do proofing for an output device that is not defined as printer in the printer setup +then you can select the ICM profile of this device here. +</blockquote> +<br> + +<h4>Working color space ICM profile:</h4> +<blockquote> +When you want to work in a different color space than sRGB then you can select the ICM profile of your +prefered color space. +</blockquote> +<br> + + +</blockquote> +</td> +</tr> +</table> + +<hr WIDTH="100%"> + +<blockquote> +Author: <a href="mailto:Oliver.Rauch@xsane.org">Oliver Rauch</a> +</blockquote> + +</body> +</html> + diff --git a/doc/sane-xsane-setup-copy-doc.html b/doc/sane-xsane-setup-copy-doc.html index 2371a6f..9d5f1e1 100644 --- a/doc/sane-xsane-setup-copy-doc.html +++ b/doc/sane-xsane-setup-copy-doc.html @@ -50,6 +50,9 @@ <a href="sane-xsane-medium-definition-doc.html">Medium selection</a> <br> <br> +<a href="sane-xsane-color-management-doc.html">Color management</a> +<br> +<br> <a href="sane-xsane-color-correction-doc.html">Color correction:</a> <ul> <li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li> @@ -114,6 +117,7 @@ <li><a href="sane-xsane-setup-filetype-doc.html">Filetype setup</a></li> <li><a href="sane-xsane-setup-email-doc.html">E-mail setup</a></li> <li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li> +<li><a href="sane-xsane-setup-color-management-doc.html">Color management setup</a></li> </ul> </td> diff --git a/doc/sane-xsane-setup-display-doc.html b/doc/sane-xsane-setup-display-doc.html index 2d07e40..154b876 100644 --- a/doc/sane-xsane-setup-display-doc.html +++ b/doc/sane-xsane-setup-display-doc.html @@ -51,6 +51,9 @@ <a href="sane-xsane-medium-definition-doc.html">Medium selection</a> <br> <br> +<a href="sane-xsane-color-management-doc.html">Color management</a> +<br> +<br> <a href="sane-xsane-color-correction-doc.html">Color correction:</a> <ul> <li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li> @@ -115,6 +118,7 @@ <li><a href="sane-xsane-setup-filetype-doc.html">Filetype setup</a></li> <li><a href="sane-xsane-setup-email-doc.html">E-mail setup</a></li> <li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li> +<li><a href="sane-xsane-setup-color-management-doc.html">Color management setup</a></li> </ul> </td> diff --git a/doc/sane-xsane-setup-email-doc.html b/doc/sane-xsane-setup-email-doc.html index e74cfc5..da6e080 100644 --- a/doc/sane-xsane-setup-email-doc.html +++ b/doc/sane-xsane-setup-email-doc.html @@ -50,6 +50,9 @@ <a href="sane-xsane-medium-definition-doc.html">Medium selection</a> <br> <br> +<a href="sane-xsane-color-management-doc.html">Color management</a> +<br> +<br> <a href="sane-xsane-color-correction-doc.html">Color correction:</a> <ul> <li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li> @@ -114,6 +117,7 @@ <li><a href="sane-xsane-setup-filetype-doc.html">Filetype setup</a></li> <li><a href="sane-xsane-setup-email-doc.html">E-mail setup</a></li> <li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li> +<li><a href="sane-xsane-setup-color-management-doc.html">Color management setup</a></li> </ul> </td> diff --git a/doc/sane-xsane-setup-enhancement-doc.html b/doc/sane-xsane-setup-enhancement-doc.html index c363dab..2309dec 100644 --- a/doc/sane-xsane-setup-enhancement-doc.html +++ b/doc/sane-xsane-setup-enhancement-doc.html @@ -50,6 +50,9 @@ <a href="sane-xsane-medium-definition-doc.html">Medium selection</a> <br> <br> +<a href="sane-xsane-color-management-doc.html">Color management</a> +<br> +<br> <a href="sane-xsane-color-correction-doc.html">Color correction:</a> <ul> <li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li> @@ -114,6 +117,7 @@ <li><a href="sane-xsane-setup-filetype-doc.html">Filetype setup</a></li> <li><a href="sane-xsane-setup-email-doc.html">E-mail setup</a></li> <li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li> +<li><a href="sane-xsane-setup-color-management-doc.html">Color management setup</a></li> </ul> </td> @@ -200,6 +204,7 @@ main window). The name should be something like <b><i>Gray</i></b>. </blockquote> +</blockquote> </td> </tr> </table> @@ -209,7 +214,6 @@ The name should be something like <b><i>Gray</i></b>. <blockquote> Author: <a href="mailto:Oliver.Rauch@xsane.org">Oliver Rauch</a> </blockquote> -</blockquote> </body> </html> diff --git a/doc/sane-xsane-setup-fax-doc.html b/doc/sane-xsane-setup-fax-doc.html index bd2bb00..eb3e96d 100644 --- a/doc/sane-xsane-setup-fax-doc.html +++ b/doc/sane-xsane-setup-fax-doc.html @@ -50,6 +50,9 @@ <a href="sane-xsane-medium-definition-doc.html">Medium selection</a> <br> <br> +<a href="sane-xsane-color-management-doc.html">Color management</a> +<br> +<br> <a href="sane-xsane-color-correction-doc.html">Color correction:</a> <ul> <li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li> @@ -114,6 +117,7 @@ <li><a href="sane-xsane-setup-filetype-doc.html">Filetype setup</a></li> <li><a href="sane-xsane-setup-email-doc.html">E-mail setup</a></li> <li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li> +<li><a href="sane-xsane-setup-color-management-doc.html">Color management setup</a></li> </ul> </td> diff --git a/doc/sane-xsane-setup-filetype-doc.html b/doc/sane-xsane-setup-filetype-doc.html index 76bc981..d14abe1 100644 --- a/doc/sane-xsane-setup-filetype-doc.html +++ b/doc/sane-xsane-setup-filetype-doc.html @@ -50,6 +50,9 @@ <a href="sane-xsane-medium-definition-doc.html">Medium selection</a> <br> <br> +<a href="sane-xsane-color-management-doc.html">Color management</a> +<br> +<br> <a href="sane-xsane-color-correction-doc.html">Color correction:</a> <ul> <li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li> @@ -114,6 +117,7 @@ <li><a href="sane-xsane-setup-filetype-doc.html">Filetype setup</a></li> <li><a href="sane-xsane-setup-email-doc.html">E-mail setup</a></li> <li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li> +<li><a href="sane-xsane-setup-color-management-doc.html">Color management setup</a></li> </ul> </td> diff --git a/doc/sane-xsane-setup-save-doc.html b/doc/sane-xsane-setup-save-doc.html index 20b7a36..88c4096 100644 --- a/doc/sane-xsane-setup-save-doc.html +++ b/doc/sane-xsane-setup-save-doc.html @@ -50,6 +50,9 @@ <a href="sane-xsane-medium-definition-doc.html">Medium selection</a> <br> <br> +<a href="sane-xsane-color-management-doc.html">Color management</a> +<br> +<br> <a href="sane-xsane-color-correction-doc.html">Color correction:</a> <ul> <li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li> @@ -114,6 +117,7 @@ <li><a href="sane-xsane-setup-filetype-doc.html">Filetype setup</a></li> <li><a href="sane-xsane-setup-email-doc.html">E-mail setup</a></li> <li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li> +<li><a href="sane-xsane-color-management-doc.html">Color management setup</a></li> </ul> </td> diff --git a/doc/sane-xsane-standard-doc.html b/doc/sane-xsane-standard-doc.html index fa66c9c..326a748 100644 --- a/doc/sane-xsane-standard-doc.html +++ b/doc/sane-xsane-standard-doc.html @@ -51,6 +51,9 @@ <a href="sane-xsane-medium-definition-doc.html">Medium selection</a> <br> <br> +<a href="sane-xsane-color-management-doc.html">Color management</a> +<br> +<br> <a href="sane-xsane-color-correction-doc.html">Color correction:</a> <ul> <li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li> @@ -115,6 +118,7 @@ <li><a href="sane-xsane-setup-filetype-doc.html">Filetype setup</a></li> <li><a href="sane-xsane-setup-email-doc.html">E-mail setup</a></li> <li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li> +<li><a href="sane-xsane-setup-color-management-doc.html">Color management setup</a></li> </ul> </td> diff --git a/doc/sane-xsane-viewer-doc.html b/doc/sane-xsane-viewer-doc.html index 1b222cf..0a02ad6 100644 --- a/doc/sane-xsane-viewer-doc.html +++ b/doc/sane-xsane-viewer-doc.html @@ -51,6 +51,9 @@ <a href="sane-xsane-medium-definition-doc.html">Medium selection</a> <br> <br> +<a href="sane-xsane-color-management-doc.html">Color management</a> +<br> +<br> <a href="sane-xsane-color-correction-doc.html">Color correction:</a> <ul> <li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li> @@ -115,6 +118,7 @@ <li><a href="sane-xsane-setup-filetype-doc.html">Filetype setup</a></li> <li><a href="sane-xsane-setup-email-doc.html">E-mail setup</a></li> <li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li> +<li><a href="sane-xsane-setup-color-management-doc.html">Color management setup</a></li> </ul> </td> diff --git a/doc/xsane-cms-function.jpg b/doc/xsane-cms-function.jpg Binary files differnew file mode 100644 index 0000000..82fac05 --- /dev/null +++ b/doc/xsane-cms-function.jpg diff --git a/doc/xsane-color-management-main-window.jpg b/doc/xsane-color-management-main-window.jpg Binary files differnew file mode 100644 index 0000000..8decc7c --- /dev/null +++ b/doc/xsane-color-management-main-window.jpg diff --git a/doc/xsane-enable-color-management.jpg b/doc/xsane-enable-color-management.jpg Binary files differnew file mode 100644 index 0000000..cebd521 --- /dev/null +++ b/doc/xsane-enable-color-management.jpg diff --git a/doc/xsane-setup-color-management.jpg b/doc/xsane-setup-color-management.jpg Binary files differnew file mode 100644 index 0000000..01757a9 --- /dev/null +++ b/doc/xsane-setup-color-management.jpg diff --git a/doc/xsane-setup-copy.jpg b/doc/xsane-setup-copy.jpg Binary files differindex c097868..28e551a 100644 --- a/doc/xsane-setup-copy.jpg +++ b/doc/xsane-setup-copy.jpg diff --git a/doc/xsane-setup-display.jpg b/doc/xsane-setup-display.jpg Binary files differindex ae372f6..cc0199f 100644 --- a/doc/xsane-setup-display.jpg +++ b/doc/xsane-setup-display.jpg diff --git a/doc/xsane-setup-email.jpg b/doc/xsane-setup-email.jpg Binary files differindex dbc876f..1a5515b 100644 --- a/doc/xsane-setup-email.jpg +++ b/doc/xsane-setup-email.jpg diff --git a/doc/xsane-setup-enhancement.jpg b/doc/xsane-setup-enhancement.jpg Binary files differindex ade9c2f..5819b49 100644 --- a/doc/xsane-setup-enhancement.jpg +++ b/doc/xsane-setup-enhancement.jpg diff --git a/doc/xsane-setup-fax.jpg b/doc/xsane-setup-fax.jpg Binary files differindex 984f629..ea2dfa5 100644 --- a/doc/xsane-setup-fax.jpg +++ b/doc/xsane-setup-fax.jpg diff --git a/doc/xsane-setup-filetype.jpg b/doc/xsane-setup-filetype.jpg Binary files differindex c5bf70e..cdc8de6 100644 --- a/doc/xsane-setup-filetype.jpg +++ b/doc/xsane-setup-filetype.jpg diff --git a/doc/xsane-setup-ocr.jpg b/doc/xsane-setup-ocr.jpg Binary files differindex df64bcc..ff20752 100644 --- a/doc/xsane-setup-ocr.jpg +++ b/doc/xsane-setup-ocr.jpg diff --git a/doc/xsane-setup-save.jpg b/doc/xsane-setup-save.jpg Binary files differindex a9dcf4b..69470c6 100644 --- a/doc/xsane-setup-save.jpg +++ b/doc/xsane-setup-save.jpg diff --git a/include/config.h b/include/config.h index 43f2485..a5f9313 100644 --- a/include/config.h +++ b/include/config.h @@ -99,10 +99,10 @@ #define PACKAGE "xsane" /* Define to the version of the distribution. */ -#define VERSION "0.991" +#define VERSION "0.993" /* The concatenation of the strings PACKAGE, "-", and VERSION. */ -#define XSANE_PACKAGE_VERSION "xsane-0.991" +#define XSANE_PACKAGE_VERSION "xsane-0.993" /* Define if you have the __argz_count function. */ #define HAVE___ARGZ_COUNT 1 @@ -274,10 +274,10 @@ #define HAVE_ANY_GIMP 1 /* Define if you have GIMP-2.0 installed. */ -/* #undef HAVE_GIMP_2 */ +#define HAVE_GIMP_2 1 /* Define if you have the GIMPfeatures header file. */ -#define HAVE_LIBGIMP_GIMPFEATURES_H 1 +/* #undef HAVE_LIBGIMP_GIMPFEATURES_H */ /* Define if you have libjpeg. */ #define HAVE_LIBJPEG 1 @@ -291,6 +291,9 @@ /* Define if you have libtiff. */ #define HAVE_LIBTIFF 1 +/* Define if you have liblcms. */ +#define HAVE_LIBLCMS 1 + #ifndef HAVE_STRNCASECMP /* OS/2 needs this */ # define strncasecmp(a, b, c) strnicmp(a, b, c) diff --git a/include/config.h.in b/include/config.h.in index e056158..ecc9637 100644 --- a/include/config.h.in +++ b/include/config.h.in @@ -290,6 +290,9 @@ /* Define if you have libtiff. */ #undef HAVE_LIBTIFF +/* Define if you have liblcms. */ +#undef HAVE_LIBLCMS + #ifndef HAVE_STRNCASECMP /* OS/2 needs this */ # define strncasecmp(a, b, c) strnicmp(a, b, c) diff --git a/intl/po2tbl.sed b/intl/po2tbl.sed index e69de29..93c0435 100644 --- a/intl/po2tbl.sed +++ b/intl/po2tbl.sed @@ -0,0 +1,60 @@ +1 { + i\ +/* Automatically generated by po2tbl.sed from @PACKAGE NAME@.pot. */\ +\ +#if HAVE_CONFIG_H\ +# include <config.h>\ +#endif\ +\ +#include "libgettext.h"\ +\ +const struct _msg_ent _msg_tbl[] = { + h + s/.*/0/ + x +} +/^msgid/ { + s/msgid[ ]*\(".*"\)/ {\1/ + tb + :b + N + s/\(.*\)"\(\n\)"\(.*"\)/\1\2\3/ + ta + s/\(.*\)\n.*/\1/ + bc + :a + s/\(.*\)\(\n.*\)/\1\\\2/ + P + s/.*\n\(.*\)/\1/ + tb + :c + x + td + :d + s/9\(_*\)$/_\1/ + td + s/^\(_*\)$/0\1/ + s/8\(_*\)$/9\1/ + s/7\(_*\)$/8\1/ + s/6\(_*\)$/7\1/ + s/5\(_*\)$/6\1/ + s/4\(_*\)$/5\1/ + s/3\(_*\)$/4\1/ + s/2\(_*\)$/3\1/ + s/1\(_*\)$/2\1/ + s/0\(_*\)$/1\1/ + s/_/0/g + x + G + s/\(.*\)\n\([0-9]*\)/\1, \2},/ + s/\(.*\)"$/\1/ + p +} +$ { + i\ +};\ + + g + s/0*\(.*\)/int _msg_tbl_length = \1;/p +} +d diff --git a/intl/po2tbl.sed.in b/intl/po2tbl.sed.in new file mode 100644 index 0000000..b3bcca4 --- /dev/null +++ b/intl/po2tbl.sed.in @@ -0,0 +1,102 @@ +# po2tbl.sed - Convert Uniforum style .po file to lookup table for catgets +# Copyright (C) 1995 Free Software Foundation, Inc. +# Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +1 { + i\ +/* Automatically generated by po2tbl.sed from @PACKAGE NAME@.pot. */\ +\ +#if HAVE_CONFIG_H\ +# include <config.h>\ +#endif\ +\ +#include "libgettext.h"\ +\ +const struct _msg_ent _msg_tbl[] = { + h + s/.*/0/ + x +} +# +# Write msgid entries in C array form. +# +/^msgid/ { + s/msgid[ ]*\(".*"\)/ {\1/ + tb +# Append the next line + :b + N +# Look whether second part is continuation line. + s/\(.*\)"\(\n\)"\(.*"\)/\1\2\3/ +# Yes, then branch. + ta +# Because we assume that the input file correctly formed the line +# just read cannot be again be a msgid line. So it's safe to ignore +# it. + s/\(.*\)\n.*/\1/ + bc +# We found a continuation line. But before printing insert '\'. + :a + s/\(.*\)\(\n.*\)/\1\\\2/ + P +# We cannot use D here. + s/.*\n\(.*\)/\1/ +# Some buggy seds do not clear the `successful substitution since last ``t''' +# flag on `N', so we do a `t' here to clear it. + tb +# Not reached + :c + x +# The following nice solution is by +# Bruno <Haible@ma2s2.mathematik.uni-karlsruhe.de> + td +# Increment a decimal number in pattern space. +# First hide trailing `9' digits. + :d + s/9\(_*\)$/_\1/ + td +# Assure at least one digit is available. + s/^\(_*\)$/0\1/ +# Increment the last digit. + s/8\(_*\)$/9\1/ + s/7\(_*\)$/8\1/ + s/6\(_*\)$/7\1/ + s/5\(_*\)$/6\1/ + s/4\(_*\)$/5\1/ + s/3\(_*\)$/4\1/ + s/2\(_*\)$/3\1/ + s/1\(_*\)$/2\1/ + s/0\(_*\)$/1\1/ +# Convert the hidden `9' digits to `0's. + s/_/0/g + x + G + s/\(.*\)\n\([0-9]*\)/\1, \2},/ + s/\(.*\)"$/\1/ + p +} +# +# Last line. +# +$ { + i\ +};\ + + g + s/0*\(.*\)/int _msg_tbl_length = \1;/p +} +d diff --git a/po/ca.gmo b/po/ca.gmo Binary files differnew file mode 100644 index 0000000..e52c693 --- /dev/null +++ b/po/ca.gmo diff --git a/po/ca.po b/po/ca.po new file mode 100644 index 0000000..d01ac9a --- /dev/null +++ b/po/ca.po @@ -0,0 +1,3352 @@ +# Catalan translation for XSane. +# Copyright (C) 2006 Free Software Foundation, Inc. +# RaĆ¼l Cambeiro <raulcambeiro@ambtu.bcn.es>, 2006, XSane 0.991 +# +msgid "" +msgstr "" +"Project-Id-Version: XSane 0.991\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-25 23:44+0100\n" +"PO-Revision-Date: 2006-03-02 03:35+0100\n" +"Last-Translator: RaĆ¼l Cambeiro <raulcambeiro@ambtu.bcn.es>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Please translate this to the correct directory name (eg. german=>de) +#. XSANE_LANGUAGE_DIR +msgid "language_dir" +msgstr "ca" + +#. XSANE_COPYRIGHT_SIGN +msgid "(c)" +msgstr "Ā©" + +#. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "clon-de-" + +#. WINDOW_ABOUT_XSANE +msgid "About" +msgstr "Quant a" + +#. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +#. MENU_ITEM_ABOUT_TRANSLATION +msgid "About translation" +msgstr "Quant a la traducciĆ³" + +#. WINDOW_AUTHORIZE +msgid "authorization" +msgstr "AutoritzaciĆ³" + +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "LlicĆØncia GPL" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "Contracte de llicĆØncia per a l'usuari final" + +#. WINDOW_INFO +msgid "info" +msgstr "InformaciĆ³" + +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "Carrega un lot d'escaneig" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "Desa el lot d'escaneig" + +#. WINDOW_BATCH_SCAN +msgid "batch scan" +msgstr "Escaneig per lots" + +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "Reanomena l'element del lot" + +#. WINDOW_FAX_PROJECT +msgid "fax project" +msgstr "Projecte de fax" + +#. WINDOW_FAX_PROJECT_BROWSE +#, fuzzy +msgid "browse for fax project" +msgstr "IntroduĆÆu el nom del projecte de fax" + +#. WINDOW_FAX_RENAME +msgid "rename fax page" +msgstr "Reanomena la pĆ gina de fax" + +#. WINDOW_FAX_INSERT +msgid "insert ps-file into fax" +msgstr "Inseriu un fitxer PS al fax" + +#. WINDOW_EMAIL_PROJECT +msgid "E-mail project" +msgstr "Projecte de correu electrĆ²nic" + +#. WINDOW_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "browse for email project" +msgstr "IntroduĆÆu el nom del projecte de correu electrĆ²nic" + +#. WINDOW_EMAIL_RENAME +msgid "rename e-mail image" +msgstr "Reanomena la imatge del correu" + +#. WINDOW_EMAIL_INSERT +msgid "insert file into e-mail" +msgstr "Inseriu un fitxer al correu" + +#. WINDOW_MULTIPAGE_PROJECT +msgid "multipage project" +msgstr "Projecte multipĆ gina" + +#. WINDOW_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "browse for multipage project" +msgstr "Projecte multipĆ gina" + +#. WINDOW_PRESET_AREA_RENAME +msgid "rename preset area" +msgstr "Reanomena l'Ć rea prefixada" + +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr "Afegeix una Ć rea prefixada" + +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr "Reanomena el mitjĆ " + +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "Afegeix un nou mitjĆ " + +#. WINDOW_SETUP +msgid "setup" +msgstr "ConfiguraciĆ³" + +#. WINDOW_HISTOGRAM +msgid "Histogram" +msgstr "Histograma" + +#. WINDOW_GAMMA +msgid "Gamma curve" +msgstr "Corba gamma" + +#. WINDOW_STANDARD_OPTIONS +msgid "Standard options" +msgstr "Opcions bĆ siques" + +#. WINDOW_ADVANCED_OPTIONS +msgid "Advanced options" +msgstr "Opcions avanƧades" + +#. WINDOW_DEVICE_SELECTION +msgid "device selection" +msgstr "SelecciĆ³ de dispositiu" + +#. WINDOW_PREVIEW +msgid "Preview" +msgstr "PrevisualitzaciĆ³" + +#. WINDOW_VIEWER +#. MENU_ITEM_VIEWER +msgid "Viewer" +msgstr "Visualitzador" + +#. WINDOW_VIEWER_OUTPUT_FILENAME +msgid "Viewer: select output filename" +msgstr "Visualitzador: Seleccioneu el nom del fitxer de sortida" + +#. WINDOW_OCR_OUTPUT_FILENAME +msgid "Select output filename for OCR text file" +msgstr "Seleccioneu el nom del fitxer de text OCR" + +#. WINDOW_OUTPUT_FILENAME +msgid "select output filename" +msgstr "Seleccioneu el nom del fitxer de sortida" + +#. WINDOW_SAVE_SETTINGS +msgid "save device settings" +msgstr "Desa la configuraciĆ³ del dispositiu" + +#. WINDOW_LOAD_SETTINGS +msgid "load device settings" +msgstr "Carrega la configuraciĆ³ del dispositiu" + +#. WINDOW_CHANGE_WORKING_DIR +msgid "change working directory" +msgstr "Canvia el directori de treball" + +#. WINDOW_TMP_PATH +msgid "select temporary directory" +msgstr "Selecciona el directori temporal" + +#. WINDOW_SCALE +#. DESC_VIEWER_SCALE +msgid "Scale image" +msgstr "Escala la imatge" + +#. WINDOW_DESPECKLE +#. DESC_VIEWER_DESPECKLE +msgid "Despeckle image" +msgstr "Elimina els esquitxos de la imatge" + +#. WINDOW_BLUR +#. DESC_VIEWER_BLUR +msgid "Blur image" +msgstr "Difumina la imatge" + +#. WINDOW_STORE_MEDIUM +msgid "Store medium definition" +msgstr "Emmagatzema la definiciĆ³ del mitjĆ " + +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "No hi ha dispositius disponibles" + +#. WINDOW_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "select scanner default color ICM-profile" +msgstr "Elimina la impressora" + +#. WINDOW_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "select scanner default gray ICM-profile" +msgstr "Elimina la impressora" + +#. WINDOW_DISPLAY_ICM_PROFILE +msgid "select display ICM-profile" +msgstr "" + +#. WINDOW_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "select custom proofing ICM-profile" +msgstr "Seleccioneu el nom del fitxer de sortida" + +#. WINDOW_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "select working color space ICM-profile" +msgstr "Elimina la impressora" + +#. WINDOW_PRINTER_ICM_PROFILE +#, fuzzy +msgid "select printer ICM-profile" +msgstr "Elimina la impressora" + +#. MENU_FILE +msgid "File" +msgstr "Fitxer" + +#. MENU_PREFERENCES +msgid "Preferences" +msgstr "PreferĆØncies" + +#. MENU_VIEW +msgid "View" +msgstr "Visualitza" + +#. MENU_WINDOW +msgid "Window" +msgstr "Finestra" + +#. MENU_HELP +#. BUTTON_HELP +msgid "Help" +msgstr "Ajuda" + +#. MENU_EDIT +msgid "Edit" +msgstr "Edita" + +#. MENU_FILTERS +msgid "Filters" +msgstr "Filtres" + +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "Geometria" + +#. MENU_COLOR_MANAGEMENT +#. NOTEBOOK_COLOR_MANAGEMENT_OPTIONS +msgid "Color management" +msgstr "" + +#. MENU_ITEM_ABOUT_XSANE +msgid "About XSane" +msgstr "Quant a l'XSane" + +#. MENU_ITEM_INFO +msgid "Info" +msgstr "InformaciĆ³" + +#. MENU_ITEM_QUIT +msgid "Quit" +msgstr "Surt" + +#. MENU_ITEM_SAVE_IMAGE +#. DESC_VIEWER_SAVE +msgid "Save image" +msgstr "Desa la imatge" + +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "OCR: Desa com a text" + +#. MENU_ITEM_CLONE +msgid "Clone" +msgstr "Clona" + +#. MENU_ITEM_SCALE +msgid "Scale" +msgstr "Escala" + +#. MENU_ITEM_CLOSE +#. BUTTON_CLOSE +msgid "Close" +msgstr "Tanca" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "DesfĆ©s" + +#. MENU_ITEM_DESPECKLE +msgid "Despeckle" +msgstr "Elimina els esquitxos" + +#. MENU_ITEM_BLUR +msgid "Blur" +msgstr "Difumina" + +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "Rota 90Āŗ" + +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr "Rota 180Āŗ" + +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr "Rota 270Āŗ" + +#. MENU_ITEM_MIRROR_X +msgid "Mirror |" +msgstr "Mirall |" + +#. MENU_ITEM_MIRROR_Y +msgid "Mirror -" +msgstr "Mirall -" + +#. FRAME_RAW_IMAGE +msgid "Raw image" +msgstr "Imatge en cru" + +#. FRAME_ENHANCED_IMAGE +msgid "Enhanced image" +msgstr "Imatge millorada" + +#. BUTTON_SCAN +msgid "Scan" +msgstr "Escaneja" + +#. BUTTON_OK +msgid "Ok" +msgstr "D'acord" + +#. BUTTON_ACCEPT +msgid "Accept" +msgstr "Accepta" + +#. BUTTON_NOT_ACCEPT +msgid "Not accept" +msgstr "No acceptis" + +#. BUTTON_APPLY +msgid "Apply" +msgstr "Aplica" + +#. BUTTON_CANCEL +msgid "Cancel" +msgstr "CancelĀ·la" + +#. BUTTON_REDUCE +msgid "Reduce" +msgstr "Redueix" + +#. BUTTON_CONT_AT_OWN_RISK +msgid "Continue at your own risk" +msgstr "Continueu al vostre risc" + +#. BUTTON_BROWSE +msgid "Browse" +msgstr "Navega" + +#. BUTTON_OVERWRITE +msgid "Overwrite" +msgstr "Sobreescriu" + +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "Escaneja el lot d'escaneig" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "Escaneja l'Ć rea seleccionada" + +#. BUTTON_PAGE_DELETE +msgid "Delete page" +msgstr "Elimina la pĆ gina" + +#. BUTTON_PAGE_SHOW +msgid "Show page" +msgstr "Mostra la pĆ gina" + +#. BUTTON_PAGE_RENAME +msgid "Rename page" +msgstr "Reanomena la pĆ gina" + +#. BUTTON_IMAGE_DELETE +msgid "Delete image" +msgstr "Elimina la imatge" + +#. BUTTON_IMAGE_SHOW +msgid "Show image" +msgstr "Mostra la imatge" + +#. BUTTON_IMAGE_EDIT +msgid "Edit image" +msgstr "Edita la imatge" + +#. BUTTON_IMAGE_RENAME +msgid "Rename image" +msgstr "Reanomena la imatge" + +#. BUTTON_FILE_INSERT +msgid "Insert file" +msgstr "Insereix un fitxer" + +#. BUTTON_CREATE_PROJECT +msgid "Create project" +msgstr "Crea un projecte" + +#. BUTTON_SEND_PROJECT +msgid "Send project" +msgstr "Envia el projecte" + +#. BUTTON_SAVE_MULTIPAGE +msgid "Save multipage file" +msgstr "Desa el fitxer multipĆ gina" + +#. BUTTON_DELETE_PROJECT +msgid "Delete project" +msgstr "Elimina el projecte" + +#. BUTTON_ADD_PRINTER +msgid "Add printer" +msgstr "Afegeix una impressora" + +#. BUTTON_DELETE_PRINTER +msgid "Delete printer" +msgstr "Elimina la impressora" + +#. BUTTON_PREVIEW_ACQUIRE +msgid "Acquire preview" +msgstr "Adquireix una previsualitzaciĆ³" + +#. BUTTON_PREVIEW_CANCEL +msgid "Cancel preview" +msgstr "CancelĀ·la la previsualitzaciĆ³" + +#. BUTTON_DISCARD_IMAGE +msgid "Discard image" +msgstr "Descarta la imatge" + +#. BUTTON_DISCARD_ALL_IMAGES +msgid "Discard all images" +msgstr "Descarta totes les imatges" + +#. BUTTON_DO_NOT_CLOSE +msgid "Do not close" +msgstr "No tanquis" + +#. BUTTON_SCALE_BIND +msgid "Bind scale" +msgstr "Fixa l'escala" + +#. RADIO_BUTTON_FINE_MODE +msgid "Fine mode" +msgstr "Mode detallat" + +#. RADIO_BUTTON_HTML_EMAIL +msgid "HTML e-mail" +msgstr "Correu HTML" + +#. RADIO_BUTTON_SAVE_DEVPREFS_AT_EXIT +msgid "Save device preferences at exit" +msgstr "Desa la configuraciĆ³ del dispositiu en sortir" + +#. RADIO_BUTTON_OVERWRITE_WARNING +msgid "Overwrite warning" +msgstr "Avisa en sobreescriure" + +#. RADIO_BUTTON_SKIP_EXISTING_NRS +msgid "Skip existing filenames" +msgstr "Omet els noms de fitxer existents" + +#. RADIO_BUTTON_SAVE_PS_FLATEDECODED +msgid "Save postscript zlib compressed (ps level 3)" +msgstr "Desa en PostScript comprimit amb zlib (PS nivell 3)" + +#. RADIO_BUTTON_SAVE_PDF_FLATEDECODED +msgid "Save PDF zlib compressed" +msgstr "Desa en PDF comprimit amb zlib" + +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "Desa en format ASCII els PNM de 16 bits" + +#. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT +msgid "Reduce 16 bit image to 8 bit" +msgstr "Redueix les imatges de 16 bits a 8 bits" + +#. RADIO_BUTTON_WINDOW_FIXED +msgid "Main window size fixed" +msgstr "Finestra principal de mida fixa" + +#. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA +#, fuzzy +msgid "Disable GIMP preview gamma" +msgstr "Inhabilita la previsualitzaciĆ³ de gamma d'El Gimp" + +#. RADIO_BUTTON_PRIVATE_COLORMAP +msgid "Use private colormap" +msgstr "Usa un mapa de colors personal" + +#. RADIO_BUTTON_AUTOENHANCE_GAMMA +msgid "Autoenhance gamma" +msgstr "Millora la gamma automĆ ticament" + +#. RADIO_BUTTON_PRESELECT_SCANAREA +msgid "Preselect scanarea" +msgstr "Preselecciona l'Ć rea d'escaneig" + +#. RADIO_BUTTON_AUTOCORRECT_COLORS +msgid "Autocorrect colors" +msgstr "Corregeix els colors automĆ ticament" + +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "Usa el conducte de progrĆ©s de la interfĆcie grĆ fica" + +#. RADIO_BUTTON_CMS_BPC +#. MENU_ITEM_CMS_BLACK_POINT_COMPENSATION +msgid "Black point compensation" +msgstr "" + +#. TEXT_SCANNING_DEVICES +msgid "scanning for devices" +msgstr "S'estan cercant els dispositius" + +#. TEXT_AVAILABLE_DEVICES +msgid "Available devices:" +msgstr "Dispositius disponibles:" + +#. TEXT_XSANE_OPTIONS +msgid "XSane options" +msgstr "Opcions de l'XSane" + +#. TEXT_FILETYPE +msgid "Type" +msgstr "Tipus" + +#. TEXT_CMS_FUNCTION +#. DESC_CMS_FUNCTION +#, fuzzy +msgid "Color management function" +msgstr "Tots els colors" + +#. TEXT_SCANNER_BACKEND +msgid "Scanner and backend:" +msgstr "EscĆ ner i controlador:" + +#. TEXT_VENDOR +msgid "Vendor:" +msgstr "ProveĆÆdor:" + +#. TEXT_MODEL +msgid "Model:" +msgstr "Model:" + +#. TEXT_TYPE +msgid "Type:" +msgstr "Tipus:" + +#. TEXT_DEVICE +msgid "Device:" +msgstr "Dispositiu:" + +#. TEXT_LOADED_BACKEND +msgid "Loaded backend:" +msgstr "Controlador carregat:" + +#. TEXT_SANE_VERSION +msgid "Sane version:" +msgstr "VersiĆ³ del Sane:" + +#. TEXT_RECENT_VALUES +msgid "Recent values:" +msgstr "Valors recents:" + +#. TEXT_GAMMA_CORR_BY +msgid "Gamma correction by:" +msgstr "CorrecciĆ³ de gamma per:" + +#. TEXT_SCANNER +msgid "scanner" +msgstr "EscĆ ner" + +#. TEXT_SOFTWARE_XSANE +msgid "software (XSane)" +msgstr "Programari (XSane)" + +#. TEXT_NONE +msgid "none" +msgstr "Cap" + +#. TEXT_GAMMA_INPUT_DEPTH +msgid "Gamma input depth:" +msgstr "Profunditat de la gamma d'entrada:" + +#. TEXT_GAMMA_OUTPUT_DEPTH +msgid "Gamma output depth:" +msgstr "Profunditat de la gamma de sortida:" + +#. TEXT_SCANNER_OUTPUT_DEPTH +msgid "Scanner output depth:" +msgstr "Profunditat de sortida de l'escĆ ner:" + +#. TEXT_OUTPUT_FORMATS +msgid "XSane output formats:" +msgstr "Formats de sortida de l'XSane:" + +#. TEXT_8BIT_FORMATS +msgid "8 bit output formats:" +msgstr "Formats de sortida de 8 bits:" + +#. TEXT_16BIT_FORMATS +msgid "16 bit output formats:" +msgstr "Formats de sortida de 16 bits:" + +#. TEXT_REDUCE_16BIT_TO_8BIT +#, fuzzy +msgid "" +"Bit depth 16 bits/channel is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/channel?" +msgstr "" +"La profunditat de 16 bits per color no Ć©s permesa per a aquest format de " +"sortida.\n" +"Voleu reduir la profunditat de color a 8 bits?" + +#. TEXT_AUTHORIZATION_REQ +msgid "Authorization required for" +msgstr "AutoritzaciĆ³ requerida per a" + +#. TEXT_AUTHORIZATION_SECURE +msgid "Password transmission is secure" +msgstr "La transmissiĆ³ de la contrasenya Ć©s segura" + +#. TEXT_AUTHORIZATION_INSECURE +msgid "Backend requests plain-text password" +msgstr "El controlador demana la contrasenya en text" + +#. TEXT_USERNAME +msgid "Username :" +msgstr "Nom d'usuari:" + +#. TEXT_PASSWORD +msgid "Password :" +msgstr "Contrasenya:" + +#. TEXT_INVALID_PARAMS +msgid "Invalid parameters." +msgstr "ParĆ metres invĆ lids." + +#. TEXT_VERSION +msgid "version:" +msgstr "VersiĆ³:" + +#. TEXT_PACKAGE +msgid "package" +msgstr "Paquet:" + +#. TEXT_WITH_CMS_FUNCTION +#, fuzzy +msgid "with color management function" +msgstr "Tots els colors" + +#. TEXT_WITH_GIMP_SUPPORT +msgid "with GIMP support" +msgstr "Funciona amb El Gimp" + +#. TEXT_WITHOUT_GIMP_SUPPORT +msgid "without GIMP support" +msgstr "No funciona amb El Gimp" + +#. TEXT_GTK_VERSION +msgid "compiled with GTK-" +msgstr "Compilat amb GTK-" + +#. TEXT_GIMP_VERSION +msgid "compiled with GIMP-" +msgstr "compilat amb El Gimp-" + +#. TEXT_UNKNOWN +msgid "unknown" +msgstr "desconegut" + +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" +"L'XSane es distribueix sota els termes de la LlicĆØncia PĆŗblica General de " +"GNU\n" +"tal com l'ha publicada la Free Software Foundation, ja sigui la versiĆ³ 2\n" +"de la LlicĆØncia o, si ho preferiu, qualsevol versiĆ³ posterior.\n" +"\n" +"Aquest programa es distribueix amb l'esperanƧa que serĆ Ćŗtil, perĆ²\n" +"SENSE CAP GARANTIA, ni tan sols les garanties implĆcites de\n" +"COMERCIABILITAT o d'ADEQUACIĆ A UN PROPĆSIT PARTICULAR.\n" +"Si el programa tinguĆ©s algun error, assumireu el cost de totes les " +"revisions,\n" +"reparacions o correccions necessĆ ries. Per a usar aquest programa,\n" +"heu de llegir, entendre i acceptar el segĆ¼ent acord de \"NO GARANTIA\".\n" + +#. TEXT_GPL +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +msgstr "" +"L'XSane es distribueix sota els termes de la LlicĆØncia PĆŗblica General de " +"GNU\n" +"tal com l'ha publicada la Free Software Foundation, ja sigui la versiĆ³ 2\n" +"de la LlicĆØncia o, si ho preferiu, qualsevol versiĆ³ posterior.\n" +"\n" +"Aquest programa es distribueix amb l'esperanƧa que serĆ Ćŗtil, perĆ²\n" +"SENSE CAP GARANTIA, ni tan sols les garanties implĆcites\n" +"de COMERCIABILITAT o d'ADEQUACIĆ A UN PROPĆSIT PARTICULAR.\n" + +#. TEXT_EMAIL_ADR +msgid "E-mail:" +msgstr "AdreƧa electrĆ²nica:" + +#. TEXT_HOMEPAGE +msgid "Homepage:" +msgstr "PĆ gina d'inici:" + +#. TEXT_FILE +msgid "File:" +msgstr "Fitxer:" + +#. TEXT_TRANSLATION +msgid "Translation:" +msgstr "TraducciĆ³:" + +#. Please translate this to something like +#. translation to YOUR LANGUAGE\n +#. by YOUR NAME\n +#. E-mail: your.name@yourdomain.com\n +#. TEXT_TRANSLATION_INFO +msgid "" +"untranslated original english text\n" +"by Oliver Rauch\n" +"E-mail: Oliver.Rauch@rauch-domain.de\n" +msgstr "" +"TraducciĆ³ al catalĆ \n" +"de RaĆ¼l Cambeiro\n" +"raulcambeiro@ambtu.bcn.es\n" + +#. TEXT_INFO_BOX +msgid "0x0: 0KB" +msgstr "0x0: 0 KB" + +#. TEXT_ADF_PAGES_SCANNED +msgid "Scanned pages: " +msgstr "PĆ gines escanejades:" + +#. TEXT_EMAIL_TEXT +msgid "E-mail text:" +msgstr "Text del missatge:" + +#. TEXT_ATTACHMENTS +msgid "Attachments:" +msgstr "Adjuncions:" + +#. TEXT_EMAIL_STATUS +msgid "Project status:" +msgstr "Estat del projecte:" + +#. TEXT_EMAIL_FILETYPE +msgid "E-mail image filetype:" +msgstr "Tipus de fitxer de la imatge de correu electrĆ²nic:" + +#. TEXT_PAGES +msgid "Pages:" +msgstr "PĆ gines:" + +#. TEXT_MULTIPAGE_FILETYPE +msgid "Multipage document filetype:" +msgstr "Tipus de fitxer del document multipĆ gina:" + +#. TEXT_MEDIUM_DEFINITION_NAME +msgid "Medium Name:" +msgstr "Nom del mitjĆ :" + +#. TEXT_VIEWER_IMAGE_INFO +#, fuzzy, c-format +msgid "" +"Size %d x %d pixel, %d bits/channel, %d channels, %1.0f dpi x %1.0f dpi, %" +"1.1f %s" +msgstr "" +"Mida %d x %d pĆxels, %d bits/color, %d colors, %1.0f ppp x %1.0f ppp, %1.1f %" +"s" + +#. TEXT_DESPECKLE_RADIUS +msgid "Despeckle radius:" +msgstr "Radi de l'eliminaciĆ³ d'esquitxos:" + +#. TEXT_BLUR_RADIUS +msgid "Blur radius:" +msgstr "Radi de difuminaciĆ³:" + +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "(sense nom)" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "Nom de l'Ć rea:" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "Mode d'escaneig:" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "Superior esquerre:" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "Mida:" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "ResoluciĆ³:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "Profunditat de color:" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "com s'ha seleccionat" + +#. TEXT_SETUP_PRINTER_SEL +msgid "Printer selection:" +msgstr "SelecciĆ³ d'impressora:" + +#. TEXT_SETUP_PRINTER_NAME +msgid "Name:" +msgstr "Nom:" + +#. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +#. TEXT_SETUP_FAX_COMMAND +msgid "Command:" +msgstr "Ordre:" + +#. TEXT_SETUP_COPY_NR_OPT +msgid "Copy number option:" +msgstr "OpciĆ³ del nombre de cĆ²pies:" + +#. TEXT_SETUP_PRINTER_LINEART_RES +msgid "Lineart resolution (dpi):" +msgstr "ResoluciĆ³ en mode lĆnia (ppp):" + +#. TEXT_SETUP_PRINTER_GRAYSCALE_RES +msgid "Grayscale resolution (dpi):" +msgstr "ResoluciĆ³ en escala de grisos (ppp):" + +#. TEXT_SETUP_PRINTER_COLOR_RES +msgid "Color resolution (dpi):" +msgstr "ResoluciĆ³ en color (ppp):" + +#. TEXT_SETUP_PRINTER_WIDTH +#. TEXT_SETUP_FAX_WIDTH +msgid "Width" +msgstr "Amplada" + +#. TEXT_SETUP_PRINTER_HEIGHT +#. TEXT_SETUP_FAX_HEIGHT +msgid "Height" +msgstr "AlĆ§Ć ria" + +#. TEXT_SETUP_PRINTER_LEFT +#. TEXT_SETUP_FAX_LEFT +msgid "Left offset" +msgstr "Marge esquerre" + +#. TEXT_SETUP_PRINTER_BOTTOM +#. TEXT_SETUP_FAX_BOTTOM +msgid "Bottom offset" +msgstr "Marge inferior" + +#. TEXT_SETUP_PRINTER_GAMMA +msgid "Printer gamma value:" +msgstr "Valor gamma de la impressora:" + +#. TEXT_SETUP_PRINTER_GAMMA_RED +msgid "Printer gamma red:" +msgstr "Gamma per al vermell de la impressora:" + +#. TEXT_SETUP_PRINTER_GAMMA_GREEN +msgid "Printer gamma green:" +msgstr "Gamma per al verd de la impressora:" + +#. TEXT_SETUP_PRINTER_GAMMA_BLUE +msgid "Printer gamma blue:" +msgstr "Gamma per al blau de la impressora:" + +#. TEXT_SETUP_PRINTER_EMBED_CSA +#, fuzzy +msgid "Embed scanner ICM profile as CSA" +msgstr "Elimina la impressora" + +#. TEXT_SETUP_PRINTER_EMBED_CRD +#, fuzzy +msgid "Embed printer ICM profile as CRD" +msgstr "Elimina la impressora" + +#. TEXT_SETUP_PRINTER_PS_FLATEDECODED +msgid "Create zlib compressed postscript image (ps level 3) for printing" +msgstr "" +"Crea una imatge PostScript comprimida amb zlib (PS nivell 3) per a imprimir" + +#. TEXT_SETUP_TMP_PATH +msgid "Temporary directory" +msgstr "Directori temporal" + +#. TEXT_SETUP_IMAGE_PERMISSION +msgid "Image-file permissions" +msgstr "Permisos del fitxer d'imatge" + +#. TEXT_SETUP_DIR_PERMISSION +msgid "Directory permissions" +msgstr "Permisos del directori" + +#. TEXT_SETUP_JPEG_QUALITY +msgid "JPEG image quality" +msgstr "Qualitat d'imatge JPEG" + +#. TEXT_SETUP_PNG_COMPRESSION +msgid "PNG image compression" +msgstr "CompressiĆ³ d'imatge PNG" + +#. TEXT_SETUP_FILENAME_COUNTER_LEN +msgid "Filename counter length" +msgstr "Llargada del comptador per a noms de fitxer consecutius" + +#. TEXT_SETUP_TIFF_ZIP_COMPRESSION +msgid "TIFF zip compression rate" +msgstr "Taxa de compressiĆ³ zip per als TIFF" + +#. TEXT_SETUP_TIFF_COMPRESSION_16 +msgid "TIFF 16 bit image compression" +msgstr "CompressiĆ³ de les imatges TIFF de 16 bits" + +#. TEXT_SETUP_TIFF_COMPRESSION_8 +msgid "TIFF 8 bit image compression" +msgstr "CompressiĆ³ de les imatges TIFF de 8 bits" + +#. TEXT_SETUP_TIFF_COMPRESSION_1 +msgid "TIFF lineart image compression" +msgstr "CompressiĆ³ de les imatges TIFF en mode linia (binari)" + +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "Presenta els intervals amb:" + +#. TEXT_SETUP_PREVIEW_OVERSAMPLING +msgid "Preview oversampling:" +msgstr "Sobremostreig de la previsualitzaciĆ³:" + +#. TEXT_SETUP_PREVIEW_GAMMA +msgid "Preview gamma:" +msgstr "Gamma de la previsualitzaciĆ³:" + +#. TEXT_SETUP_PREVIEW_GAMMA_RED +msgid "Preview gamma red:" +msgstr "Gamma del vermell de la previsualitzaciĆ³:" + +#. TEXT_SETUP_PREVIEW_GAMMA_GREEN +msgid "Preview gamma green:" +msgstr "Gamma del verd de la previsualitzaciĆ³:" + +#. TEXT_SETUP_PREVIEW_GAMMA_BLUE +msgid "Preview gamma blue:" +msgstr "Gamma del blau de la previsualitzaciĆ³:" + +#. TEXT_SETUP_LINEART_MODE +msgid "Threshold option:" +msgstr "OpciĆ³ de llindar:" + +#. TEXT_SETUP_PREVIEW_PIPETTE_RANGE +msgid "Preview pipette range" +msgstr "Marge de la pipeta de la previsualitzaciĆ³" + +#. TEXT_SETUP_THRESHOLD_MIN +msgid "Threshold minimum:" +msgstr "Llindar inferior:" + +#. TEXT_SETUP_THRESHOLD_MAX +msgid "Threshold maximum:" +msgstr "Llindar superior:" + +#. TEXT_SETUP_THRESHOLD_MUL +msgid "Threshold multiplier:" +msgstr "Multiplicador del llindar:" + +#. TEXT_SETUP_THRESHOLD_OFF +msgid "Threshold offset:" +msgstr "DesplaƧament del llindar:" + +#. TEXT_SETUP_GRAYSCALE_SCANMODE +msgid "Name of grayscale scanmode:" +msgstr "Nom del mode d'escaneig en escala de grisos:" + +#. TEXT_SETUP_HELPFILE_VIEWER +msgid "Helpfile viewer (HTML):" +msgstr "Visualitzador de l'ajuda (HTML):" + +#. TEXT_SETUP_FAX_RECEIVER_OPTION +msgid "Receiver option:" +msgstr "OpciĆ³ per al receptor:" + +#. TEXT_SETUP_FAX_POSTSCRIPT_OPT +msgid "Postscriptfile option:" +msgstr "OpciĆ³ per a fitxers PostScript:" + +#. TEXT_SETUP_FAX_NORMAL_MODE_OPT +msgid "Normal mode option:" +msgstr "OpciĆ³ per al mode normal:" + +#. TEXT_SETUP_FAX_FINE_MODE_OPT +msgid "Fine mode option:" +msgstr "OpciĆ³ per al mode detallat:" + +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "Estableix els valors per defecte per a:" + +#. TEXT_SETUP_FAX_VIEWER +msgid "Viewer (Postscript):" +msgstr "Visualitzador (PostScript)" + +#. TEXT_SETUP_FAX_PS_FLATEDECODED +msgid "Create zlib compressed postscript image (ps level 3) for fax" +msgstr "" +"Crea una imatge PostScript comprimida amb zlib (PS nivell 3) per als faxos" + +#. TEXT_SETUP_SMTP_SERVER +msgid "SMTP server:" +msgstr "Servidor SMTP:" + +#. TEXT_SETUP_SMTP_PORT +msgid "SMTP port:" +msgstr "Port SMTP:" + +#. TEXT_SETUP_EMAIL_FROM +msgid "From:" +msgstr "De:" + +#. TEXT_SETUP_EMAIL_REPLY_TO +msgid "Reply to:" +msgstr "Respon a:" + +#. TEXT_SETUP_EMAIL_AUTHENTICATION +msgid "E-mail authentication" +msgstr "AutenticaciĆ³ de correu" + +#. TEXT_SETUP_EMAIL_AUTH_USER +msgid "User:" +msgstr "Usuari:" + +#. TEXT_SETUP_EMAIL_AUTH_PASS +msgid "Password:" +msgstr "Contrasenya:" + +#. TEXT_SETUP_POP3_SERVER +msgid "POP3 server:" +msgstr "Servidor POP3:" + +#. TEXT_SETUP_POP3_PORT +msgid "POP3 port:" +msgstr "Port POP3:" + +#. TEXT_SETUP_OCR_COMMAND +msgid "OCR Command:" +msgstr "Ordre OCR:" + +#. TEXT_SETUP_OCR_INPUTFILE_OPT +msgid "Inputfile option:" +msgstr "OpciĆ³ per al fitxer d'entrada:" + +#. TEXT_SETUP_OCR_OUTPUTFILE_OPT +msgid "Outputfile option:" +msgstr "OpciĆ³ per al fitxer de sortida:" + +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "Usa el conducte de progrĆ©s de la interfĆcie grĆ fica:" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "OpciĆ³ per al descriptor de fitxer de sortida de la interfĆcie:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "Paraula clau de progrĆ©s:" + +#. TEXT_SETUP_PERMISSION_USER +msgid "user" +msgstr "Usuari" + +#. TEXT_SETUP_PERMISSION_GROUP +msgid "group" +msgstr "Grup" + +#. TEXT_SETUP_PERMISSION_ALL +msgid "all" +msgstr "Tothom" + +#. TEXT_SETUP_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "Scanner default color ICM-profile" +msgstr "Elimina la impressora" + +#. TEXT_SETUP_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "Scanner default gray ICM-profile" +msgstr "Elimina la impressora" + +#. TEXT_SETUP_DISPLAY_ICM_PROFILE +#. DESC_DISPLAY_ICM_PROFILE +msgid "Display ICM-profile" +msgstr "" + +#. TEXT_SETUP_CUSTOM_PROOFING_ICM_PROFILE +#. DESC_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "Custom proofing ICM-profile" +msgstr "Elimina la impressora" + +#. TEXT_SETUP_WORKING_COLOR_SPACE_ICM_PROFILE +#. DESC_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "Working color space ICM-profile" +msgstr "Navegueu per a trobar el nom de fitxer de la imatge" + +#. TEXT_SETUP_PRINTER_ICM_PROFILE +#. DESC_PRINTER_ICM_PROFILE +msgid "Printer ICM-profile" +msgstr "" + +msgid "new media" +msgstr "Nou suport" + +#. NOTEBOOK_SAVING_OPTIONS +#. MENU_ITEM_SAVE +msgid "Save" +msgstr "Desament" + +#. NOTEBOOK_FILETYPE_OPTIONS +msgid "Filetype" +msgstr "Tipus de fitxer" + +#. NOTEBOOK_COPY_OPTIONS +#. MENU_ITEM_COPY +msgid "Copy" +msgstr "CĆ²pia" + +#. NOTEBOOK_FAX_OPTIONS +#. MENU_ITEM_FAX +msgid "Fax" +msgstr "Fax" + +#. NOTEBOOK_EMAIL_OPTIONS +#. MENU_ITEM_EMAIL +msgid "E-mail" +msgstr "Correu electrĆ²nic" + +#. NOTEBOOK_OCR_OPTIONS +msgid "OCR" +msgstr "OCR" + +#. NOTEBOOK_DISPLAY_OPTIONS +msgid "Display" +msgstr "Pantalla" + +#. NOTEBOOK_ENHANCE_OPTIONS +msgid "Enhancement" +msgstr "RealƧament" + +#. MENU_ITEM_MULTIPAGE +msgid "Multipage" +msgstr "MultipĆ gina" + +#. MENU_ITEM_SHOW_TOOLTIPS +msgid "Show tooltips" +msgstr "Mostra els indicadors de funciĆ³" + +#. MENU_ITEM_SHOW_PREVIEW +msgid "Show preview" +msgstr "Mostra la previsualitzaciĆ³" + +#. MENU_ITEM_SHOW_HISTOGRAM +msgid "Show histogram" +msgstr "Mostra l'histograma" + +#. MENU_ITEM_SHOW_GAMMA +msgid "Show gamma curve" +msgstr "Mostra la corba gamma" + +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "Mostra l'escaneig per lots" + +#. MENU_ITEM_SHOW_STANDARDOPTIONS +msgid "Show standard options" +msgstr "Mostra les opcions bĆ siques" + +#. MENU_ITEM_SHOW_ADVANCEDOPTIONS +msgid "Show advanced options" +msgstr "Mostra les opcions avanƧades" + +#. MENU_ITEM_SETUP +msgid "Setup" +msgstr "ConfiguraciĆ³" + +#. MENU_ITEM_LENGTH_UNIT +msgid "Length unit" +msgstr "Unitats de longitud" + +#. SUBMENU_ITEM_LENGTH_MILLIMETERS +msgid "millimeters" +msgstr "MilĀ·lĆmetres" + +#. SUBMENU_ITEM_LENGTH_CENTIMETERS +msgid "centimeters" +msgstr "CentĆmetres" + +#. SUBMENU_ITEM_LENGTH_INCHES +msgid "inches" +msgstr "Polzades" + +#. MENU_ITEM_UPDATE_POLICY +msgid "Update policy" +msgstr "PolĆtica d'actualitzaciĆ³" + +#. SUBMENU_ITEM_POLICY_CONTINUOUS +msgid "continuous" +msgstr "ContĆnua" + +#. SUBMENU_ITEM_POLICY_DISCONTINU +msgid "discontinuous" +msgstr "DiscontĆnua" + +#. SUBMENU_ITEM_POLICY_DELAYED +msgid "delayed" +msgstr "Endarrerida" + +#. MENU_ITEM_SHOW_RESOLUTIONLIST +msgid "Show resolution list" +msgstr "Mostra la llista de resolucions" + +#. MENU_ITEM_PAGE_ROTATE +msgid "Rotate postscript" +msgstr "Rota el PostScript" + +#. MENU_ITEM_ENABLE_COLOR_MANAGEMENT +#. MENU_ITEM_CMS_ENABLE_COLOR_MANAGEMENT +#, fuzzy +msgid "Enable color management" +msgstr "Tots els colors" + +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "Edita la definiciĆ³ del mitjĆ " + +#. MENU_ITEM_SAVE_DEVICE_SETTINGS +msgid "Save device settings" +msgstr "Desa la configuraciĆ³ del dispositiu" + +#. MENU_ITEM_LOAD_DEVICE_SETTINGS +msgid "Load device settings" +msgstr "Carrega una configuraciĆ³ de dispositiu" + +#. MENU_ITEM_CHANGE_WORKING_DIR +msgid "Change directory" +msgstr "Canvia el directori" + +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "Mostra l'acord de llicĆØncia" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "Mostra la llicĆØncia (GPL)" + +#. MENU_ITEM_XSANE_DOC +msgid "XSane doc" +msgstr "DocumentaciĆ³ de l'XSane" + +#. MENU_ITEM_BACKEND_DOC +msgid "Backend doc" +msgstr "DocumentaciĆ³ del controlador" + +#. MENU_ITEM_AVAILABLE_BACKENDS +msgid "Available backends" +msgstr "Controladors disponibles" + +#. MENU_ITEM_SCANTIPS +msgid "Scantips" +msgstr "Consells per a escanejar" + +#. MENU_ITEM_PROBLEMS +msgid "Problems?" +msgstr "Problemes?" + +#. MENU_ITEM_CMS_PROOFING +#, fuzzy +msgid "Proofing" +msgstr "Afegeix una impressora" + +#. SUBMENU_ITEM_CMS_PROOF_OFF +msgid "no proofing (Display)" +msgstr "" + +#. SUBMENU_ITEM_CMS_PROOF_PRINTER +#, fuzzy +msgid "Proof printer" +msgstr "Afegeix una impressora" + +#. SUBMENU_ITEM_CMS_PROOF_CUSTOM +msgid "Proof custom device" +msgstr "" + +#. MENU_ITEM_CMS_RENDERING_INTENT +#, fuzzy +msgid "Rendering intent" +msgstr "Afegeix una impressora" + +#. MENU_ITEM_CMS_PROOFING_INTENT +#, fuzzy +msgid "Proofing rendering intent" +msgstr "Afegeix una impressora" + +#. SUBMENU_ITEM_CMS_INTENT_PERCEPTUAL +msgid "Perceptual" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_RELATIVE_COLORIMETRIC +msgid "Relative colorimetric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_ABSOLUTE_COLORIMETRIC +msgid "Absolute colorimentric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_SATURATION +#, fuzzy +msgid "Saturation" +msgstr "AutoritzaciĆ³" + +#. MENU_ITEM_CMS_GAMUT_CHECK +msgid "Gamut check" +msgstr "" + +#. MENU_ITEM_CMS_GAMUT_ALARM_COLOR +msgid "Gamut alarm color" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLACK +msgid "Black" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_GRAY +msgid "Gray" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_WHITE +#, fuzzy +msgid "White" +msgstr "escriptura" + +#. SUBMENU_ITEM_CMS_COLOR_RED +#, fuzzy +msgid "Red" +msgstr "Redueix" + +#. SUBMENU_ITEM_CMS_COLOR_GREEN +msgid "Green" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLUE +#, fuzzy +msgid "Blue" +msgstr "Difumina" + +#. MENU_ITEM_COUNTER_LEN_INACTIVE +msgid "inactive" +msgstr "inactiu" + +#. MENU_ITEM_TIFF_COMP_NONE +msgid "no compression" +msgstr "Sense compressiĆ³" + +#. MENU_ITEM_TIFF_COMP_CCITTRLE +msgid "CCITT 1D Huffman compression" +msgstr "CompressiĆ³ CCITT 1D Huffman" + +#. MENU_ITEM_TIFF_COMP_CCITFAX3 +msgid "CCITT Group 3 Fax compression" +msgstr "CompressiĆ³ CCITT Fax Grup 3" + +#. MENU_ITEM_TIFF_COMP_CCITFAX4 +msgid "CCITT Group 4 Fax compression" +msgstr "CompressiĆ³ CCITT Fax Grup 4" + +#. MENU_ITEM_TIFF_COMP_JPEG +msgid "JPEG DCT compression" +msgstr "CompressiĆ³ JPEG DCT" + +#. MENU_ITEM_TIFF_COMP_PACKBITS +msgid "pack bits" +msgstr "Empaqueta els bits" + +#. MENU_ITEM_TIFF_COMP_DEFLATE +msgid "deflate" +msgstr "Desinfla" + +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "Lliscador (escala)" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "Lliscador (barra de desplaƧament)" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "BotĆ³ giratori" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "Escala i botĆ³ giratori" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "Barra de desplaƧament i botĆ³ giratori" + +#. MENU_ITEM_LINEART_MODE_STANDARD +msgid "Standard options window (lineart)" +msgstr "Finestra d'opcions bĆ siques (mode lĆnia)" + +#. MENU_ITEM_LINEART_MODE_XSANE +msgid "XSane main window (lineart)" +msgstr "Finestra principal de l'XSane (mode lĆnia)" + +#. MENU_ITEM_LINEART_MODE_GRAY +msgid "XSane main window (grayscale->lineart)" +msgstr "Finestra principal de l'XSane (escala de grisos a mode lĆnia)" + +#. MENU_ITEM_SELECTION_NONE +msgid "(none)" +msgstr "(cap)" + +#. MENU_ITEM_FILETYPE_BY_EXT +msgid "by ext" +msgstr "Per extensiĆ³" + +#. MENU_ITEM_PRESET_AREA_ADD_SEL +msgid "Add selection to list" +msgstr "Afegeix la selecciĆ³ a la llista" + +#. MENU_ITEM_MEDIUM_ADD +msgid "Add medium definition" +msgstr "Afegeix una definiciĆ³ de mitjĆ " + +#. MENU_ITEM_RENAME +msgid "Rename item" +msgstr "Reanomena l'element" + +#. MENU_ITEM_DELETE +msgid "Delete item" +msgstr "Elimina l'element" + +#. MENU_ITEM_MOVE_UP +msgid "Move item up" +msgstr "Puja l'element" + +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" +msgstr "Baixa l'element" + +#. MENU_ITEM_AUTH_NONE +msgid "no authentication" +msgstr "Sense autenticaciĆ³" + +#. MENU_ITEM_AUTH_POP3 +msgid "POP3 before SMTP" +msgstr "POP3 abans d'SMTP" + +#. MENU_ITEM_AUTH_ASMTP_PLAIN +msgid "ASMTP Plain" +msgstr "ASMTP senzill" + +#. MENU_ITEM_AUTH_ASMTP_LOGIN +msgid "ASMTP Login" +msgstr "ASMTP amb identificaciĆ³" + +#. MENU_ITEM_AUTH_ASMTP_CRAM_MD5 +msgid "ASMTP CRAM-MD5" +msgstr "ASMTP CRAM-MD5" + +#. MENU_ITEM_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE +#, fuzzy +msgid "Embed scanner ICM profile" +msgstr "Elimina la impressora" + +#. MENU_ITEM_CMS_FUNCTION_CONVERT_TO_SRGB +msgid "Convert to sRGB" +msgstr "" + +#. MENU_ITEM_FUNCTION_CONVERT_TO_WORKING_CS +#, fuzzy +msgid "Convert to working color space" +msgstr "Corregeix els colors automĆ ticament" + +#. PROGRESS_SCANNING +msgid "Scanning" +msgstr "S'estĆ escanejant" + +#. PROGRESS_RECEIVING_FRAME_DATA +#, c-format +msgid "Receiving %s data" +msgstr "S'estan rebent dades %s" + +#. PROGRESS_PAGE +msgid "page" +msgstr "pĆ gina" + +#. PROGRESS_TRANSFERING_DATA +msgid "Transfering image" +msgstr "S'estĆ transferint la imatge" + +#. PROGRESS_ROTATING_DATA +msgid "Rotating image" +msgstr "S'estĆ rotant la imatge" + +#. PROGRESS_MIRRORING_DATA +msgid "Mirroring image" +msgstr "S'estĆ reflectint la imatge" + +#. PROGRESS_PACKING_DATA +msgid "Packing image" +msgstr "S'estĆ empaquetant la imatge" + +#. PROGRESS_CONVERTING_DATA +msgid "Converting image" +msgstr "S'estĆ convertint la imatge" + +#. PROGRESS_SAVING_DATA +msgid "Saving image" +msgstr "S'estĆ desant la imatge" + +#. PROGRESS_CLONING_DATA +msgid "Cloning image" +msgstr "S'estĆ clonant la imatge" + +#. PROGRESS_SCALING_DATA +msgid "Scaling image" +msgstr "S'estĆ escalant la imatge" + +#. PROGRESS_DESPECKLING_DATA +msgid "Despeckling image" +msgstr "S'estan eliminant els esquitxos de la imatge" + +#. PROGRESS_BLURING_DATA +msgid "Bluring image" +msgstr "S'estĆ difuminant la imatge" + +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "OCR en progrĆ©s" + +#. PROGRESS_ICM_CONVERSION +#, fuzzy +msgid "converting colors" +msgstr "Corregeix els colors automĆ ticament" + +#. DESC_SCAN_START +msgid "Start scan <Ctrl-Enter>" +msgstr "Inicia l'escaneig <Ctrl-Retorn>" + +#. DESC_SCAN_CANCEL +msgid "Cancel scan <ESC>" +msgstr "CancelĀ·la l'escaneig <Esc>" + +#. DESC_PREVIEW_ACQUIRE +msgid "Acquire preview scan <Alt-p>" +msgstr "Adquireix un escaneig de previsualitzaciĆ³ <Alt-p>" + +#. DESC_PREVIEW_CANCEL +msgid "Cancel preview scan <Alt-ESC>" +msgstr "CancelĀ·la l'escaneig de previsualitzaciĆ³ <Alt-Esc>" + +#. DESC_XSANE_MODE +msgid "" +"viewer-<Ctrl-v>, save-<Ctrl-s>, photocopy-<Ctrl-c>, multipage-<Ctrl-m>, fax-" +"<Ctrl-f> or e-mail-<Ctrl-e>" +msgstr "" +"Visualitzador <Ctrl-v>, Desament <Ctrl-s>, FotocĆ²pia <Ctrl-c>, MultipĆ gina " +"<Ctrl-m>, Fax <Ctrl-f> o Correu electrĆ²nic <Ctrl-e>" + +#. DESC_XSANE_MEDIUM +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" +"Seleccioneu el tipus de mitjĆ d'origen.\n" +"Per a reanomenar, reordenar o eliminar una entrada empreu el menĆŗ contextual " +"(botĆ³ dret del ratolĆ).\n" +"Per a crear un mitjĆ , habiliteu l'opciĆ³ \"Edita la definiciĆ³ del mitjĆ \" al " +"menĆŗ PreferĆØncies." + +#. DESC_FILENAME_COUNTER_STEP +msgid "Value that is added to filenamecounter after scan" +msgstr "" +"Valor que s'afegeix al comptador dels noms de fitxers consecutius desprĆ©s " +"d'escanejar" + +#. DESC_BROWSE_FILENAME +msgid "Browse for image filename" +msgstr "Navegueu per a trobar el nom de fitxer de la imatge" + +#. DESC_FILENAME +msgid "Filename for scanned image" +msgstr "Nom de fitxer per a la imatge escanejada" + +#. DESC_FILETYPE +msgid "" +"Type of image format, the suitable filename extension is automatically added " +"to the filename" +msgstr "" +"Tipus de format d'imatge; l'extensiĆ³ de tipus de fitxer apropiada s'afegirĆ " +"automĆ ticament al nom del fitxer" + +#. DESC_FAXPROJECT +#, fuzzy +msgid "Enter fax project directory name" +msgstr "Navega per a trobar el directoi temporal" + +#. DESC_FAXPAGENAME +msgid "Enter new name for faxpage" +msgstr "IntroduĆÆu un nou nom per a la pĆ gina de fax" + +#. DESC_FAXRECEIVER +msgid "Enter receiver phone number or address" +msgstr "IntroduĆÆu el nĆŗmero de telĆØfon o l'adreƧa del receptor" + +#. DESC_FAX_PROJECT_BROWSE +#, fuzzy +msgid "Browse for fax project directory" +msgstr "Navega per a trobar el directoi temporal" + +#. DESC_EMAIL_PROJECT +#, fuzzy +msgid "Enter e-mail project directory name" +msgstr "Navega per a trobar el directoi temporal" + +#. DESC_EMAIL_IMAGENAME +msgid "Enter new name for e-mail image" +msgstr "IntroduĆÆu un nou nom per a la imatge de correu electrĆ²nic" + +#. DESC_EMAIL_RECEIVER +msgid "Enter e-mail address" +msgstr "IntroduĆÆu una adreƧa electrĆ²nica" + +#. DESC_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "Browse for email project directory" +msgstr "Navega per a trobar el directoi temporal" + +#. DESC_EMAIL_SUBJECT +msgid "Enter subject of e-mail" +msgstr "IntroduĆÆu l'assumpte del missatge" + +#. DESC_EMAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "Seleccioneu el tipus de fitxer per a les imatges adjuntes" + +#. DESC_MULTIPAGE_PROJECT +#, fuzzy +msgid "Enter multipage project directory name" +msgstr "Navega per a trobar el directoi temporal" + +#. DESC_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "Browse for multipage project directory" +msgstr "Navega per a trobar el directoi temporal" + +#. DESC_MULTIPAGE_FILETYPE +msgid "Select filetype for multipage file" +msgstr "Seleccioneu el tipus del fitxer multipĆ gina" + +#. DESC_PRESET_AREA_RENAME +msgid "Enter new name for preset area" +msgstr "IntroduĆÆu un nou nom per a l'Ć rea prefixada" + +#. DESC_PRESET_AREA_ADD +msgid "Enter name for new preset area" +msgstr "IntroduĆÆu el nom de la nova Ć rea prefixada" + +#. DESC_MEDIUM_RENAME +msgid "Enter new name for medium definition" +msgstr "IntroduĆÆu un nou nom per a la definiciĆ³ del mitjĆ " + +#. DESC_MEDIUM_ADD +msgid "Enter name for new medium definition" +msgstr "IntroduĆÆu el nom de la nova definiciĆ³ de mitjĆ " + +#. DESC_PRINTER_SELECT +msgid "Select printerdefinition <Shift-F1/F2/...>" +msgstr "Seleccioneu la definiciĆ³ d'impressora <Maj-F1/F2/...>" + +#. DESC_RESOLUTION +msgid "Set scan resolution" +msgstr "Especifiqueu la resoluciĆ³ de l'escaneig" + +#. DESC_RESOLUTION_X +msgid "Set scan resolution for x direction" +msgstr "Especifiqueu la resoluciĆ³ horitzontal de l'escaneig" + +#. DESC_RESOLUTION_Y +msgid "Set scan resolution for y direction" +msgstr "Especifiqueu la resoluciĆ³ vertical de l'escaneig" + +#. DESC_ZOOM +msgid "Set zoomfactor" +msgstr "Especifiqueu el factor d'ampliaciĆ³" + +#. DESC_ZOOM_X +msgid "Set zoomfactor for x direction" +msgstr "Especifiqueu el factor d'ampliaciĆ³ horitzontal" + +#. DESC_ZOOM_Y +msgid "Set zoomfactor for y direction" +msgstr "Especifiqueu el factor d'ampliaciĆ³ vertical" + +#. DESC_COPY_NUMBER +msgid "Set number of copies" +msgstr "Especifiqueu el nombre de cĆ²pies" + +#. DESC_NEGATIVE +msgid "Negative: Invert colors for scanning negatives <Ctrl-n>" +msgstr "Negatiu: inverteix els colors per a escanejar negatius <Ctrl-n>" + +#. DESC_GAMMA +msgid "Set gamma value" +msgstr "Especifiqueu el valor de correcciĆ³ gamma" + +#. DESC_GAMMA_R +msgid "Set gamma value for red component" +msgstr "Especifiqueu el valor de gamma de la component vermella" + +#. DESC_GAMMA_G +msgid "Set gamma value for green component" +msgstr "Especifiqueu el valor de gamma de la component verda" + +#. DESC_GAMMA_B +msgid "Set gamma value for blue component" +msgstr "Especifiqueu el valor de gamma de la component blava" + +#. DESC_BRIGHTNESS +msgid "Set brightness" +msgstr "Especifiqueu la lluminositat" + +#. DESC_BRIGHTNESS_R +msgid "Set brightness for red component" +msgstr "Especifiqueu la lluminositat de la component vermella" + +#. DESC_BRIGHTNESS_G +msgid "Set brightness for green component" +msgstr "Especifiqueu la lluminositat de la component verda" + +#. DESC_BRIGHTNESS_B +msgid "Set brightness for blue component" +msgstr "Especifiqueu la lluminositat de la component blava" + +#. DESC_CONTRAST +msgid "Set contrast" +msgstr "Especifiqueu el contrast" + +#. DESC_CONTRAST_R +msgid "Set contrast for red component" +msgstr "Especifiqueu el contrast de la component vermella" + +#. DESC_CONTRAST_G +msgid "Set contrast for green component" +msgstr "Especifiqueu el contrast de la component verda" + +#. DESC_CONTRAST_B +msgid "Set contrast for blue component" +msgstr "Especifiqueu el contrast de la component blava" + +#. DESC_THRESHOLD +msgid "Set threshold" +msgstr "Especifiqueu el llindar" + +#. DESC_RGB_DEFAULT +msgid "" +"RGB default: Set enhancement values for red, green and blue to default " +"values <Ctrl-b>:\n" +" gamma = 1.0\n" +" brightness = 0\n" +" contrast = 0" +msgstr "" +"RGB predeterminat: estableix el realƧament de vermell, verd i blau als " +"valors per defecte <Ctrl-b>:\n" +" Gamma = 1,0\n" +" Lluminositat = 0\n" +" Contrast = 0" + +#. DESC_ENH_AUTO +#, fuzzy +msgid "Autoadjust gamma, brightness and contrast <Ctrl-a>" +msgstr "Ajusta automĆ ticament la gamma, la lluminositat i el contrast <Ctrl-e>" + +#. DESC_ENH_DEFAULT +msgid "" +"Set default enhancement values <Ctrl-0>:\n" +"gamma = 1.0\n" +"brightness = 0\n" +"contrast = 0" +msgstr "" +"Estableix els valors de realƧament per defecte <Ctrl-0>:\n" +" Gamma = 1,0\n" +" Lluminositat = 0\n" +" Contrast = 0" + +#. DESC_ENH_RESTORE +msgid "Restore enhancement values from preferences <Ctrl-r>" +msgstr "Recupera els valors de realƧament de les preferĆØncies <Ctrl-r>" + +#. DESC_ENH_STORE +msgid "Store active enhancement values to preferences <Ctrl-+>" +msgstr "" +"Emmagatzema a les preferĆØncies els valors de realƧament actius <Ctrl-+>" + +#. DESC_HIST_INTENSITY +msgid "Show histogram of intensity/gray <Alt-i>" +msgstr "Mostra l'histograma d'intensitat o de grisos <Alt-i>" + +#. DESC_HIST_RED +msgid "Show histogram of red component <Alt-r>" +msgstr "Mostra l'histograma de la component vermella <Alt-r>" + +#. DESC_HIST_GREEN +msgid "Show histogram of green component <Alt-g>" +msgstr "Mostra l'histograma de la component verda <Alt-g>" + +#. DESC_HIST_BLUE +msgid "Show histogram of blue component <Alt-b>" +msgstr "Mostra l'histograma de la component blava <Alt-b>" + +#. DESC_HIST_PIXEL +msgid "Display mode: show histogram with lines instead of pixels <Alt-m>" +msgstr "" +"Mode de presentaciĆ³: mostra l'histograma amb lĆnies en comptes d'Ć rees <Alt-" +"m>" + +#. DESC_HIST_LOG +msgid "Show logarithm of pixelcount <Alt-l>" +msgstr "Mostra el logaritme de la quantitat de pĆxels (eix vertical) <Alt-l>" + +#. DESC_PRINTER_SETUP +msgid "Select definition to change" +msgstr "Seleccioneu la definiciĆ³ que voleu canviar" + +#. DESC_PRINTER_NAME +msgid "Define a name for the selection of this definition" +msgstr "Definiu un nom per a la selecciĆ³ d'aquesta definiciĆ³" + +#. DESC_PRINTER_COMMAND +msgid "Enter command to be executed in copy mode (e.g. \"lpr\")" +msgstr "IntroduĆÆu l'ordre que s'executarĆ en mode de cĆ²pia (p.ex.: \"lpr\")" + +#. DESC_COPY_NUMBER_OPTION +msgid "Enter option for copy numbers" +msgstr "IntroduĆÆu l'opciĆ³ per al nombre de cĆ²pies" + +#. DESC_PRINTER_LINEART_RESOLUTION +msgid "" +"Resolution with which lineart images are printed and saved in postscript" +msgstr "" +"ResoluciĆ³ a la qual s'imprimeixen i es desen en PostScript les imatges en " +"blanc i negre (mode lĆnia)" + +#. DESC_PRINTER_GRAYSCALE_RESOLUTION +msgid "" +"Resolution with which grayscale images are printed and saved in postscript" +msgstr "" +"ResoluciĆ³ a la qual s'imprimeixen i es desen en PostScript les imatges en " +"escala de grisos" + +#. DESC_PRINTER_COLOR_RESOLUTION +msgid "Resolution with which color images are printed and saved in postscript" +msgstr "" +"ResoluciĆ³ a la qual s'imprimeixen i es desen en PostScript les imatges en " +"color" + +#. DESC_PRINTER_WIDTH +#. DESC_FAX_WIDTH +msgid "Width of printable area" +msgstr "Amplada de l'Ć rea imprimible" + +#. DESC_PRINTER_HEIGHT +#. DESC_FAX_HEIGHT +msgid "Height of printable area" +msgstr "AlĆ§Ć ria de l'Ć rea imprimible" + +#. DESC_PRINTER_LEFTOFFSET +#. DESC_FAX_LEFTOFFSET +msgid "Left offset from the edge of the paper to the printable area" +msgstr "DistĆ ncia entre el marge esquerre del paper i l'Ć rea imprimible" + +#. DESC_PRINTER_BOTTOMOFFSET +#. DESC_FAX_BOTTOMOFFSET +msgid "Bottom offset from the edge of the paper to the printable area" +msgstr "DistĆ ncia entre el marge inferior del paper i l'Ć rea imprimible" + +#. DESC_PRINTER_GAMMA +msgid "Additional gamma value for photocopy" +msgstr "Valor gamma addicional per a les fotocĆ²pies" + +#. DESC_PRINTER_GAMMA_RED +msgid "Additional gamma value for red component for photocopy" +msgstr "Valor gamma addicional de la component vermella per a les fotocĆ²pies" + +#. DESC_PRINTER_GAMMA_GREEN +msgid "Additional gamma value for green component for photocopy" +msgstr "Valor gamma addicional de la component verda per a les fotocĆ²pies" + +#. DESC_PRINTER_GAMMA_BLUE +msgid "Additional gamma value for blue component for photocopy" +msgstr "Valor gamma addicional de la component blava per a les fotocĆ²pies" + +#. DESC_PRINTER_EMBED_CSA +msgid "Creates a postsciptfile that contains the ICM profile of the scanner" +msgstr "" + +#. DESC_PRINTER_EMBED_CRD +msgid "Creates a postsciptfile that contains the ICM profile of the printer" +msgstr "" + +#. DESC_PRINTER_PS_FLATEDECODED +#, fuzzy +msgid "" +"Create zlib compressed postscript image for printer (flatedecode).\n" +"The printer has to understand postscript level 3!" +msgstr "" +"Crea una imatge PostScript comprimida amb zlib per a la impressora " +"(compressiĆ³ FlatDecode).\n" +"Cal que la impressora permeti l'Ćŗs de PostScript nivell 3." + +#. DESC_TMP_PATH +msgid "Path to temp directory" +msgstr "CamĆ al directori temporal" + +#. DESC_BUTTON_TMP_PATH_BROWSE +msgid "Browse for temporary directory" +msgstr "Navega per a trobar el directoi temporal" + +#. DESC_JPEG_QUALITY +msgid "" +"Quality in percent if image is saved as jpeg or tiff with jpeg compression" +msgstr "" +"Qualitat, en percentatge, si deseu la imatge en JPEG o en TIFF amb " +"compressiĆ³ JPEG" + +#. DESC_PNG_COMPRESSION +msgid "Compression if image is saved as png" +msgstr "CompressiĆ³ si deseu la imatge en format PNG" + +#. DESC_FILENAME_COUNTER_LEN +msgid "Minimum length of counter in filename" +msgstr "" +"Nombre mĆnim de xifres per al comptador en els noms de fitxers consecutius" + +#. DESC_TIFF_ZIP_COMPRESSION +msgid "Compression rate for zip compressed tiff (deflate)" +msgstr "Grau de compressiĆ³ per als TIFF comprimits amb zip (algoritme Deflate)" + +#. DESC_TIFF_COMPRESSION_16 +msgid "Compression type if 16 bit image is saved as tiff" +msgstr "Tipus de compressiĆ³ si deseu en TIFF una imatge de 16 bits" + +#. DESC_TIFF_COMPRESSION_8 +msgid "Compression type if 8 bit image is saved as tiff" +msgstr "Tipus de compressiĆ³ si deseu en TIFF una imatge de 8 bits" + +#. DESC_TIFF_COMPRESSION_1 +msgid "Compression type if lineart image is saved as tiff" +msgstr "" +"Tipus de compressiĆ³ si deseu en TIFF una imatge amb profunditat binĆ ria " +"(mode lĆnia)" + +#. DESC_SAVE_DEVPREFS_AT_EXIT +msgid "Save device dependant preferences in default file at exit of xsane" +msgstr "" +"En sortir de l'XSane, desa les preferĆØncies que depenen del dispositiu en el " +"fitxer per defecte" + +#. DESC_OVERWRITE_WARNING +msgid "Warn before overwriting an existing file" +msgstr "Avisa abans de sobreescriure un fitxer existent" + +#. DESC_SKIP_EXISTING +msgid "" +"If filename counter is automatically increased, used numbers are skipped" +msgstr "" +"Si el comptador en el nom de fitxer s'incrementa automĆ ticament, s'ometen " +"els nĆŗmeros ja usats" + +#. DESC_SAVE_PS_FLATEDECODED +#, fuzzy +msgid "" +"compress postscript image with zlib algorithm (flatedecode). When you want " +"to print such a file your printer has to understand postscript level 3" +msgstr "" +"Comprimeix les imatges PostScript amb l'algoritme FlatDecode de zlib. Per a " +"poder imprimir un fitxer d'aquest tipus, la impressora ha d'entendre el " +"format PostScript nivell 3" + +#. DESC_SAVE_PDF_FLATEDECODED +#, fuzzy +msgid "compress PDF image with zlib algorithm (flatedecode)." +msgstr "Comprimeix les imatges PDF amb l'algoritme FlatDecode de zlib" + +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" +"Quan hagueu de desar una imatge de 16 bits en format PNM, empreu el format " +"ASCII en comptes del binari. El format PNM binari Ć©s un format nou que no " +"accepten tots els programes. El format PNM ASCII es pot fer servir amb mĆ©s " +"programes, perĆ² produeix fitxers molt grans." + +#. DESC_REDUCE_16BIT_TO_8BIT +#, fuzzy +msgid "" +"If scanner sends image with 16 bits/channel save image with 8 bits/channel" +msgstr "" +"Si l'escĆ ner envia la imatge amb 16 bits per color, desa-la amb 8 bits per " +"color" + +#. DESC_PSFILE_WIDTH +msgid "Width of paper for postscript files" +msgstr "Amplada del paper per als fitxers PostScript" + +#. DESC_PSFILE_HEIGHT +msgid "Height of paper for postscript files" +msgstr "AlĆ§Ć ria del paper per als fitxers PostScript" + +#. DESC_PSFILE_LEFTOFFSET +msgid "" +"Left offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"DistĆ ncia entre el marge esquerre del paper i l'Ć rea usable, per als fitxers " +"PostScript" + +#. DESC_PSFILE_BOTTOMOFFSET +msgid "" +"Bottom offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"DistĆ ncia entre el marge inferior del paper i l'Ć rea usable, per als fitxers " +"PostScript" + +#. DESC_MAIN_WINDOW_FIXED +msgid "Use fixed main window size or scrolled, resizable main window" +msgstr "" +"Usa una finestra principal de mida fixa o bĆ© una de redimensionable, amb " +"barra de desplaƧament" + +#. DESC_DISABLE_GIMP_PREVIEW_GAMMA +#, fuzzy +msgid "Disable preview gamma when XSane runs as GIMP plugin" +msgstr "" +"Inhabilita la previsualitzaciĆ³ de la correcciĆ³ gamma quan l'XSane funciona " +"com a connector d'El Gimp" + +#. DESC_PREVIEW_COLORMAP +msgid "Use an own colormap for preview if display depth is 8 bpp" +msgstr "" +"Usa un mapa de colors propi per a la previsualitzaciĆ³ si la profunditat de " +"la pantalla Ć©s de 8 bpp" + +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "Seleccioneu com es mostren els intervals de valors" + +#. DESC_PREVIEW_OVERSAMPLING +msgid "Value with that the calculated preview resolution is multiplied" +msgstr "" +"Valor amb quĆØ es multiplica la resoluciĆ³ de previsualitzaciĆ³ calculada " +"prĆØviament" + +#. DESC_PREVIEW_GAMMA +msgid "Set gamma correction value for preview image" +msgstr "" +"Especifiqueu el valor de correcciĆ³ gamma per a la imatge de previsualitzaciĆ³" + +#. DESC_PREVIEW_GAMMA_RED +msgid "Set gamma correction value for red component of preview image" +msgstr "" +"Especifiqueu el valor de correcciĆ³ gamma de la component vermella per a la " +"imatge de previsualitzaciĆ³" + +#. DESC_PREVIEW_GAMMA_GREEN +msgid "Set gamma correction value for green component of preview image" +msgstr "" +"Especifiqueu el valor de correcciĆ³ gamma de la component verda per a la " +"imatge de previsualitzaciĆ³" + +#. DESC_PREVIEW_GAMMA_BLUE +msgid "Set gamma correction value for blue component of preview image" +msgstr "" +"Especifiqueu el valor de correcciĆ³ gamma de la component blava per a la " +"imatge de previsualitzaciĆ³" + +#. DESC_LINEART_MODE +msgid "Define the way XSane shall handle the threshold option" +msgstr "Definiu la manera en quĆØ l'XSane ha de gestionar l'opciĆ³ de llindar" + +#. DESC_GRAYSCALE_SCANMODE +msgid "" +"Select grayscale scanmode. This scanmode is used for lineart preview scan " +"when transformation from grayscale to lineart is enabled" +msgstr "" +"Selecciona el mode d'escaneig en escala de grisos. Aquest mode es fa sevir " +"per a la previsualitzaciĆ³ d'imatges en blanc i negre quan la transformaciĆ³ " +"d'escala de grisos a mode lĆnia estĆ habilitada" + +#. DESC_PREVIEW_THRESHOLD_MIN +#, no-c-format +msgid "The scanner's minimum threshold level in %" +msgstr "El llindar inferior de l'escĆ ner en percentatge" + +#. DESC_PREVIEW_THRESHOLD_MAX +#, no-c-format +msgid "The scanner's maximum threshold level in %" +msgstr "El llindar superior de l'escĆ ner en percentatge" + +#. DESC_PREVIEW_THRESHOLD_MUL +msgid "" +"Multiplier to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Multiplicador per a igualar els llindars de l'XSane amb els de l'escĆ ner" + +#. DESC_PREVIEW_THRESHOLD_OFF +msgid "" +"Offset to make XSane threshold range and scanner threshold range the same" +msgstr "" +"DesplaƧament per a igualar els llindars de l'XSane amb els de l'escĆ ner" + +#. DESC_ADF_PAGES_MAX +msgid "Number of pages to scan" +msgstr "Nombre de pĆ gines a escanejar" + +#. DESC_PREVIEW_PIPETTE_RANGE +msgid "dimension of square that is used to average color for pipette function" +msgstr "" +"DimensiĆ³ del quadrat que s'usa amb la pipeta per a fer la mitjana del color" + +#. DESC_DOC_VIEWER +msgid "" +"Enter command to be executed to display helpfiles, must be a html-viewer!" +msgstr "" +"IntroduĆÆu l'ordre a executar per a mostrar els fitxers d'ajuda. Ha de ser un " +"visualitzador d'HTML." + +#. DESC_AUTOENHANCE_GAMMA +msgid "Change gamma value when autoenhancement button is pressed" +msgstr "Canvia el valor de la gamma en prĆ©mer el botĆ³ de realƧament automĆ tic" + +#. DESC_PRESELECT_SCANAREA +msgid "Select scanarea after preview scan has finished" +msgstr "Selecciona l'Ć rea d'escaneig quan l'escaneig de previsualitzaciĆ³ acabi" + +#. DESC_AUTOCORRECT_COLORS +msgid "Do color correction after preview scan has finished" +msgstr "Corregeix el color quan l'escaneig de previsualitzaciĆ³ acabi" + +#. DESC_RENDERING_INTENT +#, fuzzy +msgid "Select rendering intent for preview and saving" +msgstr "Selecciona l'Ć rea d'escaneig quan l'escaneig de previsualitzaciĆ³ acabi" + +#. DESC_CMS_BPC +msgid "Apply black point compensation when color transformation is done" +msgstr "" + +#. DESC_FAX_COMMAND +msgid "Enter command to be executed in fax mode" +msgstr "IntroduĆÆu l'ordre que s'executarĆ en mode fax" + +#. DESC_FAX_RECEIVER_OPT +msgid "Enter option to specify receiver" +msgstr "IntroduĆÆu l'opciĆ³ per a especificar el receptor" + +#. DESC_FAX_POSTSCRIPT_OPT +msgid "Enter option to specify postscript files following" +msgstr "" +"IntroduĆÆu l'opciĆ³ per a especificar els fitxers PostScript a continuaciĆ³" + +#. DESC_FAX_NORMAL_OPT +msgid "Enter option to specify normal mode (low resolution)" +msgstr "IntroduĆÆu l'opciĆ³ per a especificar el mode normal (baixa resoluciĆ³)" + +#. DESC_FAX_FINE_OPT +msgid "Enter option to specify fine mode (high resolution)" +msgstr "IntroduĆÆu l'opciĆ³ per a especificar el mode detallat (alta resoluciĆ³)" + +#. DESC_FAX_VIEWER +msgid "Enter command to be executed to view a fax" +msgstr "IntroduĆÆu l'ordre a executar per a veure un fax" + +#. DESC_FAX_FINE_MODE +msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" +msgstr "" +"Envia el fax amb resoluciĆ³ vertical alta (196 lpi per comptes de 98 lpi)" + +#. DESC_FAX_PS_FLATEDECODED +#, fuzzy +msgid "Create zlib compressed postscript image for fax (flatedecode)" +msgstr "" +"Crea imatges PostScript comprimides amb zlib per als faxos (algoritme " +"FlatDecode)" + +#. DESC_SMTP_SERVER +msgid "IP Address or Domain name of SMTP server" +msgstr "AdreƧa IP o nom de domini del servidor SMTP" + +#. DESC_SMTP_PORT +msgid "port to connect to SMTP server" +msgstr "Port per a connectar al servidor SMTP" + +#. DESC_EMAIL_FROM +msgid "enter your e-mail address" +msgstr "IntroduĆÆu la vostra adreƧa electrĆ²nica" + +#. DESC_EMAIL_REPLY_TO +msgid "enter e-mail address for replied e-mails" +msgstr "IntroduĆÆu l'adreƧa electrĆ²nica a on voleu que us responguin" + +#. DESC_EMAIL_AUTHENTICATION +msgid "Type of authentication before sending e-mail" +msgstr "Tipus d'autenticaciĆ³ abans d'enviar el correu" + +#. DESC_EMAIL_AUTH_USER +msgid "user name for e-mail server" +msgstr "Nom d'usuari per al servidor de correu" + +#. DESC_EMAIL_AUTH_PASS +msgid "password for e-mail server" +msgstr "Contrasenya per al servidor de correu" + +#. DESC_POP3_SERVER +msgid "IP Address or Domain name of POP3 server" +msgstr "AdreƧa IP o nom de domini del servidor POP3" + +#. DESC_POP3_PORT +msgid "port to connect to POP3 server" +msgstr "Port per a connectar al servidor POP3" + +#. DESC_HTML_EMAIL +msgid "E-mail is sent in html mode, place image with: <IMAGE>" +msgstr "El missatge s'enviarĆ en HTML; podeu incorporar-hi imatges amb <IMAGE>" + +#. DESC_OCR_COMMAND +msgid "Enter command to start ocr program" +msgstr "IntroduĆÆu l'ordre per a iniciar el programa d'OCR" + +#. DESC_OCR_INPUTFILE_OPT +msgid "Enter option of the ocr program to define input file" +msgstr "IntroduĆÆu l'opciĆ³ del programa d'OCR per a definir el fitxer d'entrada" + +#. DESC_OCR_OUTPUTFILE_OPT +msgid "Enter option of the ocr program to define output file" +msgstr "" +"IntroduĆÆu l'opciĆ³ del programa d'OCR per a definir el fitxer de sortida" + +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "" +"Especifiqueu si el programa d'OCR permet l'Ćŗs d'un conducte de progrĆ©s a la " +"interfĆcie grĆ fica" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" +"IntroduĆÆu l'opciĆ³ del programa d'OCR per a definir el descriptor del fitxer " +"de sortida en mode grĆ fic" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "" +"Especifiqueu la paraula clau que s'usa per a marcar la informaciĆ³ de progrĆ©s" + +#. DESC_PERMISSION_READ +msgid "read" +msgstr "lectura" + +#. DESC_PERMISSION_WRITE +msgid "write" +msgstr "escriptura" + +#. DESC_PERMISSION_SEARCH +#, fuzzy +msgid "search" +msgstr "Usuari" + +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "Afegeix la selecciĆ³ al lot d'escaneig" + +#. DESC_PIPETTE_WHITE +msgid "Pick white point" +msgstr "Tria un punt blanc" + +#. DESC_PIPETTE_GRAY +msgid "Pick gray point" +msgstr "Tria un punt gris" + +#. DESC_PIPETTE_BLACK +msgid "Pick black point" +msgstr "Tria un punt negre" + +#. DESC_ZOOM_FULL +msgid "Use full scanarea" +msgstr "Usa tota l'Ć rea d'escaneig" + +#. DESC_ZOOM_OUT +#, no-c-format +msgid "Zoom 20% out" +msgstr "Redueix l'ampliaciĆ³ un 20%" + +#. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "Feu clic a la posiciĆ³ on vulgueu ampliar" + +#. DESC_ZOOM_AREA +msgid "Zoom into selected area" +msgstr "Amplia l'Ć rea seleccionada" + +#. DESC_ZOOM_UNDO +msgid "Undo last zoom" +msgstr "DesfĆ©s l'Ćŗltima ampliaciĆ³" + +#. DESC_FULL_PREVIEW_AREA +msgid "Select visible area" +msgstr "Seleccioneu l'Ć rea visible" + +#. DESC_AUTOSELECT_SCANAREA +msgid "Autoselect scanarea" +msgstr "Selecciona automĆ ticament l'Ć rea d'escaneig" + +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "Posa davant automĆ ticament l'Ć rea d'escaneig" + +#. DESC_DELETE_IMAGES +msgid "Delete preview image cache" +msgstr "Buida la memĆ²ria cau de la imatge de previsualitzaciĆ³" + +#. DESC_PRESET_AREA +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" +"Ćrea prefixada:\n" +"Per a afegir una Ć rea nova o editar-ne una d'existent, useu el menĆŗ " +"contextual (botĆ³ dret del ratolĆ)" + +#. DESC_ROTATION +msgid "Rotate preview and scan" +msgstr "Rota la previsualitzaciĆ³ i l'escaneig" + +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "RelaciĆ³ d'aspecte de la selecciĆ³" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "Especifiqueu la posiciĆ³ de la imatge per a la impressiĆ³" + +#. DESC_VIEWER_OCR +msgid "Optical Character Recognition" +msgstr "Reconeixement Ćptic de CarĆ cters (OCR)" + +#. DESC_VIEWER_UNDO +msgid "Undo last change" +msgstr "DesfĆ©s l'Ćŗltim canvi" + +#. DESC_VIEWER_CLONE +msgid "Clone image" +msgstr "Clona la imatge" + +#. DESC_ROTATE90 +msgid "Rotate image 90 degree" +msgstr "Rota la imatge 90 graus" + +#. DESC_ROTATE180 +msgid "Rotate image 180 degree" +msgstr "Rota la imatge 180 graus" + +#. DESC_ROTATE270 +msgid "Rotate image 270 degree" +msgstr "Rota la imatge 270 graus" + +#. DESC_MIRROR_X +msgid "Mirror image at vertical axis" +msgstr "Reflecteix la imatge en l'eix vertical" + +#. DESC_MIRROR_Y +msgid "Mirror image at horizontal axis" +msgstr "Reflecteix la imatge en l'eix horitzontal" + +#. DESC_VIEWER_ZOOM +msgid "Zoom image" +msgstr "Amplia la imatge" + +#. DESC_STORE_MEDIUM +msgid "Store medium" +msgstr "Emmagatzema el mitjĆ " + +#. DESC_DELETE_MEDIUM +msgid "Delete active medium" +msgstr "Elimina el mitjĆ actiu" + +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "Factor d'escala" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "Factor d'escala en X" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "Factor d'escala en Y" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "Escala la imatge a l'amplada especificada (en pĆxels)" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "Escala la imatge a l'alĆ§Ć ria especificada (en pĆxels)" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "Buida el lot d'escaneig" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "Desa el lot d'escaneig" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "Carrega un lot d'escaneig" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "Reanomena l'Ć rea" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "Afegeix l'Ć rea seleccionada de la previsualitzaciĆ³ al lot d'escaneig" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "Elimina l'Ć rea seleccionada del lot d'escaneig" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "Activa el mode automĆ tic" + +#. DESC_BUTTON_SCANNER_DEFAULT_COLOR_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default color ICM-profile" +msgstr "Navegueu per a trobar el nom de fitxer de la imatge" + +#. DESC_BUTTON_SCANNER_DEFAULT_GRAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default gray ICM-profile" +msgstr "Navegueu per a trobar el nom de fitxer de la imatge" + +#. DESC_BUTTON_DISPLAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for display ICM-profile" +msgstr "Navegueu per a trobar el nom de fitxer de la imatge" + +#. DESC_BUTTON_PRINTER_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for printer ICM-profile" +msgstr "Navegueu per a trobar el nom de fitxer de la imatge" + +#. DESC_BUTTON_CUSTOM_PROOFING_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for custom proofing ICM-profile" +msgstr "Navegueu per a trobar el nom de fitxer de la imatge" + +#. DESC_BUTTON_WORKING_COLOR_SPACE_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for working color space ICM-profile" +msgstr "Navegueu per a trobar el nom de fitxer de la imatge" + +#. ERR_HOME_DIR +msgid "Failed to determine home directory:" +msgstr "No s'ha pogut determinar el directori d'usuari:" + +#. ERR_CHANGE_WORKING_DIR +msgid "Failed to change working directory to" +msgstr "No s'ha pogut canviar el directori de treball a" + +#. ERR_FILENAME_TOO_LONG +msgid "Filename too long" +msgstr "Nom de fitxer massa llarg" + +#. ERR_CREATE_TEMP_FILE +msgid "" +"Could not create temporary file.\n" +"Open Menue Preferences->Setup Tab Save and\n" +"select a temporary directory where you have\n" +"write permissions." +msgstr "" +"No s'ha pogut crear el fitxer temporal.\n" +"Obriu el menĆŗ PreferĆØncies -> ConfiguraciĆ³, pestanya Desament\n" +"i seleccioneu un directori temporal en el qual tingueu permisos." + +#. ERR_SET_OPTION +msgid "Failed to set value of option" +msgstr "No s'ha pogut establir el valor de l'opciĆ³" + +#. ERR_GET_OPTION +msgid "Failed to obtain value of option" +msgstr "No s'ha pogut obtenir el valor de l'opciĆ³" + +#. ERR_OPTION_COUNT +msgid "Error obtaining option count" +msgstr "S'ha produĆÆt un error en obtenir el comptador d'opcions" + +#. ERR_DEVICE_OPEN_FAILED +msgid "Failed to open device" +msgstr "No s'ha pogut obrir el dispositiu" + +#. ERR_NO_DEVICES +msgid "no devices available" +msgstr "No hi ha cap dispositiu disponible" + +#. ERR_DURING_READ +msgid "Error during read:" +msgstr "S'ha produĆÆt un error en llegir:" + +#. ERR_DURING_SAVE +msgid "Error during save:" +msgstr "S'ha produĆÆt un error en desar:" + +#. ERR_BAD_DEPTH +msgid "Can't handle depth" +msgstr "No es pot gestionar aquesta profunditat" + +#. ERR_UNKNOWN_SAVING_FORMAT +msgid "Unknown file format for saving" +msgstr "Format de fitxer desconegut per a desar" + +#. ERR_OPEN_FAILED +msgid "Failed to open" +msgstr "No s'ha pogut obrir" + +#. ERR_CREATE_SECURE_FILE +msgid "Could not create secure file (may be a link does exist):" +msgstr "No s'ha pogut crear un fitxer segur (potser hi ha un enllaƧ):" + +#. ERR_FAILED_PRINTER_PIPE +msgid "Failed to open pipe for executing printercommand" +msgstr "No s'ha pogut obrir el conducte per a executar l'ordre d'impressiĆ³" + +#. ERR_FAILED_EXEC_PRINTER_CMD +msgid "Failed to execute printercommand:" +msgstr "No s'ha pogut executar l'ordre d'impressiĆ³:" + +#. ERR_FAILED_START_SCANNER +msgid "Failed to start scanner:" +msgstr "No s'ha pogut inicialitzar l'escĆ ner:" + +#. ERR_FAILED_GET_PARAMS +msgid "Failed to get parameters:" +msgstr "No s'ha pogut obtenir els parĆ metres:" + +#. ERR_NO_OUTPUT_FORMAT +msgid "No output format given" +msgstr "No heu proporcionat cap format de sortida" + +#. ERR_NO_MEM +msgid "out of memory" +msgstr "Sense memĆ²ria" + +#. ERR_TOO_MUCH_DATA +msgid "Backend sends more image data than it defined in parameters" +msgstr "" +"El controlador envia mĆ©s dades d'imatge de les que estan definides a la " +"configuraciĆ³" + +#. ERR_LIBTIFF +msgid "LIBTIFF reports error" +msgstr "LIBTIFF informa d'un error" + +#. ERR_LIBPNG +msgid "LIBPNG reports error" +msgstr "LIBPNG informa d'un error" + +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "LIBJPEG informa d'un error" + +#. ERR_ZLIB +msgid "ZLIB error or memory allocation problem" +msgstr "" +"S'ha produĆÆt un error de la ZLIB o bĆ© un problema d'assignaciĆ³ de memĆ²ria" + +#. ERR_UNKNOWN_TYPE +msgid "unknown type" +msgstr "Tipus desconegut" + +#. ERR_UNKNOWN_CONSTRAINT_TYPE +msgid "unknown constraint type" +msgstr "Tipus de restricciĆ³ desconegut" + +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "L'opciĆ³ tĆ© el nom buit (NULL)." + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "" +"AixĆ² Ć©s un problema del controlador. Si us plau, informeu l'autor d'aquest " +"controlador." + +#. ERR_FAILED_EXEC_DOC_VIEWER +msgid "Failed to execute documentation viewer:" +msgstr "No s'ha pogut executar el visualitzador de documentaciĆ³:" + +#. ERR_FAILED_EXEC_FAX_VIEWER +msgid "Failed to execute fax viewer:" +msgstr "No s'ha pogut executar el visualitzador de fax:" + +#. ERR_FAILED_EXEC_FAX_CMD +msgid "Failed to execute fax command:" +msgstr "No s'ha pogut executar l'ordre de fax:" + +#. ERR_FAILED_EXEC_OCR_CMD +msgid "Failed to execute ocr command:" +msgstr "No s'ha pogut executar l'ordre d'OCR:" + +#. ERR_BAD_FRAME_FORMAT +msgid "bad frame format" +msgstr "Format del quadre inadequat" + +#. ERR_FAILED_SET_RESOLUTION +msgid "unable to set resolution" +msgstr "No s'ha pogut establir la resoluciĆ³" + +#. ERR_PASSWORD_FILE_INSECURE +#, c-format +msgid "Password file (%s) is insecure, use permission x00\n" +msgstr "El fitxer de contrasenyes (%s) no Ć©s segur; useu els permisos x00\n" + +#. ERR_ERROR +msgid "error" +msgstr "S'ha produĆÆt un error" + +#. ERR_MAJOR_VERSION_NR_CONFLICT +msgid "Sane major version number mismatch!" +msgstr "La versiĆ³ del Sane no Ć©s compatible." + +#. ERR_XSANE_MAJOR_VERSION +msgid "XSane major version =" +msgstr "VersiĆ³ de l'XSane:" + +#. ERR_BACKEND_MAJOR_VERSION +msgid "backend major version =" +msgstr "VersiĆ³ del controlador:" + +#. ERR_PROGRAM_ABORTED +msgid "*** PROGRAM ABORTED ***" +msgstr "*** S'HA AVORTAT EL PROGRAMA ***" + +#. ERR_FAILED_ALLOCATE_IMAGE +msgid "Failed to allocate image memory:" +msgstr "No s'ha pogut assignar memĆ²ria per a la imatge:" + +#. ERR_PREVIEW_BAD_DEPTH +msgid "Preview cannot handle bit depth" +msgstr "La previsualitzaciĆ³ no pot gestionar aquesta profunditat" + +#. ERR_GIMP_SUPPORT_MISSING +msgid "GIMP support missing" +msgstr "Manca el connector per a El Gimp" + +#. ERR_CREATE_FAX_PROJECT +msgid "Could not create faxproject" +msgstr "No s'ha pogut crear el projecte de fax" + +#. WARN_COUNTER_UNDERRUN +msgid "Filename counter underrun" +msgstr "Desbordament inferior del comptador dels noms de fitxers consecutius" + +#. WARN_NO_VALUE_CONSTRAINT +msgid "warning: option has no value constraint" +msgstr "AvĆs: aquesta opciĆ³ no tĆ© cap restricciĆ³ en els valors" + +#. WARN_XSANE_AS_ROOT +msgid "" +"You try to run XSane as ROOT, that really is DANGEROUS!\n" +"\n" +"Do not send any bug reports when you\n" +"have any problem while running XSane as root:\n" +"YOU ARE ALONE!" +msgstr "" +"Esteu provant d'executar l'XSane com a usuari root. AixĆ² Ć©s MOLT PERILLĆS.\n" +"\n" +"No envieu cap informe d'errors si, mentre executeu l'XSane com a root,\n" +"us trobeu cap probema:\n" +"ĆS RESPONSABILITAT VOSTRA." + +#. ERR_HEADER_ERROR +msgid "Error" +msgstr "Error" + +#. ERR_HEADER_WARNING +msgid "Warning" +msgstr "AvĆs" + +#. ERR_HEADER_INFO +msgid "Information" +msgstr "InformaciĆ³" + +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "Error en el procĆ©s fill" + +#. ERR_FAILED_CREATE_FILE +msgid "Failed to create file:" +msgstr "No s'ha pogut crear el fitxer:" + +#. ERR_LOAD_DEVICE_SETTINGS +msgid "Error while loading device settings:" +msgstr "S'ha produĆÆt un error en carregar la configuraciĆ³ del dispositiu:" + +#. ERR_NO_DRC_FILE +msgid "is not a device-rc-file !!!" +msgstr "no Ć©s un fitxer de dispositiu." + +#. ERR_NETSCAPE_EXECUTE_FAIL +msgid "Failed to execute netscape!" +msgstr "No s'ha pogut executar el Netscape." + +#. ERR_SENDFAX_RECEIVER_MISSING +msgid "Send fax: no receiver defined" +msgstr "Enviament de fax: no s'ha definit cap receptor" + +#. ERR_CREATED_FOR_DEVICE +msgid "has been created for device" +msgstr "s'ha creat per al dispositiu" + +#. ERR_USED_FOR_DEVICE +msgid "you want to use it for device" +msgstr "voleu usar-ho per al dispositiu" + +#. ERR_MAY_CAUSE_PROBLEMS +msgid "this may cause problems!" +msgstr "aixĆ² pot provocar problemes" + +#. WARN_UNSAVED_IMAGES +#, c-format +msgid "There are %d unsaved images" +msgstr "Hi ha %d imatges sense desar" + +#. WARN_FILE_EXISTS +#, c-format +msgid "File %s already exists" +msgstr "El fitxer %s ja existeix" + +#. ERR_FILE_NOT_EXISTS +#, c-format +msgid "File %s does not exist" +msgstr "El fitxer %s no existeix" + +#. ERR_FILE_NOT_POSTSCRIPT +#, c-format +msgid "File %s is not a postscript file" +msgstr "El fitxer %s no Ć©s un fitxer PostScript" + +#. ERR_UNSUPPORTED_OUTPUT_FORMAT +#, c-format +msgid "Unsupported %d-bit output format: %s" +msgstr "Format de sortida de %d bits no permĆ©s: %s" + +#. ERR_CMS_CONVERSION +#, fuzzy +msgid "Error during CMS conversion:" +msgstr "S'ha produĆÆt un error en desar:" + +#. ERR_CMS_OPEN_ICM_FILE +#, fuzzy +msgid "Could not open" +msgstr "No s'ha pogut obrir" + +#. CMS_SCANNER_ICM +#, fuzzy +msgid "scanner ICM profile" +msgstr "Elimina la impressora" + +#. CMS_DISPLAY_ICM +#, fuzzy +msgid "display ICM profile" +msgstr "Navegueu per a trobar el nom de fitxer de la imatge" + +#. CMS_PROOF_ICM +#, fuzzy +msgid "proofing ICM profile" +msgstr "Elimina la impressora" + +#. ERR_CMS_CREATE_TRANSFORM +#, fuzzy +msgid "Could not create transform" +msgstr "No s'ha pogut crear el projecte de fax" + +#. WARN_VIEWER_IMAGE_NOT_SAVED +msgid "viewer image is not saved" +msgstr "La imatge del visualitzador no s'ha desat" + +#. FILE_FILTER_ALL_FILES +msgid "All files" +msgstr "" + +#. FILE_FILTER_IMAGES +#, fuzzy +msgid "Images" +msgstr "PĆ gines:" + +#. FILE_FILTER_XBL +#, fuzzy +msgid "XSane batch list" +msgstr "Desa el lot d'escaneig" + +#. FILE_FILTER_ICM +msgid "ICC/ICM Profiles" +msgstr "" + +#. FILE_FILTER_DRC +#, fuzzy +msgid "XSane device preferences" +msgstr "Desa la configuraciĆ³ del dispositiu en sortir" + +#. FILE_FILTER_RC +#, fuzzy +msgid "XSane preferences" +msgstr "PreferĆØncies" + +#. TEXT_USAGE +msgid "Usage:" +msgstr "Sintaxi:" + +#. TEXT_USAGE_OPTIONS +msgid "[OPTION]... [DEVICE]" +msgstr "[OPCIĆ]... [DISPOSITIU]" + +#. TEXT_HELP +msgid "" +"Start up graphical user interface to access SANE (Scanner Access Now Easy) " +"devices.\n" +"\n" +"The format of [DEVICE] is backendname:devicefile (e.g. umax:/dev/scanner).\n" +"[OPTION]... can be a combination of the following items:\n" +" -h, --help display this help message and exit\n" +" -v, --version print version information\n" +" -l, --license print license information\n" +"\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" +"\n" +" -V, --viewer start with viewer-mode active (default)\n" +" -s, --save start with save-mode active\n" +" -c, --copy start with copy-mode active\n" +" -m, --multipage start with multipage-mode active\n" +" -f, --fax start with fax-mode active\n" +" -e, --email start with e-mail-mode active\n" +" -n, --no-mode-selection disable menu for XSane mode selection\n" +"\n" +" -F, --Fixed fixed main window size (overwrite preferences " +"value)\n" +" -R, --Resizeable resizable, scrolled main window (overwrite " +"preferences value)\n" +"\n" +" -p, --print-filenames print image filenames created by XSane\n" +" -N, --force-filename name force filename and disable user filename " +"selection\n" +"\n" +" --display X11-display redirect output to X11-display\n" +" --no-xshm do not use shared memory images\n" +" --sync request a synchronous connection with the X11 " +"server" +msgstr "" +"Inicia la interfĆcie grĆ fica d'usuari per a accedir als dispositius SANE " +"(Scanner Access Now Easy).\n" +"\n" +"El format de [DISPOSITIU] Ć©s nomdelcontrolador:fitxerdedispositiu (p.ex.: " +"umax:/dev/scanner).\n" +"[OPCIĆ]... pot ser una combinaciĆ³ dels segĆ¼ents elements:\n" +" -h, --help mostra aquest missatge d'ajuda i surt\n" +" -v, --version imprimeix informaciĆ³ de la versiĆ³\n" +" -l, --license imprimeix informaciĆ³ de la llicĆØncia\n" +"\n" +" -d, --device-settings file carrega una configuraciĆ³ de dispositiu d'un " +"fitxer (sense \".drc\")\n" +"\n" +" -V, --viewer inicia amb el mode de visualitzaciĆ³ actiu " +"(predeterminat)\n" +" -s, --save inicia amb el mode de desament actiu\n" +" -c, --copy inicia amb el mode de cĆ²pia actiu\n" +" -m, --multipage inicia amb el mode de multipĆ gina actiu\n" +" -f, --fax inicia amb el mode de fax actiu\n" +" -e, --email inicia amb el mode de correu electrĆ²nic actiu\n" +" -n, --no-mode-selection inhabilita el menĆŗ per a la selecciĆ³ de mode " +"de l'XSane\n" +"\n" +" -F, --Fixed finestra principal de mida fixa (sobreescriu " +"el valor de les preferĆØncies)\n" +" -R, --Resizeable finestra principal redimensionable i amb barra " +"de desplaƧament (sobreescriu el valor de les preferĆØncies)\n" +"\n" +" -p, --print-filenames imprimeix els noms de fitxer d'imatge creats " +"per l'XSane\n" +" -N, --force-filename name forƧa un nom de fitxer i inhabilita la " +"selecciĆ³ de nom de fitxer per a l'usuari\n" +"\n" +" --display X11-display redirecciona la sortida a la pantalla X11\n" +" --no-xshm no usis imatges de memĆ²ria compartida\n" +" --sync demana una connexiĆ³ sĆncrona amb el servidor " +"X11" + +#. strings for gimp plugin +#. XSANE_GIMP_INSTALL_BLURB +msgid "Front-end to the SANE interface" +msgstr "Frontal grĆ fic per a la interfĆcie SANE" + +#. XSANE_GIMP_INSTALL_HELP +msgid "" +"This function provides access to scanners and other image acquisition " +"devices through the SANE (Scanner Access Now Easy) interface." +msgstr "" +"Aquesta funciĆ³ proporciona accĆ©s a escĆ ners i altres dispositius " +"d'adquisiciĆ³ d'imatge mitjanƧant la interfĆcie SANE (Scanner Access Now " +"Easy: AccĆ©s a escĆ ners fet facil)." + +#. Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" +#. XSANE_GIMP_MENU_DIALOG +msgid "<Toolbox>/File/Acquire/XSane: Device dialog..." +msgstr "<Toolbox>/File/Acquire/XSane: DiĆ leg de dispositiu..." + +#. XSANE_GIMP_MENU +msgid "<Toolbox>/File/Acquire/XSane: " +msgstr "<Toolbox>/File/Acquire/XSane: " + +#. XSANE_GIMP_MENU_DIALOG_OLD +msgid "<Toolbox>/Xtns/XSane/Device dialog..." +msgstr "<Toolbox>/Xtns/XSane/DiĆ leg de dispositiu..." + +#. XSANE_GIMP_MENU_OLD +msgid "<Toolbox>/Xtns/XSane/" +msgstr "<Toolbox>/Xtns/XSane/" + +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" +"Possibles motius:\n" +"1) Realment no hi ha cap dispositiu reconegut pel SANE\n" +"2) Els dispositius reconeguts estan ocupats\n" +"3) Els permisos del fitxer de dispositiu no permeten que l'useu. Proveu com " +"a root\n" +"4) El SANE no ha carregat el controlador (man sane-dll)\n" +"5) El controlador no s'ha configurat correctament (man sane-" +"\"nomdelcontrolador\")\n" +"6) Probablement hi hagi mĆ©s d'una versiĆ³ del SANE instalĀ·lada" + +#. strings that are used in structures, so it is not allowed to use _()/gettext() here +#. gettext_noop does mark these texts but does not change the string +#. MENU_ITEM_SURFACE_FULL_SIZE +msgid "full size" +msgstr "Mida completa" + +#. MENU_ITEM_SURFACE_DIN_A3P +msgid "DIN A3 port." +msgstr "DIN A3 vertical" + +#. MENU_ITEM_SURFACE_DIN_A3L +msgid "DIN A3 land." +msgstr "DIN A3 horitzontal" + +#. MENU_ITEM_SURFACE_DIN_A4P +msgid "DIN A4 port." +msgstr "DIN A4 vertical" + +#. MENU_ITEM_SURFACE_DIN_A4L +msgid "DIN A4 land." +msgstr "DIN A4 horitzontal" + +#. MENU_ITEM_SURFACE_DIN_A5P +msgid "DIN A5 port." +msgstr "DIN A5 vertical" + +#. MENU_ITEM_SURFACE_DIN_A5L +msgid "DIN A5 land." +msgstr "DIN A5 horitzontal" + +#. MENU_ITEM_SURFACE_13cmx18cm +msgid "13cm x 18cm" +msgstr "13 cm x 18 cm" + +#. MENU_ITEM_SURFACE_18cmx13cm +msgid "18cm x 13cm" +msgstr "18 cm x 13 cm" + +#. MENU_ITEM_SURFACE_10cmx15cm +msgid "10cm x 15cm" +msgstr "10 cm x 15 cm" + +#. MENU_ITEM_SURFACE_15cmx10cm +msgid "15cm x 10cm" +msgstr "15 cm x 10 cm" + +#. MENU_ITEM_SURFACE_9cmx13cm +msgid "9cm x 13cm" +msgstr "9 cm x 13 cm" + +#. MENU_ITEM_SURFACE_13cmx9cm +msgid "13cm x 9cm" +msgstr "13 cm x 9 cm" + +#. MENU_ITEM_SURFACE_legal_P +msgid "legal port." +msgstr "Legal vertical" + +#. MENU_ITEM_SURFACE_legal_L +msgid "legal land." +msgstr "Legal horitzontal" + +#. MENU_ITEM_SURFACE_letter_P +msgid "letter port." +msgstr "Carta vertical" + +#. MENU_ITEM_SURFACE_letter_L +msgid "letter land." +msgstr "Carta horitzontal" + +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "Tots els colors" + +#. MENU_ITEM_MEDIUM_SLIDE +msgid "Slide" +msgstr "Diapositiva" + +#. MENU_ITEM_MEDIUM_STANDARD_NEG +msgid "Standard negative" +msgstr "Negatiu estĆ ndard" + +#. MENU_ITEM_MEDIUM_AGFA_NEG +msgid "Agfa negative" +msgstr "Negatiu Agfa" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_XRG200_4 +msgid "Agfa negative XRG 200-4" +msgstr "Negatiu Agfa XRG 200-4" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_HDC_100 +msgid "Agfa negative HDC 100" +msgstr "Negatiu Agfa HDC 100" + +#. MENU_ITEM_MEDIUM_FUJI_NEG +msgid "Fuji negative" +msgstr "Negatiu Fuji" + +#. MENU_ITEM_MEDIUM_KODAK_NEG +msgid "Kodak negative" +msgstr "Negatiu Kodak" + +#. MENU_ITEM_MEDIUM_KONICA_NEG +msgid "Konica negative" +msgstr "Negatiu Konica" + +#. MENU_ITEM_MEDIUM_KONICA_NEG_VX_100 +msgid "Konica negative VX 100" +msgstr "Negatiu Konica VX 100" + +#. MENU_ITEM_MEDIUM_ROSSMANN_NEG_HR_100 +msgid "Rossmann negative HR 100" +msgstr "Negatiu Rossmann HR 100" + +#. TEXT_PROJECT_STATUS_NOT_CREATED +msgid "Project not created" +msgstr "No s'ha creat cap projecte" + +#. TEXT_PROJECT_STATUS_CREATED +msgid "Project created" +msgstr "S'ha creat el projecte" + +#. TEXT_PROJECT_STATUS_CHANGED +msgid "Project changed" +msgstr "S'ha modificat el projecte" + +#. TEXT_PROJECT_STATUS_ERR_READ_PROJECT +msgid "Error reading project" +msgstr "S'ha produĆÆt un error en llegir el projecte" + +#. TEXT_PROJECT_STATUS_FILE_SAVING_ERROR +msgid "Error saving file" +msgstr "S'ha produĆÆt un error en desar el fitxer" + +#. TEXT_PROJECT_STATUS_FILE_SAVING +msgid "Saving file" +msgstr "S'estĆ desant el fitxer" + +#. TEXT_PROJECT_STATUS_FILE_SAVING_ABORTED +msgid "Aborted saving file" +msgstr "S'ha avortat el desament del fitxer" + +#. TEXT_PROJECT_STATUS_FILE_SAVED +msgid "File has been saved" +msgstr "S'ha desat el fitxer" + +#. TEXT_EMAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "Ha fallat la connexiĆ³ POP3" + +#. TEXT_EMAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "Ha fallat la identificaciĆ³ POP3" + +#. TEXT_EMAIL_STATUS_ASMTP_AUTH_FAILED +msgid "ASMTP authentication failed" +msgstr "Ha fallat l'autenticaciĆ³ ASMTP" + +#. TEXT_EMAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "Ha fallat la connexiĆ³ SMTP" + +#. TEXT_EMAIL_STATUS_SMTP_ERR_FROM +msgid "From entry not accepted" +msgstr "No s'ha acceptat el camp \"De:\"" + +#. TEXT_EMAIL_STATUS_SMTP_ERR_RCPT +msgid "Receiver entry not accepted" +msgstr "No s'ha acceptat el camp del receptor" + +#. TEXT_EMAIL_STATUS_SMTP_ERR_DATA +msgid "E-mail data not accepted" +msgstr "No s'ha acceptat el cos del missatge" + +#. TEXT_EMAIL_STATUS_SENDING +msgid "Sending e-mail" +msgstr "S'estĆ enviant el missatge" + +#. TEXT_EMAIL_STATUS_SENT +msgid "E-mail has been sent" +msgstr "S'ha enviat el missatge" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "S'estĆ posant el fax a la cua" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "El fax Ć©s a la cua" + +#. Sane backend messages +msgid "flatbed scanner" +msgstr "EscĆ ner de sobretaula" + +msgid "frame grabber" +msgstr "Capturador de quadres" + +msgid "handheld scanner" +msgstr "EscĆ ner manual" + +msgid "still camera" +msgstr "CĆ mera fotogrĆ fica" + +msgid "video camera" +msgstr "CĆ mera de vĆdeo" + +msgid "virtual device" +msgstr "Dispositiu virtual" + +msgid "Success" +msgstr "OperaciĆ³ completada amb ĆØxit" + +msgid "Operation not supported" +msgstr "OperaciĆ³ no permesa" + +msgid "Operation was cancelled" +msgstr "S'ha cancelĀ·lat l'operaciĆ³" + +msgid "Device busy" +msgstr "Dispositiu ocupat" + +msgid "Invalid argument" +msgstr "Argument invĆ ild" + +msgid "End of file reached" +msgstr "S'ha arribat al final del fitxer" + +msgid "Document feeder jammed" +msgstr "L'alimentador de documents s'ha encallat" + +msgid "Document feeder out of documents" +msgstr "L'alimentador de documents Ć©s buit" + +msgid "Scanner cover is open" +msgstr "La tapa de l'escĆ ner Ć©s oberta" + +msgid "Error during device I/O" +msgstr "S'ha produĆÆt un error d'E/S en el dispositiu" + +msgid "Out of memory" +msgstr "Sense memĆ²ria" + +msgid "Access to resource has been denied" +msgstr "S'ha denegat l'accĆ©s al recurs" + +#, fuzzy +#~ msgid "select scanner transmissive ICM-profile" +#~ msgstr "Elimina la impressora" + +#, fuzzy +#~ msgid "select scanner transmissive gray ICM-profile" +#~ msgstr "Elimina la impressora" + +#, fuzzy +#~ msgid "Scanner reflective ICM-profile" +#~ msgstr "Elimina la impressora" + +#, fuzzy +#~ msgid "Scanner reflective gray ICM-profile" +#~ msgstr "Elimina la impressora" + +#, fuzzy +#~ msgid "Scanner transmissive gray ICM-profile" +#~ msgstr "Elimina la impressora" + +#, fuzzy +#~ msgid "Scanner reflektive ICM-profile" +#~ msgstr "Elimina la impressora" + +#, fuzzy +#~ msgid "Browse for scanner transmissive ICM-profile" +#~ msgstr "Navegueu per a trobar el nom de fitxer de la imatge" + +#, fuzzy +#~ msgid "Browse for scanner transmissive gray ICM-profile" +#~ msgstr "Navegueu per a trobar el nom de fitxer de la imatge" + +#~ msgid "GIMP can't handle depth %d bits/color" +#~ msgstr "El Gimp no pot gestionar una profunditat de %d bits/color" + +#, fuzzy +#~ msgid "scanner reflective ICM profile" +#~ msgstr "Elimina la impressora" + +#, fuzzy +#~ msgid "Embed scanner/source ICM profile for GIMP" +#~ msgstr "Elimina la impressora" + +#~ msgid "Enter name of fax project" +#~ msgstr "IntroduĆÆu el nom del projecte de fax" + +#~ msgid "Enter name of e-mail project" +#~ msgstr "IntroduĆÆu el nom del projecte de correu electrĆ²nic" + +#~ msgid "Enter name of multipage project" +#~ msgstr "IntroduĆÆu el nom del projecte de multipĆ gina" + +#~ msgid "" +#~ "Gimp does not support depth 16 bits/color.\n" +#~ "Do you want to reduce the depth to 8 bits/color?" +#~ msgstr "" +#~ "El Gimp no permet l'Ćŗs de 16 bits per color.\n" +#~ "Voleu reduir la profunditat a 8 bits per color?" Binary files differ@@ -5,7 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: XSANE 0.99\n" -"POT-Creation-Date: 2006-01-07 00:26+0100\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-25 23:44+0100\n" "PO-Revision-Date: 2005-12-31 16:09+0100\n" "Last-Translator: Stanislav Brabec <utx@penguin.cz>\n" "Language-Team: Czech <cs@li.org>\n" @@ -32,6 +33,7 @@ msgid "About" msgstr "O programu" #. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +#. MENU_ITEM_ABOUT_TRANSLATION msgid "About translation" msgstr "O pÅekladu" @@ -71,6 +73,11 @@ msgstr "pÅejmenovat dĆ”vkovou oblast" msgid "fax project" msgstr "faxovĆ½ projekt" +#. WINDOW_FAX_PROJECT_BROWSE +#, fuzzy +msgid "browse for fax project" +msgstr "ZadĆ”nĆ jmĆ©na faxovĆ©ho projektu" + #. WINDOW_FAX_RENAME msgid "rename fax page" msgstr "pÅejmenovat faxovou strĆ”nku" @@ -83,6 +90,11 @@ msgstr "zadat ps-soubor pro fax" msgid "E-mail project" msgstr "PoÅ”tovnĆ projekt" +#. WINDOW_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "browse for email project" +msgstr "Zadejte jmĆ©no poÅ”tovnĆho projektu" + #. WINDOW_EMAIL_RENAME msgid "rename e-mail image" msgstr "pÅejmenovat obrĆ”zek do poÅ”ty" @@ -95,6 +107,11 @@ msgstr "vložit soubor do poÅ”ty" msgid "multipage project" msgstr "vĆcestrĆ”nkovĆ½ projekt" +#. WINDOW_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "browse for multipage project" +msgstr "vĆcestrĆ”nkovĆ½ projekt" + #. WINDOW_PRESET_AREA_RENAME msgid "rename preset area" msgstr "pÅejmenovat pÅedvolenou oblast" @@ -140,6 +157,7 @@ msgid "Preview" msgstr "NĆ”hled" #. WINDOW_VIEWER +#. MENU_ITEM_VIEWER msgid "Viewer" msgstr "ProhlĆžeÄ" @@ -172,14 +190,17 @@ msgid "select temporary directory" msgstr "vĆ½bÄr pomocnĆ©ho adresĆ”Åe" #. WINDOW_SCALE +#. DESC_VIEWER_SCALE msgid "Scale image" msgstr "ZmÄna velikosti obrĆ”zku" #. WINDOW_DESPECKLE +#. DESC_VIEWER_DESPECKLE msgid "Despeckle image" msgstr "VyÄistit obrĆ”zek" #. WINDOW_BLUR +#. DESC_VIEWER_BLUR msgid "Blur image" msgstr "RozostÅit obrĆ”zek" @@ -191,6 +212,35 @@ msgstr "Uložit definici mĆ©dia" msgid "No devices available" msgstr "Nejsou k dispozici Å¾Ć”dnĆ” zaÅĆzenĆ" +#. WINDOW_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "select scanner default color ICM-profile" +msgstr "Odebrat tiskĆ”rnu" + +#. WINDOW_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "select scanner default gray ICM-profile" +msgstr "Odebrat tiskĆ”rnu" + +#. WINDOW_DISPLAY_ICM_PROFILE +msgid "select display ICM-profile" +msgstr "" + +#. WINDOW_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "select custom proofing ICM-profile" +msgstr "vĆ½bÄr jmĆ©na vĆ½stupnĆho souboru" + +#. WINDOW_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "select working color space ICM-profile" +msgstr "Odebrat tiskĆ”rnu" + +#. WINDOW_PRINTER_ICM_PROFILE +#, fuzzy +msgid "select printer ICM-profile" +msgstr "Odebrat tiskĆ”rnu" + #. MENU_FILE msgid "File" msgstr "Soubor" @@ -208,6 +258,7 @@ msgid "Window" msgstr "Okno" #. MENU_HELP +#. BUTTON_HELP msgid "Help" msgstr "NĆ”povÄda" @@ -223,6 +274,11 @@ msgstr "Filtry" msgid "Geometry" msgstr "Geometrie" +#. MENU_COLOR_MANAGEMENT +#. NOTEBOOK_COLOR_MANAGEMENT_OPTIONS +msgid "Color management" +msgstr "" + #. MENU_ITEM_ABOUT_XSANE msgid "About XSane" msgstr "O XSane" @@ -236,6 +292,7 @@ msgid "Quit" msgstr "Konec" #. MENU_ITEM_SAVE_IMAGE +#. DESC_VIEWER_SAVE msgid "Save image" msgstr "ZĆ”pis obrĆ”zku" @@ -252,6 +309,7 @@ msgid "Scale" msgstr "ZmÄna velikosti" #. MENU_ITEM_CLOSE +#. BUTTON_CLOSE msgid "Close" msgstr "ZavÅĆt" @@ -443,11 +501,11 @@ msgstr "VarovĆ”nĆ o pÅepsĆ”nĆ" msgid "Skip existing filenames" msgstr "PÅeskoÄit existujĆcĆ jmĆ©na souborÅÆ" -#. RADIO_BUTTON_SAVE_PS_FLATDECODED +#. RADIO_BUTTON_SAVE_PS_FLATEDECODED msgid "Save postscript zlib compressed (ps level 3)" msgstr "Zapsat zlib komprimovanĆ½ postscript (ps level 3)" -#. RADIO_BUTTON_SAVE_PDF_FLATDECODED +#. RADIO_BUTTON_SAVE_PDF_FLATEDECODED msgid "Save PDF zlib compressed" msgstr "Zapsat zlib komprimovanĆ½ PDF" @@ -464,7 +522,8 @@ msgid "Main window size fixed" msgstr "PevnĆ” velikost hlavnĆho okna" #. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable gimp preview gamma" +#, fuzzy +msgid "Disable GIMP preview gamma" msgstr "ZakĆ”zat pro gimp gama nĆ”hledu" #. RADIO_BUTTON_PRIVATE_COLORMAP @@ -487,6 +546,11 @@ msgstr "AutomatickĆ” korekce barev" msgid "Use GUI progress pipe" msgstr "PoužĆt GUI rouru prÅÆbÄhu" +#. RADIO_BUTTON_CMS_BPC +#. MENU_ITEM_CMS_BLACK_POINT_COMPENSATION +msgid "Black point compensation" +msgstr "" + #. TEXT_SCANNING_DEVICES msgid "scanning for devices" msgstr "prochĆ”zejĆ se zaÅĆzenĆ" @@ -503,6 +567,12 @@ msgstr "PÅedvolby XSane" msgid "Type" msgstr "Typ" +#. TEXT_CMS_FUNCTION +#. DESC_CMS_FUNCTION +#, fuzzy +msgid "Color management function" +msgstr "PlnĆ½ rozsah barev" + #. TEXT_SCANNER_BACKEND msgid "Scanner and backend:" msgstr "Skener a ovladaÄ:" @@ -575,18 +645,11 @@ msgstr "8bitovĆ© vĆ½stupnĆ formĆ”ty:" msgid "16 bit output formats:" msgstr "16bitovĆ© vĆ½stupnĆ formĆ”ty:" -#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT -msgid "" -"Gimp does not support depth 16 bits/color.\n" -"Do you want to reduce the depth to 8 bits/color?" -msgstr "" -"GIMP nepodporuje hloubku 16 bitÅÆ/barvu.\n" -"Chcete redukovat hloubku na 8 bitÅÆ/barvu?" - #. TEXT_REDUCE_16BIT_TO_8BIT +#, fuzzy msgid "" -"Bit depth 16 bits/color is not supported for this output format.\n" -"Do you want to reduce the depth to 8 bits/color?" +"Bit depth 16 bits/channel is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/channel?" msgstr "" "Tento vĆ½stupnĆ formĆ”t nepodporuje hloubku 16 bitÅÆ/barvu.\n" "Chcete redukovat hloubku na 8 bitÅÆ/barvu?<" @@ -623,6 +686,11 @@ msgstr "verze:" msgid "package" msgstr "balĆk" +#. TEXT_WITH_CMS_FUNCTION +#, fuzzy +msgid "with color management function" +msgstr "PlnĆ½ rozsah barev" + #. TEXT_WITH_GIMP_SUPPORT msgid "with GIMP support" msgstr "s podporou programu GIMP" @@ -754,9 +822,10 @@ msgid "Medium Name:" msgstr "NĆ”zev mĆ©dia:" #. TEXT_VIEWER_IMAGE_INFO -#, c-format +#, fuzzy, c-format msgid "" -"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +"Size %d x %d pixel, %d bits/channel, %d channels, %1.0f dpi x %1.0f dpi, %" +"1.1f %s" msgstr "" "Velikost v pixelech: %d Ć %d, bitÅÆ/barvu: %d, barev: %d, %1.0f dpi Ć %1.0f " "dpi, %1.1f %s" @@ -810,6 +879,7 @@ msgid "Name:" msgstr "JmĆ©no:" #. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +#. TEXT_SETUP_FAX_COMMAND msgid "Command:" msgstr "PÅĆkaz:" @@ -830,18 +900,22 @@ msgid "Color resolution (dpi):" msgstr "RozliÅ”enĆ v barvÄ (dpi):" #. TEXT_SETUP_PRINTER_WIDTH +#. TEXT_SETUP_FAX_WIDTH msgid "Width" msgstr "Å ĆÅka" #. TEXT_SETUP_PRINTER_HEIGHT +#. TEXT_SETUP_FAX_HEIGHT msgid "Height" msgstr "VĆ½Å”ka" #. TEXT_SETUP_PRINTER_LEFT +#. TEXT_SETUP_FAX_LEFT msgid "Left offset" msgstr "LevĆ½ posun" #. TEXT_SETUP_PRINTER_BOTTOM +#. TEXT_SETUP_FAX_BOTTOM msgid "Bottom offset" msgstr "SpodnĆ posun" @@ -861,7 +935,17 @@ msgstr "ZelenĆ” gama tiskĆ”rny:" msgid "Printer gamma blue:" msgstr "ModrĆ” gama tiskĆ”rny:" -#. TEXT_SETUP_PRINTER_PS_FLATDECODED +#. TEXT_SETUP_PRINTER_EMBED_CSA +#, fuzzy +msgid "Embed scanner ICM profile as CSA" +msgstr "Odebrat tiskĆ”rnu" + +#. TEXT_SETUP_PRINTER_EMBED_CRD +#, fuzzy +msgid "Embed printer ICM profile as CRD" +msgstr "Odebrat tiskĆ”rnu" + +#. TEXT_SETUP_PRINTER_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for printing" msgstr "VytvoÅit zlib komprimovanĆ½ postscript (ps level 3) pro tisk" @@ -985,7 +1069,7 @@ msgstr "Nastavit implicitnĆ program pro:" msgid "Viewer (Postscript):" msgstr "ProhlĆžeÄ (Postscript):" -#. TEXT_SETUP_FAX_PS_FLATDECODED +#. TEXT_SETUP_FAX_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for fax" msgstr "VytvoÅit zlib komprimovanĆ½ postscript (ps level 3) pro fax" @@ -1061,10 +1145,45 @@ msgstr "skupina" msgid "all" msgstr "vÅ”ichni" +#. TEXT_SETUP_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "Scanner default color ICM-profile" +msgstr "Odebrat tiskĆ”rnu" + +#. TEXT_SETUP_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "Scanner default gray ICM-profile" +msgstr "Odebrat tiskĆ”rnu" + +#. TEXT_SETUP_DISPLAY_ICM_PROFILE +#. DESC_DISPLAY_ICM_PROFILE +msgid "Display ICM-profile" +msgstr "" + +#. TEXT_SETUP_CUSTOM_PROOFING_ICM_PROFILE +#. DESC_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "Custom proofing ICM-profile" +msgstr "Odebrat tiskĆ”rnu" + +#. TEXT_SETUP_WORKING_COLOR_SPACE_ICM_PROFILE +#. DESC_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "Working color space ICM-profile" +msgstr "Vyhledat jmĆ©no souboru" + +#. TEXT_SETUP_PRINTER_ICM_PROFILE +#. DESC_PRINTER_ICM_PROFILE +msgid "Printer ICM-profile" +msgstr "" + msgid "new media" msgstr "novĆ© mĆ©dium" #. NOTEBOOK_SAVING_OPTIONS +#. MENU_ITEM_SAVE msgid "Save" msgstr "ZĆ”pis" @@ -1073,14 +1192,17 @@ msgid "Filetype" msgstr "Typ souboru" #. NOTEBOOK_COPY_OPTIONS +#. MENU_ITEM_COPY msgid "Copy" msgstr "KopĆrovĆ”nĆ" #. NOTEBOOK_FAX_OPTIONS +#. MENU_ITEM_FAX msgid "Fax" msgstr "FaxovĆ”nĆ" #. NOTEBOOK_EMAIL_OPTIONS +#. MENU_ITEM_EMAIL msgid "E-mail" msgstr "E-mail" @@ -1172,6 +1294,12 @@ msgstr "Zobrazovat seznam rozliÅ”enĆ" msgid "Rotate postscript" msgstr "Rotovat postscript" +#. MENU_ITEM_ENABLE_COLOR_MANAGEMENT +#. MENU_ITEM_CMS_ENABLE_COLOR_MANAGEMENT +#, fuzzy +msgid "Enable color management" +msgstr "PlnĆ½ rozsah barev" + #. MENU_ITEM_EDIT_MEDIUM_DEF msgid "Edit medium definition" msgstr "Upravit definici mĆ©dia" @@ -1216,6 +1344,86 @@ msgstr "SkenovacĆ tipy" msgid "Problems?" msgstr "ProblĆ©my?" +#. MENU_ITEM_CMS_PROOFING +#, fuzzy +msgid "Proofing" +msgstr "PÅidat tiskĆ”rnu" + +#. SUBMENU_ITEM_CMS_PROOF_OFF +msgid "no proofing (Display)" +msgstr "" + +#. SUBMENU_ITEM_CMS_PROOF_PRINTER +#, fuzzy +msgid "Proof printer" +msgstr "PÅidat tiskĆ”rnu" + +#. SUBMENU_ITEM_CMS_PROOF_CUSTOM +msgid "Proof custom device" +msgstr "" + +#. MENU_ITEM_CMS_RENDERING_INTENT +#, fuzzy +msgid "Rendering intent" +msgstr "PÅidat tiskĆ”rnu" + +#. MENU_ITEM_CMS_PROOFING_INTENT +#, fuzzy +msgid "Proofing rendering intent" +msgstr "PÅidat tiskĆ”rnu" + +#. SUBMENU_ITEM_CMS_INTENT_PERCEPTUAL +msgid "Perceptual" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_RELATIVE_COLORIMETRIC +msgid "Relative colorimetric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_ABSOLUTE_COLORIMETRIC +msgid "Absolute colorimentric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_SATURATION +#, fuzzy +msgid "Saturation" +msgstr "autorizace" + +#. MENU_ITEM_CMS_GAMUT_CHECK +msgid "Gamut check" +msgstr "" + +#. MENU_ITEM_CMS_GAMUT_ALARM_COLOR +msgid "Gamut alarm color" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLACK +msgid "Black" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_GRAY +msgid "Gray" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_WHITE +#, fuzzy +msgid "White" +msgstr "zĆ”pis" + +#. SUBMENU_ITEM_CMS_COLOR_RED +#, fuzzy +msgid "Red" +msgstr "Redukovat" + +#. SUBMENU_ITEM_CMS_COLOR_GREEN +msgid "Green" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLUE +#, fuzzy +msgid "Blue" +msgstr "RozostÅenĆ" + #. MENU_ITEM_COUNTER_LEN_INACTIVE msgid "inactive" msgstr "neaktivnĆ" @@ -1332,6 +1540,20 @@ msgstr "ASMTP pÅihlĆ”Å”enĆ" msgid "ASMTP CRAM-MD5" msgstr "ASMTP CRAM-MD5" +#. MENU_ITEM_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE +#, fuzzy +msgid "Embed scanner ICM profile" +msgstr "Odebrat tiskĆ”rnu" + +#. MENU_ITEM_CMS_FUNCTION_CONVERT_TO_SRGB +msgid "Convert to sRGB" +msgstr "" + +#. MENU_ITEM_FUNCTION_CONVERT_TO_WORKING_CS +#, fuzzy +msgid "Convert to working color space" +msgstr "AutomatickĆ” korekce barev" + #. PROGRESS_SCANNING msgid "Scanning" msgstr "Skenuje se" @@ -1389,6 +1611,11 @@ msgstr "ObrĆ”zek se rozostÅuje" msgid "OCR in progress" msgstr "ProbĆhĆ” OCR" +#. PROGRESS_ICM_CONVERSION +#, fuzzy +msgid "converting colors" +msgstr "AutomatickĆ” korekce barev" + #. DESC_SCAN_START msgid "Start scan <Ctrl-Enter>" msgstr "ZahĆ”jit skenovĆ”nĆ <Ctrl-Vstup>" @@ -1446,8 +1673,9 @@ msgstr "" "Typ formĆ”tu obrĆ”zku, vhodnĆ” koncovka je ke jmĆ©nu souboru doplnÄnĆ” automaticky" #. DESC_FAXPROJECT -msgid "Enter name of fax project" -msgstr "ZadĆ”nĆ jmĆ©na faxovĆ©ho projektu" +#, fuzzy +msgid "Enter fax project directory name" +msgstr "Vyhledat pomocnĆ½ adresĆ”Å" #. DESC_FAXPAGENAME msgid "Enter new name for faxpage" @@ -1457,9 +1685,15 @@ msgstr "ZadĆ”nĆ jmĆ©na faxovĆ© strany" msgid "Enter receiver phone number or address" msgstr "ZadĆ”nĆ telefonnĆho ÄĆsla nebo adresy pÅĆjemce" +#. DESC_FAX_PROJECT_BROWSE +#, fuzzy +msgid "Browse for fax project directory" +msgstr "Vyhledat pomocnĆ½ adresĆ”Å" + #. DESC_EMAIL_PROJECT -msgid "Enter name of e-mail project" -msgstr "Zadejte jmĆ©no poÅ”tovnĆho projektu" +#, fuzzy +msgid "Enter e-mail project directory name" +msgstr "Vyhledat pomocnĆ½ adresĆ”Å" #. DESC_EMAIL_IMAGENAME msgid "Enter new name for e-mail image" @@ -1469,6 +1703,11 @@ msgstr "Zadejte novĆ© jmĆ©no obrĆ”zku do poÅ”ty" msgid "Enter e-mail address" msgstr "Zadejte e-mailovou adresu" +#. DESC_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "Browse for email project directory" +msgstr "Vyhledat pomocnĆ½ adresĆ”Å" + #. DESC_EMAIL_SUBJECT msgid "Enter subject of e-mail" msgstr "Zadejte pÅedmÄt zprĆ”vy" @@ -1478,8 +1717,14 @@ msgid "Select filetype for image attachments" msgstr "Zvolte typ souboru pro obrĆ”zkovĆ© pÅĆlohy" #. DESC_MULTIPAGE_PROJECT -msgid "Enter name of multipage project" -msgstr "Zadejte jmĆ©no vĆcestrĆ”nkovĆ©ho projektu" +#, fuzzy +msgid "Enter multipage project directory name" +msgstr "Vyhledat pomocnĆ½ adresĆ”Å" + +#. DESC_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "Browse for multipage project directory" +msgstr "Vyhledat pomocnĆ½ adresĆ”Å" #. DESC_MULTIPAGE_FILETYPE msgid "Select filetype for multipage file" @@ -1604,7 +1849,8 @@ msgstr "" " kontrast = 0" #. DESC_ENH_AUTO -msgid "Autoadjust gamma, brightness and contrast <Ctrl-e>" +#, fuzzy +msgid "Autoadjust gamma, brightness and contrast <Ctrl-a>" msgstr "AutomatickĆ© nastavenĆ gamy, jasu a kontrastu <Ctrl-e>" #. DESC_ENH_DEFAULT @@ -1688,18 +1934,22 @@ msgstr "" "postscriptu" #. DESC_PRINTER_WIDTH +#. DESC_FAX_WIDTH msgid "Width of printable area" msgstr "Å ĆÅka tisknutelnĆ© plochy" #. DESC_PRINTER_HEIGHT +#. DESC_FAX_HEIGHT msgid "Height of printable area" msgstr "VĆ½Å”ka tisknutelnĆ© plochy" #. DESC_PRINTER_LEFTOFFSET +#. DESC_FAX_LEFTOFFSET msgid "Left offset from the edge of the paper to the printable area" msgstr "Posun od levĆ©ho okraje papĆru do tisknutelnĆ© plochy" #. DESC_PRINTER_BOTTOMOFFSET +#. DESC_FAX_BOTTOMOFFSET msgid "Bottom offset from the edge of the paper to the printable area" msgstr "Posun od spodnĆho okraje papĆru do tisknutelnĆ© plochy" @@ -1719,9 +1969,18 @@ msgstr "DodateÄnĆ” gama hodnota pro zelenou komponentu pro kopĆrovĆ”nĆ" msgid "Additional gamma value for blue component for photocopy" msgstr "DodateÄnĆ” gama hodnota pro modrou komponentu pro kopĆrovĆ”nĆ" -#. DESC_PRINTER_PS_FLATDECODED +#. DESC_PRINTER_EMBED_CSA +msgid "Creates a postsciptfile that contains the ICM profile of the scanner" +msgstr "" + +#. DESC_PRINTER_EMBED_CRD +msgid "Creates a postsciptfile that contains the ICM profile of the printer" +msgstr "" + +#. DESC_PRINTER_PS_FLATEDECODED +#, fuzzy msgid "" -"Create zlib compressed postscript image for printer (flatdecode).\n" +"Create zlib compressed postscript image for printer (flatedecode).\n" "The printer has to understand postscript level 3!" msgstr "" "VytvoÅit zlib komprimovanĆ½ postscript obrĆ”zek pro tisk (flat dekĆ³dovĆ”nĆ).\n" @@ -1781,16 +2040,18 @@ msgid "" msgstr "" "Je-li ÄĆtaÄ souborÅÆ automaticky zvÄtÅ”ovĆ”n, použitĆ” ÄĆsla jsou pÅeskoÄena" -#. DESC_SAVE_PS_FLATDECODED +#. DESC_SAVE_PS_FLATEDECODED +#, fuzzy msgid "" -"compress postscript image with zlib algorithm (flatdecode). When you want to " -"print such a file your printer has to understand postscript level 3" +"compress postscript image with zlib algorithm (flatedecode). When you want " +"to print such a file your printer has to understand postscript level 3" msgstr "" "komprimovat postscript obrĆ”zek algoritmem zlib (flat dekĆ³dovĆ”nĆ). Chcete-li " "takovĆ½ obrĆ”zek tisknout, tiskĆ”rna musĆ podporovat postscript level 3" -#. DESC_SAVE_PDF_FLATDECODED -msgid "compress PDF image with zlib algorithm (flatdecode)." +#. DESC_SAVE_PDF_FLATEDECODED +#, fuzzy +msgid "compress PDF image with zlib algorithm (flatedecode)." msgstr "komprimovat PDF obrĆ”zek algoritmem zlib (flat dekĆ³dovĆ”nĆ)." #. DESC_SAVE_PNM16_AS_ASCII @@ -1806,7 +2067,9 @@ msgstr "" "soubory!!!" #. DESC_REDUCE_16BIT_TO_8BIT -msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +#, fuzzy +msgid "" +"If scanner sends image with 16 bits/channel save image with 8 bits/channel" msgstr "" "PoÅ”le-li skener obrĆ”zek sĀ 16Ā bity/barvu, zapsat obrĆ”zek vĀ 8Ā bitech/barvu" @@ -1840,7 +2103,8 @@ msgstr "" "velikostĆ" #. DESC_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable preview gamma when XSane runs as gimp plugin" +#, fuzzy +msgid "Disable preview gamma when XSane runs as GIMP plugin" msgstr "ZakĆ”zat gama nĆ”hledu, bÄžĆ-li XSane jako gimp modul" #. DESC_PREVIEW_COLORMAP @@ -1906,7 +2170,7 @@ msgstr "Posun, kterĆ½ nastavĆ shodnĆ½ rozsah prahÅÆ XSane a rozsah prahÅÆ skene #. DESC_ADF_PAGES_MAX msgid "Number of pages to scan" -msgstr "PoÄest strĆ”nek k oskenovĆ”nĆ" +msgstr "PoÄet strĆ”nek k oskenovĆ”nĆ" #. DESC_PREVIEW_PIPETTE_RANGE msgid "dimension of square that is used to average color for pipette function" @@ -1931,6 +2195,15 @@ msgstr "Po naskenovĆ”nĆ nĆ”hledu vybere skenovacĆ oblast" msgid "Do color correction after preview scan has finished" msgstr "Po naskenovĆ”nĆ nĆ”hledu provede barevnou korekci" +#. DESC_RENDERING_INTENT +#, fuzzy +msgid "Select rendering intent for preview and saving" +msgstr "Po naskenovĆ”nĆ nĆ”hledu vybere skenovacĆ oblast" + +#. DESC_CMS_BPC +msgid "Apply black point compensation when color transformation is done" +msgstr "" + #. DESC_FAX_COMMAND msgid "Enter command to be executed in fax mode" msgstr "NastavenĆ pÅĆkazu provĆ”dÄnĆ©ho ve faxovĆ©m režimu" @@ -1960,8 +2233,9 @@ msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" msgstr "" "UžitĆ vysokĆ©ho svislĆ©ho rozliÅ”enĆ pÅi odesĆlĆ”nĆ faxu (196Ā dpi namĆsto 98Ā dpi)" -#. DESC_FAX_PS_FLATDECODED -msgid "Create zlib compressed postscript image for fax (flatdecode)" +#. DESC_FAX_PS_FLATEDECODED +#, fuzzy +msgid "Create zlib compressed postscript image for fax (flatedecode)" msgstr "VytvoÅit zlib komprimovanĆ½ postscript pro fax (flat dekĆ³dovĆ”nĆ)" #. DESC_SMTP_SERVER @@ -2038,9 +2312,10 @@ msgstr "ÄtenĆ" msgid "write" msgstr "zĆ”pis" -#. DESC_PERMISSION_EXECUTE -msgid "execute" -msgstr "spuÅ”tÄnĆ" +#. DESC_PERMISSION_SEARCH +#, fuzzy +msgid "search" +msgstr "uživatel" #. DESC_ADD_BATCH msgid "Add selection for batch scan" @@ -2209,6 +2484,36 @@ msgstr "PÅidat vybranou oblast ze seznamu dĆ”vek" msgid "Turns on automatic mode" msgstr "Zapne automatickĆ½ režim" +#. DESC_BUTTON_SCANNER_DEFAULT_COLOR_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default color ICM-profile" +msgstr "Vyhledat jmĆ©no souboru" + +#. DESC_BUTTON_SCANNER_DEFAULT_GRAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default gray ICM-profile" +msgstr "Vyhledat jmĆ©no souboru" + +#. DESC_BUTTON_DISPLAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for display ICM-profile" +msgstr "Vyhledat jmĆ©no souboru" + +#. DESC_BUTTON_PRINTER_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for printer ICM-profile" +msgstr "Vyhledat jmĆ©no souboru" + +#. DESC_BUTTON_CUSTOM_PROOFING_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for custom proofing ICM-profile" +msgstr "Vyhledat jmĆ©no souboru" + +#. DESC_BUTTON_WORKING_COLOR_SPACE_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for working color space ICM-profile" +msgstr "Vyhledat jmĆ©no souboru" + #. ERR_HOME_DIR msgid "Failed to determine home directory:" msgstr "Selhalo urÄenĆ domovskĆ©ho adresĆ”Åe:" @@ -2261,11 +2566,6 @@ msgstr "Chyba bÄhem zĆ”pisu:" msgid "Can't handle depth" msgstr "Nelze zpracovat hloubku" -#. ERR_GIMP_BAD_DEPTH -#, c-format -msgid "GIMP can't handle depth %d bits/color" -msgstr "GIMP nepodporuje hloubku %d bitÅÆ/barvu" - #. ERR_UNKNOWN_SAVING_FORMAT msgid "Unknown file format for saving" msgstr "NeznĆ”mĆ½ formĆ”t souboru pro zĆ”pis" @@ -2498,10 +2798,68 @@ msgstr "Soubor %s nenĆ postscriptovĆ½ soubor" msgid "Unsupported %d-bit output format: %s" msgstr "NepodporovanĆ© %dbitovĆ© vĆ½stupnĆ formĆ”ty: %s" +#. ERR_CMS_CONVERSION +#, fuzzy +msgid "Error during CMS conversion:" +msgstr "Chyba bÄhem zĆ”pisu:" + +#. ERR_CMS_OPEN_ICM_FILE +#, fuzzy +msgid "Could not open" +msgstr "OtevÅenĆ selhalo" + +#. CMS_SCANNER_ICM +#, fuzzy +msgid "scanner ICM profile" +msgstr "Odebrat tiskĆ”rnu" + +#. CMS_DISPLAY_ICM +#, fuzzy +msgid "display ICM profile" +msgstr "Vyhledat jmĆ©no souboru" + +#. CMS_PROOF_ICM +#, fuzzy +msgid "proofing ICM profile" +msgstr "Odebrat tiskĆ”rnu" + +#. ERR_CMS_CREATE_TRANSFORM +#, fuzzy +msgid "Could not create transform" +msgstr "Nelze vytvoÅit doÄasnĆ½ soubor" + #. WARN_VIEWER_IMAGE_NOT_SAVED msgid "viewer image is not saved" msgstr "obrĆ”zek zĀ prohlĆžeÄe nenĆ zapsĆ”n" +#. FILE_FILTER_ALL_FILES +msgid "All files" +msgstr "" + +#. FILE_FILTER_IMAGES +#, fuzzy +msgid "Images" +msgstr "ObrĆ”zek" + +#. FILE_FILTER_XBL +#, fuzzy +msgid "XSane batch list" +msgstr "Zapsat seznam dĆ”vek" + +#. FILE_FILTER_ICM +msgid "ICC/ICM Profiles" +msgstr "" + +#. FILE_FILTER_DRC +#, fuzzy +msgid "XSane device preferences" +msgstr "PÅi skonÄenĆ zapsat pÅedvolby zaÅĆzenĆ" + +#. FILE_FILTER_RC +#, fuzzy +msgid "XSane preferences" +msgstr "NastavenĆ" + #. TEXT_USAGE msgid "Usage:" msgstr "UžitĆ:" @@ -2876,8 +3234,64 @@ msgstr "Nedostatek pamÄti" msgid "Access to resource has been denied" msgstr "PÅĆstup ke zdroji byl odmĆtnut" -#~ msgid "Could not create temporary file" -#~ msgstr "Nelze vytvoÅit doÄasnĆ½ soubor" +#, fuzzy +#~ msgid "select scanner transmissive ICM-profile" +#~ msgstr "Odebrat tiskĆ”rnu" + +#, fuzzy +#~ msgid "select scanner transmissive gray ICM-profile" +#~ msgstr "Odebrat tiskĆ”rnu" + +#, fuzzy +#~ msgid "Scanner reflective ICM-profile" +#~ msgstr "Odebrat tiskĆ”rnu" + +#, fuzzy +#~ msgid "Scanner reflective gray ICM-profile" +#~ msgstr "Odebrat tiskĆ”rnu" + +#, fuzzy +#~ msgid "Scanner transmissive gray ICM-profile" +#~ msgstr "Odebrat tiskĆ”rnu" + +#, fuzzy +#~ msgid "Scanner reflektive ICM-profile" +#~ msgstr "Odebrat tiskĆ”rnu" + +#, fuzzy +#~ msgid "Browse for scanner transmissive ICM-profile" +#~ msgstr "Vyhledat jmĆ©no souboru" + +#, fuzzy +#~ msgid "Browse for scanner transmissive gray ICM-profile" +#~ msgstr "Vyhledat jmĆ©no souboru" + +#~ msgid "GIMP can't handle depth %d bits/color" +#~ msgstr "GIMP nepodporuje hloubku %d bitÅÆ/barvu" + +#, fuzzy +#~ msgid "scanner reflective ICM profile" +#~ msgstr "Odebrat tiskĆ”rnu" + +#, fuzzy +#~ msgid "Embed scanner/source ICM profile for GIMP" +#~ msgstr "Odebrat tiskĆ”rnu" + +#~ msgid "Enter name of fax project" +#~ msgstr "ZadĆ”nĆ jmĆ©na faxovĆ©ho projektu" + +#~ msgid "Enter name of e-mail project" +#~ msgstr "Zadejte jmĆ©no poÅ”tovnĆho projektu" + +#~ msgid "Enter name of multipage project" +#~ msgstr "Zadejte jmĆ©no vĆcestrĆ”nkovĆ©ho projektu" + +#~ msgid "" +#~ "Gimp does not support depth 16 bits/color.\n" +#~ "Do you want to reduce the depth to 8 bits/color?" +#~ msgstr "" +#~ "GIMP nepodporuje hloubku 16 bitÅÆ/barvu.\n" +#~ "Chcete redukovat hloubku na 8 bitÅÆ/barvu?" #~ msgid "Could not create temporary preview files" #~ msgstr "Nelze vytvoÅit pracovnĆ nĆ”hledovĆ© soubory" @@ -2940,9 +3354,6 @@ msgstr "PÅĆstup ke zdroji byl odmĆtnut" #~ msgid "Multipage saving aborted" #~ msgstr "PoÅ”tovnĆ projekt byl vytvoÅen" -#~ msgid "Image" -#~ msgstr "ObrĆ”zek" - #~ msgid "Viewer (png):" #~ msgstr "ProhlĆžeÄ (png):" @@ -6,7 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: XSANE 0.99\n" -"POT-Creation-Date: 2006-01-07 00:26+0100\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-25 23:44+0100\n" "PO-Revision-Date: 2005-12-31 04:36+0100\n" "Last-Translator: Mogens Jaeger <mogensjaeger@get2net.dk>\n" "Language-Team: Danish <dansk@klid.dk>\n" @@ -34,6 +35,7 @@ msgid "About" msgstr "Om" #. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +#. MENU_ITEM_ABOUT_TRANSLATION msgid "About translation" msgstr "Om oversƦttelse" @@ -73,6 +75,11 @@ msgstr "omdĆøb batchomrĆ„de" msgid "fax project" msgstr "fax projekt" +#. WINDOW_FAX_PROJECT_BROWSE +#, fuzzy +msgid "browse for fax project" +msgstr "Angiv navn pĆ„ fax projekt" + #. WINDOW_FAX_RENAME msgid "rename fax page" msgstr "omdĆøb fax side" @@ -85,6 +92,11 @@ msgstr "indsƦt ps-fil i fax" msgid "E-mail project" msgstr "E-post projekt" +#. WINDOW_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "browse for email project" +msgstr "Angiv navn pĆ„ e-post projekt" + #. WINDOW_EMAIL_RENAME msgid "rename e-mail image" msgstr "omdĆøb e-post billede" @@ -97,6 +109,11 @@ msgstr "indsƦt fil i e-post" msgid "multipage project" msgstr "flerside projekt" +#. WINDOW_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "browse for multipage project" +msgstr "flerside projekt" + #. WINDOW_PRESET_AREA_RENAME msgid "rename preset area" msgstr "omdĆøb forvalgt omrĆ„de" @@ -142,6 +159,7 @@ msgid "Preview" msgstr "ForhĆ„ndsvisning" #. WINDOW_VIEWER +#. MENU_ITEM_VIEWER msgid "Viewer" msgstr "Viser" @@ -174,14 +192,17 @@ msgid "select temporary directory" msgstr "vƦlg midlertidigt bibliotek" #. WINDOW_SCALE +#. DESC_VIEWER_SCALE msgid "Scale image" msgstr "SkalĆ©r billede" #. WINDOW_DESPECKLE +#. DESC_VIEWER_DESPECKLE msgid "Despeckle image" msgstr "Fjern kornstĆøj fra billede" #. WINDOW_BLUR +#. DESC_VIEWER_BLUR msgid "Blur image" msgstr "SlĆør billede" @@ -193,6 +214,35 @@ msgstr "Gem medie definition" msgid "No devices available" msgstr "Ingen enheder til rĆ„dighed" +#. WINDOW_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "select scanner default color ICM-profile" +msgstr "Slet printer" + +#. WINDOW_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "select scanner default gray ICM-profile" +msgstr "Slet printer" + +#. WINDOW_DISPLAY_ICM_PROFILE +msgid "select display ICM-profile" +msgstr "" + +#. WINDOW_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "select custom proofing ICM-profile" +msgstr "vƦlg uddatafilnavn" + +#. WINDOW_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "select working color space ICM-profile" +msgstr "Slet printer" + +#. WINDOW_PRINTER_ICM_PROFILE +#, fuzzy +msgid "select printer ICM-profile" +msgstr "Slet printer" + #. MENU_FILE msgid "File" msgstr "Fil" @@ -210,6 +260,7 @@ msgid "Window" msgstr "Vindue" #. MENU_HELP +#. BUTTON_HELP msgid "Help" msgstr "HjƦlp" @@ -225,6 +276,11 @@ msgstr "Filtre" msgid "Geometry" msgstr "Geometri" +#. MENU_COLOR_MANAGEMENT +#. NOTEBOOK_COLOR_MANAGEMENT_OPTIONS +msgid "Color management" +msgstr "" + #. MENU_ITEM_ABOUT_XSANE msgid "About XSane" msgstr "Om XSane" @@ -238,6 +294,7 @@ msgid "Quit" msgstr "Afslut" #. MENU_ITEM_SAVE_IMAGE +#. DESC_VIEWER_SAVE msgid "Save image" msgstr "Gem billede" @@ -254,6 +311,7 @@ msgid "Scale" msgstr "SkalĆ©r" #. MENU_ITEM_CLOSE +#. BUTTON_CLOSE msgid "Close" msgstr "Luk" @@ -445,11 +503,11 @@ msgstr "Overskriv advarsel" msgid "Skip existing filenames" msgstr "Drop eksisterende filnavne" -#. RADIO_BUTTON_SAVE_PS_FLATDECODED +#. RADIO_BUTTON_SAVE_PS_FLATEDECODED msgid "Save postscript zlib compressed (ps level 3)" msgstr "Gem postscript zlib-komprimeret (ps level 3)" -#. RADIO_BUTTON_SAVE_PDF_FLATDECODED +#. RADIO_BUTTON_SAVE_PDF_FLATEDECODED msgid "Save PDF zlib compressed" msgstr "Gem PDF zlib-komprimeret" @@ -466,7 +524,8 @@ msgid "Main window size fixed" msgstr "Hoved-vinduesstĆørrelse er fast" #. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable gimp preview gamma" +#, fuzzy +msgid "Disable GIMP preview gamma" msgstr "DeaktivĆ©r GIMP forhĆ„ndsvisnings gamma" #. RADIO_BUTTON_PRIVATE_COLORMAP @@ -489,6 +548,11 @@ msgstr "AutooptimĆ©r farver" msgid "Use GUI progress pipe" msgstr "Brug GUI fremskridtsrĆør" +#. RADIO_BUTTON_CMS_BPC +#. MENU_ITEM_CMS_BLACK_POINT_COMPENSATION +msgid "Black point compensation" +msgstr "" + #. TEXT_SCANNING_DEVICES msgid "scanning for devices" msgstr "Skanner efter enheder" @@ -505,6 +569,12 @@ msgstr "XSane indstillinger" msgid "Type" msgstr "Type" +#. TEXT_CMS_FUNCTION +#. DESC_CMS_FUNCTION +#, fuzzy +msgid "Color management function" +msgstr "Fuldt farveomrĆ„de" + #. TEXT_SCANNER_BACKEND msgid "Scanner and backend:" msgstr "Skanner og bagende:" @@ -577,18 +647,11 @@ msgstr "8 bit uddataformater:" msgid "16 bit output formats:" msgstr "16 bit uddataformater:" -#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT -msgid "" -"Gimp does not support depth 16 bits/color.\n" -"Do you want to reduce the depth to 8 bits/color?" -msgstr "" -"GIMP understĆøtter ikke 16 bit/farve.\n" -"Ćnsker du at reducere til 8 bit/farve?" - #. TEXT_REDUCE_16BIT_TO_8BIT +#, fuzzy msgid "" -"Bit depth 16 bits/color is not supported for this output format.\n" -"Do you want to reduce the depth to 8 bits/color?" +"Bit depth 16 bits/channel is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/channel?" msgstr "" "16 bit/farve er ikke understĆøttet for dette uddataformat.\n" "Ćnsker du at reducere til 8 bit/farve?" @@ -625,6 +688,11 @@ msgstr "version:" msgid "package" msgstr "pakke" +#. TEXT_WITH_CMS_FUNCTION +#, fuzzy +msgid "with color management function" +msgstr "Fuldt farveomrĆ„de" + #. TEXT_WITH_GIMP_SUPPORT msgid "with GIMP support" msgstr "med GIMP understĆøttelse" @@ -757,9 +825,10 @@ msgid "Medium Name:" msgstr "Medienavn:" #. TEXT_VIEWER_IMAGE_INFO -#, c-format +#, fuzzy, c-format msgid "" -"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +"Size %d x %d pixel, %d bits/channel, %d channels, %1.0f dpi x %1.0f dpi, %" +"1.1f %s" msgstr "" "StĆørrelse %d x %d pixel, %d bit/farve, %d farver, %1.0f dpi x %1.0f dpi, %" "1.1f %s" @@ -813,6 +882,7 @@ msgid "Name:" msgstr "Navn:" #. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +#. TEXT_SETUP_FAX_COMMAND msgid "Command:" msgstr "Kommando:" @@ -833,18 +903,22 @@ msgid "Color resolution (dpi):" msgstr "Farve oplĆøsning (dpi):" #. TEXT_SETUP_PRINTER_WIDTH +#. TEXT_SETUP_FAX_WIDTH msgid "Width" msgstr "Bredde" #. TEXT_SETUP_PRINTER_HEIGHT +#. TEXT_SETUP_FAX_HEIGHT msgid "Height" msgstr "HĆøjde" #. TEXT_SETUP_PRINTER_LEFT +#. TEXT_SETUP_FAX_LEFT msgid "Left offset" msgstr "Venstre margen" #. TEXT_SETUP_PRINTER_BOTTOM +#. TEXT_SETUP_FAX_BOTTOM msgid "Bottom offset" msgstr "Bund margen" @@ -864,7 +938,17 @@ msgstr "Printers gammavƦrdi i grĆøn:" msgid "Printer gamma blue:" msgstr "Printers gammavƦrdi i blĆ„:" -#. TEXT_SETUP_PRINTER_PS_FLATDECODED +#. TEXT_SETUP_PRINTER_EMBED_CSA +#, fuzzy +msgid "Embed scanner ICM profile as CSA" +msgstr "Slet printer" + +#. TEXT_SETUP_PRINTER_EMBED_CRD +#, fuzzy +msgid "Embed printer ICM profile as CRD" +msgstr "Slet printer" + +#. TEXT_SETUP_PRINTER_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for printing" msgstr "Dan zlib-komprimeret postscript-billede (ps level 3) til udskrivning" @@ -988,7 +1072,7 @@ msgstr "SƦt program standardvƦrdier for:" msgid "Viewer (Postscript):" msgstr "Viser (Postscript):" -#. TEXT_SETUP_FAX_PS_FLATDECODED +#. TEXT_SETUP_FAX_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for fax" msgstr "Dan zlib-komprimeret postscript-billede (ps level 3) til fax" @@ -1064,10 +1148,45 @@ msgstr "gruppe" msgid "all" msgstr "alle" +#. TEXT_SETUP_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "Scanner default color ICM-profile" +msgstr "Slet printer" + +#. TEXT_SETUP_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "Scanner default gray ICM-profile" +msgstr "Slet printer" + +#. TEXT_SETUP_DISPLAY_ICM_PROFILE +#. DESC_DISPLAY_ICM_PROFILE +msgid "Display ICM-profile" +msgstr "" + +#. TEXT_SETUP_CUSTOM_PROOFING_ICM_PROFILE +#. DESC_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "Custom proofing ICM-profile" +msgstr "Slet printer" + +#. TEXT_SETUP_WORKING_COLOR_SPACE_ICM_PROFILE +#. DESC_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "Working color space ICM-profile" +msgstr "SĆøg efter billed filnavn" + +#. TEXT_SETUP_PRINTER_ICM_PROFILE +#. DESC_PRINTER_ICM_PROFILE +msgid "Printer ICM-profile" +msgstr "" + msgid "new media" msgstr "nyt medie" #. NOTEBOOK_SAVING_OPTIONS +#. MENU_ITEM_SAVE msgid "Save" msgstr "Gem" @@ -1076,14 +1195,17 @@ msgid "Filetype" msgstr "Filtype" #. NOTEBOOK_COPY_OPTIONS +#. MENU_ITEM_COPY msgid "Copy" msgstr "Kopi" #. NOTEBOOK_FAX_OPTIONS +#. MENU_ITEM_FAX msgid "Fax" msgstr "Fax" #. NOTEBOOK_EMAIL_OPTIONS +#. MENU_ITEM_EMAIL msgid "E-mail" msgstr "E-post" @@ -1175,6 +1297,12 @@ msgstr "Vis liste med oplĆøsninger" msgid "Rotate postscript" msgstr "RotĆ©r postscript" +#. MENU_ITEM_ENABLE_COLOR_MANAGEMENT +#. MENU_ITEM_CMS_ENABLE_COLOR_MANAGEMENT +#, fuzzy +msgid "Enable color management" +msgstr "Fuldt farveomrĆ„de" + #. MENU_ITEM_EDIT_MEDIUM_DEF msgid "Edit medium definition" msgstr "Ret mediedefinition" @@ -1219,6 +1347,86 @@ msgstr "Skannertips" msgid "Problems?" msgstr "Problemer?" +#. MENU_ITEM_CMS_PROOFING +#, fuzzy +msgid "Proofing" +msgstr "TilfĆøj printer" + +#. SUBMENU_ITEM_CMS_PROOF_OFF +msgid "no proofing (Display)" +msgstr "" + +#. SUBMENU_ITEM_CMS_PROOF_PRINTER +#, fuzzy +msgid "Proof printer" +msgstr "TilfĆøj printer" + +#. SUBMENU_ITEM_CMS_PROOF_CUSTOM +msgid "Proof custom device" +msgstr "" + +#. MENU_ITEM_CMS_RENDERING_INTENT +#, fuzzy +msgid "Rendering intent" +msgstr "TilfĆøj printer" + +#. MENU_ITEM_CMS_PROOFING_INTENT +#, fuzzy +msgid "Proofing rendering intent" +msgstr "TilfĆøj printer" + +#. SUBMENU_ITEM_CMS_INTENT_PERCEPTUAL +msgid "Perceptual" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_RELATIVE_COLORIMETRIC +msgid "Relative colorimetric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_ABSOLUTE_COLORIMETRIC +msgid "Absolute colorimentric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_SATURATION +#, fuzzy +msgid "Saturation" +msgstr "autorisation" + +#. MENU_ITEM_CMS_GAMUT_CHECK +msgid "Gamut check" +msgstr "" + +#. MENU_ITEM_CMS_GAMUT_ALARM_COLOR +msgid "Gamut alarm color" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLACK +msgid "Black" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_GRAY +msgid "Gray" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_WHITE +#, fuzzy +msgid "White" +msgstr "skriv" + +#. SUBMENU_ITEM_CMS_COLOR_RED +#, fuzzy +msgid "Red" +msgstr "ReducĆ©r" + +#. SUBMENU_ITEM_CMS_COLOR_GREEN +msgid "Green" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLUE +#, fuzzy +msgid "Blue" +msgstr "SlĆør" + #. MENU_ITEM_COUNTER_LEN_INACTIVE msgid "inactive" msgstr "Ikke aktiv" @@ -1335,6 +1543,20 @@ msgstr "ASMTP logind" msgid "ASMTP CRAM-MD5" msgstr "ASMTP CRAM-MD5" +#. MENU_ITEM_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE +#, fuzzy +msgid "Embed scanner ICM profile" +msgstr "Slet printer" + +#. MENU_ITEM_CMS_FUNCTION_CONVERT_TO_SRGB +msgid "Convert to sRGB" +msgstr "" + +#. MENU_ITEM_FUNCTION_CONVERT_TO_WORKING_CS +#, fuzzy +msgid "Convert to working color space" +msgstr "AutooptimĆ©r farver" + #. PROGRESS_SCANNING msgid "Scanning" msgstr "Skanning" @@ -1392,6 +1614,11 @@ msgstr "SlĆører billede" msgid "OCR in progress" msgstr "Tekstgenkendelse" +#. PROGRESS_ICM_CONVERSION +#, fuzzy +msgid "converting colors" +msgstr "AutooptimĆ©r farver" + #. DESC_SCAN_START msgid "Start scan <Ctrl-Enter>" msgstr "Start skanning <Ctrl Enter>" @@ -1451,8 +1678,9 @@ msgstr "" "filnavnet." #. DESC_FAXPROJECT -msgid "Enter name of fax project" -msgstr "Angiv navn pĆ„ fax projekt" +#, fuzzy +msgid "Enter fax project directory name" +msgstr "Find sti til midlertidigt bibliotek" #. DESC_FAXPAGENAME msgid "Enter new name for faxpage" @@ -1462,9 +1690,15 @@ msgstr "Angiv nyt navn for fax side" msgid "Enter receiver phone number or address" msgstr "Angiv modtager telefonnummer eller adresse" +#. DESC_FAX_PROJECT_BROWSE +#, fuzzy +msgid "Browse for fax project directory" +msgstr "Find sti til midlertidigt bibliotek" + #. DESC_EMAIL_PROJECT -msgid "Enter name of e-mail project" -msgstr "Angiv navn pĆ„ e-post projekt" +#, fuzzy +msgid "Enter e-mail project directory name" +msgstr "Find sti til midlertidigt bibliotek" #. DESC_EMAIL_IMAGENAME msgid "Enter new name for e-mail image" @@ -1474,6 +1708,11 @@ msgstr "Angiv nyt navn pĆ„ e-post billede" msgid "Enter e-mail address" msgstr "Angiv e-post adresse" +#. DESC_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "Browse for email project directory" +msgstr "Find sti til midlertidigt bibliotek" + #. DESC_EMAIL_SUBJECT msgid "Enter subject of e-mail" msgstr "Angiv subjekt for e-post" @@ -1483,8 +1722,14 @@ msgid "Select filetype for image attachments" msgstr "VƦlg filtype for billed vedhƦftninger" #. DESC_MULTIPAGE_PROJECT -msgid "Enter name of multipage project" -msgstr "Angiv navn pĆ„ flerside projekt" +#, fuzzy +msgid "Enter multipage project directory name" +msgstr "Find sti til midlertidigt bibliotek" + +#. DESC_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "Browse for multipage project directory" +msgstr "Find sti til midlertidigt bibliotek" #. DESC_MULTIPAGE_FILETYPE msgid "Select filetype for multipage file" @@ -1609,7 +1854,8 @@ msgstr "" " kontrast = 0" #. DESC_ENH_AUTO -msgid "Autoadjust gamma, brightness and contrast <Ctrl-e>" +#, fuzzy +msgid "Autoadjust gamma, brightness and contrast <Ctrl-a>" msgstr "Autojuster gamma, lyshed og kontrast <Ctrl-e>" #. DESC_ENH_DEFAULT @@ -1690,18 +1936,22 @@ msgid "Resolution with which color images are printed and saved in postscript" msgstr "OplĆøsning for printning og gemning i postscript for farve billeder" #. DESC_PRINTER_WIDTH +#. DESC_FAX_WIDTH msgid "Width of printable area" msgstr "Bredde af printbart omrĆ„de" #. DESC_PRINTER_HEIGHT +#. DESC_FAX_HEIGHT msgid "Height of printable area" msgstr "HĆøjde af printbart omrĆ„de" #. DESC_PRINTER_LEFTOFFSET +#. DESC_FAX_LEFTOFFSET msgid "Left offset from the edge of the paper to the printable area" msgstr "Venstre margen fra kant af papir, til det printbare omrĆ„de" #. DESC_PRINTER_BOTTOMOFFSET +#. DESC_FAX_BOTTOMOFFSET msgid "Bottom offset from the edge of the paper to the printable area" msgstr "Bund margen fra kant af papir, til det printbare omrĆ„de" @@ -1721,9 +1971,18 @@ msgstr "Supplerende gammavƦrdi for fotokopiering, grĆøn farvedel" msgid "Additional gamma value for blue component for photocopy" msgstr "Supplerende gammavƦrdi for fotokopiering, blĆ„ farvedel" -#. DESC_PRINTER_PS_FLATDECODED +#. DESC_PRINTER_EMBED_CSA +msgid "Creates a postsciptfile that contains the ICM profile of the scanner" +msgstr "" + +#. DESC_PRINTER_EMBED_CRD +msgid "Creates a postsciptfile that contains the ICM profile of the printer" +msgstr "" + +#. DESC_PRINTER_PS_FLATEDECODED +#, fuzzy msgid "" -"Create zlib compressed postscript image for printer (flatdecode).\n" +"Create zlib compressed postscript image for printer (flatedecode).\n" "The printer has to understand postscript level 3!" msgstr "" "Dan zlib-komprimeret postscript billede til printer (flatdecode).\n" @@ -1781,16 +2040,18 @@ msgid "" "If filename counter is automatically increased, used numbers are skipped" msgstr "Hvis filnavntƦller Ćøges automatisk, bliver brugte numre forbigĆ„et" -#. DESC_SAVE_PS_FLATDECODED +#. DESC_SAVE_PS_FLATEDECODED +#, fuzzy msgid "" -"compress postscript image with zlib algorithm (flatdecode). When you want to " -"print such a file your printer has to understand postscript level 3" +"compress postscript image with zlib algorithm (flatedecode). When you want " +"to print such a file your printer has to understand postscript level 3" msgstr "" "komprimĆ©r postscript-billede med zlib-algoritme (flatdecode). NĆ„r en fil af " "denne type skal udskrives, skal printeren kunne forstĆ„ postscript level 3" -#. DESC_SAVE_PDF_FLATDECODED -msgid "compress PDF image with zlib algorithm (flatdecode)." +#. DESC_SAVE_PDF_FLATEDECODED +#, fuzzy +msgid "compress PDF image with zlib algorithm (flatedecode)." msgstr "komprimĆ©r PDF-billede med zlib-algoritme (flatdecode)." #. DESC_SAVE_PNM16_AS_ASCII @@ -1806,7 +2067,9 @@ msgstr "" "programmer, men det producerer ret store filer!!!" #. DESC_REDUCE_16BIT_TO_8BIT -msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +#, fuzzy +msgid "" +"If scanner sends image with 16 bits/channel save image with 8 bits/channel" msgstr "" "Hvis skanner sender billede med 16 bit/farve gemmes billedet med 8 bit/farve" @@ -1837,7 +2100,8 @@ msgstr "" "hovedvinduesstĆørrelse" #. DESC_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable preview gamma when XSane runs as gimp plugin" +#, fuzzy +msgid "Disable preview gamma when XSane runs as GIMP plugin" msgstr "Deaktiver forhĆ„ndsvisningsgamma, nĆ„r XSane kĆører som et GIMP plugin" #. DESC_PREVIEW_COLORMAP @@ -1935,6 +2199,15 @@ msgstr "VƦlg skanomrĆ„de, nĆ„r forhĆ„ndsvisning er gennemfĆørt" msgid "Do color correction after preview scan has finished" msgstr "UdfĆør farvekorrektion, nĆ„r forhĆ„ndsvisning er gennemfĆørt" +#. DESC_RENDERING_INTENT +#, fuzzy +msgid "Select rendering intent for preview and saving" +msgstr "VƦlg skanomrĆ„de, nĆ„r forhĆ„ndsvisning er gennemfĆørt" + +#. DESC_CMS_BPC +msgid "Apply black point compensation when color transformation is done" +msgstr "" + #. DESC_FAX_COMMAND msgid "Enter command to be executed in fax mode" msgstr "Komando der skal udfĆøres i fax tilstand" @@ -1964,8 +2237,9 @@ msgstr "Komando der skal udfĆøres, for at vise en fax" msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" msgstr "Send fax med hĆøj lodret oplĆøsning (196 lpi i stedet for 98 lpi)" -#. DESC_FAX_PS_FLATDECODED -msgid "Create zlib compressed postscript image for fax (flatdecode)" +#. DESC_FAX_PS_FLATEDECODED +#, fuzzy +msgid "Create zlib compressed postscript image for fax (flatedecode)" msgstr "Dan zlib-komprimeret postscript billede til fax (flatdecode)" #. DESC_SMTP_SERVER @@ -2045,9 +2319,10 @@ msgstr "lƦs" msgid "write" msgstr "skriv" -#. DESC_PERMISSION_EXECUTE -msgid "execute" -msgstr "udfĆør" +#. DESC_PERMISSION_SEARCH +#, fuzzy +msgid "search" +msgstr "bruger" #. DESC_ADD_BATCH msgid "Add selection for batch scan" @@ -2216,6 +2491,36 @@ msgstr "Slet valgt forhĆ„ndsvisningsomrĆ„de fra batchliste" msgid "Turns on automatic mode" msgstr "TƦnder for automatisk tilstand" +#. DESC_BUTTON_SCANNER_DEFAULT_COLOR_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default color ICM-profile" +msgstr "SĆøg efter billed filnavn" + +#. DESC_BUTTON_SCANNER_DEFAULT_GRAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default gray ICM-profile" +msgstr "SĆøg efter billed filnavn" + +#. DESC_BUTTON_DISPLAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for display ICM-profile" +msgstr "SĆøg efter billed filnavn" + +#. DESC_BUTTON_PRINTER_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for printer ICM-profile" +msgstr "SĆøg efter billed filnavn" + +#. DESC_BUTTON_CUSTOM_PROOFING_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for custom proofing ICM-profile" +msgstr "SĆøg efter billed filnavn" + +#. DESC_BUTTON_WORKING_COLOR_SPACE_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for working color space ICM-profile" +msgstr "SĆøg efter billed filnavn" + #. ERR_HOME_DIR msgid "Failed to determine home directory:" msgstr "Kunne ikke bestemme hjem-bibliotek:" @@ -2268,11 +2573,6 @@ msgstr "Fejl under skrivning:" msgid "Can't handle depth" msgstr "Ikke understĆøttet bit-dybde" -#. ERR_GIMP_BAD_DEPTH -#, c-format -msgid "GIMP can't handle depth %d bits/color" -msgstr "GIMP understĆøtter ikke %d bit/farve dybde" - #. ERR_UNKNOWN_SAVING_FORMAT msgid "Unknown file format for saving" msgstr "Ukendt filformat til gemning" @@ -2504,10 +2804,68 @@ msgstr "Fil %s er ikke en postscript fil" msgid "Unsupported %d-bit output format: %s" msgstr "Ikke understĆøttet %d-bit uddataformat: %s" +#. ERR_CMS_CONVERSION +#, fuzzy +msgid "Error during CMS conversion:" +msgstr "Fejl under skrivning:" + +#. ERR_CMS_OPEN_ICM_FILE +#, fuzzy +msgid "Could not open" +msgstr "Kunne ikke Ć„bne" + +#. CMS_SCANNER_ICM +#, fuzzy +msgid "scanner ICM profile" +msgstr "Slet printer" + +#. CMS_DISPLAY_ICM +#, fuzzy +msgid "display ICM profile" +msgstr "SĆøg efter billed filnavn" + +#. CMS_PROOF_ICM +#, fuzzy +msgid "proofing ICM profile" +msgstr "Slet printer" + +#. ERR_CMS_CREATE_TRANSFORM +#, fuzzy +msgid "Could not create transform" +msgstr "Kunne ikke skabe midlertidig fil" + #. WARN_VIEWER_IMAGE_NOT_SAVED msgid "viewer image is not saved" msgstr "viser-billede er ikke gemt" +#. FILE_FILTER_ALL_FILES +msgid "All files" +msgstr "" + +#. FILE_FILTER_IMAGES +#, fuzzy +msgid "Images" +msgstr "Sider:" + +#. FILE_FILTER_XBL +#, fuzzy +msgid "XSane batch list" +msgstr "Gem batchliste" + +#. FILE_FILTER_ICM +msgid "ICC/ICM Profiles" +msgstr "" + +#. FILE_FILTER_DRC +#, fuzzy +msgid "XSane device preferences" +msgstr "Gem enhedsindstillinger ved afslutning" + +#. FILE_FILTER_RC +#, fuzzy +msgid "XSane preferences" +msgstr "Indstillinger" + #. TEXT_USAGE msgid "Usage:" msgstr "Brug:" @@ -2879,11 +3237,61 @@ msgstr "Ikke mere ram" msgid "Access to resource has been denied" msgstr "Adgang til ressource nƦgtet" -#~ msgid "Could not create temporary file" -#~ msgstr "Kunne ikke skabe midlertidig fil" +#, fuzzy +#~ msgid "select scanner transmissive ICM-profile" +#~ msgstr "Slet printer" + +#, fuzzy +#~ msgid "select scanner transmissive gray ICM-profile" +#~ msgstr "Slet printer" + +#, fuzzy +#~ msgid "Scanner reflective ICM-profile" +#~ msgstr "Slet printer" + +#, fuzzy +#~ msgid "Scanner reflective gray ICM-profile" +#~ msgstr "Slet printer" + +#, fuzzy +#~ msgid "Scanner transmissive gray ICM-profile" +#~ msgstr "Slet printer" + +#, fuzzy +#~ msgid "Scanner reflektive ICM-profile" +#~ msgstr "Slet printer" + +#, fuzzy +#~ msgid "Browse for scanner transmissive ICM-profile" +#~ msgstr "SĆøg efter billed filnavn" + +#, fuzzy +#~ msgid "Browse for scanner transmissive gray ICM-profile" +#~ msgstr "SĆøg efter billed filnavn" + +#~ msgid "GIMP can't handle depth %d bits/color" +#~ msgstr "GIMP understĆøtter ikke %d bit/farve dybde" + +#, fuzzy +#~ msgid "scanner reflective ICM profile" +#~ msgstr "Slet printer" + +#, fuzzy +#~ msgid "Embed scanner/source ICM profile for GIMP" +#~ msgstr "Slet printer" + +#~ msgid "Enter name of fax project" +#~ msgstr "Angiv navn pĆ„ fax projekt" + +#~ msgid "Enter name of e-mail project" +#~ msgstr "Angiv navn pĆ„ e-post projekt" -#~ msgid "Could not create temporary preview files" -#~ msgstr "Kunne ikke danne midlertidig forhĆ„ndsvisningsfiler" +#~ msgid "Enter name of multipage project" +#~ msgstr "Angiv navn pĆ„ flerside projekt" -#~ msgid "Could not create filenames for preview files" -#~ msgstr "Kunne ikke danne filnavne til forhĆ„ndsvisningsfiler" +#~ msgid "" +#~ "Gimp does not support depth 16 bits/color.\n" +#~ "Do you want to reduce the depth to 8 bits/color?" +#~ msgstr "" +#~ "GIMP understĆøtter ikke 16 bit/farve.\n" +#~ "Ćnsker du at reducere til 8 bit/farve?" Binary files differ@@ -5,7 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: XSANE 0.99\n" -"POT-Creation-Date: 2006-01-07 00:26+0100\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-25 23:44+0100\n" "PO-Revision-Date: 2000-01-21 15:51+01:00\n" "Last-Translator: Oliver Rauch <Oliver.Rauch@rauch-domain.de>\n" "Language-Team: German <de@li.org>\n" @@ -32,6 +33,7 @@ msgid "About" msgstr "Ćber" #. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +#. MENU_ITEM_ABOUT_TRANSLATION msgid "About translation" msgstr "Ćber Ćbersetzung" @@ -71,6 +73,10 @@ msgstr "Stapelscan Bereich umbenennen" msgid "fax project" msgstr "Faxprojekt" +#. WINDOW_FAX_PROJECT_BROWSE +msgid "browse for fax project" +msgstr "Nach Faxprojekt suchen" + #. WINDOW_FAX_RENAME msgid "rename fax page" msgstr "Faxseite umbenennen" @@ -83,6 +89,10 @@ msgstr "ps-Datei einfĆ¼gen in Fax" msgid "E-mail project" msgstr "E-Mail Projekt" +#. WINDOW_EMAIL_PROJECT_BROWSE +msgid "browse for email project" +msgstr "Nach E-Mailprojekt suchen" + #. WINDOW_EMAIL_RENAME msgid "rename e-mail image" msgstr "E-Mail Bild umbenennen" @@ -95,6 +105,10 @@ msgstr "Bild in E-Mail einfĆ¼gen" msgid "multipage project" msgstr "Mehrseiten-Projekt" +#. WINDOW_MULTIPAGE_PROJECT_BROWSE +msgid "browse for multipage project" +msgstr "Nach Mehrseiten-Projekt suchen" + #. WINDOW_PRESET_AREA_RENAME msgid "rename preset area" msgstr "Bereichsvoreinstellung umbenennen" @@ -140,6 +154,7 @@ msgid "Preview" msgstr "Vorschau" #. WINDOW_VIEWER +#. MENU_ITEM_VIEWER msgid "Viewer" msgstr "Betrachter" @@ -172,14 +187,17 @@ msgid "select temporary directory" msgstr "temporƤres Verzeichnis auswƤhlen" #. WINDOW_SCALE +#. DESC_VIEWER_SCALE msgid "Scale image" msgstr "Bild skalieren" #. WINDOW_DESPECKLE +#. DESC_VIEWER_DESPECKLE msgid "Despeckle image" msgstr "Flecken entfernen" #. WINDOW_BLUR +#. DESC_VIEWER_BLUR msgid "Blur image" msgstr "Bild weichzeichnen" @@ -191,6 +209,30 @@ msgstr "Mediumdefinition speichern" msgid "No devices available" msgstr "Keine GerƤte erreichbar" +#. WINDOW_SCANNER_DEFAULT_COLOR_ICM_PROFILE +msgid "select scanner default color ICM-profile" +msgstr "standard Farb-ICM-Profil fĆ¼r Scanner auswƤhlen" + +#. WINDOW_SCANNER_DEFAULT_GRAY_ICM_PROFILE +msgid "select scanner default gray ICM-profile" +msgstr "standard Graustufen-ICM-Profil fĆ¼r Scanner auswƤhlen" + +#. WINDOW_DISPLAY_ICM_PROFILE +msgid "select display ICM-profile" +msgstr "ICM-Profil fĆ¼r Bildschirm auswƤhlen" + +#. WINDOW_CUSTOM_PROOFING_ICM_PROFILE +msgid "select custom proofing ICM-profile" +msgstr "Benutzerdefiniertes Proofing ICM Profil auswƤhlen" + +#. WINDOW_WORKING_COLOR_SPACE_ICM_PROFILE +msgid "select working color space ICM-profile" +msgstr "ICM-Profil fĆ¼r Arbeitsfarbraum auswƤhlen" + +#. WINDOW_PRINTER_ICM_PROFILE +msgid "select printer ICM-profile" +msgstr "ICM Profil fĆ¼r Drucker auswƤhlen" + #. MENU_FILE msgid "File" msgstr "Datei" @@ -208,6 +250,7 @@ msgid "Window" msgstr "Fenster" #. MENU_HELP +#. BUTTON_HELP msgid "Help" msgstr "Hilfe" @@ -223,6 +266,11 @@ msgstr "Filter" msgid "Geometry" msgstr "Geometrie" +#. MENU_COLOR_MANAGEMENT +#. NOTEBOOK_COLOR_MANAGEMENT_OPTIONS +msgid "Color management" +msgstr "Farbmanagement" + #. MENU_ITEM_ABOUT_XSANE msgid "About XSane" msgstr "Ćber XSane" @@ -236,6 +284,7 @@ msgid "Quit" msgstr "Beenden" #. MENU_ITEM_SAVE_IMAGE +#. DESC_VIEWER_SAVE msgid "Save image" msgstr "Bild speichern" @@ -252,6 +301,7 @@ msgid "Scale" msgstr "Skalieren" #. MENU_ITEM_CLOSE +#. BUTTON_CLOSE msgid "Close" msgstr "SchlieĆen" @@ -443,11 +493,11 @@ msgstr "Ćberschreibwarnung" msgid "Skip existing filenames" msgstr "Existierende Dateinamen Ć¼berspringen" -#. RADIO_BUTTON_SAVE_PS_FLATDECODED +#. RADIO_BUTTON_SAVE_PS_FLATEDECODED msgid "Save postscript zlib compressed (ps level 3)" msgstr "Speichere Postscript zlib-komprimiert (ps level 3)" -#. RADIO_BUTTON_SAVE_PDF_FLATDECODED +#. RADIO_BUTTON_SAVE_PDF_FLATEDECODED msgid "Save PDF zlib compressed" msgstr "Speichere PDF zlib-komprimiert" @@ -464,8 +514,8 @@ msgid "Main window size fixed" msgstr "Feste HauptfenstergrƶĆe" #. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable gimp preview gamma" -msgstr "Vorschau-Gamma fĆ¼r Gimp deaktivieren" +msgid "Disable GIMP preview gamma" +msgstr "Vorschau-Gamma fĆ¼r GIMP deaktivieren" #. RADIO_BUTTON_PRIVATE_COLORMAP msgid "Use private colormap" @@ -487,6 +537,11 @@ msgstr "Automatische Farbkorrektur" msgid "Use GUI progress pipe" msgstr "Benutze GUI Fortschritts Pipe" +#. RADIO_BUTTON_CMS_BPC +#. MENU_ITEM_CMS_BLACK_POINT_COMPENSATION +msgid "Black point compensation" +msgstr "Schwarzpunkt kompensieren" + #. TEXT_SCANNING_DEVICES msgid "scanning for devices" msgstr "Suche nach GerƤten" @@ -503,6 +558,11 @@ msgstr "XSane Optionen" msgid "Type" msgstr "Typ" +#. TEXT_CMS_FUNCTION +#. DESC_CMS_FUNCTION +msgid "Color management function" +msgstr "Farbmanagement-Funktion" + #. TEXT_SCANNER_BACKEND msgid "Scanner and backend:" msgstr "Scanner und Backends" @@ -575,21 +635,13 @@ msgstr "8 Bit Ausgabeformate:" msgid "16 bit output formats:" msgstr "16 Bit Ausgabeformate:" -#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT -msgid "" -"Gimp does not support depth 16 bits/color.\n" -"Do you want to reduce the depth to 8 bits/color?" -msgstr "" -"Gimp unterstĆ¼tzt die Bittiefe 16Bits/Farbe nicht.\n" -"Mƶchten Sie die Bittiefe auf 8 Bits/Farbe reduzieren?" - #. TEXT_REDUCE_16BIT_TO_8BIT msgid "" -"Bit depth 16 bits/color is not supported for this output format.\n" -"Do you want to reduce the depth to 8 bits/color?" +"Bit depth 16 bits/channel is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/channel?" msgstr "" -"Die Bittiefe 16Bits/Farbe wird von diesem Ausgabeformat nicht unterstĆ¼tzt.\n" -"Mƶchten Sie die Bittiefe auf 8 Bits/Farbe reduzieren?" +"Die Bittiefe 16Bits/Kanal wird von diesem Ausgabeformat nicht unterstĆ¼tzt.\n" +"Mƶchten Sie die Bittiefe auf 8 Bits/Kanal reduzieren?" #. TEXT_AUTHORIZATION_REQ msgid "Authorization required for" @@ -623,6 +675,10 @@ msgstr "Version:" msgid "package" msgstr "Paket" +#. TEXT_WITH_CMS_FUNCTION +msgid "with color management function" +msgstr "mit Farbmanagement-Funktion" + #. TEXT_WITH_GIMP_SUPPORT msgid "with GIMP support" msgstr "mit GIMP-UnterstĆ¼tzung" @@ -756,11 +812,11 @@ msgid "Medium Name:" msgstr "Medium Name:" #. TEXT_VIEWER_IMAGE_INFO -#, c-format msgid "" -"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +"Size %d x %d pixel, %d bits/channel, %d channels, %1.0f dpi x %1.0f dpi, %" +"1.1f %s" msgstr "" -"GrƶĆe %d x %d Punkte, %d Bit/Farbe, %d Farben, %1.0f dpi x %1.0f dpi, %1.1f %" +"GrƶĆe %d x %d Punkte, %d Bit/Kanal, %d KanƤle, %1.0f dpi x %1.0f dpi, %1.1f %" "s" #. TEXT_DESPECKLE_RADIUS @@ -812,6 +868,7 @@ msgid "Name:" msgstr "Name:" #. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +#. TEXT_SETUP_FAX_COMMAND msgid "Command:" msgstr "Befehl:" @@ -832,18 +889,22 @@ msgid "Color resolution (dpi):" msgstr "Farb-Auflƶsung (dpi):" #. TEXT_SETUP_PRINTER_WIDTH +#. TEXT_SETUP_FAX_WIDTH msgid "Width" msgstr "Breite" #. TEXT_SETUP_PRINTER_HEIGHT +#. TEXT_SETUP_FAX_HEIGHT msgid "Height" msgstr "Hƶhe" #. TEXT_SETUP_PRINTER_LEFT +#. TEXT_SETUP_FAX_LEFT msgid "Left offset" msgstr "Linker Rand" #. TEXT_SETUP_PRINTER_BOTTOM +#. TEXT_SETUP_FAX_BOTTOM msgid "Bottom offset" msgstr "Unterer Rand" @@ -863,7 +924,15 @@ msgstr "Drucker Gammawert grĆ¼n:" msgid "Printer gamma blue:" msgstr "Drucker Gammawert blau:" -#. TEXT_SETUP_PRINTER_PS_FLATDECODED +#. TEXT_SETUP_PRINTER_EMBED_CSA +msgid "Embed scanner ICM profile as CSA" +msgstr "Scanner/Quell-ICM-Profil als CSA einbinden" + +#. TEXT_SETUP_PRINTER_EMBED_CRD +msgid "Embed printer ICM profile as CRD" +msgstr "ICM Profil fĆ¼r Drucker als CRD einbinden" + +#. TEXT_SETUP_PRINTER_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for printing" msgstr "Erzeuge zlib-komprimiertes Posctscript Bild (ps level 3) zum Drucken" @@ -987,7 +1056,7 @@ msgstr "Setze Standardwerte fĆ¼r folgendes Programm" msgid "Viewer (Postscript):" msgstr "Betrachter (Postscript):" -#. TEXT_SETUP_FAX_PS_FLATDECODED +#. TEXT_SETUP_FAX_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for fax" msgstr "Erzeuge zlib-komprimiertes Postscript-Bild (ps level 3) zum Faxen" @@ -1063,10 +1132,41 @@ msgstr "Gruppe" msgid "all" msgstr "Alle" +#. TEXT_SETUP_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_COLOR_ICM_PROFILE +msgid "Scanner default color ICM-profile" +msgstr "Standard Scanner Farb-ICM-Profil" + +#. TEXT_SETUP_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_GRAY_ICM_PROFILE +msgid "Scanner default gray ICM-profile" +msgstr "Standard Scanner Graustufen ICM-Profil" + +#. TEXT_SETUP_DISPLAY_ICM_PROFILE +#. DESC_DISPLAY_ICM_PROFILE +msgid "Display ICM-profile" +msgstr "Bildschirm ICM-Profil" + +#. TEXT_SETUP_CUSTOM_PROOFING_ICM_PROFILE +#. DESC_CUSTOM_PROOFING_ICM_PROFILE +msgid "Custom proofing ICM-profile" +msgstr "Benutzerdefiniertes Proofing ICM-Profil" + +#. TEXT_SETUP_WORKING_COLOR_SPACE_ICM_PROFILE +#. DESC_WORKING_COLOR_SPACE_ICM_PROFILE +msgid "Working color space ICM-profile" +msgstr "Arbeitsfarbraum ICM-Profil" + +#. TEXT_SETUP_PRINTER_ICM_PROFILE +#. DESC_PRINTER_ICM_PROFILE +msgid "Printer ICM-profile" +msgstr "Drucker ICM-Profil" + msgid "new media" msgstr "neues Medium" #. NOTEBOOK_SAVING_OPTIONS +#. MENU_ITEM_SAVE msgid "Save" msgstr "Speichern" @@ -1075,14 +1175,17 @@ msgid "Filetype" msgstr "Dateityp" #. NOTEBOOK_COPY_OPTIONS +#. MENU_ITEM_COPY msgid "Copy" msgstr "Fotokopie" #. NOTEBOOK_FAX_OPTIONS +#. MENU_ITEM_FAX msgid "Fax" msgstr "Fax" #. NOTEBOOK_EMAIL_OPTIONS +#. MENU_ITEM_EMAIL msgid "E-mail" msgstr "E-Mail" @@ -1174,6 +1277,11 @@ msgstr "Zeige Auflƶsungsliste" msgid "Rotate postscript" msgstr "Drehe Postscript" +#. MENU_ITEM_ENABLE_COLOR_MANAGEMENT +#. MENU_ITEM_CMS_ENABLE_COLOR_MANAGEMENT +msgid "Enable color management" +msgstr "aktiviere Farbmanagement" + #. MENU_ITEM_EDIT_MEDIUM_DEF msgid "Edit medium definition" msgstr "Mediumdefinition Ƥndern" @@ -1218,6 +1326,78 @@ msgstr "Scantipps" msgid "Problems?" msgstr "Probleme?" +#. MENU_ITEM_CMS_PROOFING +msgid "Proofing" +msgstr "Proofing" + +#. SUBMENU_ITEM_CMS_PROOF_OFF +msgid "no proofing (Display)" +msgstr "keine Nachbildung (Bildschirm)" + +#. SUBMENU_ITEM_CMS_PROOF_PRINTER +msgid "Proof printer" +msgstr "Nachbildung Drucker" + +#. SUBMENU_ITEM_CMS_PROOF_CUSTOM +msgid "Proof custom device" +msgstr "Nachbildung Benutzerdefinierte Ausgabe" + +#. MENU_ITEM_CMS_RENDERING_INTENT +msgid "Rendering intent" +msgstr "" + +#. MENU_ITEM_CMS_PROOFING_INTENT +msgid "Proofing rendering intent" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_PERCEPTUAL +msgid "Perceptual" +msgstr "Wahrnehmungsorientiert" + +#. SUBMENU_ITEM_CMS_INTENT_RELATIVE_COLORIMETRIC +msgid "Relative colorimetric" +msgstr "Relativ farbmetrisch" + +#. SUBMENU_ITEM_CMS_INTENT_ABSOLUTE_COLORIMETRIC +msgid "Absolute colorimentric" +msgstr "Absolut farbmetrisch" + +#. SUBMENU_ITEM_CMS_INTENT_SATURATION +msgid "Saturation" +msgstr "SƤttigung" + +#. MENU_ITEM_CMS_GAMUT_CHECK +msgid "Gamut check" +msgstr "Gamut prĆ¼fen" + +#. MENU_ITEM_CMS_GAMUT_ALARM_COLOR +msgid "Gamut alarm color" +msgstr "Gamut Alarmfarbe" + +#. SUBMENU_ITEM_CMS_COLOR_BLACK +msgid "Black" +msgstr "Schwarz" + +#. SUBMENU_ITEM_CMS_COLOR_GRAY +msgid "Gray" +msgstr "Grau" + +#. SUBMENU_ITEM_CMS_COLOR_WHITE +msgid "White" +msgstr "Weiss" + +#. SUBMENU_ITEM_CMS_COLOR_RED +msgid "Red" +msgstr "Rot" + +#. SUBMENU_ITEM_CMS_COLOR_GREEN +msgid "Green" +msgstr "GrĆ¼n" + +#. SUBMENU_ITEM_CMS_COLOR_BLUE +msgid "Blue" +msgstr "Blau" + #. MENU_ITEM_COUNTER_LEN_INACTIVE msgid "inactive" msgstr "nicht aktiv" @@ -1334,6 +1514,18 @@ msgstr "ASMTP Login" msgid "ASMTP CRAM-MD5" msgstr "ASMTP CRAM-MD5" +#. MENU_ITEM_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE +msgid "Embed scanner ICM profile" +msgstr "Scanner ICM-Profil einbinden" + +#. MENU_ITEM_CMS_FUNCTION_CONVERT_TO_SRGB +msgid "Convert to sRGB" +msgstr "Nach sRGB konvertieren" + +#. MENU_ITEM_FUNCTION_CONVERT_TO_WORKING_CS +msgid "Convert to working color space" +msgstr "In Arbeitsfarbraum konvertieren" + #. PROGRESS_SCANNING msgid "Scanning" msgstr "Scanne" @@ -1391,6 +1583,10 @@ msgstr "Bild weichzeichnen" msgid "OCR in progress" msgstr "Texterkennung" +#. PROGRESS_ICM_CONVERSION +msgid "converting colors" +msgstr "konvertiere Farben" + #. DESC_SCAN_START msgid "Start scan <Ctrl-Enter>" msgstr "Scan starten <Ctrl-Enter>" @@ -1450,8 +1646,8 @@ msgstr "" "Dateinamen angehƤngt" #. DESC_FAXPROJECT -msgid "Enter name of fax project" -msgstr "Name des Faxprojekts" +msgid "Enter fax project directory name" +msgstr "Faxprojekt-Verzeichnis Namen eingeben" #. DESC_FAXPAGENAME msgid "Enter new name for faxpage" @@ -1461,9 +1657,13 @@ msgstr "Name der Faxseite eingeben" msgid "Enter receiver phone number or address" msgstr "Telefonnummer des EmpfƤngers eingeben" +#. DESC_FAX_PROJECT_BROWSE +msgid "Browse for fax project directory" +msgstr "Nach Faxprojekt-Verzeichnis suchen" + #. DESC_EMAIL_PROJECT -msgid "Enter name of e-mail project" -msgstr "Name des E-Mailprojekts" +msgid "Enter e-mail project directory name" +msgstr "Email-Projekt-Verzeichnis Namen eingeben" #. DESC_EMAIL_IMAGENAME msgid "Enter new name for e-mail image" @@ -1473,6 +1673,10 @@ msgstr "neuen Name fĆ¼r E-Mail Bild eingeben" msgid "Enter e-mail address" msgstr "E-Mail Adresse eingeben" +#. DESC_EMAIL_PROJECT_BROWSE +msgid "Browse for email project directory" +msgstr "Nach Email-Projekt-Verzeichnis suchen" + #. DESC_EMAIL_SUBJECT msgid "Enter subject of e-mail" msgstr "Betreff der E-Mail eingeben" @@ -1482,8 +1686,12 @@ msgid "Select filetype for image attachments" msgstr "Dateityp fĆ¼r E-Mailanhang auswƤhlen" #. DESC_MULTIPAGE_PROJECT -msgid "Enter name of multipage project" -msgstr "Name des mehrseitigen Projekts eingeben" +msgid "Enter multipage project directory name" +msgstr "Mehrseiten-Projekt-Verzeichnis Namen eingeben" + +#. DESC_MULTIPAGE_PROJECT_BROWSE +msgid "Browse for multipage project directory" +msgstr "Nach Mehrseiten-Projekt-Verzeichnis suchen" #. DESC_MULTIPAGE_FILETYPE msgid "Select filetype for multipage file" @@ -1608,8 +1816,8 @@ msgstr "" "Kontrast = 0" #. DESC_ENH_AUTO -msgid "Autoadjust gamma, brightness and contrast <Ctrl-e>" -msgstr "Automatische Einstellung von Gamma, Helligkeit und Kontrast <Ctrl-e>" +msgid "Autoadjust gamma, brightness and contrast <Ctrl-a>" +msgstr "Automatische Einstellung von Gamma, Helligkeit und Kontrast <Ctrl-a>" #. DESC_ENH_DEFAULT msgid "" @@ -1693,18 +1901,22 @@ msgstr "" "werden" #. DESC_PRINTER_WIDTH +#. DESC_FAX_WIDTH msgid "Width of printable area" msgstr "Breite des druckbaren Bereichs" #. DESC_PRINTER_HEIGHT +#. DESC_FAX_HEIGHT msgid "Height of printable area" msgstr "Hƶhe des druckbaren Bereichs" #. DESC_PRINTER_LEFTOFFSET +#. DESC_FAX_LEFTOFFSET msgid "Left offset from the edge of the paper to the printable area" msgstr "Abstand vom linken Papierrand zum Beginn des druckbaren Bereichs" #. DESC_PRINTER_BOTTOMOFFSET +#. DESC_FAX_BOTTOMOFFSET msgid "Bottom offset from the edge of the paper to the printable area" msgstr "Abstand vom unteren Papierrand zum Beginn des druckbaren Bereichs" @@ -1724,9 +1936,17 @@ msgstr "ZusƤtzlicher Gammawert fĆ¼r grĆ¼ne Komponente beim Fotokopieren" msgid "Additional gamma value for blue component for photocopy" msgstr "ZusƤtzlicher Gammawert fĆ¼r blaue Komponente beim Fotokopieren" -#. DESC_PRINTER_PS_FLATDECODED +#. DESC_PRINTER_EMBED_CSA +msgid "Creates a postsciptfile that contains the ICM profile of the scanner" +msgstr "Erzeugt eine Postscriptdatei die das ICM-Profil des Scammers enthƤlt" + +#. DESC_PRINTER_EMBED_CRD +msgid "Creates a postsciptfile that contains the ICM profile of the printer" +msgstr "Erzeugt eine Postscriptdatei die das ICM-Profil des Druckers enthƤlt" + +#. DESC_PRINTER_PS_FLATEDECODED msgid "" -"Create zlib compressed postscript image for printer (flatdecode).\n" +"Create zlib compressed postscript image for printer (flatedecode).\n" "The printer has to understand postscript level 3!" msgstr "" "Erzeuge zlib-komprimiertes Postscript Bild zum Drucken (flatdecode).\n" @@ -1789,17 +2009,17 @@ msgstr "" "Wenn der DateinamenzƤhler automatisch erhƶht wird, werden benutzte " "Dateinummern Ć¼bersprungen" -#. DESC_SAVE_PS_FLATDECODED +#. DESC_SAVE_PS_FLATEDECODED msgid "" -"compress postscript image with zlib algorithm (flatdecode). When you want to " -"print such a file your printer has to understand postscript level 3" +"compress postscript image with zlib algorithm (flatedecode). When you want " +"to print such a file your printer has to understand postscript level 3" msgstr "" -"komprimiere Postscript Bild mit zlib Algorithmus (flatdecode). Wenn die " +"komprimiere Postscript Bild mit zlib Algorithmus (flatedecode). Wenn die " "Datei gedruckt werden soll muss der Drucker Postscript level 3 verstehen" -#. DESC_SAVE_PDF_FLATDECODED -msgid "compress PDF image with zlib algorithm (flatdecode)." -msgstr "komprimiere PDF Bild mit zlib Algorithmus (flatdecode)." +#. DESC_SAVE_PDF_FLATEDECODED +msgid "compress PDF image with zlib algorithm (flatedecode)." +msgstr "komprimiere PDF Bild mit zlib Algorithmus (flatedecode)." #. DESC_SAVE_PNM16_AS_ASCII msgid "" @@ -1814,10 +2034,11 @@ msgstr "" "aber die Dateien werden sehr groĆ!!!" #. DESC_REDUCE_16BIT_TO_8BIT -msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +msgid "" +"If scanner sends image with 16 bits/channel save image with 8 bits/channel" msgstr "" -"Wenn der Scanner das Bild mit 16 Bits/Farbe liefert wird das Bild mit 8 Bits/" -"Farbe gespeichert" +"Wenn der Scanner das Bild mit 16 Bits/Kanal liefert wird das Bild mit 8 Bits/" +"Kanal gespeichert" #. DESC_PSFILE_WIDTH msgid "Width of paper for postscript files" @@ -1848,7 +2069,7 @@ msgid "Use fixed main window size or scrolled, resizable main window" msgstr "Verwende feste oder verƤnderbare HauptfenstergrƶĆe" #. DESC_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable preview gamma when XSane runs as gimp plugin" +msgid "Disable preview gamma when XSane runs as GIMP plugin" msgstr "Preview Gamma deaktivieren wenn XSane als Gimp-Plugin gestartet wird" #. DESC_PREVIEW_COLORMAP @@ -1949,6 +2170,14 @@ msgstr "Scanbereich nach Vorschauscan automatisch auswƤhlen" msgid "Do color correction after preview scan has finished" msgstr "Farbkorrektur nach Vorschauscan ausfĆ¼hren" +#. DESC_RENDERING_INTENT +msgid "Select rendering intent for preview and saving" +msgstr "Rendering Intent fĆ¼r Vorschau und zum Speichern auswƤhlen" + +#. DESC_CMS_BPC +msgid "Apply black point compensation when color transformation is done" +msgstr "Scharzpunkt-Kompensation bei Farbtransformation anwenden" + #. DESC_FAX_COMMAND msgid "Enter command to be executed in fax mode" msgstr "Befehl, der zum Senden eines Faxprojekts ausgefĆ¼hrt werden soll" @@ -1980,9 +2209,9 @@ msgstr "" msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" msgstr "Sende Fax mit hoher vertikaler Auflƶsung (196 lpi anstatt 98 lpi)" -#. DESC_FAX_PS_FLATDECODED -msgid "Create zlib compressed postscript image for fax (flatdecode)" -msgstr "" +#. DESC_FAX_PS_FLATEDECODED +msgid "Create zlib compressed postscript image for fax (flatedecode)" +msgstr "Erzeuge zlib-komprimiertes Postscript-Bild (ps level 3) zum Faxen" #. DESC_SMTP_SERVER msgid "IP Address or Domain name of SMTP server" @@ -2062,9 +2291,9 @@ msgstr "lesen" msgid "write" msgstr "schreiben" -#. DESC_PERMISSION_EXECUTE -msgid "execute" -msgstr "ausfĆ¼hren" +#. DESC_PERMISSION_SEARCH +msgid "search" +msgstr "durchsuchen" #. DESC_ADD_BATCH msgid "Add selection for batch scan" @@ -2233,6 +2462,30 @@ msgstr "AusgewƤhlten Bereich aus Stapelliste lƶschen" msgid "Turns on automatic mode" msgstr "Schaltet automatische Einstellung ein" +#. DESC_BUTTON_SCANNER_DEFAULT_COLOR_ICM_PROFILE_BROWSE +msgid "Browse for scanner default color ICM-profile" +msgstr "Suche nach standard Scanner Farb-ICM-Profil" + +#. DESC_BUTTON_SCANNER_DEFAULT_GRAY_ICM_PROFILE_BROWSE +msgid "Browse for scanner default gray ICM-profile" +msgstr "Suche nach standard Scanner Graustufen-ICM-Profil" + +#. DESC_BUTTON_DISPLAY_ICM_PROFILE_BROWSE +msgid "Browse for display ICM-profile" +msgstr "Suche nach Bildschirm ICM-Profil" + +#. DESC_BUTTON_PRINTER_ICM_PROFILE_BROWSE +msgid "Browse for printer ICM-profile" +msgstr "Suche nach Durcker ICM-Profil" + +#. DESC_BUTTON_CUSTOM_PROOFING_ICM_PROFILE_BROWSE +msgid "Browse for custom proofing ICM-profile" +msgstr "Suche nach Benutzerdefiniertem Proofing ICM-Profil" + +#. DESC_BUTTON_WORKING_COLOR_SPACE_ICM_PROFILE_BROWSE +msgid "Browse for working color space ICM-profile" +msgstr "Suche nach ICM-Profil fĆ¼r den Arbeitsfarbraum" + #. ERR_HOME_DIR msgid "Failed to determine home directory:" msgstr "Konnte Heimatverzeichnis nicht bestimmen" @@ -2289,11 +2542,6 @@ msgstr "Fehler beim Speichern:" msgid "Can't handle depth" msgstr "Nicht unterstĆ¼tzte Bittiefe" -#. ERR_GIMP_BAD_DEPTH -#, c-format -msgid "GIMP can't handle depth %d bits/color" -msgstr "GIMP unterstĆ¼tzt Bittiefe %d Bits/Farbe nicht" - #. ERR_UNKNOWN_SAVING_FORMAT msgid "Unknown file format for saving" msgstr "Unbekanntes Ausgabedateiformat" @@ -2529,10 +2777,58 @@ msgstr "Datei %s is keine Postscript-Datei" msgid "Unsupported %d-bit output format: %s" msgstr "Nicht unterstĆ¼tztes %d-bit Ausgabeformat: %s" +#. ERR_CMS_CONVERSION +msgid "Error during CMS conversion:" +msgstr "Fehler bei Farbkonvertierung:" + +#. ERR_CMS_OPEN_ICM_FILE +msgid "Could not open" +msgstr "Fehler beim Ćffnen von" + +#. CMS_SCANNER_ICM +msgid "scanner ICM profile" +msgstr "Scanner ICM-Profil" + +#. CMS_DISPLAY_ICM +msgid "display ICM profile" +msgstr "Bildschirm ICM-Profil" + +#. CMS_PROOF_ICM +msgid "proofing ICM profile" +msgstr "Proofing ICM-Profil" + +#. ERR_CMS_CREATE_TRANSFORM +msgid "Could not create transform" +msgstr "Konnte Transformation nicht erstellen" + #. WARN_VIEWER_IMAGE_NOT_SAVED msgid "viewer image is not saved" msgstr "Betrachter-Bild ist nicht gespeichert" +#. FILE_FILTER_ALL_FILES +msgid "All files" +msgstr "Alle Dateien" + +#. FILE_FILTER_IMAGES +msgid "Images" +msgstr "Bilder" + +#. FILE_FILTER_XBL +msgid "XSane batch list" +msgstr "Stapellisten" + +#. FILE_FILTER_ICM +msgid "ICC/ICM Profiles" +msgstr "ICC/ICM Profile" + +#. FILE_FILTER_DRC +msgid "XSane device preferences" +msgstr "GerƤteeinstellungen" + +#. FILE_FILTER_RC +msgid "XSane preferences" +msgstr "Einstellungen" + #. TEXT_USAGE msgid "Usage:" msgstr "Gebrauch:" @@ -2900,3 +3196,4 @@ msgstr "Kein Speicher" msgid "Access to resource has been denied" msgstr "Zugang zum GerƤt wurde verweigert" + diff --git a/po/de.po~ b/po/de.po~ new file mode 100644 index 0000000..5071eb4 --- /dev/null +++ b/po/de.po~ @@ -0,0 +1,3244 @@ +# German translation for XSane. +# Copyright (C) 1999-2002 Oliver Rauch +# Oliver Rauch <Oliver.Rauch@rauch-domain.de> +# +msgid "" +msgstr "" +"Project-Id-Version: XSANE 0.99\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-25 23:44+0100\n" +"PO-Revision-Date: 2000-01-21 15:51+01:00\n" +"Last-Translator: Oliver Rauch <Oliver.Rauch@rauch-domain.de>\n" +"Language-Team: German <de@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Please translate this to the correct directory name (eg. german=>de) +#. XSANE_LANGUAGE_DIR +msgid "language_dir" +msgstr "de" + +#. XSANE_COPYRIGHT_SIGN +msgid "(c)" +msgstr "Ā©" + +#. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "Duplikat-von-" + +#. WINDOW_ABOUT_XSANE +msgid "About" +msgstr "Ćber" + +#. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +#. MENU_ITEM_ABOUT_TRANSLATION +msgid "About translation" +msgstr "Ćber Ćbersetzung" + +#. WINDOW_AUTHORIZE +msgid "authorization" +msgstr "Autorisation" + +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "GPL - die Lizenz" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "Endbenutzervereinbarung (EULA)" + +#. WINDOW_INFO +msgid "info" +msgstr "Informationen" + +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "Stapelliste laden" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "Stapelliste speichern" + +#. WINDOW_BATCH_SCAN +msgid "batch scan" +msgstr "Stapel Scan" + +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "Stapelscan Bereich umbenennen" + +#. WINDOW_FAX_PROJECT +msgid "fax project" +msgstr "Faxprojekt" + +#. WINDOW_FAX_PROJECT_BROWSE +msgid "browse for fax project" +msgstr "Nach Faxprojekt suchen" + +#. WINDOW_FAX_RENAME +msgid "rename fax page" +msgstr "Faxseite umbenennen" + +#. WINDOW_FAX_INSERT +msgid "insert ps-file into fax" +msgstr "ps-Datei einfĆ¼gen in Fax" + +#. WINDOW_EMAIL_PROJECT +msgid "E-mail project" +msgstr "E-Mail Projekt" + +#. WINDOW_EMAIL_PROJECT_BROWSE +msgid "browse for email project" +msgstr "Nach E-Mailprojekt suchen" + +#. WINDOW_EMAIL_RENAME +msgid "rename e-mail image" +msgstr "E-Mail Bild umbenennen" + +#. WINDOW_EMAIL_INSERT +msgid "insert file into e-mail" +msgstr "Bild in E-Mail einfĆ¼gen" + +#. WINDOW_MULTIPAGE_PROJECT +msgid "multipage project" +msgstr "Mehrseiten-Projekt" + +#. WINDOW_MULTIPAGE_PROJECT_BROWSE +msgid "browse for multipage project" +msgstr "Nach Mehrseiten-Projekt suchen" + +#. WINDOW_PRESET_AREA_RENAME +msgid "rename preset area" +msgstr "Bereichsvoreinstellung umbenennen" + +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr "Bereichsvoreinstellung hinzufĆ¼gen" + +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr "Medium umbenennen" + +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "Medium hinzufĆ¼gen" + +#. WINDOW_SETUP +msgid "setup" +msgstr "Konfiguration" + +#. WINDOW_HISTOGRAM +msgid "Histogram" +msgstr "Histogramm" + +#. WINDOW_GAMMA +msgid "Gamma curve" +msgstr "Gamma Kurve" + +#. WINDOW_STANDARD_OPTIONS +msgid "Standard options" +msgstr "Standard Optionen" + +#. WINDOW_ADVANCED_OPTIONS +msgid "Advanced options" +msgstr "Erweiterte Optionen" + +#. WINDOW_DEVICE_SELECTION +msgid "device selection" +msgstr "GerƤteauswahl" + +#. WINDOW_PREVIEW +msgid "Preview" +msgstr "Vorschau" + +#. WINDOW_VIEWER +#. MENU_ITEM_VIEWER +msgid "Viewer" +msgstr "Betrachter" + +#. WINDOW_VIEWER_OUTPUT_FILENAME +msgid "Viewer: select output filename" +msgstr "Betrachter: Ausgabedatei auswƤhlen" + +#. WINDOW_OCR_OUTPUT_FILENAME +msgid "Select output filename for OCR text file" +msgstr "Dateinamen fĆ¼r OCR Text auswƤhlen" + +#. WINDOW_OUTPUT_FILENAME +msgid "select output filename" +msgstr "Ausgabedatei auswƤhlen" + +#. WINDOW_SAVE_SETTINGS +msgid "save device settings" +msgstr "Speichere GerƤteeinstellungen" + +#. WINDOW_LOAD_SETTINGS +msgid "load device settings" +msgstr "Lade GerƤteeinstellungen" + +#. WINDOW_CHANGE_WORKING_DIR +msgid "change working directory" +msgstr "Arbeitsverzeichnis wechseln" + +#. WINDOW_TMP_PATH +msgid "select temporary directory" +msgstr "temporƤres Verzeichnis auswƤhlen" + +#. WINDOW_SCALE +#. DESC_VIEWER_SCALE +msgid "Scale image" +msgstr "Bild skalieren" + +#. WINDOW_DESPECKLE +#. DESC_VIEWER_DESPECKLE +msgid "Despeckle image" +msgstr "Flecken entfernen" + +#. WINDOW_BLUR +#. DESC_VIEWER_BLUR +msgid "Blur image" +msgstr "Bild weichzeichnen" + +#. WINDOW_STORE_MEDIUM +msgid "Store medium definition" +msgstr "Mediumdefinition speichern" + +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "Keine GerƤte erreichbar" + +#. WINDOW_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "select scanner default color ICM-profile" +msgstr "reflektives ICM-Profil fĆ¼r Scanner auswƤhlen" + +#. WINDOW_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "select scanner default gray ICM-profile" +msgstr "reflektives Graustufen ICM-Profil fĆ¼r Scanner auswƤhlen" + +#. WINDOW_DISPLAY_ICM_PROFILE +msgid "select display ICM-profile" +msgstr "ICM-Profil fĆ¼r Bildschirm auswƤhlen" + +#. WINDOW_CUSTOM_PROOFING_ICM_PROFILE +msgid "select custom proofing ICM-profile" +msgstr "Benutzerdefiniertes Proofing ICM Profil auswƤhlen" + +#. WINDOW_WORKING_COLOR_SPACE_ICM_PROFILE +msgid "select working color space ICM-profile" +msgstr "ICM-Profil fĆ¼r Arbeitsfarbraum auswƤhlen" + +#. WINDOW_PRINTER_ICM_PROFILE +msgid "select printer ICM-profile" +msgstr "ICM Profil fĆ¼r Drucker auswƤhlen" + +#. MENU_FILE +msgid "File" +msgstr "Datei" + +#. MENU_PREFERENCES +msgid "Preferences" +msgstr "Einstellungen" + +#. MENU_VIEW +msgid "View" +msgstr "Ansicht" + +#. MENU_WINDOW +msgid "Window" +msgstr "Fenster" + +#. MENU_HELP +#. BUTTON_HELP +msgid "Help" +msgstr "Hilfe" + +#. MENU_EDIT +msgid "Edit" +msgstr "Bearbeiten" + +#. MENU_FILTERS +msgid "Filters" +msgstr "Filter" + +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "Geometrie" + +#. MENU_COLOR_MANAGEMENT +#. NOTEBOOK_COLOR_MANAGEMENT_OPTIONS +msgid "Color management" +msgstr "Farbmanagement" + +#. MENU_ITEM_ABOUT_XSANE +msgid "About XSane" +msgstr "Ćber XSane" + +#. MENU_ITEM_INFO +msgid "Info" +msgstr "Informationen" + +#. MENU_ITEM_QUIT +msgid "Quit" +msgstr "Beenden" + +#. MENU_ITEM_SAVE_IMAGE +#. DESC_VIEWER_SAVE +msgid "Save image" +msgstr "Bild speichern" + +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "OCR - als Text speichern" + +#. MENU_ITEM_CLONE +msgid "Clone" +msgstr "Klonen" + +#. MENU_ITEM_SCALE +msgid "Scale" +msgstr "Skalieren" + +#. MENU_ITEM_CLOSE +#. BUTTON_CLOSE +msgid "Close" +msgstr "SchlieĆen" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "RĆ¼ckgƤngig" + +#. MENU_ITEM_DESPECKLE +msgid "Despeckle" +msgstr "Entflecken" + +#. MENU_ITEM_BLUR +msgid "Blur" +msgstr "Weichzeichnen" + +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "Drehen 90Ā°" + +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr "Drehen 180Ā°" + +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr "Drehen 270Ā°" + +#. MENU_ITEM_MIRROR_X +msgid "Mirror |" +msgstr "Spiegeln |" + +#. MENU_ITEM_MIRROR_Y +msgid "Mirror -" +msgstr "Spiegeln -" + +#. FRAME_RAW_IMAGE +msgid "Raw image" +msgstr "Rohbild" + +#. FRAME_ENHANCED_IMAGE +msgid "Enhanced image" +msgstr "Verbessertes Bild" + +#. BUTTON_SCAN +msgid "Scan" +msgstr "Scannen" + +#. BUTTON_OK +msgid "Ok" +msgstr "OK" + +#. BUTTON_ACCEPT +msgid "Accept" +msgstr "Akzeptieren" + +#. BUTTON_NOT_ACCEPT +msgid "Not accept" +msgstr "Nicht akzeptieren" + +#. BUTTON_APPLY +msgid "Apply" +msgstr "Anwenden" + +#. BUTTON_CANCEL +msgid "Cancel" +msgstr "Abbrechen" + +#. BUTTON_REDUCE +msgid "Reduce" +msgstr "Reduzieren" + +#. BUTTON_CONT_AT_OWN_RISK +msgid "Continue at your own risk" +msgstr "Auf eigenes Risiko fortfahren" + +#. BUTTON_BROWSE +msgid "Browse" +msgstr "Durchsuchen" + +#. BUTTON_OVERWRITE +msgid "Overwrite" +msgstr "Ćberschreiben" + +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "Stapelliste scannen" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "Auswahl scannen" + +#. BUTTON_PAGE_DELETE +msgid "Delete page" +msgstr "Seite lƶschen" + +#. BUTTON_PAGE_SHOW +msgid "Show page" +msgstr "Seite anzeigen" + +#. BUTTON_PAGE_RENAME +msgid "Rename page" +msgstr "Seite umbenennen" + +#. BUTTON_IMAGE_DELETE +msgid "Delete image" +msgstr "Bild lƶschen" + +#. BUTTON_IMAGE_SHOW +msgid "Show image" +msgstr "Bild anzeigen" + +#. BUTTON_IMAGE_EDIT +msgid "Edit image" +msgstr "Bild Ƥndern" + +#. BUTTON_IMAGE_RENAME +msgid "Rename image" +msgstr "Bild umbenennen" + +#. BUTTON_FILE_INSERT +msgid "Insert file" +msgstr "Datei einfĆ¼gen" + +#. BUTTON_CREATE_PROJECT +msgid "Create project" +msgstr "Projekt erstellen" + +#. BUTTON_SEND_PROJECT +msgid "Send project" +msgstr "Projekt senden" + +#. BUTTON_SAVE_MULTIPAGE +msgid "Save multipage file" +msgstr "Mehrseitige Datei speichern" + +#. BUTTON_DELETE_PROJECT +msgid "Delete project" +msgstr "Projekt lƶschen" + +#. BUTTON_ADD_PRINTER +msgid "Add printer" +msgstr "Drucker hinzufĆ¼gen" + +#. BUTTON_DELETE_PRINTER +msgid "Delete printer" +msgstr "Drucker lƶschen" + +#. BUTTON_PREVIEW_ACQUIRE +msgid "Acquire preview" +msgstr "Vorschauscan" + +#. BUTTON_PREVIEW_CANCEL +msgid "Cancel preview" +msgstr "Vorschauscan abbrechen" + +#. BUTTON_DISCARD_IMAGE +msgid "Discard image" +msgstr "Bild verwerfen" + +#. BUTTON_DISCARD_ALL_IMAGES +msgid "Discard all images" +msgstr "alle Bilder verwerfen" + +#. BUTTON_DO_NOT_CLOSE +msgid "Do not close" +msgstr "nicht schlieĆen" + +#. BUTTON_SCALE_BIND +msgid "Bind scale" +msgstr "Verbinde Skalierung" + +#. RADIO_BUTTON_FINE_MODE +msgid "Fine mode" +msgstr "Fein-Modus" + +#. RADIO_BUTTON_HTML_EMAIL +msgid "HTML e-mail" +msgstr "HTML E-Mail" + +#. RADIO_BUTTON_SAVE_DEVPREFS_AT_EXIT +msgid "Save device preferences at exit" +msgstr "GerƤteeinstellungen beim Verlassen speichern" + +#. RADIO_BUTTON_OVERWRITE_WARNING +msgid "Overwrite warning" +msgstr "Ćberschreibwarnung" + +#. RADIO_BUTTON_SKIP_EXISTING_NRS +msgid "Skip existing filenames" +msgstr "Existierende Dateinamen Ć¼berspringen" + +#. RADIO_BUTTON_SAVE_PS_FLATEDECODED +msgid "Save postscript zlib compressed (ps level 3)" +msgstr "Speichere Postscript zlib-komprimiert (ps level 3)" + +#. RADIO_BUTTON_SAVE_PDF_FLATEDECODED +msgid "Save PDF zlib compressed" +msgstr "Speichere PDF zlib-komprimiert" + +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "Speichere 16bit pnm im ASCII-Format" + +#. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT +msgid "Reduce 16 bit image to 8 bit" +msgstr "Reduziere 16 Bit Bild auf 8 Bit" + +#. RADIO_BUTTON_WINDOW_FIXED +msgid "Main window size fixed" +msgstr "Feste HauptfenstergrƶĆe" + +#. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable GIMP preview gamma" +msgstr "Vorschau-Gamma fĆ¼r GIMP deaktivieren" + +#. RADIO_BUTTON_PRIVATE_COLORMAP +msgid "Use private colormap" +msgstr "Benutze eigene Farbpalette" + +#. RADIO_BUTTON_AUTOENHANCE_GAMMA +msgid "Autoenhance gamma" +msgstr "Automatische Gammakorrektur" + +#. RADIO_BUTTON_PRESELECT_SCANAREA +msgid "Preselect scanarea" +msgstr "Scanbereich automatisch wƤhlen" + +#. RADIO_BUTTON_AUTOCORRECT_COLORS +msgid "Autocorrect colors" +msgstr "Automatische Farbkorrektur" + +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "Benutze GUI Fortschritts Pipe" + +#. RADIO_BUTTON_CMS_BPC +#. MENU_ITEM_CMS_BLACK_POINT_COMPENSATION +msgid "Black point compensation" +msgstr "Schwarzpunkt kompensieren" + +#. TEXT_SCANNING_DEVICES +msgid "scanning for devices" +msgstr "Suche nach GerƤten" + +#. TEXT_AVAILABLE_DEVICES +msgid "Available devices:" +msgstr "Erreichbare GerƤte:" + +#. TEXT_XSANE_OPTIONS +msgid "XSane options" +msgstr "XSane Optionen" + +#. TEXT_FILETYPE +msgid "Type" +msgstr "Typ" + +#. TEXT_CMS_FUNCTION +#. DESC_CMS_FUNCTION +msgid "Color management function" +msgstr "Farbmanagement-Funktion" + +#. TEXT_SCANNER_BACKEND +msgid "Scanner and backend:" +msgstr "Scanner und Backends" + +#. TEXT_VENDOR +msgid "Vendor:" +msgstr "Hersteller:" + +#. TEXT_MODEL +msgid "Model:" +msgstr "Modell:" + +#. TEXT_TYPE +msgid "Type:" +msgstr "Typ:" + +#. TEXT_DEVICE +msgid "Device:" +msgstr "GerƤt:" + +#. TEXT_LOADED_BACKEND +msgid "Loaded backend:" +msgstr "Geladenes Backend:" + +#. TEXT_SANE_VERSION +msgid "Sane version:" +msgstr "sane Version:" + +#. TEXT_RECENT_VALUES +msgid "Recent values:" +msgstr "Aktuelle Werte:" + +#. TEXT_GAMMA_CORR_BY +msgid "Gamma correction by:" +msgstr "Gammakorrektur durch:" + +#. TEXT_SCANNER +msgid "scanner" +msgstr "Scanner" + +#. TEXT_SOFTWARE_XSANE +msgid "software (XSane)" +msgstr "Software (XSane)" + +#. TEXT_NONE +msgid "none" +msgstr "keine" + +#. TEXT_GAMMA_INPUT_DEPTH +msgid "Gamma input depth:" +msgstr "Bittiefe Gammaeingabe:" + +#. TEXT_GAMMA_OUTPUT_DEPTH +msgid "Gamma output depth:" +msgstr "Bittiefe Gammaausgabe:" + +#. TEXT_SCANNER_OUTPUT_DEPTH +msgid "Scanner output depth:" +msgstr "Bittiefe Scannerausgabe:" + +#. TEXT_OUTPUT_FORMATS +msgid "XSane output formats:" +msgstr "XSane Ausgabeformate:" + +#. TEXT_8BIT_FORMATS +msgid "8 bit output formats:" +msgstr "8 Bit Ausgabeformate:" + +#. TEXT_16BIT_FORMATS +msgid "16 bit output formats:" +msgstr "16 Bit Ausgabeformate:" + +#. TEXT_REDUCE_16BIT_TO_8BIT +#, fuzzy +msgid "" +"Bit depth 16 bits/channel is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/channel?" +msgstr "" +"Die Bittiefe 16Bits/Farbe wird von diesem Ausgabeformat nicht unterstĆ¼tzt.\n" +"Mƶchten Sie die Bittiefe auf 8 Bits/Farbe reduzieren?" + +#. TEXT_AUTHORIZATION_REQ +msgid "Authorization required for" +msgstr "Autorisation benƶtigt fĆ¼r" + +#. TEXT_AUTHORIZATION_SECURE +msgid "Password transmission is secure" +msgstr "PasswortĆ¼bertragung ist sicher" + +#. TEXT_AUTHORIZATION_INSECURE +msgid "Backend requests plain-text password" +msgstr "Backend erbittet unverschlĆ¼sseltes Passwort" + +#. TEXT_USERNAME +msgid "Username :" +msgstr "Benutzername:" + +#. TEXT_PASSWORD +msgid "Password :" +msgstr "Passwort:" + +#. TEXT_INVALID_PARAMS +msgid "Invalid parameters." +msgstr "UngĆ¼ltige Parameter" + +#. TEXT_VERSION +msgid "version:" +msgstr "Version:" + +#. TEXT_PACKAGE +msgid "package" +msgstr "Paket" + +#. TEXT_WITH_CMS_FUNCTION +msgid "with color management function" +msgstr "mit Farbmanagement-Funktion" + +#. TEXT_WITH_GIMP_SUPPORT +msgid "with GIMP support" +msgstr "mit GIMP-UnterstĆ¼tzung" + +#. TEXT_WITHOUT_GIMP_SUPPORT +msgid "without GIMP support" +msgstr "ohne GIMP-UnterstĆ¼tzung" + +#. TEXT_GTK_VERSION +msgid "compiled with GTK-" +msgstr "Ć¼bersetzt mit GTK-" + +#. TEXT_GIMP_VERSION +msgid "compiled with GIMP-" +msgstr "Ć¼bersetzt mit GIMP-" + +#. TEXT_UNKNOWN +msgid "unknown" +msgstr "unbekannt" + +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" +"XSane wird unter den Bedingungen der GNU General Public Licence, wie\n" +"von der Free Software Foundation verƶffentlicht, herausgegeben, entweder\n" +"Version 2 der Lizenz, oder (wenn Sie wĆ¼nschen) jeder spƤteren Version.\n" +"\n" +"Die Verƶffentlichung dieses Programms erfolgt in der Hoffnung, dass es\n" +"Ihnen von Nutzen sein wird, aber OHNE JEDE GEWĆHRLEISTUNG\n" +"- sogar ohne die implizite GewƤhrleistung der MARKTREIFE oder der\n" +"EIGNUNG FĆR EINEN BESTIMMTEN ZWECK. Sollte das Programm einen\n" +"Schaden verursachen, dann tragen Sie - der Benutzer - die Kosten\n" +"fĆ¼r alle notwendigen Dienstleistungen, Reparaturen oder Korrekturen.\n" +"Um dieses Programm zu benutzen, haben Sie die folgende Vereinbarung\n" +"Ć¼ber den HaftungsausschluĆ zu lesen, zu verstehen und zu akzeptieren.\n" + +#. TEXT_GPL +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +msgstr "" +"XSane wird unter den Bedingungen der GNU General Public Licence, wie\n" +"von der Free Software Foundation verƶffentlicht, herausgegeben, entweder\n" +"Version 2 der Lizenz, oder (wenn Sie wĆ¼nschen) jeder spƤteren Version.\n" +"\n" +"Die Verƶffentlichung dieses Programms erfolgt in der Hoffnung, dass es\n" +"Ihnen von Nutzen sein wird, aber OHNE JEDE GEWĆHRLEISTUNG\n" +"- sogar ohne die implizite GewƤhrleistung der MARKTREIFE oder der\n" +"EIGNUNG FĆR EINEN BESTIMMTEN ZWECK.\n" + +#. TEXT_EMAIL_ADR +msgid "E-mail:" +msgstr "E-Mail:" + +#. TEXT_HOMEPAGE +msgid "Homepage:" +msgstr "Homepage:" + +#. TEXT_FILE +msgid "File:" +msgstr "Datei:" + +#. TEXT_TRANSLATION +msgid "Translation:" +msgstr "Ćbersetzung:" + +#. Please translate this to something like +#. translation to YOUR LANGUAGE\n +#. by YOUR NAME\n +#. E-mail: your.name@yourdomain.com\n +#. TEXT_TRANSLATION_INFO +msgid "" +"untranslated original english text\n" +"by Oliver Rauch\n" +"E-mail: Oliver.Rauch@rauch-domain.de\n" +msgstr "" +"Ćbersetzung ins Deutsche\n" +"von Oliver Rauch\n" +"E-Mail: Oliver.Rauch@rauch-domain.de\n" + +#. TEXT_INFO_BOX +msgid "0x0: 0KB" +msgstr "0x0: 0KB" + +#. TEXT_ADF_PAGES_SCANNED +msgid "Scanned pages: " +msgstr "gescannte Seiten: " + +#. TEXT_EMAIL_TEXT +msgid "E-mail text:" +msgstr "E-Mail Text:" + +#. TEXT_ATTACHMENTS +msgid "Attachments:" +msgstr "Anhang:" + +#. TEXT_EMAIL_STATUS +msgid "Project status:" +msgstr "Projekt Status:" + +#. TEXT_EMAIL_FILETYPE +msgid "E-mail image filetype:" +msgstr "Dateityp fĆ¼r E-Mail:" + +#. TEXT_PAGES +msgid "Pages:" +msgstr "Seiten:" + +#. TEXT_MULTIPAGE_FILETYPE +msgid "Multipage document filetype:" +msgstr "Dateityp mehrseitiges Dokument:" + +#. TEXT_MEDIUM_DEFINITION_NAME +msgid "Medium Name:" +msgstr "Medium Name:" + +#. TEXT_VIEWER_IMAGE_INFO +#, fuzzy, c-format +msgid "" +"Size %d x %d pixel, %d bits/channel, %d channels, %1.0f dpi x %1.0f dpi, %" +"1.1f %s" +msgstr "" +"GrƶĆe %d x %d Punkte, %d Bit/Farbe, %d Farben, %1.0f dpi x %1.0f dpi, %1.1f %" +"s" + +#. TEXT_DESPECKLE_RADIUS +msgid "Despeckle radius:" +msgstr "Entflecken Radius:" + +#. TEXT_BLUR_RADIUS +msgid "Blur radius:" +msgstr "Weichzeichnen Radius:" + +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "(kein Name)" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "Bereichsname:" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "Scanmodus:" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "Oben links:" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "GrƶĆe:" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "Auflƶsung:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "Bittiefe:" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "wie ausgewƤhlt" + +#. TEXT_SETUP_PRINTER_SEL +msgid "Printer selection:" +msgstr "Druckerauswahl:" + +#. TEXT_SETUP_PRINTER_NAME +msgid "Name:" +msgstr "Name:" + +#. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +#. TEXT_SETUP_FAX_COMMAND +msgid "Command:" +msgstr "Befehl:" + +#. TEXT_SETUP_COPY_NR_OPT +msgid "Copy number option:" +msgstr "Option for Anzahl der Kopien:" + +#. TEXT_SETUP_PRINTER_LINEART_RES +msgid "Lineart resolution (dpi):" +msgstr "Lineart Auflƶsung (dpi):" + +#. TEXT_SETUP_PRINTER_GRAYSCALE_RES +msgid "Grayscale resolution (dpi):" +msgstr "Graustufen Auflƶsung (dpi):" + +#. TEXT_SETUP_PRINTER_COLOR_RES +msgid "Color resolution (dpi):" +msgstr "Farb-Auflƶsung (dpi):" + +#. TEXT_SETUP_PRINTER_WIDTH +#. TEXT_SETUP_FAX_WIDTH +msgid "Width" +msgstr "Breite" + +#. TEXT_SETUP_PRINTER_HEIGHT +#. TEXT_SETUP_FAX_HEIGHT +msgid "Height" +msgstr "Hƶhe" + +#. TEXT_SETUP_PRINTER_LEFT +#. TEXT_SETUP_FAX_LEFT +msgid "Left offset" +msgstr "Linker Rand" + +#. TEXT_SETUP_PRINTER_BOTTOM +#. TEXT_SETUP_FAX_BOTTOM +msgid "Bottom offset" +msgstr "Unterer Rand" + +#. TEXT_SETUP_PRINTER_GAMMA +msgid "Printer gamma value:" +msgstr "Drucker Gammawert:" + +#. TEXT_SETUP_PRINTER_GAMMA_RED +msgid "Printer gamma red:" +msgstr "Drucker Gammawert rot:" + +#. TEXT_SETUP_PRINTER_GAMMA_GREEN +msgid "Printer gamma green:" +msgstr "Drucker Gammawert grĆ¼n:" + +#. TEXT_SETUP_PRINTER_GAMMA_BLUE +msgid "Printer gamma blue:" +msgstr "Drucker Gammawert blau:" + +#. TEXT_SETUP_PRINTER_EMBED_CSA +msgid "Embed scanner ICM profile as CSA" +msgstr "Scanner/Quell-ICM-Profil als CSA einbinden" + +#. TEXT_SETUP_PRINTER_EMBED_CRD +msgid "Embed printer ICM profile as CRD" +msgstr "ICM Profil fĆ¼r Drucker als CRD einbinden" + +#. TEXT_SETUP_PRINTER_PS_FLATEDECODED +msgid "Create zlib compressed postscript image (ps level 3) for printing" +msgstr "Erzeuge zlib-komprimiertes Posctscript Bild (ps level 3) zum Drucken" + +#. TEXT_SETUP_TMP_PATH +msgid "Temporary directory" +msgstr "TemporƤres Verzeichnis" + +#. TEXT_SETUP_IMAGE_PERMISSION +msgid "Image-file permissions" +msgstr "Bilddatei-Rechte" + +#. TEXT_SETUP_DIR_PERMISSION +msgid "Directory permissions" +msgstr "Verzeichnisrechte" + +#. TEXT_SETUP_JPEG_QUALITY +msgid "JPEG image quality" +msgstr "JPEG BildqualitƤt" + +#. TEXT_SETUP_PNG_COMPRESSION +msgid "PNG image compression" +msgstr "PNG Bildkompression" + +#. TEXT_SETUP_FILENAME_COUNTER_LEN +msgid "Filename counter length" +msgstr "DateinamenzƤhler LƤnge" + +#. TEXT_SETUP_TIFF_ZIP_COMPRESSION +msgid "TIFF zip compression rate" +msgstr "TIFF zip Kompressionsrate" + +#. TEXT_SETUP_TIFF_COMPRESSION_16 +msgid "TIFF 16 bit image compression" +msgstr "TIFF 16 bit Bildkompression" + +#. TEXT_SETUP_TIFF_COMPRESSION_8 +msgid "TIFF 8 bit image compression" +msgstr "TIFF 8 bit Bildkompression" + +#. TEXT_SETUP_TIFF_COMPRESSION_1 +msgid "TIFF lineart image compression" +msgstr "TIFF lineart Bildkompression" + +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "Zeige Bereich als:" + +#. TEXT_SETUP_PREVIEW_OVERSAMPLING +msgid "Preview oversampling:" +msgstr "Vorschau Oversampling:" + +#. TEXT_SETUP_PREVIEW_GAMMA +msgid "Preview gamma:" +msgstr "Vorschau Gamma:" + +#. TEXT_SETUP_PREVIEW_GAMMA_RED +msgid "Preview gamma red:" +msgstr "Vorschau Gamma rot:" + +#. TEXT_SETUP_PREVIEW_GAMMA_GREEN +msgid "Preview gamma green:" +msgstr "Vorschau Gamma grĆ¼n:" + +#. TEXT_SETUP_PREVIEW_GAMMA_BLUE +msgid "Preview gamma blue:" +msgstr "Vorschau Gamma blau:" + +#. TEXT_SETUP_LINEART_MODE +msgid "Threshold option:" +msgstr "Schwellwert Option:" + +#. TEXT_SETUP_PREVIEW_PIPETTE_RANGE +msgid "Preview pipette range" +msgstr "Vorschau Bereich Pipette" + +#. TEXT_SETUP_THRESHOLD_MIN +msgid "Threshold minimum:" +msgstr "Schwellwert Minimum:" + +#. TEXT_SETUP_THRESHOLD_MAX +msgid "Threshold maximum:" +msgstr "Schwellwert Maximum:" + +#. TEXT_SETUP_THRESHOLD_MUL +msgid "Threshold multiplier:" +msgstr "Schwellwert Multiplikator:" + +#. TEXT_SETUP_THRESHOLD_OFF +msgid "Threshold offset:" +msgstr "Schwellwert Verschiebung:" + +#. TEXT_SETUP_GRAYSCALE_SCANMODE +msgid "Name of grayscale scanmode:" +msgstr "Name des Scanodus \"Graustufen\":" + +#. TEXT_SETUP_HELPFILE_VIEWER +msgid "Helpfile viewer (HTML):" +msgstr "Hilfedatei Betrachter (HTML):" + +#. TEXT_SETUP_FAX_RECEIVER_OPTION +msgid "Receiver option:" +msgstr "Option fĆ¼r EmpfƤngernummer" + +#. TEXT_SETUP_FAX_POSTSCRIPT_OPT +msgid "Postscriptfile option:" +msgstr "Option fĆ¼r Postscriptdatei:" + +#. TEXT_SETUP_FAX_NORMAL_MODE_OPT +msgid "Normal mode option:" +msgstr "Option fĆ¼r Normalmodus:" + +#. TEXT_SETUP_FAX_FINE_MODE_OPT +msgid "Fine mode option:" +msgstr "Option fĆ¼r Feinmodus:" + +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "Setze Standardwerte fĆ¼r folgendes Programm" + +#. TEXT_SETUP_FAX_VIEWER +msgid "Viewer (Postscript):" +msgstr "Betrachter (Postscript):" + +#. TEXT_SETUP_FAX_PS_FLATEDECODED +msgid "Create zlib compressed postscript image (ps level 3) for fax" +msgstr "Erzeuge zlib-komprimiertes Postscript-Bild (ps level 3) zum Faxen" + +#. TEXT_SETUP_SMTP_SERVER +msgid "SMTP server:" +msgstr "SMTP Server:" + +#. TEXT_SETUP_SMTP_PORT +msgid "SMTP port:" +msgstr "SMTP Port:" + +#. TEXT_SETUP_EMAIL_FROM +msgid "From:" +msgstr "Von:" + +#. TEXT_SETUP_EMAIL_REPLY_TO +msgid "Reply to:" +msgstr "Antwort an:" + +#. TEXT_SETUP_EMAIL_AUTHENTICATION +msgid "E-mail authentication" +msgstr "E-Mail Authentifizierung" + +#. TEXT_SETUP_EMAIL_AUTH_USER +msgid "User:" +msgstr "Benutzer:" + +#. TEXT_SETUP_EMAIL_AUTH_PASS +msgid "Password:" +msgstr "Passwort:" + +#. TEXT_SETUP_POP3_SERVER +msgid "POP3 server:" +msgstr "POP3-Server:" + +#. TEXT_SETUP_POP3_PORT +msgid "POP3 port:" +msgstr "POP3-Port:" + +#. TEXT_SETUP_OCR_COMMAND +msgid "OCR Command:" +msgstr "OCR Befehl:" + +#. TEXT_SETUP_OCR_INPUTFILE_OPT +msgid "Inputfile option:" +msgstr "Option fĆ¼r Eingabedatei:" + +#. TEXT_SETUP_OCR_OUTPUTFILE_OPT +msgid "Outputfile option:" +msgstr "Option fĆ¼r Ausgabedatei:" + +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "Benutze GUI Fortschritts-Pipe" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "GUI Ausgabe-fd Option:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "Fortschritts-Schluesselwort:" + +#. TEXT_SETUP_PERMISSION_USER +msgid "user" +msgstr "Benutzer" + +#. TEXT_SETUP_PERMISSION_GROUP +msgid "group" +msgstr "Gruppe" + +#. TEXT_SETUP_PERMISSION_ALL +msgid "all" +msgstr "Alle" + +#. TEXT_SETUP_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "Scanner default color ICM-profile" +msgstr "Scanner reflektives Graustufen ICM-Profil" + +#. TEXT_SETUP_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "Scanner default gray ICM-profile" +msgstr "Scanner reflektives Graustufen ICM-Profil" + +#. TEXT_SETUP_DISPLAY_ICM_PROFILE +#. DESC_DISPLAY_ICM_PROFILE +msgid "Display ICM-profile" +msgstr "Bildschirm ICM-Profil" + +#. TEXT_SETUP_CUSTOM_PROOFING_ICM_PROFILE +#. DESC_CUSTOM_PROOFING_ICM_PROFILE +msgid "Custom proofing ICM-profile" +msgstr "Benutzerdefiniertes Proofing ICM-Profil" + +#. TEXT_SETUP_WORKING_COLOR_SPACE_ICM_PROFILE +#. DESC_WORKING_COLOR_SPACE_ICM_PROFILE +msgid "Working color space ICM-profile" +msgstr "Arbeitsfarbraum ICM-Profil" + +#. TEXT_SETUP_PRINTER_ICM_PROFILE +#. DESC_PRINTER_ICM_PROFILE +msgid "Printer ICM-profile" +msgstr "Drucker ICM-Profil" + +msgid "new media" +msgstr "neues Medium" + +#. NOTEBOOK_SAVING_OPTIONS +#. MENU_ITEM_SAVE +msgid "Save" +msgstr "Speichern" + +#. NOTEBOOK_FILETYPE_OPTIONS +msgid "Filetype" +msgstr "Dateityp" + +#. NOTEBOOK_COPY_OPTIONS +#. MENU_ITEM_COPY +msgid "Copy" +msgstr "Fotokopie" + +#. NOTEBOOK_FAX_OPTIONS +#. MENU_ITEM_FAX +msgid "Fax" +msgstr "Fax" + +#. NOTEBOOK_EMAIL_OPTIONS +#. MENU_ITEM_EMAIL +msgid "E-mail" +msgstr "E-Mail" + +#. NOTEBOOK_OCR_OPTIONS +msgid "OCR" +msgstr "Texterkennung" + +#. NOTEBOOK_DISPLAY_OPTIONS +msgid "Display" +msgstr "Darstellung" + +#. NOTEBOOK_ENHANCE_OPTIONS +msgid "Enhancement" +msgstr "Verbesserungen" + +#. MENU_ITEM_MULTIPAGE +msgid "Multipage" +msgstr "Mehrseitig" + +#. MENU_ITEM_SHOW_TOOLTIPS +msgid "Show tooltips" +msgstr "Zeige Tipps" + +#. MENU_ITEM_SHOW_PREVIEW +msgid "Show preview" +msgstr "Zeige Vorschau" + +#. MENU_ITEM_SHOW_HISTOGRAM +msgid "Show histogram" +msgstr "Zeige Histogramm" + +#. MENU_ITEM_SHOW_GAMMA +msgid "Show gamma curve" +msgstr "Zeige Gammakurve" + +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "Zeige Stapelliste" + +#. MENU_ITEM_SHOW_STANDARDOPTIONS +msgid "Show standard options" +msgstr "Zeige Standardoptionen" + +#. MENU_ITEM_SHOW_ADVANCEDOPTIONS +msgid "Show advanced options" +msgstr "Zeige erweiterte Optionen" + +#. MENU_ITEM_SETUP +msgid "Setup" +msgstr "Konfiguration" + +#. MENU_ITEM_LENGTH_UNIT +msgid "Length unit" +msgstr "LƤngeneinheit" + +#. SUBMENU_ITEM_LENGTH_MILLIMETERS +msgid "millimeters" +msgstr "Millimeter" + +#. SUBMENU_ITEM_LENGTH_CENTIMETERS +msgid "centimeters" +msgstr "Zentimeter" + +#. SUBMENU_ITEM_LENGTH_INCHES +msgid "inches" +msgstr "Zoll" + +#. MENU_ITEM_UPDATE_POLICY +msgid "Update policy" +msgstr "Aktualisierung" + +#. SUBMENU_ITEM_POLICY_CONTINUOUS +msgid "continuous" +msgstr "kontinuierlich" + +#. SUBMENU_ITEM_POLICY_DISCONTINU +msgid "discontinuous" +msgstr "diskontinuierlich" + +#. SUBMENU_ITEM_POLICY_DELAYED +msgid "delayed" +msgstr "verzƶgert" + +#. MENU_ITEM_SHOW_RESOLUTIONLIST +msgid "Show resolution list" +msgstr "Zeige Auflƶsungsliste" + +#. MENU_ITEM_PAGE_ROTATE +msgid "Rotate postscript" +msgstr "Drehe Postscript" + +#. MENU_ITEM_ENABLE_COLOR_MANAGEMENT +#. MENU_ITEM_CMS_ENABLE_COLOR_MANAGEMENT +msgid "Enable color management" +msgstr "aktiviere Farbmanagement" + +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "Mediumdefinition Ƥndern" + +#. MENU_ITEM_SAVE_DEVICE_SETTINGS +msgid "Save device settings" +msgstr "Speichere GerƤteeinstellungen" + +#. MENU_ITEM_LOAD_DEVICE_SETTINGS +msgid "Load device settings" +msgstr "Lade GerƤteeinstellungen" + +#. MENU_ITEM_CHANGE_WORKING_DIR +msgid "Change directory" +msgstr "Arbeitsverzeichnis Ƥndern" + +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "Zeige Endbenutzervereinbarung" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "Zeige Lizenz (GPL)" + +#. MENU_ITEM_XSANE_DOC +msgid "XSane doc" +msgstr "XSane Anleitung" + +#. MENU_ITEM_BACKEND_DOC +msgid "Backend doc" +msgstr "Backend Anleitung" + +#. MENU_ITEM_AVAILABLE_BACKENDS +msgid "Available backends" +msgstr "Erreichbare Backends" + +#. MENU_ITEM_SCANTIPS +msgid "Scantips" +msgstr "Scantipps" + +#. MENU_ITEM_PROBLEMS +msgid "Problems?" +msgstr "Probleme?" + +#. MENU_ITEM_CMS_PROOFING +msgid "Proofing" +msgstr "Proofing" + +#. SUBMENU_ITEM_CMS_PROOF_OFF +msgid "no proofing (Display)" +msgstr "keine Nachbildung (Bildschirm)" + +#. SUBMENU_ITEM_CMS_PROOF_PRINTER +msgid "Proof printer" +msgstr "Nachbildung Drucker" + +#. SUBMENU_ITEM_CMS_PROOF_CUSTOM +msgid "Proof custom device" +msgstr "Nachbildung Benutzerdefinierte Ausgabe" + +#. MENU_ITEM_CMS_RENDERING_INTENT +msgid "Rendering intent" +msgstr "" + +#. MENU_ITEM_CMS_PROOFING_INTENT +msgid "Proofing rendering intent" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_PERCEPTUAL +msgid "Perceptual" +msgstr "Wahrnehmungsorientiert" + +#. SUBMENU_ITEM_CMS_INTENT_RELATIVE_COLORIMETRIC +msgid "Relative colorimetric" +msgstr "Relativ farbmetrisch" + +#. SUBMENU_ITEM_CMS_INTENT_ABSOLUTE_COLORIMETRIC +msgid "Absolute colorimentric" +msgstr "Absolut farbmetrisch" + +#. SUBMENU_ITEM_CMS_INTENT_SATURATION +msgid "Saturation" +msgstr "SƤttigung" + +#. MENU_ITEM_CMS_GAMUT_CHECK +msgid "Gamut check" +msgstr "Gamut prĆ¼fen" + +#. MENU_ITEM_CMS_GAMUT_ALARM_COLOR +msgid "Gamut alarm color" +msgstr "Gamut Alarmfarbe" + +#. SUBMENU_ITEM_CMS_COLOR_BLACK +msgid "Black" +msgstr "Schwarz" + +#. SUBMENU_ITEM_CMS_COLOR_GRAY +msgid "Gray" +msgstr "Grau" + +#. SUBMENU_ITEM_CMS_COLOR_WHITE +msgid "White" +msgstr "Weiss" + +#. SUBMENU_ITEM_CMS_COLOR_RED +msgid "Red" +msgstr "Rot" + +#. SUBMENU_ITEM_CMS_COLOR_GREEN +msgid "Green" +msgstr "GrĆ¼n" + +#. SUBMENU_ITEM_CMS_COLOR_BLUE +msgid "Blue" +msgstr "Blau" + +#. MENU_ITEM_COUNTER_LEN_INACTIVE +msgid "inactive" +msgstr "nicht aktiv" + +#. MENU_ITEM_TIFF_COMP_NONE +msgid "no compression" +msgstr "keine Kompression" + +#. MENU_ITEM_TIFF_COMP_CCITTRLE +msgid "CCITT 1D Huffman compression" +msgstr "CCITT 1D Huffman Kompression" + +#. MENU_ITEM_TIFF_COMP_CCITFAX3 +msgid "CCITT Group 3 Fax compression" +msgstr "CCITT Gruppe 3 Fax Kompression" + +#. MENU_ITEM_TIFF_COMP_CCITFAX4 +msgid "CCITT Group 4 Fax compression" +msgstr "CCITT Gruppe 4 Fax Kompression" + +#. MENU_ITEM_TIFF_COMP_JPEG +msgid "JPEG DCT compression" +msgstr "JPEG DCT Kompression" + +#. MENU_ITEM_TIFF_COMP_PACKBITS +msgid "pack bits" +msgstr "gepackte Bits" + +#. MENU_ITEM_TIFF_COMP_DEFLATE +msgid "deflate" +msgstr "komprimiert" + +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "Schieber (Scale)" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "Schieber (Scrollbalken)" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "Drehknopf" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "Scale und Drehknopf" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "Scrollbalken und Drehknopf" + +#. MENU_ITEM_LINEART_MODE_STANDARD +msgid "Standard options window (lineart)" +msgstr "Standard Optionen Fenster (b/w)" + +#. MENU_ITEM_LINEART_MODE_XSANE +msgid "XSane main window (lineart)" +msgstr "XSane Hauptfenster (b/w)" + +#. MENU_ITEM_LINEART_MODE_GRAY +msgid "XSane main window (grayscale->lineart)" +msgstr "XSane Hauptfenster (grau->b/w)" + +#. MENU_ITEM_SELECTION_NONE +msgid "(none)" +msgstr "(nichts)" + +#. MENU_ITEM_FILETYPE_BY_EXT +msgid "by ext" +msgstr "nach Erw" + +#. MENU_ITEM_PRESET_AREA_ADD_SEL +msgid "Add selection to list" +msgstr "Auswahl zur Liste hinzufĆ¼gen" + +#. MENU_ITEM_MEDIUM_ADD +msgid "Add medium definition" +msgstr "Mediumdefinition hinzufĆ¼gen" + +#. MENU_ITEM_RENAME +msgid "Rename item" +msgstr "Eintrag umbenennen" + +#. MENU_ITEM_DELETE +msgid "Delete item" +msgstr "Eintrag lƶschen" + +#. MENU_ITEM_MOVE_UP +msgid "Move item up" +msgstr "Eintrag nach oben schieben" + +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" +msgstr "Eintrag nach unten schieben" + +#. MENU_ITEM_AUTH_NONE +msgid "no authentication" +msgstr "keine Authentifizierung" + +#. MENU_ITEM_AUTH_POP3 +msgid "POP3 before SMTP" +msgstr "POP3 bevor SMTP" + +#. MENU_ITEM_AUTH_ASMTP_PLAIN +msgid "ASMTP Plain" +msgstr "ASMTP Plain" + +#. MENU_ITEM_AUTH_ASMTP_LOGIN +msgid "ASMTP Login" +msgstr "ASMTP Login" + +#. MENU_ITEM_AUTH_ASMTP_CRAM_MD5 +msgid "ASMTP CRAM-MD5" +msgstr "ASMTP CRAM-MD5" + +#. MENU_ITEM_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE +msgid "Embed scanner ICM profile" +msgstr "Scanner ICM-Profil einbinden" + +#. MENU_ITEM_CMS_FUNCTION_CONVERT_TO_SRGB +msgid "Convert to sRGB" +msgstr "Nach sRGB konvertieren" + +#. MENU_ITEM_FUNCTION_CONVERT_TO_WORKING_CS +msgid "Convert to working color space" +msgstr "In Arbeitsfarbraum konvertieren" + +#. PROGRESS_SCANNING +msgid "Scanning" +msgstr "Scanne" + +#. PROGRESS_RECEIVING_FRAME_DATA +#, c-format +msgid "Receiving %s data" +msgstr "Empfange %s Daten" + +#. PROGRESS_PAGE +msgid "page" +msgstr "Seite" + +#. PROGRESS_TRANSFERING_DATA +msgid "Transfering image" +msgstr "Bild Ć¼bertragen" + +#. PROGRESS_ROTATING_DATA +msgid "Rotating image" +msgstr "Bild drehen" + +#. PROGRESS_MIRRORING_DATA +msgid "Mirroring image" +msgstr "Bild spiegeln" + +#. PROGRESS_PACKING_DATA +msgid "Packing image" +msgstr "Bild packen" + +#. PROGRESS_CONVERTING_DATA +msgid "Converting image" +msgstr "Bild konvertieren" + +#. PROGRESS_SAVING_DATA +msgid "Saving image" +msgstr "Bild speichern" + +#. PROGRESS_CLONING_DATA +msgid "Cloning image" +msgstr "Bild clonen" + +#. PROGRESS_SCALING_DATA +msgid "Scaling image" +msgstr "Bild skalieren" + +#. PROGRESS_DESPECKLING_DATA +msgid "Despeckling image" +msgstr "Flecken entfernen" + +#. PROGRESS_BLURING_DATA +msgid "Bluring image" +msgstr "Bild weichzeichnen" + +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "Texterkennung" + +#. PROGRESS_ICM_CONVERSION +msgid "converting colors" +msgstr "konvertiere Farben" + +#. DESC_SCAN_START +msgid "Start scan <Ctrl-Enter>" +msgstr "Scan starten <Ctrl-Enter>" + +#. DESC_SCAN_CANCEL +msgid "Cancel scan <ESC>" +msgstr "Scan abbrechen <ESC>" + +#. DESC_PREVIEW_ACQUIRE +msgid "Acquire preview scan <Alt-p>" +msgstr "Vorschauscan <Alt-p>" + +#. DESC_PREVIEW_CANCEL +msgid "Cancel preview scan <Alt-ESC>" +msgstr "Vorschauscan abbrechen <Alt-ESC>" + +#. DESC_XSANE_MODE +msgid "" +"viewer-<Ctrl-v>, save-<Ctrl-s>, photocopy-<Ctrl-c>, multipage-<Ctrl-m>, fax-" +"<Ctrl-f> or e-mail-<Ctrl-e>" +msgstr "" +"Betrachter-<Strg-v>, speichern-<Strg-s> kopieren-<Strg-c>, Mehrseiten-<Strg-" +"m>, Fax-<Strg-f> oder E-Mail-<Ctrl-e>" + +#. DESC_XSANE_MEDIUM +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" +"Quellmedium auswƤhlen.\n" +"Zum Umbenennen, Umsortieren oder Lƶschen eines Eintrags das KontextmenĆ¼ " +"benutzen (rechter Mausknopf).\n" +"Um ein neues Medium zu erzeugen, Option Medium Ƥndern im EinstellungsmenĆ¼ " +"aktivieren." + +#. DESC_FILENAME_COUNTER_STEP +msgid "Value that is added to filenamecounter after scan" +msgstr "Wert, der nach einem Scan zum DateinamenzƤhler addiert wird" + +#. DESC_BROWSE_FILENAME +msgid "Browse for image filename" +msgstr "Suche nach Bild-Dateinamen" + +#. DESC_FILENAME +msgid "Filename for scanned image" +msgstr "Dateiname fĆ¼r gescanntes Bild" + +#. DESC_FILETYPE +msgid "" +"Type of image format, the suitable filename extension is automatically added " +"to the filename" +msgstr "" +"Dateiformat, die passende Dateinamen-Erweiterung wird automatisch an den " +"Dateinamen angehƤngt" + +#. DESC_FAXPROJECT +msgid "Enter fax project directory name" +msgstr "Faxprojekt-Verzeichnis Namen eingeben" + +#. DESC_FAXPAGENAME +msgid "Enter new name for faxpage" +msgstr "Name der Faxseite eingeben" + +#. DESC_FAXRECEIVER +msgid "Enter receiver phone number or address" +msgstr "Telefonnummer des EmpfƤngers eingeben" + +#. DESC_FAX_PROJECT_BROWSE +msgid "Browse for fax project directory" +msgstr "Nach Faxprojekt-Verzeichnis suchen" + +#. DESC_EMAIL_PROJECT +msgid "Enter e-mail project directory name" +msgstr "Email-Projekt-Verzeichnis Namen eingeben" + +#. DESC_EMAIL_IMAGENAME +msgid "Enter new name for e-mail image" +msgstr "neuen Name fĆ¼r E-Mail Bild eingeben" + +#. DESC_EMAIL_RECEIVER +msgid "Enter e-mail address" +msgstr "E-Mail Adresse eingeben" + +#. DESC_EMAIL_PROJECT_BROWSE +msgid "Browse for email project directory" +msgstr "Nach Email-Projekt-Verzeichnis suchen" + +#. DESC_EMAIL_SUBJECT +msgid "Enter subject of e-mail" +msgstr "Betreff der E-Mail eingeben" + +#. DESC_EMAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "Dateityp fĆ¼r E-Mailanhang auswƤhlen" + +#. DESC_MULTIPAGE_PROJECT +msgid "Enter multipage project directory name" +msgstr "Mehrseiten-Projekt-Verzeichnis Namen eingeben" + +#. DESC_MULTIPAGE_PROJECT_BROWSE +msgid "Browse for multipage project directory" +msgstr "Nach Mehrseiten-Projekt-Verzeichnis suchen" + +#. DESC_MULTIPAGE_FILETYPE +msgid "Select filetype for multipage file" +msgstr "Dateityp fĆ¼r mehrseitiges Projekt auswƤhlen" + +#. DESC_PRESET_AREA_RENAME +msgid "Enter new name for preset area" +msgstr "Name der Gebietsvoreinstellung eingeben" + +#. DESC_PRESET_AREA_ADD +msgid "Enter name for new preset area" +msgstr "Namen fĆ¼r Gebietsvoreinstellung eingeben" + +#. DESC_MEDIUM_RENAME +msgid "Enter new name for medium definition" +msgstr "Namen fĆ¼r Mediendefinition eingeben" + +#. DESC_MEDIUM_ADD +msgid "Enter name for new medium definition" +msgstr "Namen fĆ¼r Mediendefinition eingeben" + +#. DESC_PRINTER_SELECT +msgid "Select printerdefinition <Shift-F1/F2/...>" +msgstr "WƤhle Druckerdefinition <Shift-F1/F2/...>" + +#. DESC_RESOLUTION +msgid "Set scan resolution" +msgstr "Bestimmt die Scanauflƶsung" + +#. DESC_RESOLUTION_X +msgid "Set scan resolution for x direction" +msgstr "Bestimmt die Scanauflƶsung in X-Richtung" + +#. DESC_RESOLUTION_Y +msgid "Set scan resolution for y direction" +msgstr "Bestimmt die Scanauflƶsung in Y-Richtung" + +#. DESC_ZOOM +msgid "Set zoomfactor" +msgstr "Bestimmt den VergrƶĆerungsfaktor" + +#. DESC_ZOOM_X +msgid "Set zoomfactor for x direction" +msgstr "Bestimmt den VergrƶĆerungsfaktor in X-Richtung" + +#. DESC_ZOOM_Y +msgid "Set zoomfactor for y direction" +msgstr "Bestimmt den VergrƶĆerungsfaktor in Y-Richtung" + +#. DESC_COPY_NUMBER +msgid "Set number of copies" +msgstr "Bestimmt die Anzahl der Kopien" + +#. DESC_NEGATIVE +msgid "Negative: Invert colors for scanning negatives <Ctrl-n>" +msgstr "Negativ: Invertiere Farben, zum Scannen von Negativen <Ctrl-n>" + +#. DESC_GAMMA +msgid "Set gamma value" +msgstr "Bestimmt Gammawert" + +#. DESC_GAMMA_R +msgid "Set gamma value for red component" +msgstr "Bestimmt Gammawert fĆ¼r rote Komponente" + +#. DESC_GAMMA_G +msgid "Set gamma value for green component" +msgstr "Bestimmt Gammawert fĆ¼r grĆ¼ne Komponente" + +#. DESC_GAMMA_B +msgid "Set gamma value for blue component" +msgstr "Bestimmt Gammawert fĆ¼r blaue Komponente" + +#. DESC_BRIGHTNESS +msgid "Set brightness" +msgstr "Bestimmt Helligkeit" + +#. DESC_BRIGHTNESS_R +msgid "Set brightness for red component" +msgstr "Bestimmt Helligkeit fĆ¼r rote Komponente" + +#. DESC_BRIGHTNESS_G +msgid "Set brightness for green component" +msgstr "Bestimmt Helligkeit fĆ¼r grĆ¼ne Komponente" + +#. DESC_BRIGHTNESS_B +msgid "Set brightness for blue component" +msgstr "Bestimmt Helligkeit fĆ¼r blaue Komponente" + +#. DESC_CONTRAST +msgid "Set contrast" +msgstr "Bestimmt Kontrast" + +#. DESC_CONTRAST_R +msgid "Set contrast for red component" +msgstr "Bestimmt Kontrast fĆ¼r rote Komponente" + +#. DESC_CONTRAST_G +msgid "Set contrast for green component" +msgstr "Bestimmt Kontrast fĆ¼r grĆ¼ne Komponente" + +#. DESC_CONTRAST_B +msgid "Set contrast for blue component" +msgstr "Bestimmt Kontrast fĆ¼r blaue Komponente" + +#. DESC_THRESHOLD +msgid "Set threshold" +msgstr "Schwellwert setzen" + +#. DESC_RGB_DEFAULT +msgid "" +"RGB default: Set enhancement values for red, green and blue to default " +"values <Ctrl-b>:\n" +" gamma = 1.0\n" +" brightness = 0\n" +" contrast = 0" +msgstr "" +"RGB Standard: Setzt Farbverbesserungswerte fĆ¼r rot, grĆ¼n und blau auf " +"Standardwerte <Ctrl-b>:\n" +"Gamma = 1.0\n" +"Helligkeit = 0\n" +"Kontrast = 0" + +#. DESC_ENH_AUTO +msgid "Autoadjust gamma, brightness and contrast <Ctrl-a>" +msgstr "Automatische Einstellung von Gamma, Helligkeit und Kontrast <Ctrl-a>" + +#. DESC_ENH_DEFAULT +msgid "" +"Set default enhancement values <Ctrl-0>:\n" +"gamma = 1.0\n" +"brightness = 0\n" +"contrast = 0" +msgstr "" +"Setze Standardwerte fĆ¼r Farbverbesserung <Ctrl-0>:\n" +"Gamma = 1.0\n" +"Helligkeit = 0\n" +"Kontrast = 0" + +#. DESC_ENH_RESTORE +msgid "Restore enhancement values from preferences <Ctrl-r>" +msgstr "Lade Farbverbesserungswerte aus Einstellungen <Ctrl-r>" + +#. DESC_ENH_STORE +msgid "Store active enhancement values to preferences <Ctrl-+>" +msgstr "Speichere Farbverbesserungswerte in Einstellungen <Ctrl-m>" + +#. DESC_HIST_INTENSITY +msgid "Show histogram of intensity/gray <Alt-i>" +msgstr "Zeige Histogramm fĆ¼r IntensitƤt/grau <Alt-i>" + +#. DESC_HIST_RED +msgid "Show histogram of red component <Alt-r>" +msgstr "Zeige Histogramm fĆ¼r rote Komponente <Alt-r>" + +#. DESC_HIST_GREEN +msgid "Show histogram of green component <Alt-g>" +msgstr "Zeige Histogramm fĆ¼r grĆ¼ne Komponente <Alt-g>" + +#. DESC_HIST_BLUE +msgid "Show histogram of blue component <Alt-b>" +msgstr "Zeige Histogramm fĆ¼r blaue Komponente <Alt-b>" + +#. DESC_HIST_PIXEL +msgid "Display mode: show histogram with lines instead of pixels <Alt-m>" +msgstr "Zeichne Histogramm mit Linien anstatt mit Punkten <Alt-m>" + +#. DESC_HIST_LOG +msgid "Show logarithm of pixelcount <Alt-l>" +msgstr "Benutze Logarithmus der Pixelzahlen <Alt-l>" + +#. DESC_PRINTER_SETUP +msgid "Select definition to change" +msgstr "Auswahl der zu Ƥndernden Definition" + +#. DESC_PRINTER_NAME +msgid "Define a name for the selection of this definition" +msgstr "Namen der Definition" + +#. DESC_PRINTER_COMMAND +msgid "Enter command to be executed in copy mode (e.g. \"lpr\")" +msgstr "" +"Befehl der im Kopiermodus zum Drucken ausgefĆ¼hrt werden soll (z.B. \"lpr\")" + +#. DESC_COPY_NUMBER_OPTION +msgid "Enter option for copy numbers" +msgstr "Option, mit der die Anzahl der Kopien angegeben wird" + +#. DESC_PRINTER_LINEART_RESOLUTION +msgid "" +"Resolution with which lineart images are printed and saved in postscript" +msgstr "" +"Auflƶsung, mit der Lineart-Bilder gedruckt und im Postscriptformat " +"gespeichert werden" + +#. DESC_PRINTER_GRAYSCALE_RESOLUTION +msgid "" +"Resolution with which grayscale images are printed and saved in postscript" +msgstr "" +"Auflƶsung, mit der Graustufen-Bilder gedruckt und im Postscriptformat " +"gespeichert werden" + +#. DESC_PRINTER_COLOR_RESOLUTION +msgid "Resolution with which color images are printed and saved in postscript" +msgstr "" +"Auflƶsung, mit der Farb-Bilder gedruckt und im Postscriptformat gespeichert " +"werden" + +#. DESC_PRINTER_WIDTH +#. DESC_FAX_WIDTH +msgid "Width of printable area" +msgstr "Breite des druckbaren Bereichs" + +#. DESC_PRINTER_HEIGHT +#. DESC_FAX_HEIGHT +msgid "Height of printable area" +msgstr "Hƶhe des druckbaren Bereichs" + +#. DESC_PRINTER_LEFTOFFSET +#. DESC_FAX_LEFTOFFSET +msgid "Left offset from the edge of the paper to the printable area" +msgstr "Abstand vom linken Papierrand zum Beginn des druckbaren Bereichs" + +#. DESC_PRINTER_BOTTOMOFFSET +#. DESC_FAX_BOTTOMOFFSET +msgid "Bottom offset from the edge of the paper to the printable area" +msgstr "Abstand vom unteren Papierrand zum Beginn des druckbaren Bereichs" + +#. DESC_PRINTER_GAMMA +msgid "Additional gamma value for photocopy" +msgstr "ZusƤtzlicher Gammawert beim Fotokopieren" + +#. DESC_PRINTER_GAMMA_RED +msgid "Additional gamma value for red component for photocopy" +msgstr "ZusƤtzlicher Gammawert fĆ¼r rote Komponente beim Fotokopieren" + +#. DESC_PRINTER_GAMMA_GREEN +msgid "Additional gamma value for green component for photocopy" +msgstr "ZusƤtzlicher Gammawert fĆ¼r grĆ¼ne Komponente beim Fotokopieren" + +#. DESC_PRINTER_GAMMA_BLUE +msgid "Additional gamma value for blue component for photocopy" +msgstr "ZusƤtzlicher Gammawert fĆ¼r blaue Komponente beim Fotokopieren" + +#. DESC_PRINTER_EMBED_CSA +msgid "Creates a postsciptfile that contains the ICM profile of the scanner" +msgstr "Erzeugt eine Postscriptdatei die das ICM-Profil des Scammers enthƤlt" + +#. DESC_PRINTER_EMBED_CRD +msgid "Creates a postsciptfile that contains the ICM profile of the printer" +msgstr "Erzeugt eine Postscriptdatei die das ICM-Profil des Druckers enthƤlt" + +#. DESC_PRINTER_PS_FLATEDECODED +msgid "" +"Create zlib compressed postscript image for printer (flatedecode).\n" +"The printer has to understand postscript level 3!" +msgstr "" +"Erzeuge zlib-komprimiertes Postscript Bild zum Drucken (flatdecode).\n" +"Der Drucker muss Postscript level 3 verstehen!" + +#. DESC_TMP_PATH +msgid "Path to temp directory" +msgstr "Pfad zum temporƤren Verzeichnis" + +#. DESC_BUTTON_TMP_PATH_BROWSE +msgid "Browse for temporary directory" +msgstr "Nach temporƤrem Verzeichnis suchen" + +#. DESC_JPEG_QUALITY +msgid "" +"Quality in percent if image is saved as jpeg or tiff with jpeg compression" +msgstr "" +"QualitƤt in Prozent wenn Bild als JPEG oder als TIFF mit JPEG-Kompression " +"gespeichert wird" + +#. DESC_PNG_COMPRESSION +msgid "Compression if image is saved as png" +msgstr "Kompression wenn Bild im PNG-Format gespeichert wird" + +#. DESC_FILENAME_COUNTER_LEN +msgid "Minimum length of counter in filename" +msgstr "Minimale LƤnge des ZƤhlers im Dateinamen" + +#. DESC_TIFF_ZIP_COMPRESSION +msgid "Compression rate for zip compressed tiff (deflate)" +msgstr "" +"ZIP-Kompressionsrate wenn Bild im komprimierten TIFF-Format gespeichert wird" + +#. DESC_TIFF_COMPRESSION_16 +msgid "Compression type if 16 bit image is saved as tiff" +msgstr "Kompression wenn 16 bit Bild im TIFF-Format gespeichert wird" + +#. DESC_TIFF_COMPRESSION_8 +msgid "Compression type if 8 bit image is saved as tiff" +msgstr "Kompression wenn 8 bit Bild im TIFF-Format gespeichert wird" + +#. DESC_TIFF_COMPRESSION_1 +msgid "Compression type if lineart image is saved as tiff" +msgstr "Kompression wenn lineart Bild im TIFF-Format gespeichert wird" + +#. DESC_SAVE_DEVPREFS_AT_EXIT +msgid "Save device dependant preferences in default file at exit of xsane" +msgstr "" +"GerƤteabhƤngige Einstellungen werden in der Default-Datei beim Beenden von " +"xsane gespeichert" + +#. DESC_OVERWRITE_WARNING +msgid "Warn before overwriting an existing file" +msgstr "Warne vorm Ćberschreiben existierender Dateien" + +#. DESC_SKIP_EXISTING +msgid "" +"If filename counter is automatically increased, used numbers are skipped" +msgstr "" +"Wenn der DateinamenzƤhler automatisch erhƶht wird, werden benutzte " +"Dateinummern Ć¼bersprungen" + +#. DESC_SAVE_PS_FLATEDECODED +msgid "" +"compress postscript image with zlib algorithm (flatedecode). When you want " +"to print such a file your printer has to understand postscript level 3" +msgstr "" +"komprimiere Postscript Bild mit zlib Algorithmus (flatedecode). Wenn die " +"Datei gedruckt werden soll muss der Drucker Postscript level 3 verstehen" + +#. DESC_SAVE_PDF_FLATEDECODED +msgid "compress PDF image with zlib algorithm (flatedecode)." +msgstr "komprimiere PDF Bild mit zlib Algorithmus (flatedecode)." + +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" +"Speicher 16 Bit PNM-Bilder im ASCII Format anstatt im BinƤr Format. Das " +"BinƤr Format ist ein neues Format, das nicht von allen Programmen " +"unterstĆ¼tzt wird. Das ASCII Format wird von mehr Programmen unterstĆ¼tzt, " +"aber die Dateien werden sehr groĆ!!!" + +#. DESC_REDUCE_16BIT_TO_8BIT +#, fuzzy +msgid "" +"If scanner sends image with 16 bits/channel save image with 8 bits/channel" +msgstr "" +"Wenn der Scanner das Bild mit 16 Bits/Farbe liefert wird das Bild mit 8 Bits/" +"Farbe gespeichert" + +#. DESC_PSFILE_WIDTH +msgid "Width of paper for postscript files" +msgstr "Breite des druckbaren Bereichs fĆ¼r Postscript" + +#. DESC_PSFILE_HEIGHT +msgid "Height of paper for postscript files" +msgstr "Hƶhe des druckbaren Bereichs fĆ¼r Postscript" + +#. DESC_PSFILE_LEFTOFFSET +msgid "" +"Left offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"Abstand vom linken Papierrand zum Beginn des druckbaren Bereichs fĆ¼r " +"Postsciptdateien" + +#. DESC_PSFILE_BOTTOMOFFSET +msgid "" +"Bottom offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"Abstand vom unteren Papierrand zum Beginn des druckbaren Bereichs fĆ¼r " +"Postsciptdateien" + +#. DESC_MAIN_WINDOW_FIXED +msgid "Use fixed main window size or scrolled, resizable main window" +msgstr "Verwende feste oder verƤnderbare HauptfenstergrƶĆe" + +#. DESC_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable preview gamma when XSane runs as GIMP plugin" +msgstr "Preview Gamma deaktivieren wenn XSane als Gimp-Plugin gestartet wird" + +#. DESC_PREVIEW_COLORMAP +msgid "Use an own colormap for preview if display depth is 8 bpp" +msgstr "" +"Benutze eigene Farbpalette fĆ¼r Vorschaubild, wenn die Bildschirmfarbtiefe 8 " +"Bit betrƤgt" + +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "Bestimmen Sie, wie die Auswahle eines Bereichs dargestellt wird" + +#. DESC_PREVIEW_OVERSAMPLING +msgid "Value with that the calculated preview resolution is multiplied" +msgstr "Wert, mit dem die berechnete Vorschauauflƶsung multipliziert wird" + +#. DESC_PREVIEW_GAMMA +msgid "Set gamma correction value for preview image" +msgstr "Bestimme Gammwert fĆ¼r Vorschaubild" + +#. DESC_PREVIEW_GAMMA_RED +msgid "Set gamma correction value for red component of preview image" +msgstr "Bestimme Gammwert der roten Komponente fĆ¼r Vorschaubild" + +#. DESC_PREVIEW_GAMMA_GREEN +msgid "Set gamma correction value for green component of preview image" +msgstr "Bestimme Gammwert der grĆ¼nen Komponente fĆ¼r Vorschaubild" + +#. DESC_PREVIEW_GAMMA_BLUE +msgid "Set gamma correction value for blue component of preview image" +msgstr "Bestimme Gammwert der blauen Komponente fĆ¼r Vorschaubild" + +#. DESC_LINEART_MODE +msgid "Define the way XSane shall handle the threshold option" +msgstr "Definiert die Art, wie XSane die Schwellwert-Option behandeln soll" + +#. DESC_GRAYSCALE_SCANMODE +msgid "" +"Select grayscale scanmode. This scanmode is used for lineart preview scan " +"when transformation from grayscale to lineart is enabled" +msgstr "" +"Name des Graustufen-Scanmodus auswƤhlen. Dieser Scanmodus wird beim Schwarz-" +"WeiĆ Vorschauscan verwendet, wenn Umwandlung von Graustufen in Schwarz/WeiĆ " +"aktiviert ist." + +#. DESC_PREVIEW_THRESHOLD_MIN +#, no-c-format +msgid "The scanner's minimum threshold level in %" +msgstr "Minimaler Schwellwert des Scanners in %" + +#. DESC_PREVIEW_THRESHOLD_MAX +#, no-c-format +msgid "The scanner's maximum threshold level in %" +msgstr "Maximaler Schwellwert des Scanners in %" + +#. DESC_PREVIEW_THRESHOLD_MUL +msgid "" +"Multiplier to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Multiplikator um XSane's Schwellwertbereich und den Schwellwertbereich des " +"Scanners aufeinander abzustimmen" + +#. DESC_PREVIEW_THRESHOLD_OFF +msgid "" +"Offset to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Schwellwertverschiebung um XSane's Schwellwertbereich und den " +"Schwellwertbereich des Scanners aufeinander abzustimmen" + +#. DESC_ADF_PAGES_MAX +msgid "Number of pages to scan" +msgstr "Anzahl der zu scannenden Seiten" + +#. DESC_PREVIEW_PIPETTE_RANGE +msgid "dimension of square that is used to average color for pipette function" +msgstr "" +"GrƶĆe des Quadrats, das zum Mitteln der Farbe fĆ¼r die Pipette Funktion " +"benutzt wird" + +#. DESC_DOC_VIEWER +msgid "" +"Enter command to be executed to display helpfiles, must be a html-viewer!" +msgstr "" +"Befehl, der ausgefĆ¼hrt werden soll, um Hilfedateien anzuzeigen, muĆ ein HTML-" +"Betrachter sein!" + +#. DESC_AUTOENHANCE_GAMMA +msgid "Change gamma value when autoenhancement button is pressed" +msgstr "" +"Gamma Wert wird angepasst wenn Knopf fĆ¼r automatische Verbesserung gedrĆ¼ckt " +"wird" + +#. DESC_PRESELECT_SCANAREA +msgid "Select scanarea after preview scan has finished" +msgstr "Scanbereich nach Vorschauscan automatisch auswƤhlen" + +#. DESC_AUTOCORRECT_COLORS +msgid "Do color correction after preview scan has finished" +msgstr "Farbkorrektur nach Vorschauscan ausfĆ¼hren" + +#. DESC_RENDERING_INTENT +msgid "Select rendering intent for preview and saving" +msgstr "Rendering Intent fĆ¼r Vorschau und zum Speichern auswƤhlen" + +#. DESC_CMS_BPC +msgid "Apply black point compensation when color transformation is done" +msgstr "Scharzpunkt-Kompensation bei Farbtransformation anwenden" + +#. DESC_FAX_COMMAND +msgid "Enter command to be executed in fax mode" +msgstr "Befehl, der zum Senden eines Faxprojekts ausgefĆ¼hrt werden soll" + +#. DESC_FAX_RECEIVER_OPT +msgid "Enter option to specify receiver" +msgstr "Option, mit der die EmpfƤngertelefonnummer angegeben wird" + +#. DESC_FAX_POSTSCRIPT_OPT +msgid "Enter option to specify postscript files following" +msgstr "" +"Option, mit der angegeben wird, dass der Dateiname einer Postscriptdatei " +"folgt" + +#. DESC_FAX_NORMAL_OPT +msgid "Enter option to specify normal mode (low resolution)" +msgstr "Option, mit der die vertikale Auflƶsung auf 98 lpi gestellt wird" + +#. DESC_FAX_FINE_OPT +msgid "Enter option to specify fine mode (high resolution)" +msgstr "Option, mit der die vertikale Auflƶsung auf 196 lpi gestellt wird" + +#. DESC_FAX_VIEWER +msgid "Enter command to be executed to view a fax" +msgstr "" +"Befehl, der ausgefĆ¼hrt werden soll, um Faxseiten(Postscript) anzuzeigen" + +#. DESC_FAX_FINE_MODE +msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" +msgstr "Sende Fax mit hoher vertikaler Auflƶsung (196 lpi anstatt 98 lpi)" + +#. DESC_FAX_PS_FLATEDECODED +msgid "Create zlib compressed postscript image for fax (flatedecode)" +msgstr "Erzeuge zlib-komprimiertes Postscript-Bild (ps level 3) zum Faxen" + +#. DESC_SMTP_SERVER +msgid "IP Address or Domain name of SMTP server" +msgstr "IP Adresse oder Domain Name des SMTP Servers" + +#. DESC_SMTP_PORT +msgid "port to connect to SMTP server" +msgstr "Port, auf dem zum SMTP Server verbunden werden soll" + +#. DESC_EMAIL_FROM +msgid "enter your e-mail address" +msgstr "Geben Sie Ihre E-Mail Adresse ein" + +#. DESC_EMAIL_REPLY_TO +msgid "enter e-mail address for replied e-mails" +msgstr "Geben Sie die E-Mail Adresse fĆ¼r Antworten auf diese E-Mail ein" + +#. DESC_EMAIL_AUTHENTICATION +msgid "Type of authentication before sending e-mail" +msgstr "Art der Authentifizierung bevor E-Mail gesendet wird" + +#. DESC_EMAIL_AUTH_USER +msgid "user name for e-mail server" +msgstr "Benutername fĆ¼r den E-Mail-Server" + +#. DESC_EMAIL_AUTH_PASS +msgid "password for e-mail server" +msgstr "Passwort fĆ¼r den E-Mail-Server" + +#. DESC_POP3_SERVER +msgid "IP Address or Domain name of POP3 server" +msgstr "IP Adresse oder Domain Name des POP3-Servers" + +#. DESC_POP3_PORT +msgid "port to connect to POP3 server" +msgstr "Port, auf dem zum POP3-Server verbunden werden soll" + +#. DESC_HTML_EMAIL +msgid "E-mail is sent in html mode, place image with: <IMAGE>" +msgstr "E-Mail wird im hmtl Modus gesandt, Bild platzieren mit: <IMAGE>" + +#. DESC_OCR_COMMAND +msgid "Enter command to start ocr program" +msgstr "OCR Befehl eingeben" + +#. DESC_OCR_INPUTFILE_OPT +msgid "Enter option of the ocr program to define input file" +msgstr "Eingabe-Datei-Option fĆ¼r OCR Programm eingeben" + +#. DESC_OCR_OUTPUTFILE_OPT +msgid "Enter option of the ocr program to define output file" +msgstr "Ausgabe-Datei-Option fĆ¼r OCR Programm eingeben" + +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "" +"Definieren Sie, ob das OCR Programm eine GUI-Fortschritts-Pipe unterstĆ¼tzt" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" +"Geben Sie die Option des OCR Programms ein, mit der der Ausgabefildeskriptor " +"im GUI Mode Ć¼bergeben wird" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "" +"Definieren Sie das SchlĆ¼sselwort, das benutzt wird, um Fortschritssangaben " +"zu kennzeichenen" + +#. DESC_PERMISSION_READ +msgid "read" +msgstr "lesen" + +#. DESC_PERMISSION_WRITE +msgid "write" +msgstr "schreiben" + +#. DESC_PERMISSION_SEARCH +msgid "search" +msgstr "durchsuchen" + +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "Auswahl zur Stapelliste hinzufĆ¼gen" + +#. DESC_PIPETTE_WHITE +msgid "Pick white point" +msgstr "WƤhle weiĆen Punkt" + +#. DESC_PIPETTE_GRAY +msgid "Pick gray point" +msgstr "WƤhle grauen Punkt" + +#. DESC_PIPETTE_BLACK +msgid "Pick black point" +msgstr "WƤhle schwarzen Punkt" + +#. DESC_ZOOM_FULL +msgid "Use full scanarea" +msgstr "Zoomt auf kompletten Scanbereich" + +#. DESC_ZOOM_OUT +#, no-c-format +msgid "Zoom 20% out" +msgstr "Zoomt um 20% heraus" + +#. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "In gewĆ¼nschten Bereich zum Zoomen klicken" + +#. DESC_ZOOM_AREA +msgid "Zoom into selected area" +msgstr "Zoomt in den gewƤhlten Bereich hinein" + +#. DESC_ZOOM_UNDO +msgid "Undo last zoom" +msgstr "letzten Zoom rĆ¼ckgƤngig machen" + +#. DESC_FULL_PREVIEW_AREA +msgid "Select visible area" +msgstr "Sichtbaren Bereich auswƤhlen" + +#. DESC_AUTOSELECT_SCANAREA +msgid "Autoselect scanarea" +msgstr "Scanbereich automatisch wƤhlen" + +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "Scanbereich automatisch aufziehen" + +#. DESC_DELETE_IMAGES +msgid "Delete preview image cache" +msgstr "Vorschau Speicher lƶschen" + +#. DESC_PRESET_AREA +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" +"Bereichsvoreinstellung:\n" +"Um einen neuen Bereich hinzuzufĆ¼gen oder existierende Voreinstellungen zu " +"Ƥndern verwenden Sie das KontextmenĆ¼ (rechter Mausknopf)." + +#. DESC_ROTATION +msgid "Rotate preview and scan" +msgstr "Drehe Vorschau und Scan" + +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "SeitenverhƤltnis der Auswahl" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "Bildposition beim Drucken definieren" + +#. DESC_VIEWER_OCR +msgid "Optical Character Recognition" +msgstr "Optische Zeichenerkennung (OCR)" + +#. DESC_VIEWER_UNDO +msgid "Undo last change" +msgstr "Letzte Ćnderung rĆ¼ckgƤngig machen" + +#. DESC_VIEWER_CLONE +msgid "Clone image" +msgstr "Bild clonen" + +#. DESC_ROTATE90 +msgid "Rotate image 90 degree" +msgstr "Drehe Bild um 90 Grad" + +#. DESC_ROTATE180 +msgid "Rotate image 180 degree" +msgstr "Drehe Bild um 180 Grad" + +#. DESC_ROTATE270 +msgid "Rotate image 270 degree" +msgstr "Drehe Bild um 270 Grad" + +#. DESC_MIRROR_X +msgid "Mirror image at vertical axis" +msgstr "Bild an vertikaler Achse spiegeln" + +#. DESC_MIRROR_Y +msgid "Mirror image at horizontal axis" +msgstr "Bild an horizontaler Achse spiegeln" + +#. DESC_VIEWER_ZOOM +msgid "Zoom image" +msgstr "Bild zoomen" + +#. DESC_STORE_MEDIUM +msgid "Store medium" +msgstr "Medium speichern" + +#. DESC_DELETE_MEDIUM +msgid "Delete active medium" +msgstr "Medium lƶschen" + +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "VergrƶĆerungsfaktor" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "VergrƶĆerungsfaktor X" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "VergrƶĆerungsfaktor Y" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "Bild auf Breite [in Pixeln] skalieren" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "Bild auf Hƶhe [in Pixeln] skalieren" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "Stapelliste leeren" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "Stapelliste speichern" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "Stapelliste laden" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "Bereich umbenennen" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "Vorschau-Auswahl zur Stapelliste hinzufĆ¼gen" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "AusgewƤhlten Bereich aus Stapelliste lƶschen" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "Schaltet automatische Einstellung ein" + +#. DESC_BUTTON_SCANNER_DEFAULT_COLOR_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default color ICM-profile" +msgstr "Suche nach Scanner reflektivem ICM-Profil" + +#. DESC_BUTTON_SCANNER_DEFAULT_GRAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default gray ICM-profile" +msgstr "Suche nach Scanner reflektivem Graustufen ICM-Profil" + +#. DESC_BUTTON_DISPLAY_ICM_PROFILE_BROWSE +msgid "Browse for display ICM-profile" +msgstr "Suche nach Bildschirm ICM-Profil" + +#. DESC_BUTTON_PRINTER_ICM_PROFILE_BROWSE +msgid "Browse for printer ICM-profile" +msgstr "Suche nach Durcker ICM-Profil" + +#. DESC_BUTTON_CUSTOM_PROOFING_ICM_PROFILE_BROWSE +msgid "Browse for custom proofing ICM-profile" +msgstr "Suche nach Benutzerdefiniertem Proofing ICM-Profil" + +#. DESC_BUTTON_WORKING_COLOR_SPACE_ICM_PROFILE_BROWSE +msgid "Browse for working color space ICM-profile" +msgstr "Suche nach ICM-Profil fĆ¼r den Arbeitsfarbraum" + +#. ERR_HOME_DIR +msgid "Failed to determine home directory:" +msgstr "Konnte Heimatverzeichnis nicht bestimmen" + +#. ERR_CHANGE_WORKING_DIR +msgid "Failed to change working directory to" +msgstr "Konnte Verzeichnis nicht wechseln" + +#. ERR_FILENAME_TOO_LONG +msgid "Filename too long" +msgstr "Dateiname zu lang" + +#. ERR_CREATE_TEMP_FILE +msgid "" +"Could not create temporary file.\n" +"Open Menue Preferences->Setup Tab Save and\n" +"select a temporary directory where you have\n" +"write permissions." +msgstr "" +"Konnte temporƤre Datei nicht erzeugen.\n" +"WƤhlen Sie unter MenĆ¼ Einstellungen->Konfiguration\n" +"Bereich Speichern ein temporƤres Verzeichnis aus,\n" +"in dem Sie Schreibrechte besitzen." + +#. ERR_SET_OPTION +msgid "Failed to set value of option" +msgstr "Fehler beim Ćndern der Option" + +#. ERR_GET_OPTION +msgid "Failed to obtain value of option" +msgstr "Fehler beim Lesen der Option" + +#. ERR_OPTION_COUNT +msgid "Error obtaining option count" +msgstr "Konnte Anzahl der Optionen nicht bestimmen" + +#. ERR_DEVICE_OPEN_FAILED +msgid "Failed to open device" +msgstr "Fehler beim Ćffnen des GerƤts" + +#. ERR_NO_DEVICES +msgid "no devices available" +msgstr "Keine GerƤte erreichbar" + +#. ERR_DURING_READ +msgid "Error during read:" +msgstr "Fehler beim Lesen:" + +#. ERR_DURING_SAVE +msgid "Error during save:" +msgstr "Fehler beim Speichern:" + +#. ERR_BAD_DEPTH +msgid "Can't handle depth" +msgstr "Nicht unterstĆ¼tzte Bittiefe" + +#. ERR_UNKNOWN_SAVING_FORMAT +msgid "Unknown file format for saving" +msgstr "Unbekanntes Ausgabedateiformat" + +#. ERR_OPEN_FAILED +msgid "Failed to open" +msgstr "Fehler beim Ćffnen von" + +#. ERR_CREATE_SECURE_FILE +msgid "Could not create secure file (may be a link does exist):" +msgstr "" +"Konnte keine sichere Datei erzeugen (mƶglicherweise existiert ein Link):" + +#. ERR_FAILED_PRINTER_PIPE +msgid "Failed to open pipe for executing printercommand" +msgstr "Konnte Pipe fĆ¼r Druckbefehl nicht ƶffnen" + +#. ERR_FAILED_EXEC_PRINTER_CMD +msgid "Failed to execute printercommand:" +msgstr "Konnte Druckbefehl nicht ausfĆ¼hren" + +#. ERR_FAILED_START_SCANNER +msgid "Failed to start scanner:" +msgstr "Konnte Scanner nicht starten" + +#. ERR_FAILED_GET_PARAMS +msgid "Failed to get parameters:" +msgstr "Konnte Parameter nicht lesen" + +#. ERR_NO_OUTPUT_FORMAT +msgid "No output format given" +msgstr "Kein Ausgabedateiformat angegeben" + +#. ERR_NO_MEM +msgid "out of memory" +msgstr "Kein Speicher" + +#. ERR_TOO_MUCH_DATA +msgid "Backend sends more image data than it defined in parameters" +msgstr "Backend sendet mehr Bilddaten als es in Parametern definiert hat" + +#. ERR_LIBTIFF +msgid "LIBTIFF reports error" +msgstr "LIBTIFF meldet Fehler" + +#. ERR_LIBPNG +msgid "LIBPNG reports error" +msgstr "LIBPNG meldet Fehler" + +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "LIBJPEG meldet Fehler" + +#. ERR_ZLIB +msgid "ZLIB error or memory allocation problem" +msgstr "ZLIB Fehler oder zu wenig Speicher" + +#. ERR_UNKNOWN_TYPE +msgid "unknown type" +msgstr "unbekannter Typ" + +#. ERR_UNKNOWN_CONSTRAINT_TYPE +msgid "unknown constraint type" +msgstr "unbekannter verpflichtender Typ" + +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "Option hat leeren Namen (NULL)." + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "" +"Das ist ein Backend-Fehler. Bitte informieren Sie den Autor des Backends!" + +#. ERR_FAILED_EXEC_DOC_VIEWER +msgid "Failed to execute documentation viewer:" +msgstr "Konnte Hilfedateibetrachter nicht ausfĆ¼hren:" + +#. ERR_FAILED_EXEC_FAX_VIEWER +msgid "Failed to execute fax viewer:" +msgstr "Konnte Faxbetrachter nicht ausfĆ¼hren:" + +#. ERR_FAILED_EXEC_FAX_CMD +msgid "Failed to execute fax command:" +msgstr "Konnte Faxbefehl nicht ausfĆ¼hren:" + +#. ERR_FAILED_EXEC_OCR_CMD +msgid "Failed to execute ocr command:" +msgstr "Konnte OCR-Befehl nicht ausfĆ¼hren:" + +#. ERR_BAD_FRAME_FORMAT +msgid "bad frame format" +msgstr "unerwartetes FRAME-Format" + +#. ERR_FAILED_SET_RESOLUTION +msgid "unable to set resolution" +msgstr "konnte Auflƶsung nicht definieren" + +#. ERR_PASSWORD_FILE_INSECURE +#, c-format +msgid "Password file (%s) is insecure, use permission x00\n" +msgstr "Passwortdatei (%s) ist unsicher, benutze Rechte x00\n" + +#. ERR_ERROR +msgid "error" +msgstr "Fehler" + +#. ERR_MAJOR_VERSION_NR_CONFLICT +msgid "Sane major version number mismatch!" +msgstr "Sane Hauptversionsnummern-Konflikt!" + +#. ERR_XSANE_MAJOR_VERSION +msgid "XSane major version =" +msgstr "XSane Hauptversionsnummer =" + +#. ERR_BACKEND_MAJOR_VERSION +msgid "backend major version =" +msgstr "backend Hauptversionsnummer =" + +#. ERR_PROGRAM_ABORTED +msgid "*** PROGRAM ABORTED ***" +msgstr "*** PROGRAMM ABGEBROCHEN ***" + +#. ERR_FAILED_ALLOCATE_IMAGE +msgid "Failed to allocate image memory:" +msgstr "Konnte Bildspeicher nicht allozieren:" + +#. ERR_PREVIEW_BAD_DEPTH +msgid "Preview cannot handle bit depth" +msgstr "Vorschau kann Bittiefe nicht handhaben:" + +#. ERR_GIMP_SUPPORT_MISSING +msgid "GIMP support missing" +msgstr "GIMP UnterstĆ¼tzung fehlt" + +#. ERR_CREATE_FAX_PROJECT +msgid "Could not create faxproject" +msgstr "Konnte Faxprojekt nicht erstellen" + +#. WARN_COUNTER_UNDERRUN +msgid "Filename counter underrun" +msgstr "DateinamenzƤhler Unterlauf" + +#. WARN_NO_VALUE_CONSTRAINT +msgid "warning: option has no value constraint" +msgstr "Warnung: Option hat keinen vorgeschriebenen Wert" + +#. WARN_XSANE_AS_ROOT +msgid "" +"You try to run XSane as ROOT, that really is DANGEROUS!\n" +"\n" +"Do not send any bug reports when you\n" +"have any problem while running XSane as root:\n" +"YOU ARE ALONE!" +msgstr "" +"Sie versuchen XSane als ROOT auszufĆ¼hren,\n" +"das ist wirklich GEFĆHRLICH!\n" +"\n" +"Senden Sie keine Fehlermeldungen wenn Sie Probleme\n" +"haben wƤhrend Sie xsane als root ausfĆ¼hren:\n" +"Sie sind alleine!" + +#. ERR_HEADER_ERROR +msgid "Error" +msgstr "Fehler" + +#. ERR_HEADER_WARNING +msgid "Warning" +msgstr "Warnung" + +#. ERR_HEADER_INFO +msgid "Information" +msgstr "Information" + +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "Kindprozess-Fehler" + +#. ERR_FAILED_CREATE_FILE +msgid "Failed to create file:" +msgstr "Fehler beim Erstellen der Datei:" + +#. ERR_LOAD_DEVICE_SETTINGS +msgid "Error while loading device settings:" +msgstr "Fehler beim Laden der GerƤteeinstellungen" + +#. ERR_NO_DRC_FILE +msgid "is not a device-rc-file !!!" +msgstr "ist keine GerƤteeinstellungs-Datei !!!" + +#. ERR_NETSCAPE_EXECUTE_FAIL +msgid "Failed to execute netscape!" +msgstr "Konnte Netscape nicht aufrufen" + +#. ERR_SENDFAX_RECEIVER_MISSING +msgid "Send fax: no receiver defined" +msgstr "Fax senden: kein EmpfƤnger angegeben" + +#. ERR_CREATED_FOR_DEVICE +msgid "has been created for device" +msgstr "wurde erstellt fĆ¼r das GerƤt" + +#. ERR_USED_FOR_DEVICE +msgid "you want to use it for device" +msgstr "wird benutzt fĆ¼r das GerƤt" + +#. ERR_MAY_CAUSE_PROBLEMS +msgid "this may cause problems!" +msgstr "das kann zu Problemen fĆ¼hren!" + +#. WARN_UNSAVED_IMAGES +#, c-format +msgid "There are %d unsaved images" +msgstr "Es gibt %d nicht gespeicherte Bilder" + +#. WARN_FILE_EXISTS +#, c-format +msgid "File %s already exists" +msgstr "Datei %s existiert bereits" + +#. ERR_FILE_NOT_EXISTS +#, c-format +msgid "File %s does not exist" +msgstr "Datei %s existiert nicht" + +#. ERR_FILE_NOT_POSTSCRIPT +#, c-format +msgid "File %s is not a postscript file" +msgstr "Datei %s is keine Postscript-Datei" + +#. ERR_UNSUPPORTED_OUTPUT_FORMAT +#, c-format +msgid "Unsupported %d-bit output format: %s" +msgstr "Nicht unterstĆ¼tztes %d-bit Ausgabeformat: %s" + +#. ERR_CMS_CONVERSION +msgid "Error during CMS conversion:" +msgstr "Fehler bei Farbkonvertierung:" + +#. ERR_CMS_OPEN_ICM_FILE +msgid "Could not open" +msgstr "Fehler beim Ćffnen von" + +#. CMS_SCANNER_ICM +#, fuzzy +msgid "scanner ICM profile" +msgstr "Scanner ICM-Profil einbinden" + +#. CMS_DISPLAY_ICM +msgid "display ICM profile" +msgstr "Bildschirm ICM-Profil" + +#. CMS_PROOF_ICM +msgid "proofing ICM profile" +msgstr "Proofing ICM-Profil" + +#. ERR_CMS_CREATE_TRANSFORM +msgid "Could not create transform" +msgstr "Konnte Transformation nicht erstellen" + +#. WARN_VIEWER_IMAGE_NOT_SAVED +msgid "viewer image is not saved" +msgstr "Betrachter-Bild ist nicht gespeichert" + +#. FILE_FILTER_ALL_FILES +msgid "All files" +msgstr "Alle Dateien" + +#. FILE_FILTER_IMAGES +msgid "Images" +msgstr "Bilder" + +#. FILE_FILTER_XBL +msgid "XSane batch list" +msgstr "Stapellisten" + +#. FILE_FILTER_ICM +msgid "ICC/ICM Profiles" +msgstr "ICC/ICM Profile" + +#. FILE_FILTER_DRC +msgid "XSane device preferences" +msgstr "GerƤteeinstellungen" + +#. FILE_FILTER_RC +msgid "XSane preferences" +msgstr "Einstellungen" + +#. TEXT_USAGE +msgid "Usage:" +msgstr "Gebrauch:" + +#. TEXT_USAGE_OPTIONS +msgid "[OPTION]... [DEVICE]" +msgstr "[OPTION]... [GERĆT]" + +#. TEXT_HELP +msgid "" +"Start up graphical user interface to access SANE (Scanner Access Now Easy) " +"devices.\n" +"\n" +"The format of [DEVICE] is backendname:devicefile (e.g. umax:/dev/scanner).\n" +"[OPTION]... can be a combination of the following items:\n" +" -h, --help display this help message and exit\n" +" -v, --version print version information\n" +" -l, --license print license information\n" +"\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" +"\n" +" -V, --viewer start with viewer-mode active (default)\n" +" -s, --save start with save-mode active\n" +" -c, --copy start with copy-mode active\n" +" -m, --multipage start with multipage-mode active\n" +" -f, --fax start with fax-mode active\n" +" -e, --email start with e-mail-mode active\n" +" -n, --no-mode-selection disable menu for XSane mode selection\n" +"\n" +" -F, --Fixed fixed main window size (overwrite preferences " +"value)\n" +" -R, --Resizeable resizable, scrolled main window (overwrite " +"preferences value)\n" +"\n" +" -p, --print-filenames print image filenames created by XSane\n" +" -N, --force-filename name force filename and disable user filename " +"selection\n" +"\n" +" --display X11-display redirect output to X11-display\n" +" --no-xshm do not use shared memory images\n" +" --sync request a synchronous connection with the X11 " +"server" +msgstr "" +"Startet graphisches Benutzerinterface fĆ¼r SANE (Scanner Access Now Easy)\n" +"\n" +"Das Format von [GERĆT] ist Backendname:GerƤtedatei (z.B. umax:/dev/scanner)\n" +"[OPTION]... kann eine Kombination aus den folgenden Elementen sein:\n" +" -h, --help zeigt diesen Hilfetext\n" +" -v, --version gibt Versionsinformationen aus\n" +" -l, --license gibt Lizenzinformationen aus\n" +"\n" +" -d, --device-settings datei lƤdt GerƤteeinstellungen von datei\n" +"\n" +" -V, --viewer starte im Betrachtermodus (default)\n" +" -s, --save starte im Speichernmodus\n" +" -c, --copy starte im Kopiermodus\n" +" -m, --multipage starte im Mehrseitenmodus\n" +" -f, --fax starte im Faxmodus\n" +" -e, --email starte im E-Mailmodus\n" +" -n, --no-mode-selection deaktiviere Modusauswahl\n" +"\n" +" -F, --Fixed HauptfenstergrƶĆe ist fest\n" +" -R, --Resizeable HauptfenstergrƶĆe ist verƤnderbar\n" +"\n" +" -p, --print-filenames gibt Dateinamen erzeugter Bilder aus\n" +" -N, --force-filename name benutze name als Dateinamen,\n" +" deaktiviere Auswahl fĆ¼r Dateinamen\n" +"\n" +" --display X11-display lenkt X-Ausgabe auf X11-Display um\n" +" --no-xshm keine shared memory Bilder benutzen\n" +" --sync fordert synchrone Verbindung zum X-Server an" + +#. strings for gimp plugin +#. XSANE_GIMP_INSTALL_BLURB +msgid "Front-end to the SANE interface" +msgstr "Frontend zum SANE-Interface" + +#. XSANE_GIMP_INSTALL_HELP +msgid "" +"This function provides access to scanners and other image acquisition " +"devices through the SANE (Scanner Access Now Easy) interface." +msgstr "" +"Diese Funktion gibt Zugang zu Scannern und anderen bilderzeugenden GerƤten " +"durch das SANE (Scanner Access Now Easy) Interface" + +#. Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" +#. XSANE_GIMP_MENU_DIALOG +msgid "<Toolbox>/File/Acquire/XSane: Device dialog..." +msgstr "<Toolbox>/File/Acquire/XSane: GerƤteauswahl" + +#. XSANE_GIMP_MENU +msgid "<Toolbox>/File/Acquire/XSane: " +msgstr "<Toolbox>/File/Acquire/XSane: " + +#. XSANE_GIMP_MENU_DIALOG_OLD +msgid "<Toolbox>/Xtns/XSane/Device dialog..." +msgstr "<Toolbox>/Xtns/XSane/GerƤteauswahl" + +#. XSANE_GIMP_MENU_OLD +msgid "<Toolbox>/Xtns/XSane/" +msgstr "<Toolbox>/Xtns/XSane/" + +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" +"Mƶgliche GrĆ¼nde:\n" +"1) Es ist wirklich kein von SANE unterstĆ¼tzes GerƤt vorhanden\n" +"2) UnterstĆ¼tzte GerƤte sind belegt\n" +"3) Die Rechte fĆ¼r die GerƤtedatei erlauben Ihnen keinen Zugriff - Versuchen " +"Sie es als root\n" +"4) Das Backend wurde von SANE nicht geladen (man sane-dll)\n" +"5) Das Backend wurde nicht richtig konfiguriert (man sane-\"backendname\")\n" +"6) Mƶglicherweise sind mehrere SANE Versionen installiert" + +#. strings that are used in structures, so it is not allowed to use _()/gettext() here +#. gettext_noop does mark these texts but does not change the string +#. MENU_ITEM_SURFACE_FULL_SIZE +msgid "full size" +msgstr "volle GrƶĆe" + +#. MENU_ITEM_SURFACE_DIN_A3P +msgid "DIN A3 port." +msgstr "DIN A3 hoch" + +#. MENU_ITEM_SURFACE_DIN_A3L +msgid "DIN A3 land." +msgstr "DIN A3 quer" + +#. MENU_ITEM_SURFACE_DIN_A4P +msgid "DIN A4 port." +msgstr "DIN A4 hoch" + +#. MENU_ITEM_SURFACE_DIN_A4L +msgid "DIN A4 land." +msgstr "DIN A4 quer" + +#. MENU_ITEM_SURFACE_DIN_A5P +msgid "DIN A5 port." +msgstr "DIN A5 hoch" + +#. MENU_ITEM_SURFACE_DIN_A5L +msgid "DIN A5 land." +msgstr "DIN A5 quer" + +#. MENU_ITEM_SURFACE_13cmx18cm +msgid "13cm x 18cm" +msgstr "13cm x 18cm" + +#. MENU_ITEM_SURFACE_18cmx13cm +msgid "18cm x 13cm" +msgstr "18cm x 13cm" + +#. MENU_ITEM_SURFACE_10cmx15cm +msgid "10cm x 15cm" +msgstr "10cm x 15cm" + +#. MENU_ITEM_SURFACE_15cmx10cm +msgid "15cm x 10cm" +msgstr "15cm x 10cm" + +#. MENU_ITEM_SURFACE_9cmx13cm +msgid "9cm x 13cm" +msgstr "9cm x 13cm" + +#. MENU_ITEM_SURFACE_13cmx9cm +msgid "13cm x 9cm" +msgstr "13cm x 9cm" + +#. MENU_ITEM_SURFACE_legal_P +msgid "legal port." +msgstr "legal hoch" + +#. MENU_ITEM_SURFACE_legal_L +msgid "legal land." +msgstr "legal quer" + +#. MENU_ITEM_SURFACE_letter_P +msgid "letter port." +msgstr "letter hoch" + +#. MENU_ITEM_SURFACE_letter_L +msgid "letter land." +msgstr "letter quer" + +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "Voller Farbumfang" + +#. MENU_ITEM_MEDIUM_SLIDE +msgid "Slide" +msgstr "Dia" + +#. MENU_ITEM_MEDIUM_STANDARD_NEG +msgid "Standard negative" +msgstr "Standard Negativ" + +#. MENU_ITEM_MEDIUM_AGFA_NEG +msgid "Agfa negative" +msgstr "Agfa Negativ" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_XRG200_4 +msgid "Agfa negative XRG 200-4" +msgstr "Agfa Negativ XRG 200-4" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_HDC_100 +msgid "Agfa negative HDC 100" +msgstr "Agfa Negativ HDC 100" + +#. MENU_ITEM_MEDIUM_FUJI_NEG +msgid "Fuji negative" +msgstr "Fuji Negativ" + +#. MENU_ITEM_MEDIUM_KODAK_NEG +msgid "Kodak negative" +msgstr "Kodak Negativ" + +#. MENU_ITEM_MEDIUM_KONICA_NEG +msgid "Konica negative" +msgstr "Konica Negativ" + +#. MENU_ITEM_MEDIUM_KONICA_NEG_VX_100 +msgid "Konica negative VX 100" +msgstr "Konica Negativ VX 100" + +#. MENU_ITEM_MEDIUM_ROSSMANN_NEG_HR_100 +msgid "Rossmann negative HR 100" +msgstr "Rossmann Negativ HR 100" + +#. TEXT_PROJECT_STATUS_NOT_CREATED +msgid "Project not created" +msgstr "Projekt nicht erstellt" + +#. TEXT_PROJECT_STATUS_CREATED +msgid "Project created" +msgstr "Projekt erstellt" + +#. TEXT_PROJECT_STATUS_CHANGED +msgid "Project changed" +msgstr "Projekt geƤndert" + +#. TEXT_PROJECT_STATUS_ERR_READ_PROJECT +msgid "Error reading project" +msgstr "Fehler beim Lesen des Projekts" + +#. TEXT_PROJECT_STATUS_FILE_SAVING_ERROR +msgid "Error saving file" +msgstr "Fehler beim Speichern" + +#. TEXT_PROJECT_STATUS_FILE_SAVING +msgid "Saving file" +msgstr "Datei wird gespeichert" + +#. TEXT_PROJECT_STATUS_FILE_SAVING_ABORTED +msgid "Aborted saving file" +msgstr "Datei speichern abgebrochen" + +#. TEXT_PROJECT_STATUS_FILE_SAVED +msgid "File has been saved" +msgstr "Datei wurde gespeichert" + +#. TEXT_EMAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "POP3-Verbindung fehlgeschlagen" + +#. TEXT_EMAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "POP3-Login fehlgeschlagen" + +#. TEXT_EMAIL_STATUS_ASMTP_AUTH_FAILED +msgid "ASMTP authentication failed" +msgstr "ASMTP Authentifizierung fehlgeschlagen" + +#. TEXT_EMAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "SMTP Verbindung fehlgeschlagen" + +#. TEXT_EMAIL_STATUS_SMTP_ERR_FROM +msgid "From entry not accepted" +msgstr "Absender Eintrag nicht akzeptiert" + +#. TEXT_EMAIL_STATUS_SMTP_ERR_RCPT +msgid "Receiver entry not accepted" +msgstr "EmpfƤnger Eintrag nicht akzeptiert" + +#. TEXT_EMAIL_STATUS_SMTP_ERR_DATA +msgid "E-mail data not accepted" +msgstr "E-Mail Daten nicht akzeptiert" + +#. TEXT_EMAIL_STATUS_SENDING +msgid "Sending e-mail" +msgstr "E-Mail wird gesendet" + +#. TEXT_EMAIL_STATUS_SENT +msgid "E-mail has been sent" +msgstr "E-Mail wurde gesendet" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "Fax zum Senden einreihen" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "Fax ist zum Senden eingereiht" + +#. Sane backend messages +msgid "flatbed scanner" +msgstr "Flachbettscanner" + +msgid "frame grabber" +msgstr "Framegrabber" + +msgid "handheld scanner" +msgstr "Handscanner" + +msgid "still camera" +msgstr "Fotokamera" + +msgid "video camera" +msgstr "Videokamera" + +msgid "virtual device" +msgstr "virtuelles GerƤt" + +msgid "Success" +msgstr "Erfolg" + +msgid "Operation not supported" +msgstr "Operation nicht unterstĆ¼tzt" + +msgid "Operation was cancelled" +msgstr "Operation abgebrochen" + +msgid "Device busy" +msgstr "GerƤt besetzt" + +msgid "Invalid argument" +msgstr "UngĆ¼ltiges Argument" + +msgid "End of file reached" +msgstr "Dateiende erreicht" + +msgid "Document feeder jammed" +msgstr "Dokumenteneinzug blockiert" + +msgid "Document feeder out of documents" +msgstr "Dokumenteneinzug ohne Papier" + +msgid "Scanner cover is open" +msgstr "Scannerdeckel ist offen" + +msgid "Error during device I/O" +msgstr "Fehler wƤhrend GerƤte I/O" + +msgid "Out of memory" +msgstr "Kein Speicher" + +msgid "Access to resource has been denied" +msgstr "Zugang zum GerƤt wurde verweigert" + +#~ msgid "select scanner transmissive ICM-profile" +#~ msgstr "Durchsicht-ICM-Profil fĆ¼r Scanner auswƤhlen" + +#~ msgid "select scanner transmissive gray ICM-profile" +#~ msgstr "Durchsicht Graustufen ICM-Profil fĆ¼r Scanner auswƤhlen" + +#~ msgid "Scanner reflective ICM-profile" +#~ msgstr "Scanner reflektives ICM-Profil" + +#~ msgid "Scanner reflective gray ICM-profile" +#~ msgstr "Scanner reflektives Graustufen ICM-Profil" + +#~ msgid "Scanner transmissive ICM-profile" +#~ msgstr "Scanner Durchsicht ICM-Profil" + +#~ msgid "Scanner transmissive gray ICM-profile" +#~ msgstr "Scanner Durchsicht Graustufen ICM-Profil" + +#~ msgid "Scanner reflektive ICM-profile" +#~ msgstr "Scanner reflektives ICM-Profil" + +#~ msgid "Browse for scanner transmissive ICM-profile" +#~ msgstr "Suche nach Scanner Durchsicht-ICM-Profil" + +#~ msgid "Browse for scanner transmissive gray ICM-profile" +#~ msgstr "Suche nach Scanner Durchsicht Graustufen ICM-Profil" + +#~ msgid "GIMP can't handle depth %d bits/color" +#~ msgstr "GIMP unterstĆ¼tzt Bittiefe %d Bits/Farbe nicht" + +#~ msgid "scanner transmissive ICM profile" +#~ msgstr "Scanner Durchsicht-ICM-Profil" + +#~ msgid "scanner reflective ICM profile" +#~ msgstr "Scanner reflektives ICM-Profil" Binary files differ@@ -7,7 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: XSANE 0.96\n" -"POT-Creation-Date: 2006-01-07 00:26+0100\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-25 23:44+0100\n" "PO-Revision-Date: 2004-08-22 19:15GMT\n" "Last-Translator: Gustavo D. Vranjes <gvranjes@SoftHome.net>\n" "Language-Team: Castellano <es@li.org>\n" @@ -35,6 +36,7 @@ msgid "About" msgstr "Acerca..." #. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +#. MENU_ITEM_ABOUT_TRANSLATION msgid "About translation" msgstr "Acerca de la traducciĆ³n..." @@ -74,6 +76,11 @@ msgstr "renombrar area de proceso por lotes" msgid "fax project" msgstr "proyecto de fax" +#. WINDOW_FAX_PROJECT_BROWSE +#, fuzzy +msgid "browse for fax project" +msgstr "Ingresar nombre del proyecto de fax" + #. WINDOW_FAX_RENAME msgid "rename fax page" msgstr "renombrar pĆ”gina de fax" @@ -87,6 +94,11 @@ msgstr "insertar archivo-ps dentro de fax" msgid "E-mail project" msgstr "proyecto de correo electrĆ³nico" +#. WINDOW_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "browse for email project" +msgstr "Ingresar nombre del proyecto de correo electrĆ³nico" + #. WINDOW_EMAIL_RENAME #, fuzzy msgid "rename e-mail image" @@ -102,6 +114,11 @@ msgstr "insertar archivo dentro de correo electrĆ³nico" msgid "multipage project" msgstr "Borrar proyecto" +#. WINDOW_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "browse for multipage project" +msgstr "Borrar proyecto" + #. WINDOW_PRESET_AREA_RENAME msgid "rename preset area" msgstr "renombrar area de preset" @@ -147,6 +164,7 @@ msgid "Preview" msgstr "Vista previa" #. WINDOW_VIEWER +#. MENU_ITEM_VIEWER msgid "Viewer" msgstr "Visor interno" @@ -179,14 +197,17 @@ msgid "select temporary directory" msgstr "seleccionar directorio temporal" #. WINDOW_SCALE +#. DESC_VIEWER_SCALE msgid "Scale image" msgstr "Redimensionar imagen" #. WINDOW_DESPECKLE +#. DESC_VIEWER_DESPECKLE msgid "Despeckle image" msgstr "Desparasitar imagen" #. WINDOW_BLUR +#. DESC_VIEWER_BLUR msgid "Blur image" msgstr "Desenfocar imagen" @@ -198,6 +219,35 @@ msgstr "Guardar definiciĆ³n de medio" msgid "No devices available" msgstr "No hay dispositivos obtenibles" +#. WINDOW_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "select scanner default color ICM-profile" +msgstr "Borrar impresora" + +#. WINDOW_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "select scanner default gray ICM-profile" +msgstr "Borrar impresora" + +#. WINDOW_DISPLAY_ICM_PROFILE +msgid "select display ICM-profile" +msgstr "" + +#. WINDOW_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "select custom proofing ICM-profile" +msgstr "seleccionar archivo de salida" + +#. WINDOW_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "select working color space ICM-profile" +msgstr "Borrar impresora" + +#. WINDOW_PRINTER_ICM_PROFILE +#, fuzzy +msgid "select printer ICM-profile" +msgstr "Borrar impresora" + #. MENU_FILE msgid "File" msgstr "Archivo" @@ -215,6 +265,7 @@ msgid "Window" msgstr "Ventana" #. MENU_HELP +#. BUTTON_HELP msgid "Help" msgstr "Ayuda" @@ -230,6 +281,11 @@ msgstr "Filtros" msgid "Geometry" msgstr "GeometrĆa" +#. MENU_COLOR_MANAGEMENT +#. NOTEBOOK_COLOR_MANAGEMENT_OPTIONS +msgid "Color management" +msgstr "" + #. MENU_ITEM_ABOUT_XSANE msgid "About XSane" msgstr "Acerca de XSane..." @@ -243,6 +299,7 @@ msgid "Quit" msgstr "Salir" #. MENU_ITEM_SAVE_IMAGE +#. DESC_VIEWER_SAVE msgid "Save image" msgstr "Guardar imagen" @@ -259,6 +316,7 @@ msgid "Scale" msgstr "Redimensionar" #. MENU_ITEM_CLOSE +#. BUTTON_CLOSE msgid "Close" msgstr "Cerrar" @@ -452,11 +510,11 @@ msgstr "Advertencia de sobreescritura" msgid "Skip existing filenames" msgstr "Omitir nombres de archivos existentes" -#. RADIO_BUTTON_SAVE_PS_FLATDECODED +#. RADIO_BUTTON_SAVE_PS_FLATEDECODED msgid "Save postscript zlib compressed (ps level 3)" msgstr "" -#. RADIO_BUTTON_SAVE_PDF_FLATDECODED +#. RADIO_BUTTON_SAVE_PDF_FLATEDECODED msgid "Save PDF zlib compressed" msgstr "" @@ -473,7 +531,8 @@ msgid "Main window size fixed" msgstr "TamaƱo de ventana principal fijo" #. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable gimp preview gamma" +#, fuzzy +msgid "Disable GIMP preview gamma" msgstr "Deshabilitar vista previa de gamma de gimp" #. RADIO_BUTTON_PRIVATE_COLORMAP @@ -496,6 +555,11 @@ msgstr "Autocorregir colores" msgid "Use GUI progress pipe" msgstr "Usar progreso de tuberĆa GUI " +#. RADIO_BUTTON_CMS_BPC +#. MENU_ITEM_CMS_BLACK_POINT_COMPENSATION +msgid "Black point compensation" +msgstr "" + #. TEXT_SCANNING_DEVICES msgid "scanning for devices" msgstr "Escaneando dispositivos" @@ -512,6 +576,12 @@ msgstr "Opciones de XSane" msgid "Type" msgstr "Tipo" +#. TEXT_CMS_FUNCTION +#. DESC_CMS_FUNCTION +#, fuzzy +msgid "Color management function" +msgstr "Rango de color completo" + #. TEXT_SCANNER_BACKEND msgid "Scanner and backend:" msgstr "EscĆ”ner y backend:" @@ -584,18 +654,11 @@ msgstr "Formatos de salida de 8 bits:" msgid "16 bit output formats:" msgstr "Formatos de salida de 16 bits:" -#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT -msgid "" -"Gimp does not support depth 16 bits/color.\n" -"Do you want to reduce the depth to 8 bits/color?" -msgstr "" -"Gimp no soporta profundidad de 16 bits/color.\n" -"ĀæQuire reducir la profundidad a 8 bits/color?" - #. TEXT_REDUCE_16BIT_TO_8BIT +#, fuzzy msgid "" -"Bit depth 16 bits/color is not supported for this output format.\n" -"Do you want to reduce the depth to 8 bits/color?" +"Bit depth 16 bits/channel is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/channel?" msgstr "" "La profundidad de 16 bits/color no estĆ” soportada en Ć©ste formato de " "salida.\n" @@ -633,6 +696,11 @@ msgstr "versiĆ³n:" msgid "package" msgstr "paquete" +#. TEXT_WITH_CMS_FUNCTION +#, fuzzy +msgid "with color management function" +msgstr "Rango de color completo" + #. TEXT_WITH_GIMP_SUPPORT msgid "with GIMP support" msgstr "Con soporte de GIMP" @@ -771,9 +839,10 @@ msgid "Medium Name:" msgstr "Nombre del medio:" #. TEXT_VIEWER_IMAGE_INFO -#, c-format +#, fuzzy, c-format msgid "" -"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +"Size %d x %d pixel, %d bits/channel, %d channels, %1.0f dpi x %1.0f dpi, %" +"1.1f %s" msgstr "" "TamaƱo %d x %d pixel, %d bit/color, %d colores, %1.0f dpi x %1.0f ppp, %1.1f " "%s" @@ -827,6 +896,7 @@ msgid "Name:" msgstr "Nombre:" #. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +#. TEXT_SETUP_FAX_COMMAND msgid "Command:" msgstr "Comando:" @@ -847,18 +917,22 @@ msgid "Color resolution (dpi):" msgstr "ResoluciĆ³n de color (ppp):" #. TEXT_SETUP_PRINTER_WIDTH +#. TEXT_SETUP_FAX_WIDTH msgid "Width" msgstr "Anchura" #. TEXT_SETUP_PRINTER_HEIGHT +#. TEXT_SETUP_FAX_HEIGHT msgid "Height" msgstr "Altura" #. TEXT_SETUP_PRINTER_LEFT +#. TEXT_SETUP_FAX_LEFT msgid "Left offset" msgstr "Desplazamiento a izquierda" #. TEXT_SETUP_PRINTER_BOTTOM +#. TEXT_SETUP_FAX_BOTTOM msgid "Bottom offset" msgstr "Desplazamiento hacia abajo" @@ -878,7 +952,17 @@ msgstr "Gamma verde de impresora:" msgid "Printer gamma blue:" msgstr "Gamma azul de impresora:" -#. TEXT_SETUP_PRINTER_PS_FLATDECODED +#. TEXT_SETUP_PRINTER_EMBED_CSA +#, fuzzy +msgid "Embed scanner ICM profile as CSA" +msgstr "Borrar impresora" + +#. TEXT_SETUP_PRINTER_EMBED_CRD +#, fuzzy +msgid "Embed printer ICM profile as CRD" +msgstr "Borrar impresora" + +#. TEXT_SETUP_PRINTER_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for printing" msgstr "" @@ -1003,7 +1087,7 @@ msgstr "Establecer por defecto para:" msgid "Viewer (Postscript):" msgstr "Visor (Postscript):" -#. TEXT_SETUP_FAX_PS_FLATDECODED +#. TEXT_SETUP_FAX_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for fax" msgstr "" @@ -1082,10 +1166,45 @@ msgstr "grupo" msgid "all" msgstr "todo" +#. TEXT_SETUP_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "Scanner default color ICM-profile" +msgstr "Borrar impresora" + +#. TEXT_SETUP_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "Scanner default gray ICM-profile" +msgstr "Borrar impresora" + +#. TEXT_SETUP_DISPLAY_ICM_PROFILE +#. DESC_DISPLAY_ICM_PROFILE +msgid "Display ICM-profile" +msgstr "" + +#. TEXT_SETUP_CUSTOM_PROOFING_ICM_PROFILE +#. DESC_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "Custom proofing ICM-profile" +msgstr "Borrar impresora" + +#. TEXT_SETUP_WORKING_COLOR_SPACE_ICM_PROFILE +#. DESC_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "Working color space ICM-profile" +msgstr "Explorar nombre de archivo de imagen" + +#. TEXT_SETUP_PRINTER_ICM_PROFILE +#. DESC_PRINTER_ICM_PROFILE +msgid "Printer ICM-profile" +msgstr "" + msgid "new media" msgstr "medio nuevo" #. NOTEBOOK_SAVING_OPTIONS +#. MENU_ITEM_SAVE msgid "Save" msgstr "Guarda imagen" @@ -1095,14 +1214,17 @@ msgid "Filetype" msgstr "Archivo" #. NOTEBOOK_COPY_OPTIONS +#. MENU_ITEM_COPY msgid "Copy" msgstr "Copia a impresora" #. NOTEBOOK_FAX_OPTIONS +#. MENU_ITEM_FAX msgid "Fax" msgstr "Fax" #. NOTEBOOK_EMAIL_OPTIONS +#. MENU_ITEM_EMAIL #, fuzzy msgid "E-mail" msgstr "Correo electrĆ³nico" @@ -1195,6 +1317,12 @@ msgstr "Mostrar lista de resoluciones" msgid "Rotate postscript" msgstr "Rotar postscript" +#. MENU_ITEM_ENABLE_COLOR_MANAGEMENT +#. MENU_ITEM_CMS_ENABLE_COLOR_MANAGEMENT +#, fuzzy +msgid "Enable color management" +msgstr "Rango de color completo" + #. MENU_ITEM_EDIT_MEDIUM_DEF msgid "Edit medium definition" msgstr "Editar definiciĆ³n de medio" @@ -1239,6 +1367,86 @@ msgstr "Tips de escaneo" msgid "Problems?" msgstr "ĀæProblemas?" +#. MENU_ITEM_CMS_PROOFING +#, fuzzy +msgid "Proofing" +msgstr "AƱadir impresora" + +#. SUBMENU_ITEM_CMS_PROOF_OFF +msgid "no proofing (Display)" +msgstr "" + +#. SUBMENU_ITEM_CMS_PROOF_PRINTER +#, fuzzy +msgid "Proof printer" +msgstr "AƱadir impresora" + +#. SUBMENU_ITEM_CMS_PROOF_CUSTOM +msgid "Proof custom device" +msgstr "" + +#. MENU_ITEM_CMS_RENDERING_INTENT +#, fuzzy +msgid "Rendering intent" +msgstr "AƱadir impresora" + +#. MENU_ITEM_CMS_PROOFING_INTENT +#, fuzzy +msgid "Proofing rendering intent" +msgstr "AƱadir impresora" + +#. SUBMENU_ITEM_CMS_INTENT_PERCEPTUAL +msgid "Perceptual" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_RELATIVE_COLORIMETRIC +msgid "Relative colorimetric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_ABSOLUTE_COLORIMETRIC +msgid "Absolute colorimentric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_SATURATION +#, fuzzy +msgid "Saturation" +msgstr "autorizaciĆ³n" + +#. MENU_ITEM_CMS_GAMUT_CHECK +msgid "Gamut check" +msgstr "" + +#. MENU_ITEM_CMS_GAMUT_ALARM_COLOR +msgid "Gamut alarm color" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLACK +msgid "Black" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_GRAY +msgid "Gray" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_WHITE +#, fuzzy +msgid "White" +msgstr "escribir" + +#. SUBMENU_ITEM_CMS_COLOR_RED +#, fuzzy +msgid "Red" +msgstr "Reducir" + +#. SUBMENU_ITEM_CMS_COLOR_GREEN +msgid "Green" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLUE +#, fuzzy +msgid "Blue" +msgstr "Desenfoque" + #. MENU_ITEM_COUNTER_LEN_INACTIVE msgid "inactive" msgstr "inactivo" @@ -1357,6 +1565,20 @@ msgstr "" msgid "ASMTP CRAM-MD5" msgstr "" +#. MENU_ITEM_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE +#, fuzzy +msgid "Embed scanner ICM profile" +msgstr "Borrar impresora" + +#. MENU_ITEM_CMS_FUNCTION_CONVERT_TO_SRGB +msgid "Convert to sRGB" +msgstr "" + +#. MENU_ITEM_FUNCTION_CONVERT_TO_WORKING_CS +#, fuzzy +msgid "Convert to working color space" +msgstr "Autocorregir colores" + #. PROGRESS_SCANNING msgid "Scanning" msgstr "Escaneando" @@ -1415,6 +1637,11 @@ msgstr "Desenfocando imagen" msgid "OCR in progress" msgstr "OCR en progreso" +#. PROGRESS_ICM_CONVERSION +#, fuzzy +msgid "converting colors" +msgstr "Autocorregir colores" + #. DESC_SCAN_START msgid "Start scan <Ctrl-Enter>" msgstr "Comenzar escaneo <Ctrl-Enter>" @@ -1476,8 +1703,9 @@ msgstr "" "automĆ”ticamente al nombre de archivo" #. DESC_FAXPROJECT -msgid "Enter name of fax project" -msgstr "Ingresar nombre del proyecto de fax" +#, fuzzy +msgid "Enter fax project directory name" +msgstr "Explorar para directorio temporal" #. DESC_FAXPAGENAME msgid "Enter new name for faxpage" @@ -1487,10 +1715,15 @@ msgstr "Ingrese nuevo nombre para la pĆ”gina de fax" msgid "Enter receiver phone number or address" msgstr "Ingrese nĆŗmero de telĆ©fono del receptor Ć³ direcciĆ³n" +#. DESC_FAX_PROJECT_BROWSE +#, fuzzy +msgid "Browse for fax project directory" +msgstr "Explorar para directorio temporal" + #. DESC_EMAIL_PROJECT #, fuzzy -msgid "Enter name of e-mail project" -msgstr "Ingresar nombre del proyecto de correo electrĆ³nico" +msgid "Enter e-mail project directory name" +msgstr "Explorar para directorio temporal" #. DESC_EMAIL_IMAGENAME #, fuzzy @@ -1502,6 +1735,11 @@ msgstr "Ingresar nuevo nombre para la imagen de correo electrĆ³nico" msgid "Enter e-mail address" msgstr "Ingresar direcciĆ³n de correo electrĆ³nico" +#. DESC_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "Browse for email project directory" +msgstr "Explorar para directorio temporal" + #. DESC_EMAIL_SUBJECT #, fuzzy msgid "Enter subject of e-mail" @@ -1513,8 +1751,13 @@ msgstr "Seleccionar tipo de archivo para imagen adjunta" #. DESC_MULTIPAGE_PROJECT #, fuzzy -msgid "Enter name of multipage project" -msgstr "Ingresar nombre del proyecto de correo electrĆ³nico" +msgid "Enter multipage project directory name" +msgstr "Explorar para directorio temporal" + +#. DESC_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "Browse for multipage project directory" +msgstr "Explorar para directorio temporal" #. DESC_MULTIPAGE_FILETYPE #, fuzzy @@ -1640,7 +1883,8 @@ msgstr "" "contraste = 0" #. DESC_ENH_AUTO -msgid "Autoadjust gamma, brightness and contrast <Ctrl-e>" +#, fuzzy +msgid "Autoadjust gamma, brightness and contrast <Ctrl-a>" msgstr "Autoajustar gamma, brillo y contraste <Ctrl-e>" #. DESC_ENH_DEFAULT @@ -1725,19 +1969,23 @@ msgstr "" "postscript" #. DESC_PRINTER_WIDTH +#. DESC_FAX_WIDTH msgid "Width of printable area" msgstr "Anchura de area imprimible" #. DESC_PRINTER_HEIGHT +#. DESC_FAX_HEIGHT msgid "Height of printable area" msgstr "Altura de area imprimible" #. DESC_PRINTER_LEFTOFFSET +#. DESC_FAX_LEFTOFFSET msgid "Left offset from the edge of the paper to the printable area" msgstr "" "Deplazamiento a la izquierda desde el borde del papel al Ć”rea imprimible" #. DESC_PRINTER_BOTTOMOFFSET +#. DESC_FAX_BOTTOMOFFSET msgid "Bottom offset from the edge of the paper to the printable area" msgstr "Deplazamiento hacia abajo desde el borde del papel al Ć”rea imprimible" @@ -1757,9 +2005,17 @@ msgstr "Valor de gamma adicional del valor verde para fotocopia" msgid "Additional gamma value for blue component for photocopy" msgstr "Valor de gamma adicional del valor azul para fotocopia" -#. DESC_PRINTER_PS_FLATDECODED +#. DESC_PRINTER_EMBED_CSA +msgid "Creates a postsciptfile that contains the ICM profile of the scanner" +msgstr "" + +#. DESC_PRINTER_EMBED_CRD +msgid "Creates a postsciptfile that contains the ICM profile of the printer" +msgstr "" + +#. DESC_PRINTER_PS_FLATEDECODED msgid "" -"Create zlib compressed postscript image for printer (flatdecode).\n" +"Create zlib compressed postscript image for printer (flatedecode).\n" "The printer has to understand postscript level 3!" msgstr "" @@ -1820,14 +2076,14 @@ msgstr "" "Si el contador de nombre archivo se incrementa automĆ”ticamente, los nĆŗmeros " "presentes son salteados" -#. DESC_SAVE_PS_FLATDECODED +#. DESC_SAVE_PS_FLATEDECODED msgid "" -"compress postscript image with zlib algorithm (flatdecode). When you want to " -"print such a file your printer has to understand postscript level 3" +"compress postscript image with zlib algorithm (flatedecode). When you want " +"to print such a file your printer has to understand postscript level 3" msgstr "" -#. DESC_SAVE_PDF_FLATDECODED -msgid "compress PDF image with zlib algorithm (flatdecode)." +#. DESC_SAVE_PDF_FLATEDECODED +msgid "compress PDF image with zlib algorithm (flatedecode)." msgstr "" #. DESC_SAVE_PNM16_AS_ASCII @@ -1844,7 +2100,9 @@ msgstr "" "enormes!!!" #. DESC_REDUCE_16BIT_TO_8BIT -msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +#, fuzzy +msgid "" +"If scanner sends image with 16 bits/channel save image with 8 bits/channel" msgstr "" "Si el escĆ”ner envĆa imĆ”genes de 16 bits/color guardar imĆ”genes con 8 bits/" "color" @@ -1879,7 +2137,8 @@ msgstr "" "Usar tamaƱo de ventana principal fijo Ć³ uno de tamaƱo variable con scroll" #. DESC_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable preview gamma when XSane runs as gimp plugin" +#, fuzzy +msgid "Disable preview gamma when XSane runs as GIMP plugin" msgstr "" "Deshabilitar el gamma de previsualizaciĆ³n cuando XSane funciona como una " "extensiĆ³n de GIMP" @@ -1988,6 +2247,16 @@ msgid "Do color correction after preview scan has finished" msgstr "" "Hacer correcciĆ³n de color despuĆ©s de que la previsualizaciĆ³n ha concluĆdo" +#. DESC_RENDERING_INTENT +#, fuzzy +msgid "Select rendering intent for preview and saving" +msgstr "" +"Seleccionar Ć”rea de escaneo despuĆ©s de que la previsualizaciĆ³n ha concluĆdo" + +#. DESC_CMS_BPC +msgid "Apply black point compensation when color transformation is done" +msgstr "" + #. DESC_FAX_COMMAND msgid "Enter command to be executed in fax mode" msgstr "Ingresar comando a ser ejecutado en modo de fax" @@ -2016,8 +2285,8 @@ msgstr "Ingresar comando a ser ejecutado para ver un fax" msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" msgstr "Enviar fax con resoluciĆ³n vertical alta (196 lpp en vez de 98 lpp)" -#. DESC_FAX_PS_FLATDECODED -msgid "Create zlib compressed postscript image for fax (flatdecode)" +#. DESC_FAX_PS_FLATEDECODED +msgid "Create zlib compressed postscript image for fax (flatedecode)" msgstr "" #. DESC_SMTP_SERVER @@ -2105,9 +2374,10 @@ msgstr "leer" msgid "write" msgstr "escribir" -#. DESC_PERMISSION_EXECUTE -msgid "execute" -msgstr "ejecutar" +#. DESC_PERMISSION_SEARCH +#, fuzzy +msgid "search" +msgstr "usuario" #. DESC_ADD_BATCH msgid "Add selection for batch scan" @@ -2276,6 +2546,36 @@ msgstr "Borrar area seleccionada de la lista de proceso por lotes" msgid "Turns on automatic mode" msgstr "Enciende modo automĆ”tico" +#. DESC_BUTTON_SCANNER_DEFAULT_COLOR_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default color ICM-profile" +msgstr "Explorar nombre de archivo de imagen" + +#. DESC_BUTTON_SCANNER_DEFAULT_GRAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default gray ICM-profile" +msgstr "Explorar nombre de archivo de imagen" + +#. DESC_BUTTON_DISPLAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for display ICM-profile" +msgstr "Explorar nombre de archivo de imagen" + +#. DESC_BUTTON_PRINTER_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for printer ICM-profile" +msgstr "Explorar nombre de archivo de imagen" + +#. DESC_BUTTON_CUSTOM_PROOFING_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for custom proofing ICM-profile" +msgstr "Explorar nombre de archivo de imagen" + +#. DESC_BUTTON_WORKING_COLOR_SPACE_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for working color space ICM-profile" +msgstr "Explorar nombre de archivo de imagen" + #. ERR_HOME_DIR msgid "Failed to determine home directory:" msgstr "FallĆ³ al determinar el directorio home:" @@ -2328,11 +2628,6 @@ msgstr "Error durante guardado:" msgid "Can't handle depth" msgstr "No puede manejar la profundidad" -#. ERR_GIMP_BAD_DEPTH -#, c-format -msgid "GIMP can't handle depth %d bits/color" -msgstr "GIMP no puede manejar la profundidad de %d bits/color" - #. ERR_UNKNOWN_SAVING_FORMAT msgid "Unknown file format for saving" msgstr "Formato de archivo desconocido para guardar" @@ -2566,10 +2861,68 @@ msgstr "El archivo %s no es un archivo postscript" msgid "Unsupported %d-bit output format: %s" msgstr "Formato de salida de %d-bit no soportado: %s" +#. ERR_CMS_CONVERSION +#, fuzzy +msgid "Error during CMS conversion:" +msgstr "Error durante guardado:" + +#. ERR_CMS_OPEN_ICM_FILE +#, fuzzy +msgid "Could not open" +msgstr "FallĆ³ al abrir" + +#. CMS_SCANNER_ICM +#, fuzzy +msgid "scanner ICM profile" +msgstr "Borrar impresora" + +#. CMS_DISPLAY_ICM +#, fuzzy +msgid "display ICM profile" +msgstr "Explorar nombre de archivo de imagen" + +#. CMS_PROOF_ICM +#, fuzzy +msgid "proofing ICM profile" +msgstr "Borrar impresora" + +#. ERR_CMS_CREATE_TRANSFORM +#, fuzzy +msgid "Could not create transform" +msgstr "No se puede crear archivos temporales" + #. WARN_VIEWER_IMAGE_NOT_SAVED msgid "viewer image is not saved" msgstr "La imagen del visor no se guardĆ³" +#. FILE_FILTER_ALL_FILES +msgid "All files" +msgstr "" + +#. FILE_FILTER_IMAGES +#, fuzzy +msgid "Images" +msgstr "Imagen" + +#. FILE_FILTER_XBL +#, fuzzy +msgid "XSane batch list" +msgstr "Guardar lista de proceso por lotes" + +#. FILE_FILTER_ICM +msgid "ICC/ICM Profiles" +msgstr "" + +#. FILE_FILTER_DRC +#, fuzzy +msgid "XSane device preferences" +msgstr "Guardar preferencias de dispositivo al salir" + +#. FILE_FILTER_RC +#, fuzzy +msgid "XSane preferences" +msgstr "Preferencias" + #. TEXT_USAGE msgid "Usage:" msgstr "Uso:" @@ -2960,8 +3313,66 @@ msgstr "Sin memoria" msgid "Access to resource has been denied" msgstr "Acceso al recurso fue prohibido" -#~ msgid "Could not create temporary file" -#~ msgstr "No se puede crear archivos temporales" +#, fuzzy +#~ msgid "select scanner transmissive ICM-profile" +#~ msgstr "Borrar impresora" + +#, fuzzy +#~ msgid "select scanner transmissive gray ICM-profile" +#~ msgstr "Borrar impresora" + +#, fuzzy +#~ msgid "Scanner reflective ICM-profile" +#~ msgstr "Borrar impresora" + +#, fuzzy +#~ msgid "Scanner reflective gray ICM-profile" +#~ msgstr "Borrar impresora" + +#, fuzzy +#~ msgid "Scanner transmissive gray ICM-profile" +#~ msgstr "Borrar impresora" + +#, fuzzy +#~ msgid "Scanner reflektive ICM-profile" +#~ msgstr "Borrar impresora" + +#, fuzzy +#~ msgid "Browse for scanner transmissive ICM-profile" +#~ msgstr "Explorar nombre de archivo de imagen" + +#, fuzzy +#~ msgid "Browse for scanner transmissive gray ICM-profile" +#~ msgstr "Explorar nombre de archivo de imagen" + +#~ msgid "GIMP can't handle depth %d bits/color" +#~ msgstr "GIMP no puede manejar la profundidad de %d bits/color" + +#, fuzzy +#~ msgid "scanner reflective ICM profile" +#~ msgstr "Borrar impresora" + +#, fuzzy +#~ msgid "Embed scanner/source ICM profile for GIMP" +#~ msgstr "Borrar impresora" + +#~ msgid "Enter name of fax project" +#~ msgstr "Ingresar nombre del proyecto de fax" + +#, fuzzy +#~ msgid "Enter name of e-mail project" +#~ msgstr "Ingresar nombre del proyecto de correo electrĆ³nico" + +#, fuzzy +#~ msgid "Enter name of multipage project" +#~ msgstr "Ingresar nombre del proyecto de correo electrĆ³nico" + +#~ msgid "" +#~ "Gimp does not support depth 16 bits/color.\n" +#~ "Do you want to reduce the depth to 8 bits/color?" +#~ msgstr "" +#~ "Gimp no soporta profundidad de 16 bits/color.\n" +#~ "ĀæQuire reducir la profundidad a 8 bits/color?" #~ msgid "Could not create temporary preview files" #~ msgstr "No se puede crear archivos temporales de previsualizaciĆ³n" @@ -3030,9 +3441,6 @@ msgstr "Acceso al recurso fue prohibido" #~ msgid "Multipage saving aborted" #~ msgstr "Proyecto de correo electrĆ³nico creado" -#~ msgid "Image" -#~ msgstr "Imagen" - #~ msgid "Viewer (png):" #~ msgstr "Visor (png):" @@ -5,7 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: XSANE 0.96\n" -"POT-Creation-Date: 2006-01-07 00:26+0100\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-25 23:44+0100\n" "PO-Revision-Date: 2000-02-09 21:00+01:00\n" "Last-Translator: Laurent Grawet <laurent.grawet@ibelgique.com>\n" "Language-Team: French <fr@li.org>\n" @@ -32,6 +33,7 @@ msgid "About" msgstr "A propos" #. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +#. MENU_ITEM_ABOUT_TRANSLATION msgid "About translation" msgstr "Concernant la traduction" @@ -71,6 +73,11 @@ msgstr "Renommer l'aire de numĆ©risation" msgid "fax project" msgstr "Projet fax" +#. WINDOW_FAX_PROJECT_BROWSE +#, fuzzy +msgid "browse for fax project" +msgstr "Entrez le nom du projet fax" + #. WINDOW_FAX_RENAME msgid "rename fax page" msgstr "Renommer la page de fax" @@ -84,6 +91,11 @@ msgstr "Importer un fichier ps dans un fax" msgid "E-mail project" msgstr "Projet e-mail" +#. WINDOW_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "browse for email project" +msgstr "Entrez le nom du projet e-mail" + #. WINDOW_EMAIL_RENAME #, fuzzy msgid "rename e-mail image" @@ -99,6 +111,11 @@ msgstr "InsĆ©rer un fichier dans le message" msgid "multipage project" msgstr "Effacer un projet" +#. WINDOW_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "browse for multipage project" +msgstr "Effacer un projet" + #. WINDOW_PRESET_AREA_RENAME msgid "rename preset area" msgstr "Renommer l'aire de prĆ©sĆ©lection" @@ -144,6 +161,7 @@ msgid "Preview" msgstr "AperƧu" #. WINDOW_VIEWER +#. MENU_ITEM_VIEWER msgid "Viewer" msgstr "Visionneuse" @@ -176,14 +194,17 @@ msgid "select temporary directory" msgstr "Choisissez un rĆ©pertoire temporaire" #. WINDOW_SCALE +#. DESC_VIEWER_SCALE msgid "Scale image" msgstr "Redimensionner l'image" #. WINDOW_DESPECKLE +#. DESC_VIEWER_DESPECKLE msgid "Despeckle image" msgstr "DĆ©parasiter l'image" #. WINDOW_BLUR +#. DESC_VIEWER_BLUR msgid "Blur image" msgstr "Adoucir l'image" @@ -195,6 +216,35 @@ msgstr "Enregister la dĆ©finition du support" msgid "No devices available" msgstr "Aucun pĆ©riphĆ©rique disponible" +#. WINDOW_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "select scanner default color ICM-profile" +msgstr "Enlever une imprimante" + +#. WINDOW_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "select scanner default gray ICM-profile" +msgstr "Enlever une imprimante" + +#. WINDOW_DISPLAY_ICM_PROFILE +msgid "select display ICM-profile" +msgstr "" + +#. WINDOW_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "select custom proofing ICM-profile" +msgstr "Choisissez le nom du fichier de sortie" + +#. WINDOW_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "select working color space ICM-profile" +msgstr "Enlever une imprimante" + +#. WINDOW_PRINTER_ICM_PROFILE +#, fuzzy +msgid "select printer ICM-profile" +msgstr "Enlever une imprimante" + #. MENU_FILE msgid "File" msgstr "Fichier" @@ -212,6 +262,7 @@ msgid "Window" msgstr "FenĆŖtre" #. MENU_HELP +#. BUTTON_HELP msgid "Help" msgstr "Aide" @@ -227,6 +278,11 @@ msgstr "Filtres" msgid "Geometry" msgstr "GĆ©omĆ©trie" +#. MENU_COLOR_MANAGEMENT +#. NOTEBOOK_COLOR_MANAGEMENT_OPTIONS +msgid "Color management" +msgstr "" + #. MENU_ITEM_ABOUT_XSANE msgid "About XSane" msgstr "A propos de XSane" @@ -240,6 +296,7 @@ msgid "Quit" msgstr "Quitter" #. MENU_ITEM_SAVE_IMAGE +#. DESC_VIEWER_SAVE msgid "Save image" msgstr "Sauver l'image" @@ -256,6 +313,7 @@ msgid "Scale" msgstr "Redimensioner" #. MENU_ITEM_CLOSE +#. BUTTON_CLOSE msgid "Close" msgstr "Fermer" @@ -449,11 +507,11 @@ msgstr "Avertissement en cas d'Ć©crasement" msgid "Skip existing filenames" msgstr "Sauter les noms de fichiers existants" -#. RADIO_BUTTON_SAVE_PS_FLATDECODED +#. RADIO_BUTTON_SAVE_PS_FLATEDECODED msgid "Save postscript zlib compressed (ps level 3)" msgstr "" -#. RADIO_BUTTON_SAVE_PDF_FLATDECODED +#. RADIO_BUTTON_SAVE_PDF_FLATEDECODED msgid "Save PDF zlib compressed" msgstr "" @@ -470,7 +528,8 @@ msgid "Main window size fixed" msgstr "Taille de la fenĆŖtre principale fixe" #. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable gimp preview gamma" +#, fuzzy +msgid "Disable GIMP preview gamma" msgstr "DĆ©sactive l'aperƧu gamma de Gimp" #. RADIO_BUTTON_PRIVATE_COLORMAP @@ -493,6 +552,11 @@ msgstr "Correction automatique des couleurs" msgid "Use GUI progress pipe" msgstr "Utilise le \"pipe\" de progression GUI" +#. RADIO_BUTTON_CMS_BPC +#. MENU_ITEM_CMS_BLACK_POINT_COMPENSATION +msgid "Black point compensation" +msgstr "" + #. TEXT_SCANNING_DEVICES msgid "scanning for devices" msgstr "Recherche de pĆ©riphĆ©riques..." @@ -509,6 +573,12 @@ msgstr "Options de XSane" msgid "Type" msgstr "Type" +#. TEXT_CMS_FUNCTION +#. DESC_CMS_FUNCTION +#, fuzzy +msgid "Color management function" +msgstr "Pleine Ć©chelle couleur" + #. TEXT_SCANNER_BACKEND msgid "Scanner and backend:" msgstr "Scanner et backend:" @@ -581,18 +651,11 @@ msgstr "Formats de sortie 8 bits:" msgid "16 bit output formats:" msgstr "Formats de sortie 16 bits:" -#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT -msgid "" -"Gimp does not support depth 16 bits/color.\n" -"Do you want to reduce the depth to 8 bits/color?" -msgstr "" -"Gimp ne supporte pas la dĆ©finition 16 bits/couleur.\n" -"Voulez-vous rĆ©duire la dĆ©finition Ć 8 bits/couleur ?" - #. TEXT_REDUCE_16BIT_TO_8BIT +#, fuzzy msgid "" -"Bit depth 16 bits/color is not supported for this output format.\n" -"Do you want to reduce the depth to 8 bits/color?" +"Bit depth 16 bits/channel is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/channel?" msgstr "" "La dĆ©finition 16 bits/couleur n'est pas supportĆ©e par ce format de sortie.\n" "Voulez-vous rĆ©duire la dĆ©finition Ć 8 bits/couleur ?" @@ -629,6 +692,11 @@ msgstr "version" msgid "package" msgstr "paquetage" +#. TEXT_WITH_CMS_FUNCTION +#, fuzzy +msgid "with color management function" +msgstr "Pleine Ć©chelle couleur" + #. TEXT_WITH_GIMP_SUPPORT msgid "with GIMP support" msgstr "avec support GIMP" @@ -767,9 +835,10 @@ msgid "Medium Name:" msgstr "Nom du support:" #. TEXT_VIEWER_IMAGE_INFO -#, c-format +#, fuzzy, c-format msgid "" -"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +"Size %d x %d pixel, %d bits/channel, %d channels, %1.0f dpi x %1.0f dpi, %" +"1.1f %s" msgstr "" "Taille %d x %d points, %d bit/couleur, %d couleurs, %1.0f dpi x %1.0f dpi, %" "1.1f %s" @@ -823,6 +892,7 @@ msgid "Name:" msgstr "Nom:" #. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +#. TEXT_SETUP_FAX_COMMAND msgid "Command:" msgstr "Commande:" @@ -843,18 +913,22 @@ msgid "Color resolution (dpi):" msgstr "RĆ©solution en mode couleur (dpi):" #. TEXT_SETUP_PRINTER_WIDTH +#. TEXT_SETUP_FAX_WIDTH msgid "Width" msgstr "Largeur" #. TEXT_SETUP_PRINTER_HEIGHT +#. TEXT_SETUP_FAX_HEIGHT msgid "Height" msgstr "Longueur" #. TEXT_SETUP_PRINTER_LEFT +#. TEXT_SETUP_FAX_LEFT msgid "Left offset" msgstr "Marge gauche" #. TEXT_SETUP_PRINTER_BOTTOM +#. TEXT_SETUP_FAX_BOTTOM msgid "Bottom offset" msgstr "Marge infĆ©rieure" @@ -874,7 +948,17 @@ msgstr "Gamma vert de l'imprimante:" msgid "Printer gamma blue:" msgstr "Gamma bleu de l'imprimante:" -#. TEXT_SETUP_PRINTER_PS_FLATDECODED +#. TEXT_SETUP_PRINTER_EMBED_CSA +#, fuzzy +msgid "Embed scanner ICM profile as CSA" +msgstr "Enlever une imprimante" + +#. TEXT_SETUP_PRINTER_EMBED_CRD +#, fuzzy +msgid "Embed printer ICM profile as CRD" +msgstr "Enlever une imprimante" + +#. TEXT_SETUP_PRINTER_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for printing" msgstr "" @@ -999,7 +1083,7 @@ msgstr "Options par dĆ©faut pour:" msgid "Viewer (Postscript):" msgstr "Visionneuse (PostScript):" -#. TEXT_SETUP_FAX_PS_FLATDECODED +#. TEXT_SETUP_FAX_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for fax" msgstr "" @@ -1078,10 +1162,45 @@ msgstr "groupe" msgid "all" msgstr "tous" +#. TEXT_SETUP_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "Scanner default color ICM-profile" +msgstr "Enlever une imprimante" + +#. TEXT_SETUP_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "Scanner default gray ICM-profile" +msgstr "Enlever une imprimante" + +#. TEXT_SETUP_DISPLAY_ICM_PROFILE +#. DESC_DISPLAY_ICM_PROFILE +msgid "Display ICM-profile" +msgstr "" + +#. TEXT_SETUP_CUSTOM_PROOFING_ICM_PROFILE +#. DESC_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "Custom proofing ICM-profile" +msgstr "Enlever une imprimante" + +#. TEXT_SETUP_WORKING_COLOR_SPACE_ICM_PROFILE +#. DESC_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "Working color space ICM-profile" +msgstr "Parcourir pour un nom d'image" + +#. TEXT_SETUP_PRINTER_ICM_PROFILE +#. DESC_PRINTER_ICM_PROFILE +msgid "Printer ICM-profile" +msgstr "" + msgid "new media" msgstr "nouveau support" #. NOTEBOOK_SAVING_OPTIONS +#. MENU_ITEM_SAVE msgid "Save" msgstr "Enregistrer" @@ -1091,14 +1210,17 @@ msgid "Filetype" msgstr "Fichier" #. NOTEBOOK_COPY_OPTIONS +#. MENU_ITEM_COPY msgid "Copy" msgstr "Copier" #. NOTEBOOK_FAX_OPTIONS +#. MENU_ITEM_FAX msgid "Fax" msgstr "Faxer" #. NOTEBOOK_EMAIL_OPTIONS +#. MENU_ITEM_EMAIL #, fuzzy msgid "E-mail" msgstr "e-mail" @@ -1191,6 +1313,12 @@ msgstr "Afficher la liste des rĆ©solutions" msgid "Rotate postscript" msgstr "Rotation PostScript" +#. MENU_ITEM_ENABLE_COLOR_MANAGEMENT +#. MENU_ITEM_CMS_ENABLE_COLOR_MANAGEMENT +#, fuzzy +msgid "Enable color management" +msgstr "Pleine Ć©chelle couleur" + #. MENU_ITEM_EDIT_MEDIUM_DEF msgid "Edit medium definition" msgstr "Editer la dĆ©finition du support" @@ -1235,6 +1363,86 @@ msgstr "Conseils de numĆ©risation" msgid "Problems?" msgstr "ProblĆØmes?" +#. MENU_ITEM_CMS_PROOFING +#, fuzzy +msgid "Proofing" +msgstr "Ajouter une imprimante" + +#. SUBMENU_ITEM_CMS_PROOF_OFF +msgid "no proofing (Display)" +msgstr "" + +#. SUBMENU_ITEM_CMS_PROOF_PRINTER +#, fuzzy +msgid "Proof printer" +msgstr "Ajouter une imprimante" + +#. SUBMENU_ITEM_CMS_PROOF_CUSTOM +msgid "Proof custom device" +msgstr "" + +#. MENU_ITEM_CMS_RENDERING_INTENT +#, fuzzy +msgid "Rendering intent" +msgstr "Ajouter une imprimante" + +#. MENU_ITEM_CMS_PROOFING_INTENT +#, fuzzy +msgid "Proofing rendering intent" +msgstr "Ajouter une imprimante" + +#. SUBMENU_ITEM_CMS_INTENT_PERCEPTUAL +msgid "Perceptual" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_RELATIVE_COLORIMETRIC +msgid "Relative colorimetric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_ABSOLUTE_COLORIMETRIC +msgid "Absolute colorimentric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_SATURATION +#, fuzzy +msgid "Saturation" +msgstr "Autorisation" + +#. MENU_ITEM_CMS_GAMUT_CHECK +msgid "Gamut check" +msgstr "" + +#. MENU_ITEM_CMS_GAMUT_ALARM_COLOR +msgid "Gamut alarm color" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLACK +msgid "Black" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_GRAY +msgid "Gray" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_WHITE +#, fuzzy +msgid "White" +msgstr "Ć©criture" + +#. SUBMENU_ITEM_CMS_COLOR_RED +#, fuzzy +msgid "Red" +msgstr "RĆ©duire" + +#. SUBMENU_ITEM_CMS_COLOR_GREEN +msgid "Green" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLUE +#, fuzzy +msgid "Blue" +msgstr "Flou" + #. MENU_ITEM_COUNTER_LEN_INACTIVE msgid "inactive" msgstr "inactif" @@ -1353,6 +1561,20 @@ msgstr "" msgid "ASMTP CRAM-MD5" msgstr "" +#. MENU_ITEM_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE +#, fuzzy +msgid "Embed scanner ICM profile" +msgstr "Enlever une imprimante" + +#. MENU_ITEM_CMS_FUNCTION_CONVERT_TO_SRGB +msgid "Convert to sRGB" +msgstr "" + +#. MENU_ITEM_FUNCTION_CONVERT_TO_WORKING_CS +#, fuzzy +msgid "Convert to working color space" +msgstr "Correction automatique des couleurs" + #. PROGRESS_SCANNING msgid "Scanning" msgstr "NumĆ©risation..." @@ -1411,6 +1633,11 @@ msgstr "Flou de l'image..." msgid "OCR in progress" msgstr "OCR en cours..." +#. PROGRESS_ICM_CONVERSION +#, fuzzy +msgid "converting colors" +msgstr "Correction automatique des couleurs" + #. DESC_SCAN_START msgid "Start scan <Ctrl-Enter>" msgstr "NumĆ©riser <Ctrl-Enter>" @@ -1471,8 +1698,9 @@ msgstr "" "automatiquement ajoutĆ©e" #. DESC_FAXPROJECT -msgid "Enter name of fax project" -msgstr "Entrez le nom du projet fax" +#, fuzzy +msgid "Enter fax project directory name" +msgstr "Parcourir pour un rĆ©pertoire temporaire" #. DESC_FAXPAGENAME msgid "Enter new name for faxpage" @@ -1482,10 +1710,15 @@ msgstr "Entrez le nouveau nom pour la page de fax" msgid "Enter receiver phone number or address" msgstr "Entrez le numĆ©ro de tĆ©l. ou l'adresse du destinataire" +#. DESC_FAX_PROJECT_BROWSE +#, fuzzy +msgid "Browse for fax project directory" +msgstr "Parcourir pour un rĆ©pertoire temporaire" + #. DESC_EMAIL_PROJECT #, fuzzy -msgid "Enter name of e-mail project" -msgstr "Entrez le nom du projet e-mail" +msgid "Enter e-mail project directory name" +msgstr "Parcourir pour un rĆ©pertoire temporaire" #. DESC_EMAIL_IMAGENAME #, fuzzy @@ -1497,6 +1730,11 @@ msgstr "Entrez le nouveau nom pour l'image du message" msgid "Enter e-mail address" msgstr "Entrez l'adresse e-mail" +#. DESC_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "Browse for email project directory" +msgstr "Parcourir pour un rĆ©pertoire temporaire" + #. DESC_EMAIL_SUBJECT #, fuzzy msgid "Enter subject of e-mail" @@ -1508,8 +1746,13 @@ msgstr "SĆ©lectionnez le type de fichier pour les attachements" #. DESC_MULTIPAGE_PROJECT #, fuzzy -msgid "Enter name of multipage project" -msgstr "Entrez le nom du projet e-mail" +msgid "Enter multipage project directory name" +msgstr "Parcourir pour un rĆ©pertoire temporaire" + +#. DESC_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "Browse for multipage project directory" +msgstr "Parcourir pour un rĆ©pertoire temporaire" #. DESC_MULTIPAGE_FILETYPE #, fuzzy @@ -1636,7 +1879,8 @@ msgstr "" " contraste = 0" #. DESC_ENH_AUTO -msgid "Autoadjust gamma, brightness and contrast <Ctrl-e>" +#, fuzzy +msgid "Autoadjust gamma, brightness and contrast <Ctrl-a>" msgstr "Ajuste automatiquement gamma, luminositĆ© et contraste <Ctrl-e>" #. DESC_ENH_DEFAULT @@ -1720,18 +1964,22 @@ msgstr "" "imprimĆ©es en PostScript" #. DESC_PRINTER_WIDTH +#. DESC_FAX_WIDTH msgid "Width of printable area" msgstr "Largeur de la zone imprimable" #. DESC_PRINTER_HEIGHT +#. DESC_FAX_HEIGHT msgid "Height of printable area" msgstr "Longueur de la zone imprimable" #. DESC_PRINTER_LEFTOFFSET +#. DESC_FAX_LEFTOFFSET msgid "Left offset from the edge of the paper to the printable area" msgstr "Marge entre le bord gauche du papier et l'aire imprimable" #. DESC_PRINTER_BOTTOMOFFSET +#. DESC_FAX_BOTTOMOFFSET msgid "Bottom offset from the edge of the paper to the printable area" msgstr "Marge entre le bord infĆ©rieur du papier et l'aire imprimable en mm" @@ -1751,9 +1999,17 @@ msgstr "Gamma additionnel pour la composante verte pour la photocopie" msgid "Additional gamma value for blue component for photocopy" msgstr "Gamma additionnel pour la composante bleue pour la photocopie" -#. DESC_PRINTER_PS_FLATDECODED +#. DESC_PRINTER_EMBED_CSA +msgid "Creates a postsciptfile that contains the ICM profile of the scanner" +msgstr "" + +#. DESC_PRINTER_EMBED_CRD +msgid "Creates a postsciptfile that contains the ICM profile of the printer" +msgstr "" + +#. DESC_PRINTER_PS_FLATEDECODED msgid "" -"Create zlib compressed postscript image for printer (flatdecode).\n" +"Create zlib compressed postscript image for printer (flatedecode).\n" "The printer has to understand postscript level 3!" msgstr "" @@ -1814,14 +2070,14 @@ msgstr "" "Si un compteur de noms de fichiers est utilisĆ©, les nombres dĆ©jĆ utilisĆ©s " "sont Ć©vitĆ©s" -#. DESC_SAVE_PS_FLATDECODED +#. DESC_SAVE_PS_FLATEDECODED msgid "" -"compress postscript image with zlib algorithm (flatdecode). When you want to " -"print such a file your printer has to understand postscript level 3" +"compress postscript image with zlib algorithm (flatedecode). When you want " +"to print such a file your printer has to understand postscript level 3" msgstr "" -#. DESC_SAVE_PDF_FLATDECODED -msgid "compress PDF image with zlib algorithm (flatdecode)." +#. DESC_SAVE_PDF_FLATEDECODED +msgid "compress PDF image with zlib algorithm (flatedecode)." msgstr "" #. DESC_SAVE_PNM16_AS_ASCII @@ -1837,7 +2093,9 @@ msgstr "" "supportĆ© par plus de programmes mais produit de trĆØs gros fichiers !!!" #. DESC_REDUCE_16BIT_TO_8BIT -msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +#, fuzzy +msgid "" +"If scanner sends image with 16 bits/channel save image with 8 bits/channel" msgstr "" "Si le scanner envoie une image en 16 bits/couleur, sauver l'image en 8 bits/" "couleur" @@ -1873,7 +2131,8 @@ msgstr "" "principale redimensionable" #. DESC_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable preview gamma when XSane runs as gimp plugin" +#, fuzzy +msgid "Disable preview gamma when XSane runs as GIMP plugin" msgstr "DĆ©sactive l'aperƧu gamma quand XSane fonctionne comme un plugin Gimp" #. DESC_PREVIEW_COLORMAP @@ -1977,6 +2236,16 @@ msgstr "" msgid "Do color correction after preview scan has finished" msgstr "Corrige les couleurs une fois la prĆ©visualisation terminĆ©e" +#. DESC_RENDERING_INTENT +#, fuzzy +msgid "Select rendering intent for preview and saving" +msgstr "" +"SĆ©lectionne l'aire de numĆ©risation une fois la prĆ©visualisation terminĆ©e" + +#. DESC_CMS_BPC +msgid "Apply black point compensation when color transformation is done" +msgstr "" + #. DESC_FAX_COMMAND msgid "Enter command to be executed in fax mode" msgstr "Entrez la commande Ć exĆ©cuter en mode fax" @@ -2007,8 +2276,8 @@ msgstr "" "Envoie un fax avec une rĆ©solution verticale Ć©levĆ©e (196 lpi Ć la place de 98 " "lpi)" -#. DESC_FAX_PS_FLATDECODED -msgid "Create zlib compressed postscript image for fax (flatdecode)" +#. DESC_FAX_PS_FLATEDECODED +msgid "Create zlib compressed postscript image for fax (flatedecode)" msgstr "" #. DESC_SMTP_SERVER @@ -2093,9 +2362,10 @@ msgstr "lecture" msgid "write" msgstr "Ć©criture" -#. DESC_PERMISSION_EXECUTE -msgid "execute" -msgstr "exĆ©cution" +#. DESC_PERMISSION_SEARCH +#, fuzzy +msgid "search" +msgstr "utilisateur" #. DESC_ADD_BATCH msgid "Add selection for batch scan" @@ -2264,6 +2534,36 @@ msgstr "Supprime l'aire sĆ©lectionnĆ©e de la liste" msgid "Turns on automatic mode" msgstr "Actionne le mode automatique" +#. DESC_BUTTON_SCANNER_DEFAULT_COLOR_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default color ICM-profile" +msgstr "Parcourir pour un nom d'image" + +#. DESC_BUTTON_SCANNER_DEFAULT_GRAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default gray ICM-profile" +msgstr "Parcourir pour un nom d'image" + +#. DESC_BUTTON_DISPLAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for display ICM-profile" +msgstr "Parcourir pour un nom d'image" + +#. DESC_BUTTON_PRINTER_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for printer ICM-profile" +msgstr "Parcourir pour un nom d'image" + +#. DESC_BUTTON_CUSTOM_PROOFING_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for custom proofing ICM-profile" +msgstr "Parcourir pour un nom d'image" + +#. DESC_BUTTON_WORKING_COLOR_SPACE_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for working color space ICM-profile" +msgstr "Parcourir pour un nom d'image" + #. ERR_HOME_DIR msgid "Failed to determine home directory:" msgstr "Impossible de dĆ©terminer le rĆ©pertoire personnel:" @@ -2316,11 +2616,6 @@ msgstr "Erreur pendant la sauvegarde" msgid "Can't handle depth" msgstr "Ne supporte pas le mode" -#. ERR_GIMP_BAD_DEPTH -#, c-format -msgid "GIMP can't handle depth %d bits/color" -msgstr "GIMP ne supporte pas la profondeur %d bits/color" - #. ERR_UNKNOWN_SAVING_FORMAT msgid "Unknown file format for saving" msgstr "Format de sauvegarde inconnu" @@ -2555,10 +2850,68 @@ msgstr "Le fichier %s n'est pas un fichier PostScript" msgid "Unsupported %d-bit output format: %s" msgstr "Format de sortie %d-bit non supportĆ©: %s" +#. ERR_CMS_CONVERSION +#, fuzzy +msgid "Error during CMS conversion:" +msgstr "Erreur pendant la sauvegarde" + +#. ERR_CMS_OPEN_ICM_FILE +#, fuzzy +msgid "Could not open" +msgstr "Echec de l'ouverture" + +#. CMS_SCANNER_ICM +#, fuzzy +msgid "scanner ICM profile" +msgstr "Enlever une imprimante" + +#. CMS_DISPLAY_ICM +#, fuzzy +msgid "display ICM profile" +msgstr "Parcourir pour un nom d'image" + +#. CMS_PROOF_ICM +#, fuzzy +msgid "proofing ICM profile" +msgstr "Enlever une imprimante" + +#. ERR_CMS_CREATE_TRANSFORM +#, fuzzy +msgid "Could not create transform" +msgstr "Ne peut crĆ©er de fichier temporaire" + #. WARN_VIEWER_IMAGE_NOT_SAVED msgid "viewer image is not saved" msgstr "L'image de la visionneuse n'est pas sauvegardĆ©e" +#. FILE_FILTER_ALL_FILES +msgid "All files" +msgstr "" + +#. FILE_FILTER_IMAGES +#, fuzzy +msgid "Images" +msgstr "Image" + +#. FILE_FILTER_XBL +#, fuzzy +msgid "XSane batch list" +msgstr "Sauve la liste" + +#. FILE_FILTER_ICM +msgid "ICC/ICM Profiles" +msgstr "" + +#. FILE_FILTER_DRC +#, fuzzy +msgid "XSane device preferences" +msgstr "Sauver les paramĆØtres du pĆ©riphĆ©rique en quittant" + +#. FILE_FILTER_RC +#, fuzzy +msgid "XSane preferences" +msgstr "PrĆ©fĆ©rences" + #. TEXT_USAGE msgid "Usage:" msgstr "Usage:" @@ -2948,8 +3301,66 @@ msgstr "DĆ©passement de mĆ©moire" msgid "Access to resource has been denied" msgstr "AccĆØs Ć la ressource refusĆ©" -#~ msgid "Could not create temporary file" -#~ msgstr "Ne peut crĆ©er de fichier temporaire" +#, fuzzy +#~ msgid "select scanner transmissive ICM-profile" +#~ msgstr "Enlever une imprimante" + +#, fuzzy +#~ msgid "select scanner transmissive gray ICM-profile" +#~ msgstr "Enlever une imprimante" + +#, fuzzy +#~ msgid "Scanner reflective ICM-profile" +#~ msgstr "Enlever une imprimante" + +#, fuzzy +#~ msgid "Scanner reflective gray ICM-profile" +#~ msgstr "Enlever une imprimante" + +#, fuzzy +#~ msgid "Scanner transmissive gray ICM-profile" +#~ msgstr "Enlever une imprimante" + +#, fuzzy +#~ msgid "Scanner reflektive ICM-profile" +#~ msgstr "Enlever une imprimante" + +#, fuzzy +#~ msgid "Browse for scanner transmissive ICM-profile" +#~ msgstr "Parcourir pour un nom d'image" + +#, fuzzy +#~ msgid "Browse for scanner transmissive gray ICM-profile" +#~ msgstr "Parcourir pour un nom d'image" + +#~ msgid "GIMP can't handle depth %d bits/color" +#~ msgstr "GIMP ne supporte pas la profondeur %d bits/color" + +#, fuzzy +#~ msgid "scanner reflective ICM profile" +#~ msgstr "Enlever une imprimante" + +#, fuzzy +#~ msgid "Embed scanner/source ICM profile for GIMP" +#~ msgstr "Enlever une imprimante" + +#~ msgid "Enter name of fax project" +#~ msgstr "Entrez le nom du projet fax" + +#, fuzzy +#~ msgid "Enter name of e-mail project" +#~ msgstr "Entrez le nom du projet e-mail" + +#, fuzzy +#~ msgid "Enter name of multipage project" +#~ msgstr "Entrez le nom du projet e-mail" + +#~ msgid "" +#~ "Gimp does not support depth 16 bits/color.\n" +#~ "Do you want to reduce the depth to 8 bits/color?" +#~ msgstr "" +#~ "Gimp ne supporte pas la dĆ©finition 16 bits/couleur.\n" +#~ "Voulez-vous rĆ©duire la dĆ©finition Ć 8 bits/couleur ?" #~ msgid "Could not create temporary preview files" #~ msgstr "Ne peut pas crĆ©er de fichiers temporaires de prĆ©visualisation" @@ -3019,9 +3430,6 @@ msgstr "AccĆØs Ć la ressource refusĆ©" #~ msgid "Multipage saving aborted" #~ msgstr "Projet d'e-mail crĆ©Ć©" -#~ msgid "Image" -#~ msgstr "Image" - #~ msgid "Viewer (png):" #~ msgstr "Visionneuse (png):" @@ -5,7 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: hu\n" -"POT-Creation-Date: 2006-01-07 00:26+0100\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-25 23:44+0100\n" "PO-Revision-Date: 2005-12-31 10:34+0100\n" "Last-Translator: Aron Novak <aaron@szentimre.hu>\n" "Language-Team: Hungarian\n" @@ -33,6 +34,7 @@ msgid "About" msgstr "NĆ©vjegy" #. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +#. MENU_ITEM_ABOUT_TRANSLATION msgid "About translation" msgstr "FordĆtĆ”s nĆ©vjegye" @@ -72,6 +74,11 @@ msgstr "kƶtegelt terĆ¼let Ć”tnevezĆ©se" msgid "fax project" msgstr "faxterv" +#. WINDOW_FAX_PROJECT_BROWSE +#, fuzzy +msgid "browse for fax project" +msgstr "Add meg a terv nevĆ©t" + #. WINDOW_FAX_RENAME msgid "rename fax page" msgstr "faxoldal Ć”tnevezĆ©se" @@ -84,6 +91,11 @@ msgstr "ps fĆ”jl beszĆŗrĆ”sa a faxba" msgid "E-mail project" msgstr "levĆ©lterv" +#. WINDOW_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "browse for email project" +msgstr "Add meg a levĆ©lterv nevĆ©t" + #. WINDOW_EMAIL_RENAME msgid "rename e-mail image" msgstr "email - kĆ©p Ć”tnevezĆ©se" @@ -96,6 +108,11 @@ msgstr "fĆ”jl beszĆŗrĆ”sa levĆ©lbe" msgid "multipage project" msgstr "tƶbb oldalas terv" +#. WINDOW_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "browse for multipage project" +msgstr "tƶbb oldalas terv" + #. WINDOW_PRESET_AREA_RENAME msgid "rename preset area" msgstr "kijelƶlĆ©s tƶrlĆ©se" @@ -141,6 +158,7 @@ msgid "Preview" msgstr "ElÅnĆ©zet" #. WINDOW_VIEWER +#. MENU_ITEM_VIEWER msgid "Viewer" msgstr "MutatĆ”s" @@ -173,14 +191,17 @@ msgid "select temporary directory" msgstr "ideiglenes kƶnyvtĆ”r megadĆ”sa" #. WINDOW_SCALE +#. DESC_VIEWER_SCALE msgid "Scale image" msgstr "KĆ©p Ć”tmĆ©retezĆ©se" #. WINDOW_DESPECKLE +#. DESC_VIEWER_DESPECKLE msgid "Despeckle image" msgstr "SzemcsĆ©zettsĆ©g csƶkkentĆ©se" #. WINDOW_BLUR +#. DESC_VIEWER_BLUR msgid "Blur image" msgstr "KĆ©p elmosĆ”sa" @@ -192,6 +213,35 @@ msgstr "KƶzĆ©pmeghatĆ”rozĆ”s tĆ”rolĆ”sa" msgid "No devices available" msgstr "Nincs elĆ©rhetÅ eszkƶz" +#. WINDOW_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "select scanner default color ICM-profile" +msgstr "NyomtatĆ³ tƶrlĆ©se" + +#. WINDOW_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "select scanner default gray ICM-profile" +msgstr "NyomtatĆ³ tƶrlĆ©se" + +#. WINDOW_DISPLAY_ICM_PROFILE +msgid "select display ICM-profile" +msgstr "" + +#. WINDOW_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "select custom proofing ICM-profile" +msgstr "kimeneti fĆ”jlnĆ©v megadĆ”sa" + +#. WINDOW_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "select working color space ICM-profile" +msgstr "NyomtatĆ³ tƶrlĆ©se" + +#. WINDOW_PRINTER_ICM_PROFILE +#, fuzzy +msgid "select printer ICM-profile" +msgstr "NyomtatĆ³ tƶrlĆ©se" + #. MENU_FILE msgid "File" msgstr "FĆ”jl" @@ -209,6 +259,7 @@ msgid "Window" msgstr "Ablak" #. MENU_HELP +#. BUTTON_HELP msgid "Help" msgstr "SĆŗgĆ³" @@ -224,6 +275,11 @@ msgstr "SzűrÅk" msgid "Geometry" msgstr "ĆtalakĆtĆ”s" +#. MENU_COLOR_MANAGEMENT +#. NOTEBOOK_COLOR_MANAGEMENT_OPTIONS +msgid "Color management" +msgstr "" + #. MENU_ITEM_ABOUT_XSANE msgid "About XSane" msgstr "Az XSane nĆ©vjegye" @@ -237,6 +293,7 @@ msgid "Quit" msgstr "KilĆ©pĆ©s" #. MENU_ITEM_SAVE_IMAGE +#. DESC_VIEWER_SAVE msgid "Save image" msgstr "KĆ©p mentĆ©se" @@ -253,6 +310,7 @@ msgid "Scale" msgstr "ĆtmĆ©retezĆ©s" #. MENU_ITEM_CLOSE +#. BUTTON_CLOSE msgid "Close" msgstr "BezĆ”rĆ”s" @@ -444,11 +502,11 @@ msgstr "FigyelmeztetĆ©s felĆ¼lĆrĆ”skor" msgid "Skip existing filenames" msgstr "LĆ©tezÅ fĆ”jlnevek kihagyĆ”sa" -#. RADIO_BUTTON_SAVE_PS_FLATDECODED +#. RADIO_BUTTON_SAVE_PS_FLATEDECODED msgid "Save postscript zlib compressed (ps level 3)" msgstr "MentĆ©s postscript zlib tƶmƶrĆtettben (ps level 3)" -#. RADIO_BUTTON_SAVE_PDF_FLATDECODED +#. RADIO_BUTTON_SAVE_PDF_FLATEDECODED msgid "Save PDF zlib compressed" msgstr "MentĆ©s PDF-ben, zlibbel tƶmƶrĆtve" @@ -465,7 +523,8 @@ msgid "Main window size fixed" msgstr "A fÅablak rƶgzĆtett mĆ©retű" #. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable gimp preview gamma" +#, fuzzy +msgid "Disable GIMP preview gamma" msgstr "A gimp elÅnĆ©zeti gamma tiltĆ”sa" #. RADIO_BUTTON_PRIVATE_COLORMAP @@ -488,6 +547,11 @@ msgstr "SzĆnek automatikus javĆtĆ”sa" msgid "Use GUI progress pipe" msgstr "A GUI folyamatjelzÅ hasznĆ”lata" +#. RADIO_BUTTON_CMS_BPC +#. MENU_ITEM_CMS_BLACK_POINT_COMPENSATION +msgid "Black point compensation" +msgstr "" + #. TEXT_SCANNING_DEVICES msgid "scanning for devices" msgstr "eszkƶzƶk keresĆ©se" @@ -504,6 +568,12 @@ msgstr "XSane beĆ”llĆtĆ”sok" msgid "Type" msgstr "TĆpus" +#. TEXT_CMS_FUNCTION +#. DESC_CMS_FUNCTION +#, fuzzy +msgid "Color management function" +msgstr "Teljes szĆnmĆ©lysĆ©g" + #. TEXT_SCANNER_BACKEND msgid "Scanner and backend:" msgstr "LapolvasĆ³ Ć©s backend:" @@ -576,18 +646,11 @@ msgstr "8 bites kimeneti formĆ”tumok:" msgid "16 bit output formats:" msgstr "16 bites kimeneti formĆ”tumok:" -#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT -msgid "" -"Gimp does not support depth 16 bits/color.\n" -"Do you want to reduce the depth to 8 bits/color?" -msgstr "" -"A Gimp nem tĆ”mogatja a 16 bites szĆnmĆ©lysĆ©get.\n" -"SzeretnĆ©d csƶkkenteni 8 bitesre?" - #. TEXT_REDUCE_16BIT_TO_8BIT +#, fuzzy msgid "" -"Bit depth 16 bits/color is not supported for this output format.\n" -"Do you want to reduce the depth to 8 bits/color?" +"Bit depth 16 bits/channel is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/channel?" msgstr "" "A 16 bites szĆnmĆ©lysĆ©g nem tĆ”mogatott ehhez a formĆ”tumhozCsƶkkentsĆ¼k 8 " "bitesre?" @@ -624,6 +687,11 @@ msgstr "vĆ”ltozat:" msgid "package" msgstr "csomag" +#. TEXT_WITH_CMS_FUNCTION +#, fuzzy +msgid "with color management function" +msgstr "Teljes szĆnmĆ©lysĆ©g" + #. TEXT_WITH_GIMP_SUPPORT msgid "with GIMP support" msgstr "GIMP tĆ”mogatĆ”ssal" @@ -753,9 +821,10 @@ msgid "Medium Name:" msgstr "KƶzĆ©p neve:" #. TEXT_VIEWER_IMAGE_INFO -#, c-format +#, fuzzy, c-format msgid "" -"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +"Size %d x %d pixel, %d bits/channel, %d channels, %1.0f dpi x %1.0f dpi, %" +"1.1f %s" msgstr "" "MĆ©ret %d x %d kĆ©ppont, %d bit/szĆn, %d szĆn, %1.0f dpi x %1.0f dpi, %1.1f %s" @@ -808,6 +877,7 @@ msgid "Name:" msgstr "NĆ©v:" #. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +#. TEXT_SETUP_FAX_COMMAND msgid "Command:" msgstr "Parancs:" @@ -828,18 +898,22 @@ msgid "Color resolution (dpi):" msgstr "SzĆnes felbontĆ”s (dpi):" #. TEXT_SETUP_PRINTER_WIDTH +#. TEXT_SETUP_FAX_WIDTH msgid "Width" msgstr "SzĆ©lessĆ©g" #. TEXT_SETUP_PRINTER_HEIGHT +#. TEXT_SETUP_FAX_HEIGHT msgid "Height" msgstr "MagassĆ”g" #. TEXT_SETUP_PRINTER_LEFT +#. TEXT_SETUP_FAX_LEFT msgid "Left offset" msgstr "Jobb eltolĆ”s" #. TEXT_SETUP_PRINTER_BOTTOM +#. TEXT_SETUP_FAX_BOTTOM msgid "Bottom offset" msgstr "Lenti eltolĆ”s" @@ -859,7 +933,17 @@ msgstr "NyomtatĆ³ zƶld gammĆ”ja:" msgid "Printer gamma blue:" msgstr "NyomtatĆ³ kĆ©k gammĆ”ja:" -#. TEXT_SETUP_PRINTER_PS_FLATDECODED +#. TEXT_SETUP_PRINTER_EMBED_CSA +#, fuzzy +msgid "Embed scanner ICM profile as CSA" +msgstr "NyomtatĆ³ tƶrlĆ©se" + +#. TEXT_SETUP_PRINTER_EMBED_CRD +#, fuzzy +msgid "Embed printer ICM profile as CRD" +msgstr "NyomtatĆ³ tƶrlĆ©se" + +#. TEXT_SETUP_PRINTER_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for printing" msgstr "Zlibbel tƶmƶrĆtett postscript lĆ©trehozĆ”sa nyomtatĆ”shoz (ps level 3)" @@ -983,7 +1067,7 @@ msgstr "AlapĆ©rtelmezett beĆ”llĆtĆ”sok ehhez:" msgid "Viewer (Postscript):" msgstr "NĆ©zÅke (Postscript):" -#. TEXT_SETUP_FAX_PS_FLATDECODED +#. TEXT_SETUP_FAX_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for fax" msgstr "Zlibbel tƶmƶrĆtett postscript lĆ©trehozĆ”sa faxhoz (ps level 3)" @@ -1059,10 +1143,45 @@ msgstr "csoport" msgid "all" msgstr "mindenki mĆ”s" +#. TEXT_SETUP_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "Scanner default color ICM-profile" +msgstr "NyomtatĆ³ tƶrlĆ©se" + +#. TEXT_SETUP_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "Scanner default gray ICM-profile" +msgstr "NyomtatĆ³ tƶrlĆ©se" + +#. TEXT_SETUP_DISPLAY_ICM_PROFILE +#. DESC_DISPLAY_ICM_PROFILE +msgid "Display ICM-profile" +msgstr "" + +#. TEXT_SETUP_CUSTOM_PROOFING_ICM_PROFILE +#. DESC_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "Custom proofing ICM-profile" +msgstr "NyomtatĆ³ tƶrlĆ©se" + +#. TEXT_SETUP_WORKING_COLOR_SPACE_ICM_PROFILE +#. DESC_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "Working color space ICM-profile" +msgstr "KĆ©p fĆ”jlnevĆ©nek bƶngĆ©szĆ©se" + +#. TEXT_SETUP_PRINTER_ICM_PROFILE +#. DESC_PRINTER_ICM_PROFILE +msgid "Printer ICM-profile" +msgstr "" + msgid "new media" msgstr "Ćŗj mĆ©dia" #. NOTEBOOK_SAVING_OPTIONS +#. MENU_ITEM_SAVE msgid "Save" msgstr "MentĆ©s" @@ -1071,14 +1190,17 @@ msgid "Filetype" msgstr "FĆ”jl tĆpusa" #. NOTEBOOK_COPY_OPTIONS +#. MENU_ITEM_COPY msgid "Copy" msgstr "MĆ”solĆ”s" #. NOTEBOOK_FAX_OPTIONS +#. MENU_ITEM_FAX msgid "Fax" msgstr "FaxolĆ”s" #. NOTEBOOK_EMAIL_OPTIONS +#. MENU_ITEM_EMAIL msgid "E-mail" msgstr "Email" @@ -1170,6 +1292,12 @@ msgstr "FelbontĆ”sok mutatĆ”sa" msgid "Rotate postscript" msgstr "Postscript forgatĆ”sa" +#. MENU_ITEM_ENABLE_COLOR_MANAGEMENT +#. MENU_ITEM_CMS_ENABLE_COLOR_MANAGEMENT +#, fuzzy +msgid "Enable color management" +msgstr "Teljes szĆnmĆ©lysĆ©g" + #. MENU_ITEM_EDIT_MEDIUM_DEF msgid "Edit medium definition" msgstr "RĆ©szletes hangolĆ”s" @@ -1214,6 +1342,86 @@ msgstr "BeolvasĆ”si tanĆ”csok" msgid "Problems?" msgstr "Elakadt?" +#. MENU_ITEM_CMS_PROOFING +#, fuzzy +msgid "Proofing" +msgstr "NyomtatĆ³ hozzĆ”adĆ”sa" + +#. SUBMENU_ITEM_CMS_PROOF_OFF +msgid "no proofing (Display)" +msgstr "" + +#. SUBMENU_ITEM_CMS_PROOF_PRINTER +#, fuzzy +msgid "Proof printer" +msgstr "NyomtatĆ³ hozzĆ”adĆ”sa" + +#. SUBMENU_ITEM_CMS_PROOF_CUSTOM +msgid "Proof custom device" +msgstr "" + +#. MENU_ITEM_CMS_RENDERING_INTENT +#, fuzzy +msgid "Rendering intent" +msgstr "NyomtatĆ³ hozzĆ”adĆ”sa" + +#. MENU_ITEM_CMS_PROOFING_INTENT +#, fuzzy +msgid "Proofing rendering intent" +msgstr "NyomtatĆ³ hozzĆ”adĆ”sa" + +#. SUBMENU_ITEM_CMS_INTENT_PERCEPTUAL +msgid "Perceptual" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_RELATIVE_COLORIMETRIC +msgid "Relative colorimetric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_ABSOLUTE_COLORIMETRIC +msgid "Absolute colorimentric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_SATURATION +#, fuzzy +msgid "Saturation" +msgstr "engedĆ©lyezĆ©s" + +#. MENU_ITEM_CMS_GAMUT_CHECK +msgid "Gamut check" +msgstr "" + +#. MENU_ITEM_CMS_GAMUT_ALARM_COLOR +msgid "Gamut alarm color" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLACK +msgid "Black" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_GRAY +msgid "Gray" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_WHITE +#, fuzzy +msgid "White" +msgstr "ĆrĆ”s" + +#. SUBMENU_ITEM_CMS_COLOR_RED +#, fuzzy +msgid "Red" +msgstr "Csƶkkent" + +#. SUBMENU_ITEM_CMS_COLOR_GREEN +msgid "Green" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLUE +#, fuzzy +msgid "Blue" +msgstr "ElmosĆ”s" + #. MENU_ITEM_COUNTER_LEN_INACTIVE msgid "inactive" msgstr "inaktĆv" @@ -1330,6 +1538,20 @@ msgstr "ASMTP bejelentkezĆ©s" msgid "ASMTP CRAM-MD5" msgstr "ASMTP CRAM-MD5" +#. MENU_ITEM_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE +#, fuzzy +msgid "Embed scanner ICM profile" +msgstr "NyomtatĆ³ tƶrlĆ©se" + +#. MENU_ITEM_CMS_FUNCTION_CONVERT_TO_SRGB +msgid "Convert to sRGB" +msgstr "" + +#. MENU_ITEM_FUNCTION_CONVERT_TO_WORKING_CS +#, fuzzy +msgid "Convert to working color space" +msgstr "SzĆnek automatikus javĆtĆ”sa" + #. PROGRESS_SCANNING msgid "Scanning" msgstr "BeolvasĆ”s" @@ -1387,6 +1609,11 @@ msgstr "KĆ©p elmosĆ”sa" msgid "OCR in progress" msgstr "SzƶvegfelismerĆ©s folyamatban" +#. PROGRESS_ICM_CONVERSION +#, fuzzy +msgid "converting colors" +msgstr "SzĆnek automatikus javĆtĆ”sa" + #. DESC_SCAN_START msgid "Start scan <Ctrl-Enter>" msgstr "BeolvasĆ”s indĆtĆ”sa <Ctrl-Enter>" @@ -1446,8 +1673,9 @@ msgstr "" "fĆ”jlnĆ©vhez" #. DESC_FAXPROJECT -msgid "Enter name of fax project" -msgstr "Add meg a terv nevĆ©t" +#, fuzzy +msgid "Enter fax project directory name" +msgstr "TallĆ³zĆ”s az ideiglenes kƶnyvtĆ”rhoz" #. DESC_FAXPAGENAME msgid "Enter new name for faxpage" @@ -1457,9 +1685,15 @@ msgstr "Adj Ćŗj nevet a faxoldalnak" msgid "Enter receiver phone number or address" msgstr "Add meg a fogadĆ³ telefonjĆ”t vagy cĆmĆ©t" +#. DESC_FAX_PROJECT_BROWSE +#, fuzzy +msgid "Browse for fax project directory" +msgstr "TallĆ³zĆ”s az ideiglenes kƶnyvtĆ”rhoz" + #. DESC_EMAIL_PROJECT -msgid "Enter name of e-mail project" -msgstr "Add meg a levĆ©lterv nevĆ©t" +#, fuzzy +msgid "Enter e-mail project directory name" +msgstr "TallĆ³zĆ”s az ideiglenes kƶnyvtĆ”rhoz" #. DESC_EMAIL_IMAGENAME msgid "Enter new name for e-mail image" @@ -1469,6 +1703,11 @@ msgstr "Adj Ćŗj nevet a kĆ©pnek" msgid "Enter e-mail address" msgstr "Add meg az emailcĆmet" +#. DESC_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "Browse for email project directory" +msgstr "TallĆ³zĆ”s az ideiglenes kƶnyvtĆ”rhoz" + #. DESC_EMAIL_SUBJECT msgid "Enter subject of e-mail" msgstr "Add meg a levĆ©l tĆ”rgyĆ”t" @@ -1478,8 +1717,14 @@ msgid "Select filetype for image attachments" msgstr "VĆ”lassz fĆ”jltĆpust a csatolmĆ”nyhoz" #. DESC_MULTIPAGE_PROJECT -msgid "Enter name of multipage project" -msgstr "Add meg a tƶbboldalas levĆ©lterv nevĆ©t" +#, fuzzy +msgid "Enter multipage project directory name" +msgstr "TallĆ³zĆ”s az ideiglenes kƶnyvtĆ”rhoz" + +#. DESC_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "Browse for multipage project directory" +msgstr "TallĆ³zĆ”s az ideiglenes kƶnyvtĆ”rhoz" #. DESC_MULTIPAGE_FILETYPE msgid "Select filetype for multipage file" @@ -1604,7 +1849,8 @@ msgstr "" " kontraszt = 0" #. DESC_ENH_AUTO -msgid "Autoadjust gamma, brightness and contrast <Ctrl-e>" +#, fuzzy +msgid "Autoadjust gamma, brightness and contrast <Ctrl-a>" msgstr "A gamma, vilĆ”gossĆ”g Ć©s kontraszt ƶnműkƶdÅ Ć”llĆtĆ”sa <Ctrl-e>" #. DESC_ENH_DEFAULT @@ -1685,18 +1931,22 @@ msgstr "" "A szĆnes kĆ©pek ekkora felbontĆ”sban lesznek nyomtatva Ć©s postscriptbe mentve" #. DESC_PRINTER_WIDTH +#. DESC_FAX_WIDTH msgid "Width of printable area" msgstr "A nyomtathatĆ³ terĆ¼let szĆ©lessĆ©ge" #. DESC_PRINTER_HEIGHT +#. DESC_FAX_HEIGHT msgid "Height of printable area" msgstr "A nyomtathatĆ³ terĆ¼let magassĆ”ga" #. DESC_PRINTER_LEFTOFFSET +#. DESC_FAX_LEFTOFFSET msgid "Left offset from the edge of the paper to the printable area" msgstr "A papĆr jobb szĆ©lĆ©tÅl ekkora tĆ”volsĆ”gra van a nyomtathatĆ³ terĆ¼let" #. DESC_PRINTER_BOTTOMOFFSET +#. DESC_FAX_BOTTOMOFFSET msgid "Bottom offset from the edge of the paper to the printable area" msgstr "A papĆr alsĆ³ szĆ©lĆ©tÅl ekkora tĆ”volsĆ”gra van a nyomtathatĆ³ terĆ¼let" @@ -1716,9 +1966,18 @@ msgstr "Plusz zƶld gamma Ć©rtĆ©k a fotĆ³mĆ”solĆ”shoz" msgid "Additional gamma value for blue component for photocopy" msgstr "Plusz kĆ©k gamma Ć©rtĆ©k a fotĆ³mĆ”solĆ”shoz" -#. DESC_PRINTER_PS_FLATDECODED +#. DESC_PRINTER_EMBED_CSA +msgid "Creates a postsciptfile that contains the ICM profile of the scanner" +msgstr "" + +#. DESC_PRINTER_EMBED_CRD +msgid "Creates a postsciptfile that contains the ICM profile of the printer" +msgstr "" + +#. DESC_PRINTER_PS_FLATEDECODED +#, fuzzy msgid "" -"Create zlib compressed postscript image for printer (flatdecode).\n" +"Create zlib compressed postscript image for printer (flatedecode).\n" "The printer has to understand postscript level 3!" msgstr "" "Zlibbel tƶmƶrĆtett postscript lĆ©trehozĆ”sa nyomtatĆ³nak (flatcode).\n" @@ -1779,16 +2038,18 @@ msgstr "" "Ha a fĆ”jlnĆ©vszĆ”mlĆ”lĆ³ ƶnműkƶdÅen nƶvelt, akkor a mĆ”r hasznĆ”lt szĆ”mokat hagyja " "ki" -#. DESC_SAVE_PS_FLATDECODED +#. DESC_SAVE_PS_FLATEDECODED +#, fuzzy msgid "" -"compress postscript image with zlib algorithm (flatdecode). When you want to " -"print such a file your printer has to understand postscript level 3" +"compress postscript image with zlib algorithm (flatedecode). When you want " +"to print such a file your printer has to understand postscript level 3" msgstr "" "postscript kĆ©p tƶmƶrĆtĆ©se zlibbel (flatcode). Ha egy ilyen fĆ”ljt akarsz " "kinyomtatni, a nyomtatĆ³ postscript 3 megfelelÅ kell legyen." -#. DESC_SAVE_PDF_FLATDECODED -msgid "compress PDF image with zlib algorithm (flatdecode)." +#. DESC_SAVE_PDF_FLATEDECODED +#, fuzzy +msgid "compress PDF image with zlib algorithm (flatedecode)." msgstr "PDF tƶmƶrĆtĆ©se zlibbel (flatdecode)" #. DESC_SAVE_PNM16_AS_ASCII @@ -1803,7 +2064,9 @@ msgstr "" "formĆ”tumot tƶbb program tĆ”mogatja, de azok Ć³riĆ”sifĆ”jlok lesznek!!" #. DESC_REDUCE_16BIT_TO_8BIT -msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +#, fuzzy +msgid "" +"If scanner sends image with 16 bits/channel save image with 8 bits/channel" msgstr "Ha a lapolvasĆ³ 12 bites kĆ©pet kĆ¼dl, akkor 8 bitesbe mentse el" #. DESC_PSFILE_WIDTH @@ -1832,7 +2095,8 @@ msgid "Use fixed main window size or scrolled, resizable main window" msgstr "RƶgzĆtett vagy gƶrgethetÅ/Ć”tmĆ©retezhetÅ fÅablak hasznĆ”lata" #. DESC_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable preview gamma when XSane runs as gimp plugin" +#, fuzzy +msgid "Disable preview gamma when XSane runs as GIMP plugin" msgstr "ElÅnĆ©zeti gamma tiltĆ”sa, amikor az XSane a gimpen belĆ¼l fut" #. DESC_PREVIEW_COLORMAP @@ -1925,6 +2189,15 @@ msgstr "VĆ”lasszuk ki a beolvasĆ”si terĆ¼letet miutĆ”n elkĆ©szĆ¼lt az elÅnĆ©zet msgid "Do color correction after preview scan has finished" msgstr "KĆ©szĆtsen szĆnkorrekciĆ³t az elÅnĆ©zet elkĆ©szĆ¼lte utĆ”n" +#. DESC_RENDERING_INTENT +#, fuzzy +msgid "Select rendering intent for preview and saving" +msgstr "VĆ”lasszuk ki a beolvasĆ”si terĆ¼letet miutĆ”n elkĆ©szĆ¼lt az elÅnĆ©zet" + +#. DESC_CMS_BPC +msgid "Apply black point compensation when color transformation is done" +msgstr "" + #. DESC_FAX_COMMAND msgid "Enter command to be executed in fax mode" msgstr "Adjuk meg a fax-parancsot" @@ -1953,8 +2226,9 @@ msgstr "Adjuk meg a fax-nĆ©zÅke parancsĆ”t" msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" msgstr "KĆ¼ldje a faxot nagyobb x-irĆ”nyĆŗ felbontĆ”ssal(196 lpi a 98 lpi helyett)" -#. DESC_FAX_PS_FLATDECODED -msgid "Create zlib compressed postscript image for fax (flatdecode)" +#. DESC_FAX_PS_FLATEDECODED +#, fuzzy +msgid "Create zlib compressed postscript image for fax (flatedecode)" msgstr "Zlibbel tƶmƶrĆtett postscript kĆ©p lĆ©trehozĆ”sa faxhoz (flatdecode)" #. DESC_SMTP_SERVER @@ -2032,9 +2306,10 @@ msgstr "olvasĆ”s" msgid "write" msgstr "ĆrĆ”s" -#. DESC_PERMISSION_EXECUTE -msgid "execute" -msgstr "vĆ©grehajtĆ”s" +#. DESC_PERMISSION_SEARCH +#, fuzzy +msgid "search" +msgstr "felhasznĆ”lĆ³" #. DESC_ADD_BATCH msgid "Add selection for batch scan" @@ -2202,6 +2477,36 @@ msgstr "Kijelƶlt terĆ¼let tƶrlĆ©se a kƶtegelt listĆ”bĆ³l" msgid "Turns on automatic mode" msgstr "ĆnmĆ¼kƶdÅ mĆ³d bekapcsolĆ”sa" +#. DESC_BUTTON_SCANNER_DEFAULT_COLOR_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default color ICM-profile" +msgstr "KĆ©p fĆ”jlnevĆ©nek bƶngĆ©szĆ©se" + +#. DESC_BUTTON_SCANNER_DEFAULT_GRAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default gray ICM-profile" +msgstr "KĆ©p fĆ”jlnevĆ©nek bƶngĆ©szĆ©se" + +#. DESC_BUTTON_DISPLAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for display ICM-profile" +msgstr "KĆ©p fĆ”jlnevĆ©nek bƶngĆ©szĆ©se" + +#. DESC_BUTTON_PRINTER_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for printer ICM-profile" +msgstr "KĆ©p fĆ”jlnevĆ©nek bƶngĆ©szĆ©se" + +#. DESC_BUTTON_CUSTOM_PROOFING_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for custom proofing ICM-profile" +msgstr "KĆ©p fĆ”jlnevĆ©nek bƶngĆ©szĆ©se" + +#. DESC_BUTTON_WORKING_COLOR_SPACE_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for working color space ICM-profile" +msgstr "KĆ©p fĆ”jlnevĆ©nek bƶngĆ©szĆ©se" + #. ERR_HOME_DIR msgid "Failed to determine home directory:" msgstr "Sikertelen a home kƶnyvtĆ”r megtalĆ”lĆ”sa:" @@ -2254,11 +2559,6 @@ msgstr "Hiba mentĆ©s alatt:" msgid "Can't handle depth" msgstr "Nem lehet kezelni ezt a mĆ©lysĆ©get" -#. ERR_GIMP_BAD_DEPTH -#, c-format -msgid "GIMP can't handle depth %d bits/color" -msgstr "A GIMP nem tudja kezelni a %d szĆnmĆ©lysĆ©get" - #. ERR_UNKNOWN_SAVING_FORMAT msgid "Unknown file format for saving" msgstr "Ismeretlen fĆ”jlformĆ”tum mentĆ©shez" @@ -2491,10 +2791,68 @@ msgstr "A %s nem postscript fĆ”jl" msgid "Unsupported %d-bit output format: %s" msgstr "Nem tĆ”mogatott %d-bites kimeneti mĆ³d: %s" +#. ERR_CMS_CONVERSION +#, fuzzy +msgid "Error during CMS conversion:" +msgstr "Hiba mentĆ©s alatt:" + +#. ERR_CMS_OPEN_ICM_FILE +#, fuzzy +msgid "Could not open" +msgstr "Sikertelen megnyitĆ”s" + +#. CMS_SCANNER_ICM +#, fuzzy +msgid "scanner ICM profile" +msgstr "NyomtatĆ³ tƶrlĆ©se" + +#. CMS_DISPLAY_ICM +#, fuzzy +msgid "display ICM profile" +msgstr "KĆ©p fĆ”jlnevĆ©nek bƶngĆ©szĆ©se" + +#. CMS_PROOF_ICM +#, fuzzy +msgid "proofing ICM profile" +msgstr "NyomtatĆ³ tƶrlĆ©se" + +#. ERR_CMS_CREATE_TRANSFORM +#, fuzzy +msgid "Could not create transform" +msgstr "Nem lehet lĆ©trehozni az ideiglenes fĆ”jlt" + #. WARN_VIEWER_IMAGE_NOT_SAVED msgid "viewer image is not saved" msgstr "MegjelenĆtĆ©s kĆ©pe nincs mentve" +#. FILE_FILTER_ALL_FILES +msgid "All files" +msgstr "" + +#. FILE_FILTER_IMAGES +#, fuzzy +msgid "Images" +msgstr "Oldalak:" + +#. FILE_FILTER_XBL +#, fuzzy +msgid "XSane batch list" +msgstr "Kƶtegelt lista mentĆ©se" + +#. FILE_FILTER_ICM +msgid "ICC/ICM Profiles" +msgstr "" + +#. FILE_FILTER_DRC +#, fuzzy +msgid "XSane device preferences" +msgstr "EszkƶzbeĆ”llĆtĆ”sok mentĆ©se kilĆ©pĆ©skor" + +#. FILE_FILTER_RC +#, fuzzy +msgid "XSane preferences" +msgstr "TulajdonsĆ”gok" + #. TEXT_USAGE msgid "Usage:" msgstr "HasznĆ”lat:" @@ -2866,11 +3224,61 @@ msgstr "Elfogyott a memĆ³ria" msgid "Access to resource has been denied" msgstr "A hozzĆ”fĆ©rĆ©s az erÅforrĆ”shoz megtagadva" -#~ msgid "Could not create temporary file" -#~ msgstr "Nem lehet lĆ©trehozni az ideiglenes fĆ”jlt" +#, fuzzy +#~ msgid "select scanner transmissive ICM-profile" +#~ msgstr "NyomtatĆ³ tƶrlĆ©se" + +#, fuzzy +#~ msgid "select scanner transmissive gray ICM-profile" +#~ msgstr "NyomtatĆ³ tƶrlĆ©se" + +#, fuzzy +#~ msgid "Scanner reflective ICM-profile" +#~ msgstr "NyomtatĆ³ tƶrlĆ©se" + +#, fuzzy +#~ msgid "Scanner reflective gray ICM-profile" +#~ msgstr "NyomtatĆ³ tƶrlĆ©se" + +#, fuzzy +#~ msgid "Scanner transmissive gray ICM-profile" +#~ msgstr "NyomtatĆ³ tƶrlĆ©se" + +#, fuzzy +#~ msgid "Scanner reflektive ICM-profile" +#~ msgstr "NyomtatĆ³ tƶrlĆ©se" + +#, fuzzy +#~ msgid "Browse for scanner transmissive ICM-profile" +#~ msgstr "KĆ©p fĆ”jlnevĆ©nek bƶngĆ©szĆ©se" + +#, fuzzy +#~ msgid "Browse for scanner transmissive gray ICM-profile" +#~ msgstr "KĆ©p fĆ”jlnevĆ©nek bƶngĆ©szĆ©se" + +#~ msgid "GIMP can't handle depth %d bits/color" +#~ msgstr "A GIMP nem tudja kezelni a %d szĆnmĆ©lysĆ©get" + +#, fuzzy +#~ msgid "scanner reflective ICM profile" +#~ msgstr "NyomtatĆ³ tƶrlĆ©se" + +#, fuzzy +#~ msgid "Embed scanner/source ICM profile for GIMP" +#~ msgstr "NyomtatĆ³ tƶrlĆ©se" + +#~ msgid "Enter name of fax project" +#~ msgstr "Add meg a terv nevĆ©t" + +#~ msgid "Enter name of e-mail project" +#~ msgstr "Add meg a levĆ©lterv nevĆ©t" -#~ msgid "Could not create temporary preview files" -#~ msgstr "Ideiglenes elÅnĆ©zeti fĆ”jlok lĆ©trehozĆ”sa meghiĆŗsult" +#~ msgid "Enter name of multipage project" +#~ msgstr "Add meg a tƶbboldalas levĆ©lterv nevĆ©t" -#~ msgid "Could not create filenames for preview files" -#~ msgstr "Nem lehetett fĆ”jlnevet adni az elÅnĆ©zeti fĆ”jloknak" +#~ msgid "" +#~ "Gimp does not support depth 16 bits/color.\n" +#~ "Do you want to reduce the depth to 8 bits/color?" +#~ msgstr "" +#~ "A Gimp nem tĆ”mogatja a 16 bites szĆnmĆ©lysĆ©get.\n" +#~ "SzeretnĆ©d csƶkkenteni 8 bitesre?" Binary files differ@@ -6,7 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: xsane-0.99_it\n" -"POT-Creation-Date: 2006-01-07 00:26+0100\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-25 23:44+0100\n" "PO-Revision-Date: 2006-01-09 21:47+0100\n" "Last-Translator: Kostantino <ciclope10ATalice.it>\n" "Language-Team: Italiano <tp@lists.linux.it>\n" @@ -35,6 +36,7 @@ msgid "About" msgstr "Informazioni" #. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +#. MENU_ITEM_ABOUT_TRANSLATION msgid "About translation" msgstr "Informazioni sulla traduzione" @@ -74,6 +76,11 @@ msgstr "Rinomina area batch" msgid "fax project" msgstr "Progetto fax" +#. WINDOW_FAX_PROJECT_BROWSE +#, fuzzy +msgid "browse for fax project" +msgstr "Inserisci nome del progetto fax" + #. WINDOW_FAX_RENAME msgid "rename fax page" msgstr "Rinomina pagina fax" @@ -86,6 +93,11 @@ msgstr "Inserisci file PS nel fax" msgid "E-mail project" msgstr "Progetto e-mail" +#. WINDOW_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "browse for email project" +msgstr "Inserisci nome del progetto e-mail" + #. WINDOW_EMAIL_RENAME msgid "rename e-mail image" msgstr "Rinomina l'immagine e-mail" @@ -98,6 +110,11 @@ msgstr "Inserisci un file nell'e-mail" msgid "multipage project" msgstr "Progetto multipagina" +#. WINDOW_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "browse for multipage project" +msgstr "Progetto multipagina" + #. WINDOW_PRESET_AREA_RENAME msgid "rename preset area" msgstr "Rinomina area predefinita" @@ -143,6 +160,7 @@ msgid "Preview" msgstr "Anteprima" #. WINDOW_VIEWER +#. MENU_ITEM_VIEWER msgid "Viewer" msgstr "Visualizzatore" @@ -175,14 +193,17 @@ msgid "select temporary directory" msgstr "Seleziona cartella temporanea" #. WINDOW_SCALE +#. DESC_VIEWER_SCALE msgid "Scale image" msgstr "Ridimensiona l'immagine" #. WINDOW_DESPECKLE +#. DESC_VIEWER_DESPECKLE msgid "Despeckle image" msgstr "Applica filtro mediano" #. WINDOW_BLUR +#. DESC_VIEWER_BLUR msgid "Blur image" msgstr "Sfoca l'immagine" @@ -194,6 +215,35 @@ msgstr "Salva la definizione del supporto" msgid "No devices available" msgstr "Non ĆØ disponibile alcun dispositivo" +#. WINDOW_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "select scanner default color ICM-profile" +msgstr "Cancella stampante" + +#. WINDOW_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "select scanner default gray ICM-profile" +msgstr "Cancella stampante" + +#. WINDOW_DISPLAY_ICM_PROFILE +msgid "select display ICM-profile" +msgstr "" + +#. WINDOW_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "select custom proofing ICM-profile" +msgstr "Seleziona il nome del file prodotto" + +#. WINDOW_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "select working color space ICM-profile" +msgstr "Cancella stampante" + +#. WINDOW_PRINTER_ICM_PROFILE +#, fuzzy +msgid "select printer ICM-profile" +msgstr "Cancella stampante" + #. MENU_FILE msgid "File" msgstr "File " @@ -211,6 +261,7 @@ msgid "Window" msgstr "Finestra" #. MENU_HELP +#. BUTTON_HELP msgid "Help" msgstr "Aiuto" @@ -226,6 +277,11 @@ msgstr "Filtri" msgid "Geometry" msgstr "Geometria" +#. MENU_COLOR_MANAGEMENT +#. NOTEBOOK_COLOR_MANAGEMENT_OPTIONS +msgid "Color management" +msgstr "" + #. MENU_ITEM_ABOUT_XSANE msgid "About XSane" msgstr "Informazioni su XSane" @@ -239,6 +295,7 @@ msgid "Quit" msgstr "Esci" #. MENU_ITEM_SAVE_IMAGE +#. DESC_VIEWER_SAVE msgid "Save image" msgstr "Salva immagine" @@ -255,6 +312,7 @@ msgid "Scale" msgstr "Ridimensiona" #. MENU_ITEM_CLOSE +#. BUTTON_CLOSE msgid "Close" msgstr "Chiudi" @@ -446,11 +504,11 @@ msgstr "Avvisa prima di sovrascrivere" msgid "Skip existing filenames" msgstr "Salta i nomi dei file esistenti" -#. RADIO_BUTTON_SAVE_PS_FLATDECODED +#. RADIO_BUTTON_SAVE_PS_FLATEDECODED msgid "Save postscript zlib compressed (ps level 3)" msgstr "Salva come postscript compresso zlib (ps di livello 3)" -#. RADIO_BUTTON_SAVE_PDF_FLATDECODED +#. RADIO_BUTTON_SAVE_PDF_FLATEDECODED msgid "Save PDF zlib compressed" msgstr "Salva come PDF compresso zlib" @@ -467,7 +525,8 @@ msgid "Main window size fixed" msgstr "Finestra principale di dimensioni fisse" #. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable gimp preview gamma" +#, fuzzy +msgid "Disable GIMP preview gamma" msgstr "Disabilita la gamma sull'anteprima di GIMP" #. RADIO_BUTTON_PRIVATE_COLORMAP @@ -490,6 +549,11 @@ msgstr "Correzione automatica dei colori" msgid "Use GUI progress pipe" msgstr "Utilizza la pipe di avanzamento della GUI" +#. RADIO_BUTTON_CMS_BPC +#. MENU_ITEM_CMS_BLACK_POINT_COMPENSATION +msgid "Black point compensation" +msgstr "" + #. TEXT_SCANNING_DEVICES msgid "scanning for devices" msgstr "Sto cercando i dispositivi..." @@ -506,6 +570,12 @@ msgstr "Opzioni di XSane" msgid "Type" msgstr "Tipo" +#. TEXT_CMS_FUNCTION +#. DESC_CMS_FUNCTION +#, fuzzy +msgid "Color management function" +msgstr "Tutto l'intervallo del colore" + #. TEXT_SCANNER_BACKEND msgid "Scanner and backend:" msgstr "Scanner e backend:" @@ -578,18 +648,11 @@ msgstr "Formati d'uscita a 8 bit:" msgid "16 bit output formats:" msgstr "Formati d'uscita a 16 bit:" -#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT -msgid "" -"Gimp does not support depth 16 bits/color.\n" -"Do you want to reduce the depth to 8 bits/color?" -msgstr "" -"GIMP non supporta la profonditĆ di 16 bit/colore.\n" -"Vuoi ridurla a 8 bit/colore?" - #. TEXT_REDUCE_16BIT_TO_8BIT +#, fuzzy msgid "" -"Bit depth 16 bits/color is not supported for this output format.\n" -"Do you want to reduce the depth to 8 bits/color?" +"Bit depth 16 bits/channel is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/channel?" msgstr "" "La profonditĆ di 16 bit/colore non ĆØ supportata per questo formato.\n" "Vuoi ridurla a 8 bit/colore?" @@ -626,6 +689,11 @@ msgstr "versione:" msgid "package" msgstr "pacchetto" +#. TEXT_WITH_CMS_FUNCTION +#, fuzzy +msgid "with color management function" +msgstr "Tutto l'intervallo del colore" + #. TEXT_WITH_GIMP_SUPPORT msgid "with GIMP support" msgstr "con supporto GIMP" @@ -757,9 +825,10 @@ msgid "Medium Name:" msgstr "Nome supporto:" #. TEXT_VIEWER_IMAGE_INFO -#, c-format +#, fuzzy, c-format msgid "" -"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +"Size %d x %d pixel, %d bits/channel, %d channels, %1.0f dpi x %1.0f dpi, %" +"1.1f %s" msgstr "" "Dimensione %d x %d pixel, %d bit/colore, %d colori, %1.0f dpi x %1.0f dpi, %" "1.1f %s" @@ -813,6 +882,7 @@ msgid "Name:" msgstr "Nome:" #. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +#. TEXT_SETUP_FAX_COMMAND msgid "Command:" msgstr "Comando:" @@ -833,18 +903,22 @@ msgid "Color resolution (dpi):" msgstr "Risoluzione del colore (DPI):" #. TEXT_SETUP_PRINTER_WIDTH +#. TEXT_SETUP_FAX_WIDTH msgid "Width" msgstr "Larghezza" #. TEXT_SETUP_PRINTER_HEIGHT +#. TEXT_SETUP_FAX_HEIGHT msgid "Height" msgstr "Altezza" #. TEXT_SETUP_PRINTER_LEFT +#. TEXT_SETUP_FAX_LEFT msgid "Left offset" msgstr "Margine sinistro" #. TEXT_SETUP_PRINTER_BOTTOM +#. TEXT_SETUP_FAX_BOTTOM msgid "Bottom offset" msgstr "Margine inferiore" @@ -864,7 +938,17 @@ msgstr "Verde della gamma della stampante:" msgid "Printer gamma blue:" msgstr "Blu della gamma della stampante:" -#. TEXT_SETUP_PRINTER_PS_FLATDECODED +#. TEXT_SETUP_PRINTER_EMBED_CSA +#, fuzzy +msgid "Embed scanner ICM profile as CSA" +msgstr "Cancella stampante" + +#. TEXT_SETUP_PRINTER_EMBED_CRD +#, fuzzy +msgid "Embed printer ICM profile as CRD" +msgstr "Cancella stampante" + +#. TEXT_SETUP_PRINTER_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for printing" msgstr "" "Per la stampa crea immagine postscript compressa zlib (PS di livello 3) " @@ -989,7 +1073,7 @@ msgstr "Imposta valori predefiniti per:" msgid "Viewer (Postscript):" msgstr "Visualizzatore (Postscript):" -#. TEXT_SETUP_FAX_PS_FLATDECODED +#. TEXT_SETUP_FAX_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for fax" msgstr "Per il fax crea immagine postscript compressa zlib (PS livello 3)" @@ -1065,10 +1149,45 @@ msgstr "gruppo" msgid "all" msgstr "tutti" +#. TEXT_SETUP_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "Scanner default color ICM-profile" +msgstr "Cancella stampante" + +#. TEXT_SETUP_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "Scanner default gray ICM-profile" +msgstr "Cancella stampante" + +#. TEXT_SETUP_DISPLAY_ICM_PROFILE +#. DESC_DISPLAY_ICM_PROFILE +msgid "Display ICM-profile" +msgstr "" + +#. TEXT_SETUP_CUSTOM_PROOFING_ICM_PROFILE +#. DESC_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "Custom proofing ICM-profile" +msgstr "Cancella stampante" + +#. TEXT_SETUP_WORKING_COLOR_SPACE_ICM_PROFILE +#. DESC_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "Working color space ICM-profile" +msgstr "Sfoglia per nome immagine" + +#. TEXT_SETUP_PRINTER_ICM_PROFILE +#. DESC_PRINTER_ICM_PROFILE +msgid "Printer ICM-profile" +msgstr "" + msgid "new media" msgstr "nuovo supporto" #. NOTEBOOK_SAVING_OPTIONS +#. MENU_ITEM_SAVE msgid "Save" msgstr "Salva" @@ -1077,14 +1196,17 @@ msgid "Filetype" msgstr "Tipo file" #. NOTEBOOK_COPY_OPTIONS +#. MENU_ITEM_COPY msgid "Copy" msgstr "Copia" #. NOTEBOOK_FAX_OPTIONS +#. MENU_ITEM_FAX msgid "Fax" msgstr "Fax " #. NOTEBOOK_EMAIL_OPTIONS +#. MENU_ITEM_EMAIL msgid "E-mail" msgstr "E-mail" @@ -1176,6 +1298,12 @@ msgstr "Visualizza l'elenco delle risoluzioni" msgid "Rotate postscript" msgstr "Ruota Postscript" +#. MENU_ITEM_ENABLE_COLOR_MANAGEMENT +#. MENU_ITEM_CMS_ENABLE_COLOR_MANAGEMENT +#, fuzzy +msgid "Enable color management" +msgstr "Tutto l'intervallo del colore" + #. MENU_ITEM_EDIT_MEDIUM_DEF msgid "Edit medium definition" msgstr "Salva definizione supporto" @@ -1220,6 +1348,86 @@ msgstr "Consigli sulla scansione" msgid "Problems?" msgstr "Problemi?" +#. MENU_ITEM_CMS_PROOFING +#, fuzzy +msgid "Proofing" +msgstr "Aggiungi stampante" + +#. SUBMENU_ITEM_CMS_PROOF_OFF +msgid "no proofing (Display)" +msgstr "" + +#. SUBMENU_ITEM_CMS_PROOF_PRINTER +#, fuzzy +msgid "Proof printer" +msgstr "Aggiungi stampante" + +#. SUBMENU_ITEM_CMS_PROOF_CUSTOM +msgid "Proof custom device" +msgstr "" + +#. MENU_ITEM_CMS_RENDERING_INTENT +#, fuzzy +msgid "Rendering intent" +msgstr "Aggiungi stampante" + +#. MENU_ITEM_CMS_PROOFING_INTENT +#, fuzzy +msgid "Proofing rendering intent" +msgstr "Aggiungi stampante" + +#. SUBMENU_ITEM_CMS_INTENT_PERCEPTUAL +msgid "Perceptual" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_RELATIVE_COLORIMETRIC +msgid "Relative colorimetric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_ABSOLUTE_COLORIMETRIC +msgid "Absolute colorimentric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_SATURATION +#, fuzzy +msgid "Saturation" +msgstr "Autorizzazione" + +#. MENU_ITEM_CMS_GAMUT_CHECK +msgid "Gamut check" +msgstr "" + +#. MENU_ITEM_CMS_GAMUT_ALARM_COLOR +msgid "Gamut alarm color" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLACK +msgid "Black" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_GRAY +msgid "Gray" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_WHITE +#, fuzzy +msgid "White" +msgstr "scrivi" + +#. SUBMENU_ITEM_CMS_COLOR_RED +#, fuzzy +msgid "Red" +msgstr "Riduci" + +#. SUBMENU_ITEM_CMS_COLOR_GREEN +msgid "Green" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLUE +#, fuzzy +msgid "Blue" +msgstr "Sfoca" + #. MENU_ITEM_COUNTER_LEN_INACTIVE msgid "inactive" msgstr "inattivo" @@ -1336,6 +1544,20 @@ msgstr "Login ASMTP" msgid "ASMTP CRAM-MD5" msgstr "ASMTP CRAM-MD5" +#. MENU_ITEM_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE +#, fuzzy +msgid "Embed scanner ICM profile" +msgstr "Cancella stampante" + +#. MENU_ITEM_CMS_FUNCTION_CONVERT_TO_SRGB +msgid "Convert to sRGB" +msgstr "" + +#. MENU_ITEM_FUNCTION_CONVERT_TO_WORKING_CS +#, fuzzy +msgid "Convert to working color space" +msgstr "Correzione automatica dei colori" + #. PROGRESS_SCANNING msgid "Scanning" msgstr "Acquisizione" @@ -1393,6 +1615,11 @@ msgstr "Sfoca immagine" msgid "OCR in progress" msgstr "OCR in corso" +#. PROGRESS_ICM_CONVERSION +#, fuzzy +msgid "converting colors" +msgstr "Correzione automatica dei colori" + #. DESC_SCAN_START msgid "Start scan <Ctrl-Enter>" msgstr "Avvia scansione <Ctrl-Enter>" @@ -1452,8 +1679,9 @@ msgstr "" "automaticamente" #. DESC_FAXPROJECT -msgid "Enter name of fax project" -msgstr "Inserisci nome del progetto fax" +#, fuzzy +msgid "Enter fax project directory name" +msgstr "Cerca cartella temporanea" #. DESC_FAXPAGENAME msgid "Enter new name for faxpage" @@ -1463,9 +1691,15 @@ msgstr "Inserisci nuovo nome per la pagina del fax" msgid "Enter receiver phone number or address" msgstr "Inserisci numero telefonico o indirizzo del ricevente" +#. DESC_FAX_PROJECT_BROWSE +#, fuzzy +msgid "Browse for fax project directory" +msgstr "Cerca cartella temporanea" + #. DESC_EMAIL_PROJECT -msgid "Enter name of e-mail project" -msgstr "Inserisci nome del progetto e-mail" +#, fuzzy +msgid "Enter e-mail project directory name" +msgstr "Cerca cartella temporanea" #. DESC_EMAIL_IMAGENAME msgid "Enter new name for e-mail image" @@ -1475,6 +1709,11 @@ msgstr "Inserisci nuovo nome per l'immagine e-mail" msgid "Enter e-mail address" msgstr "Inserisci indirizzo di posta elettronica" +#. DESC_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "Browse for email project directory" +msgstr "Cerca cartella temporanea" + #. DESC_EMAIL_SUBJECT msgid "Enter subject of e-mail" msgstr "Inserisci argomento dell'e-mail" @@ -1484,8 +1723,14 @@ msgid "Select filetype for image attachments" msgstr "Seleziona il tipo di file per le immagini allegate" #. DESC_MULTIPAGE_PROJECT -msgid "Enter name of multipage project" -msgstr "Inserisci nome del progetto multipagina" +#, fuzzy +msgid "Enter multipage project directory name" +msgstr "Cerca cartella temporanea" + +#. DESC_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "Browse for multipage project directory" +msgstr "Cerca cartella temporanea" #. DESC_MULTIPAGE_FILETYPE msgid "Select filetype for multipage file" @@ -1610,7 +1855,8 @@ msgstr "" " contrasto = 0" #. DESC_ENH_AUTO -msgid "Autoadjust gamma, brightness and contrast <Ctrl-e>" +#, fuzzy +msgid "Autoadjust gamma, brightness and contrast <Ctrl-a>" msgstr "" "Calibrazione automatica della gamma, della luminositĆ e del contrasto <Ctrl-" "e>" @@ -1698,18 +1944,22 @@ msgstr "" "formato Postscript" #. DESC_PRINTER_WIDTH +#. DESC_FAX_WIDTH msgid "Width of printable area" msgstr "Larghezza area stampa" #. DESC_PRINTER_HEIGHT +#. DESC_FAX_HEIGHT msgid "Height of printable area" msgstr "Altezza area stampa" #. DESC_PRINTER_LEFTOFFSET +#. DESC_FAX_LEFTOFFSET msgid "Left offset from the edge of the paper to the printable area" msgstr "Margine sinistro dal bordo del foglio all'area di stampa" #. DESC_PRINTER_BOTTOMOFFSET +#. DESC_FAX_BOTTOMOFFSET msgid "Bottom offset from the edge of the paper to the printable area" msgstr "Margine inferiore dal bordo pagina all'area di stampa" @@ -1729,9 +1979,18 @@ msgstr "Valore aggiuntivo della gamma per la componente verde per la fotocopia" msgid "Additional gamma value for blue component for photocopy" msgstr "Valore aggiuntivo della gamma per la componente blu per la fotocopia" -#. DESC_PRINTER_PS_FLATDECODED +#. DESC_PRINTER_EMBED_CSA +msgid "Creates a postsciptfile that contains the ICM profile of the scanner" +msgstr "" + +#. DESC_PRINTER_EMBED_CRD +msgid "Creates a postsciptfile that contains the ICM profile of the printer" +msgstr "" + +#. DESC_PRINTER_PS_FLATEDECODED +#, fuzzy msgid "" -"Create zlib compressed postscript image for printer (flatdecode).\n" +"Create zlib compressed postscript image for printer (flatedecode).\n" "The printer has to understand postscript level 3!" msgstr "" "Crea immagine postscript compressa zlib per la stampa (decodifica flat).\n" @@ -1794,17 +2053,19 @@ msgstr "" "I numeri giĆ usati vengono saltati se il contatore del nome file viene " "incrementato automaticamente" -#. DESC_SAVE_PS_FLATDECODED +#. DESC_SAVE_PS_FLATEDECODED +#, fuzzy msgid "" -"compress postscript image with zlib algorithm (flatdecode). When you want to " -"print such a file your printer has to understand postscript level 3" +"compress postscript image with zlib algorithm (flatedecode). When you want " +"to print such a file your printer has to understand postscript level 3" msgstr "" "comprimi immagine postscript con un algoritmo zlib (decodifica flat). La tua " "stampante deve comprendere il linguaggio postscript di livello 3 quando vuoi " "stampare un simile file." -#. DESC_SAVE_PDF_FLATDECODED -msgid "compress PDF image with zlib algorithm (flatdecode)." +#. DESC_SAVE_PDF_FLATEDECODED +#, fuzzy +msgid "compress PDF image with zlib algorithm (flatedecode)." msgstr "comprimi immagine PDF con algoritmo zlib (decodifica flat)." #. DESC_SAVE_PNM16_AS_ASCII @@ -1820,7 +2081,9 @@ msgstr "" "programmi ma produce file giganteschi!!!" #. DESC_REDUCE_16BIT_TO_8BIT -msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +#, fuzzy +msgid "" +"If scanner sends image with 16 bits/channel save image with 8 bits/channel" msgstr "" "Salva l'immagine a 8 bit/colore se lo scanner invia immagini a 16 bit/colore" @@ -1855,7 +2118,8 @@ msgstr "" "scorribile o ridimensionabile" #. DESC_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable preview gamma when XSane runs as gimp plugin" +#, fuzzy +msgid "Disable preview gamma when XSane runs as GIMP plugin" msgstr "" "Disabilita l'anteprima della gamma quando XSane ĆØ eseguito come un plugin di " "GIMP" @@ -1964,6 +2228,15 @@ msgstr "Seleziona l'area di scansione dopo l'acquisizione dell'anteprima" msgid "Do color correction after preview scan has finished" msgstr "Applica la correzione dei colori dopo l'acquisizione dell'anteprima" +#. DESC_RENDERING_INTENT +#, fuzzy +msgid "Select rendering intent for preview and saving" +msgstr "Seleziona l'area di scansione dopo l'acquisizione dell'anteprima" + +#. DESC_CMS_BPC +msgid "Apply black point compensation when color transformation is done" +msgstr "" + #. DESC_FAX_COMMAND msgid "Enter command to be executed in fax mode" msgstr "Inserisci il comando da eseguire in modalitĆ fax" @@ -1996,8 +2269,9 @@ msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" msgstr "" "Invia il fax con un'alta risoluzione verticale (196 lpi invece di 98 lpi)" -#. DESC_FAX_PS_FLATDECODED -msgid "Create zlib compressed postscript image for fax (flatdecode)" +#. DESC_FAX_PS_FLATEDECODED +#, fuzzy +msgid "Create zlib compressed postscript image for fax (flatedecode)" msgstr "Crea immagine postscript compressa zlib per il fax (decodifica flat)" #. DESC_SMTP_SERVER @@ -2079,9 +2353,10 @@ msgstr "leggi" msgid "write" msgstr "scrivi" -#. DESC_PERMISSION_EXECUTE -msgid "execute" -msgstr "esegui" +#. DESC_PERMISSION_SEARCH +#, fuzzy +msgid "search" +msgstr "utente" #. DESC_ADD_BATCH msgid "Add selection for batch scan" @@ -2250,6 +2525,36 @@ msgstr "Togli l'area selezionata dalla lista batch" msgid "Turns on automatic mode" msgstr "Attiva modalitĆ automatica" +#. DESC_BUTTON_SCANNER_DEFAULT_COLOR_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default color ICM-profile" +msgstr "Sfoglia per nome immagine" + +#. DESC_BUTTON_SCANNER_DEFAULT_GRAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default gray ICM-profile" +msgstr "Sfoglia per nome immagine" + +#. DESC_BUTTON_DISPLAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for display ICM-profile" +msgstr "Sfoglia per nome immagine" + +#. DESC_BUTTON_PRINTER_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for printer ICM-profile" +msgstr "Sfoglia per nome immagine" + +#. DESC_BUTTON_CUSTOM_PROOFING_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for custom proofing ICM-profile" +msgstr "Sfoglia per nome immagine" + +#. DESC_BUTTON_WORKING_COLOR_SPACE_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for working color space ICM-profile" +msgstr "Sfoglia per nome immagine" + #. ERR_HOME_DIR msgid "Failed to determine home directory:" msgstr "Non ĆØ possibile determinare la cartella home:" @@ -2306,11 +2611,6 @@ msgstr "Si ĆØ verificato un errore durante il salvataggio:" msgid "Can't handle depth" msgstr "Non ĆØ possibile gestire la profonditĆ " -#. ERR_GIMP_BAD_DEPTH -#, c-format -msgid "GIMP can't handle depth %d bits/color" -msgstr "GIMP non puĆ² gestire una profonditĆ di %d bit/colore" - #. ERR_UNKNOWN_SAVING_FORMAT msgid "Unknown file format for saving" msgstr "Il formato del file per il salvataggio ĆØ sconosciuto" @@ -2545,10 +2845,68 @@ msgstr "Il file %s non ĆØ di tipo Postscript" msgid "Unsupported %d-bit output format: %s" msgstr "Il formato d'uscita a %d bit non ĆØ supportato: %s" +#. ERR_CMS_CONVERSION +#, fuzzy +msgid "Error during CMS conversion:" +msgstr "Si ĆØ verificato un errore durante il salvataggio:" + +#. ERR_CMS_OPEN_ICM_FILE +#, fuzzy +msgid "Could not open" +msgstr "Impossibile aprire il file" + +#. CMS_SCANNER_ICM +#, fuzzy +msgid "scanner ICM profile" +msgstr "Cancella stampante" + +#. CMS_DISPLAY_ICM +#, fuzzy +msgid "display ICM profile" +msgstr "Sfoglia per nome immagine" + +#. CMS_PROOF_ICM +#, fuzzy +msgid "proofing ICM profile" +msgstr "Cancella stampante" + +#. ERR_CMS_CREATE_TRANSFORM +#, fuzzy +msgid "Could not create transform" +msgstr "Non ĆØ possibile creare il progetto fax" + #. WARN_VIEWER_IMAGE_NOT_SAVED msgid "viewer image is not saved" msgstr "l'immagine del visualizzatore non ĆØ stata salvata" +#. FILE_FILTER_ALL_FILES +msgid "All files" +msgstr "" + +#. FILE_FILTER_IMAGES +#, fuzzy +msgid "Images" +msgstr "Pagine:" + +#. FILE_FILTER_XBL +#, fuzzy +msgid "XSane batch list" +msgstr "Salva lista batch" + +#. FILE_FILTER_ICM +msgid "ICC/ICM Profiles" +msgstr "" + +#. FILE_FILTER_DRC +#, fuzzy +msgid "XSane device preferences" +msgstr "Salva le impostazioni del dispositivo all'uscita" + +#. FILE_FILTER_RC +#, fuzzy +msgid "XSane preferences" +msgstr "Preferenze" + #. TEXT_USAGE msgid "Usage:" msgstr "Utilizzo:" @@ -2929,3 +3287,62 @@ msgstr "La memoria ĆØ esaurita" msgid "Access to resource has been denied" msgstr "L'accesso alla risorsa ĆØ negato" + +#, fuzzy +#~ msgid "select scanner transmissive ICM-profile" +#~ msgstr "Cancella stampante" + +#, fuzzy +#~ msgid "select scanner transmissive gray ICM-profile" +#~ msgstr "Cancella stampante" + +#, fuzzy +#~ msgid "Scanner reflective ICM-profile" +#~ msgstr "Cancella stampante" + +#, fuzzy +#~ msgid "Scanner reflective gray ICM-profile" +#~ msgstr "Cancella stampante" + +#, fuzzy +#~ msgid "Scanner transmissive gray ICM-profile" +#~ msgstr "Cancella stampante" + +#, fuzzy +#~ msgid "Scanner reflektive ICM-profile" +#~ msgstr "Cancella stampante" + +#, fuzzy +#~ msgid "Browse for scanner transmissive ICM-profile" +#~ msgstr "Sfoglia per nome immagine" + +#, fuzzy +#~ msgid "Browse for scanner transmissive gray ICM-profile" +#~ msgstr "Sfoglia per nome immagine" + +#~ msgid "GIMP can't handle depth %d bits/color" +#~ msgstr "GIMP non puĆ² gestire una profonditĆ di %d bit/colore" + +#, fuzzy +#~ msgid "scanner reflective ICM profile" +#~ msgstr "Cancella stampante" + +#, fuzzy +#~ msgid "Embed scanner/source ICM profile for GIMP" +#~ msgstr "Cancella stampante" + +#~ msgid "Enter name of fax project" +#~ msgstr "Inserisci nome del progetto fax" + +#~ msgid "Enter name of e-mail project" +#~ msgstr "Inserisci nome del progetto e-mail" + +#~ msgid "Enter name of multipage project" +#~ msgstr "Inserisci nome del progetto multipagina" + +#~ msgid "" +#~ "Gimp does not support depth 16 bits/color.\n" +#~ "Do you want to reduce the depth to 8 bits/color?" +#~ msgstr "" +#~ "GIMP non supporta la profonditĆ di 16 bit/colore.\n" +#~ "Vuoi ridurla a 8 bit/colore?" Binary files differ@@ -5,7 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: XSANE 0.96\n" -"POT-Creation-Date: 2006-01-07 00:26+0100\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-25 23:44+0100\n" "PO-Revision-Date: 2004-08-28 12:48+900\n" "Last-Translator: Kimizuka Tomokazu <sgtom@pluto.dti.ne.jp>\n" "Language-Team: Japanese\n" @@ -32,6 +33,7 @@ msgid "About" msgstr "XSaneć«ć¤ćć¦" #. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +#. MENU_ITEM_ABOUT_TRANSLATION msgid "About translation" msgstr "ēæ»čسć«ć¤ćć¦" @@ -71,6 +73,11 @@ msgstr "ćććé åććŖćć¼ć " msgid "fax project" msgstr "FAXćććøć§ćÆć" +#. WINDOW_FAX_PROJECT_BROWSE +#, fuzzy +msgid "browse for fax project" +msgstr "FAXćććøć§ćÆćåćå
„å" + #. WINDOW_FAX_RENAME msgid "rename fax page" msgstr "FAXćć¼ćøććŖćć¼ć " @@ -84,6 +91,11 @@ msgstr "PSćć”ć¤ć«ćFAXć«ęæå
„" msgid "E-mail project" msgstr "ć”ć¼ć«ćććøć§ćÆć" +#. WINDOW_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "browse for email project" +msgstr "ć”ć¼ć«ćććøć§ćÆćåćå
„å" + #. WINDOW_EMAIL_RENAME #, fuzzy msgid "rename e-mail image" @@ -99,6 +111,11 @@ msgstr "ćć”ć¤ć«ćć”ć¼ć«ć«ęæå
„" msgid "multipage project" msgstr "ćććøć§ćÆćåé¤" +#. WINDOW_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "browse for multipage project" +msgstr "ćććøć§ćÆćåé¤" + #. WINDOW_PRESET_AREA_RENAME msgid "rename preset area" msgstr "ććŖć»ććé åććŖćć¼ć " @@ -144,6 +161,7 @@ msgid "Preview" msgstr "ćć¬ćć„ć¼" #. WINDOW_VIEWER +#. MENU_ITEM_VIEWER msgid "Viewer" msgstr "ćć„ć¼ćÆ" @@ -176,14 +194,17 @@ msgid "select temporary directory" msgstr "äøęćć£ć¬ćÆććŖćéøę" #. WINDOW_SCALE +#. DESC_VIEWER_SCALE msgid "Scale image" msgstr "ē»åć®ę”大ēø®å°" #. WINDOW_DESPECKLE +#. DESC_VIEWER_DESPECKLE msgid "Despeckle image" msgstr "ē»åć®ććæåć" #. WINDOW_BLUR +#. DESC_VIEWER_BLUR msgid "Blur image" msgstr "ē»åćć«ćć¾ćć" @@ -195,6 +216,35 @@ msgstr "åŖä½ć®å®ē¾©ćäæå" msgid "No devices available" msgstr "ććć¤ć¹ćä½æćć¾ćć" +#. WINDOW_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "select scanner default color ICM-profile" +msgstr "ććŖć³ćæåé¤" + +#. WINDOW_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "select scanner default gray ICM-profile" +msgstr "ććŖć³ćæåé¤" + +#. WINDOW_DISPLAY_ICM_PROFILE +msgid "select display ICM-profile" +msgstr "" + +#. WINDOW_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "select custom proofing ICM-profile" +msgstr "åŗåćć”ć¤ć«åćéøę" + +#. WINDOW_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "select working color space ICM-profile" +msgstr "ććŖć³ćæåé¤" + +#. WINDOW_PRINTER_ICM_PROFILE +#, fuzzy +msgid "select printer ICM-profile" +msgstr "ććŖć³ćæåé¤" + #. MENU_FILE msgid "File" msgstr "ćć”ć¤ć«" @@ -212,6 +262,7 @@ msgid "Window" msgstr "ć¦ć£ć³ćć¦" #. MENU_HELP +#. BUTTON_HELP msgid "Help" msgstr "ćć«ć" @@ -227,6 +278,11 @@ msgstr "ćć£ć«ćæ" msgid "Geometry" msgstr "ćøćŖć”ććŖ" +#. MENU_COLOR_MANAGEMENT +#. NOTEBOOK_COLOR_MANAGEMENT_OPTIONS +msgid "Color management" +msgstr "" + #. MENU_ITEM_ABOUT_XSANE msgid "About XSane" msgstr "XSaneć«ć¤ćć¦" @@ -240,6 +296,7 @@ msgid "Quit" msgstr "ēµäŗ" #. MENU_ITEM_SAVE_IMAGE +#. DESC_VIEWER_SAVE msgid "Save image" msgstr "ć¤ć”ć¼ćøćäæå" @@ -256,6 +313,7 @@ msgid "Scale" msgstr "åē" #. MENU_ITEM_CLOSE +#. BUTTON_CLOSE msgid "Close" msgstr "éćć" @@ -449,11 +507,11 @@ msgstr "äøęøćć®č¦å" msgid "Skip existing filenames" msgstr "ē¾åØć®ćć”ć¤ć«åćć¹ććć" -#. RADIO_BUTTON_SAVE_PS_FLATDECODED +#. RADIO_BUTTON_SAVE_PS_FLATEDECODED msgid "Save postscript zlib compressed (ps level 3)" msgstr "" -#. RADIO_BUTTON_SAVE_PDF_FLATDECODED +#. RADIO_BUTTON_SAVE_PDF_FLATEDECODED msgid "Save PDF zlib compressed" msgstr "" @@ -470,7 +528,8 @@ msgid "Main window size fixed" msgstr "ć”ć¤ć³ć¦ć£ć³ćć¦ć®ćµć¤ćŗćåŗå®" #. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable gimp preview gamma" +#, fuzzy +msgid "Disable GIMP preview gamma" msgstr "GIMPć®ć¬ć³ććć¬ćć„ć¼ćē”å¹å" #. RADIO_BUTTON_PRIVATE_COLORMAP @@ -493,6 +552,11 @@ msgstr "č²å½©ć®čŖåč£ę£" msgid "Use GUI progress pipe" msgstr "GUIććć°ć¬ć¹ćć¤ććä½æēØ" +#. RADIO_BUTTON_CMS_BPC +#. MENU_ITEM_CMS_BLACK_POINT_COMPENSATION +msgid "Black point compensation" +msgstr "" + #. TEXT_SCANNING_DEVICES msgid "scanning for devices" msgstr "ććć¤ć¹ćć¹ćć£ć³ćć¦ćć¾ć" @@ -509,6 +573,12 @@ msgstr "XSaneć®ćŖćć·ć§ć³" msgid "Type" msgstr "ćæć¤ć" +#. TEXT_CMS_FUNCTION +#. DESC_CMS_FUNCTION +#, fuzzy +msgid "Color management function" +msgstr "ćć«ć«ć©ć¼ć¬ć³ćø" + #. TEXT_SCANNER_BACKEND msgid "Scanner and backend:" msgstr "ć¹ćć£ććØćććÆćØć³ćļ¼" @@ -581,18 +651,11 @@ msgstr "8ćććåŗåćć©ć¼ćććļ¼" msgid "16 bit output formats:" msgstr "16ćććåŗåćć©ć¼ćććļ¼" -#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT -msgid "" -"Gimp does not support depth 16 bits/color.\n" -"Do you want to reduce the depth to 8 bits/color?" -msgstr "" -"GIMPćÆ16ćććć«ć©ć¼ććµćć¼ććć¦ćć¾ććć\n" -"8ćććć«ć©ć¼ć«ęøč²ćć¾ćć?" - #. TEXT_REDUCE_16BIT_TO_8BIT +#, fuzzy msgid "" -"Bit depth 16 bits/color is not supported for this output format.\n" -"Do you want to reduce the depth to 8 bits/color?" +"Bit depth 16 bits/channel is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/channel?" msgstr "" "ćć®åŗåćć©ć¼ććććÆ16ćććć«ć©ć¼ććµćć¼ććć¦ćć¾ććć\n" "8ćććć«ć©ć¼ć«ęøč²ćć¾ćć?" @@ -629,6 +692,11 @@ msgstr "ćć¼ćøć§ć³" msgid "package" msgstr "ććć±ć¼ćø" +#. TEXT_WITH_CMS_FUNCTION +#, fuzzy +msgid "with color management function" +msgstr "ćć«ć«ć©ć¼ć¬ć³ćø" + #. TEXT_WITH_GIMP_SUPPORT msgid "with GIMP support" msgstr "GIMPćµćć¼ććć" @@ -766,9 +834,10 @@ msgid "Medium Name:" msgstr "触åŖåļ¼" #. TEXT_VIEWER_IMAGE_INFO -#, c-format +#, fuzzy, c-format msgid "" -"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +"Size %d x %d pixel, %d bits/channel, %d channels, %1.0f dpi x %1.0f dpi, %" +"1.1f %s" msgstr "%d x %dē»ē“ , %dććć/č², %dč², %1.0f dpi x %1.0f dpi, %1.1f %s" #. TEXT_DESPECKLE_RADIUS @@ -820,6 +889,7 @@ msgid "Name:" msgstr "ååļ¼" #. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +#. TEXT_SETUP_FAX_COMMAND msgid "Command:" msgstr "ć³ćć³ćļ¼" @@ -840,18 +910,22 @@ msgid "Color resolution (dpi):" msgstr "č²č§£ååŗ¦(dpi)ļ¼" #. TEXT_SETUP_PRINTER_WIDTH +#. TEXT_SETUP_FAX_WIDTH msgid "Width" msgstr "å¹
" #. TEXT_SETUP_PRINTER_HEIGHT +#. TEXT_SETUP_FAX_HEIGHT msgid "Height" msgstr "é«ć" #. TEXT_SETUP_PRINTER_LEFT +#. TEXT_SETUP_FAX_LEFT msgid "Left offset" msgstr "å·¦ćŖćć»ćć" #. TEXT_SETUP_PRINTER_BOTTOM +#. TEXT_SETUP_FAX_BOTTOM msgid "Bottom offset" msgstr "äøćŖćć»ćć" @@ -871,7 +945,17 @@ msgstr "ććŖć³ćæć¬ć³ć ē·ļ¼" msgid "Printer gamma blue:" msgstr "ććŖć³ćæć¬ć³ć éļ¼" -#. TEXT_SETUP_PRINTER_PS_FLATDECODED +#. TEXT_SETUP_PRINTER_EMBED_CSA +#, fuzzy +msgid "Embed scanner ICM profile as CSA" +msgstr "ććŖć³ćæåé¤" + +#. TEXT_SETUP_PRINTER_EMBED_CRD +#, fuzzy +msgid "Embed printer ICM profile as CRD" +msgstr "ććŖć³ćæåé¤" + +#. TEXT_SETUP_PRINTER_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for printing" msgstr "" @@ -996,7 +1080,7 @@ msgstr "ććć°ć©ć ć®åęå¤ćčØå®ļ¼" msgid "Viewer (Postscript):" msgstr "ćć„ć¼ćÆ(PostScript)ļ¼" -#. TEXT_SETUP_FAX_PS_FLATDECODED +#. TEXT_SETUP_FAX_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for fax" msgstr "" @@ -1075,10 +1159,45 @@ msgstr "ć°ć«ć¼ć" msgid "all" msgstr "ćć¹ć¦" +#. TEXT_SETUP_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "Scanner default color ICM-profile" +msgstr "ććŖć³ćæåé¤" + +#. TEXT_SETUP_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "Scanner default gray ICM-profile" +msgstr "ććŖć³ćæåé¤" + +#. TEXT_SETUP_DISPLAY_ICM_PROFILE +#. DESC_DISPLAY_ICM_PROFILE +msgid "Display ICM-profile" +msgstr "" + +#. TEXT_SETUP_CUSTOM_PROOFING_ICM_PROFILE +#. DESC_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "Custom proofing ICM-profile" +msgstr "ććŖć³ćæåé¤" + +#. TEXT_SETUP_WORKING_COLOR_SPACE_ICM_PROFILE +#. DESC_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "Working color space ICM-profile" +msgstr "ē»åćć”ć¤ć«åććć©ć¦ćŗ" + +#. TEXT_SETUP_PRINTER_ICM_PROFILE +#. DESC_PRINTER_ICM_PROFILE +msgid "Printer ICM-profile" +msgstr "" + msgid "new media" msgstr "ę°ććåŖä½" #. NOTEBOOK_SAVING_OPTIONS +#. MENU_ITEM_SAVE msgid "Save" msgstr "äæå" @@ -1088,14 +1207,17 @@ msgid "Filetype" msgstr "ćć”ć¤ć«" #. NOTEBOOK_COPY_OPTIONS +#. MENU_ITEM_COPY msgid "Copy" msgstr "ć³ćć¼" #. NOTEBOOK_FAX_OPTIONS +#. MENU_ITEM_FAX msgid "Fax" msgstr "FAX" #. NOTEBOOK_EMAIL_OPTIONS +#. MENU_ITEM_EMAIL #, fuzzy msgid "E-mail" msgstr "ć”ć¼ć«" @@ -1188,6 +1310,12 @@ msgstr "č§£ååŗ¦ćŖć¹ććč”Øē¤ŗ" msgid "Rotate postscript" msgstr "PostScriptćåč»¢" +#. MENU_ITEM_ENABLE_COLOR_MANAGEMENT +#. MENU_ITEM_CMS_ENABLE_COLOR_MANAGEMENT +#, fuzzy +msgid "Enable color management" +msgstr "ćć«ć«ć©ć¼ć¬ć³ćø" + #. MENU_ITEM_EDIT_MEDIUM_DEF msgid "Edit medium definition" msgstr "åŖä½ć®å®ē¾©ćē·Øé" @@ -1232,6 +1360,86 @@ msgstr "ć¹ćć£ć³ć«é¢ććTips" msgid "Problems?" msgstr "ä½ćåé”?" +#. MENU_ITEM_CMS_PROOFING +#, fuzzy +msgid "Proofing" +msgstr "ććŖć³ćæčæ½å " + +#. SUBMENU_ITEM_CMS_PROOF_OFF +msgid "no proofing (Display)" +msgstr "" + +#. SUBMENU_ITEM_CMS_PROOF_PRINTER +#, fuzzy +msgid "Proof printer" +msgstr "ććŖć³ćæčæ½å " + +#. SUBMENU_ITEM_CMS_PROOF_CUSTOM +msgid "Proof custom device" +msgstr "" + +#. MENU_ITEM_CMS_RENDERING_INTENT +#, fuzzy +msgid "Rendering intent" +msgstr "ććŖć³ćæčæ½å " + +#. MENU_ITEM_CMS_PROOFING_INTENT +#, fuzzy +msgid "Proofing rendering intent" +msgstr "ććŖć³ćæčæ½å " + +#. SUBMENU_ITEM_CMS_INTENT_PERCEPTUAL +msgid "Perceptual" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_RELATIVE_COLORIMETRIC +msgid "Relative colorimetric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_ABSOLUTE_COLORIMETRIC +msgid "Absolute colorimentric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_SATURATION +#, fuzzy +msgid "Saturation" +msgstr "ć¢ćÆć»ć¹ęØ©é" + +#. MENU_ITEM_CMS_GAMUT_CHECK +msgid "Gamut check" +msgstr "" + +#. MENU_ITEM_CMS_GAMUT_ALARM_COLOR +msgid "Gamut alarm color" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLACK +msgid "Black" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_GRAY +msgid "Gray" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_WHITE +#, fuzzy +msgid "White" +msgstr "ęøč¾¼ćæ" + +#. SUBMENU_ITEM_CMS_COLOR_RED +#, fuzzy +msgid "Red" +msgstr "ēø®å°" + +#. SUBMENU_ITEM_CMS_COLOR_GREEN +msgid "Green" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLUE +#, fuzzy +msgid "Blue" +msgstr "ć«ććæ" + #. MENU_ITEM_COUNTER_LEN_INACTIVE msgid "inactive" msgstr "éę“»ę§" @@ -1350,6 +1558,20 @@ msgstr "" msgid "ASMTP CRAM-MD5" msgstr "" +#. MENU_ITEM_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE +#, fuzzy +msgid "Embed scanner ICM profile" +msgstr "ććŖć³ćæåé¤" + +#. MENU_ITEM_CMS_FUNCTION_CONVERT_TO_SRGB +msgid "Convert to sRGB" +msgstr "" + +#. MENU_ITEM_FUNCTION_CONVERT_TO_WORKING_CS +#, fuzzy +msgid "Convert to working color space" +msgstr "č²å½©ć®čŖåč£ę£" + #. PROGRESS_SCANNING msgid "Scanning" msgstr "ć¹ćć£ć³ćć¦ćć¾ć" @@ -1408,6 +1630,11 @@ msgstr "ē»åćć«ćć¾ćäø" msgid "OCR in progress" msgstr "OCRé²č”äø" +#. PROGRESS_ICM_CONVERSION +#, fuzzy +msgid "converting colors" +msgstr "č²å½©ć®čŖåč£ę£" + #. DESC_SCAN_START msgid "Start scan <Ctrl-Enter>" msgstr "ć¹ćć£ć³éå§ <Ctrl-Enter>" @@ -1466,8 +1693,9 @@ msgid "" msgstr "ē»åćć©ć¼ććććæć¤ććć”ć¤ć«åć«čŖåć§ć¤ćé©åćŖę”å¼µå" #. DESC_FAXPROJECT -msgid "Enter name of fax project" -msgstr "FAXćććøć§ćÆćåćå
„å" +#, fuzzy +msgid "Enter fax project directory name" +msgstr "äøęćć£ć¬ćÆććŖć®åē
§" #. DESC_FAXPAGENAME msgid "Enter new name for faxpage" @@ -1477,10 +1705,15 @@ msgstr "FAXćć¼ćøć«ć¤ćććć”ć¤ć«åćå
„å" msgid "Enter receiver phone number or address" msgstr "FAXåäæ”ę©ć®é»č©±ēŖå·ćć¢ćć¬ć¹ćå
„å" +#. DESC_FAX_PROJECT_BROWSE +#, fuzzy +msgid "Browse for fax project directory" +msgstr "äøęćć£ć¬ćÆććŖć®åē
§" + #. DESC_EMAIL_PROJECT #, fuzzy -msgid "Enter name of e-mail project" -msgstr "ć”ć¼ć«ćććøć§ćÆćåćå
„å" +msgid "Enter e-mail project directory name" +msgstr "äøęćć£ć¬ćÆććŖć®åē
§" #. DESC_EMAIL_IMAGENAME #, fuzzy @@ -1492,6 +1725,11 @@ msgstr "ę°č¦ć”ć¼ć«ć¤ć”ć¼ćøć®ćć”ć¤ć«åćå
„å" msgid "Enter e-mail address" msgstr "ć”ć¼ć«ć¢ćć¬ć¹ćå
„å" +#. DESC_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "Browse for email project directory" +msgstr "äøęćć£ć¬ćÆććŖć®åē
§" + #. DESC_EMAIL_SUBJECT #, fuzzy msgid "Enter subject of e-mail" @@ -1503,8 +1741,13 @@ msgstr "ē»åę·»ä»ęć®ćć”ć¤ć«ćæć¤ććéøę" #. DESC_MULTIPAGE_PROJECT #, fuzzy -msgid "Enter name of multipage project" -msgstr "ć”ć¼ć«ćććøć§ćÆćåćå
„å" +msgid "Enter multipage project directory name" +msgstr "äøęćć£ć¬ćÆććŖć®åē
§" + +#. DESC_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "Browse for multipage project directory" +msgstr "äøęćć£ć¬ćÆććŖć®åē
§" #. DESC_MULTIPAGE_FILETYPE #, fuzzy @@ -1629,7 +1872,8 @@ msgstr "" "ć³ć³ćć©ć¹ć = 0" #. DESC_ENH_AUTO -msgid "Autoadjust gamma, brightness and contrast <Ctrl-e>" +#, fuzzy +msgid "Autoadjust gamma, brightness and contrast <Ctrl-a>" msgstr "" "éøęćććć¹ćć£ć³é åć«åæćć¦ćć¬ć³ćå¤ćęåŗ¦ćć³ć³ćć©ć¹ććčŖåčŖæę“ <Ctrl-" "e>" @@ -1709,18 +1953,22 @@ msgid "Resolution with which color images are printed and saved in postscript" msgstr "ć«ć©ć¼ē»åć®č§£ååŗ¦ćÆPostScriptć§å°å·ć»äæåććć¾ć" #. DESC_PRINTER_WIDTH +#. DESC_FAX_WIDTH msgid "Width of printable area" msgstr "å°å·åÆč½é åå¹
" #. DESC_PRINTER_HEIGHT +#. DESC_FAX_HEIGHT msgid "Height of printable area" msgstr "å°å·åÆč½é åé«ć" #. DESC_PRINTER_LEFTOFFSET +#. DESC_FAX_LEFTOFFSET msgid "Left offset from the edge of the paper to the printable area" msgstr "å°å·åÆč½é åć®ēØē“ē«Æććć®å·¦ćŖćć»ćć" #. DESC_PRINTER_BOTTOMOFFSET +#. DESC_FAX_BOTTOMOFFSET msgid "Bottom offset from the edge of the paper to the printable area" msgstr "å°å·åÆč½é åć®ēØē“ē«Æććć®äøćŖćć»ćć" @@ -1740,9 +1988,17 @@ msgstr "ē¼ćå¢ććøć®ē·ęåčæ½å ć¬ć³ćå¤" msgid "Additional gamma value for blue component for photocopy" msgstr "ē¼ćå¢ććøć®éęåčæ½å ć¬ć³ćå¤" -#. DESC_PRINTER_PS_FLATDECODED +#. DESC_PRINTER_EMBED_CSA +msgid "Creates a postsciptfile that contains the ICM profile of the scanner" +msgstr "" + +#. DESC_PRINTER_EMBED_CRD +msgid "Creates a postsciptfile that contains the ICM profile of the printer" +msgstr "" + +#. DESC_PRINTER_PS_FLATEDECODED msgid "" -"Create zlib compressed postscript image for printer (flatdecode).\n" +"Create zlib compressed postscript image for printer (flatedecode).\n" "The printer has to understand postscript level 3!" msgstr "" @@ -1798,14 +2054,14 @@ msgid "" "If filename counter is automatically increased, used numbers are skipped" msgstr "ćć”ć¤ć«åć®ć«ć¦ć³ćæćčŖåēć«å¢å ććéćä½æēØęøćæć®ēŖå·ćÆćØć°ććć¾ć" -#. DESC_SAVE_PS_FLATDECODED +#. DESC_SAVE_PS_FLATEDECODED msgid "" -"compress postscript image with zlib algorithm (flatdecode). When you want to " -"print such a file your printer has to understand postscript level 3" +"compress postscript image with zlib algorithm (flatedecode). When you want " +"to print such a file your printer has to understand postscript level 3" msgstr "" -#. DESC_SAVE_PDF_FLATDECODED -msgid "compress PDF image with zlib algorithm (flatdecode)." +#. DESC_SAVE_PDF_FLATEDECODED +msgid "compress PDF image with zlib algorithm (flatedecode)." msgstr "" #. DESC_SAVE_PNM16_AS_ASCII @@ -1821,7 +2077,9 @@ msgstr "" "ć°ć©ć ć§ćµćć¼ćććć¦ćć¾ććććććøćå·Ø大ćŖćć”ć¤ć«ćä½ćć¾ćć" #. DESC_REDUCE_16BIT_TO_8BIT -msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +#, fuzzy +msgid "" +"If scanner sends image with 16 bits/channel save image with 8 bits/channel" msgstr "ē»åć16ćććć«ć©ć¼ć§ć¹ćć£ćććéććććć8ćććć§äæå" #. DESC_PSFILE_WIDTH @@ -1849,7 +2107,8 @@ msgid "Use fixed main window size or scrolled, resizable main window" msgstr "ć”ć¤ć³ć¦ć£ć³ćć¦ć«åŗå®ćµć¤ćŗćä½æćććć¹ćÆćć¼ć«ć»ćŖćµć¤ćŗåÆč½ć«ćć" #. DESC_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable preview gamma when XSane runs as gimp plugin" +#, fuzzy +msgid "Disable preview gamma when XSane runs as GIMP plugin" msgstr "XSanećGIMPćć©ć°ć¤ć³ćØćć¦åä½ććęćÆćć¬ć³ććć¬ćć„ć¼ććŖćć«ćć" #. DESC_PREVIEW_COLORMAP @@ -1935,6 +2194,15 @@ msgstr "ćć¬ćć„ć¼ć¹ćć£ć³ēµäŗå¾ć®ć¹ćć£ć³é åćéøę" msgid "Do color correction after preview scan has finished" msgstr "ćć¬ćć„ć¼ć¹ćć£ć³ēµäŗå¾ć«č²å½©č£ę£ćč”ć" +#. DESC_RENDERING_INTENT +#, fuzzy +msgid "Select rendering intent for preview and saving" +msgstr "ćć¬ćć„ć¼ć¹ćć£ć³ēµäŗå¾ć®ć¹ćć£ć³é åćéøę" + +#. DESC_CMS_BPC +msgid "Apply black point compensation when color transformation is done" +msgstr "" + #. DESC_FAX_COMMAND msgid "Enter command to be executed in fax mode" msgstr "FAXć¢ć¼ćć§å®č”ćććć³ćć³ććå
„å" @@ -1963,8 +2231,8 @@ msgstr "FAXåē
§ć®ććć®å®č”ć³ćć³ććå
„å" msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" msgstr "åē“é«č§£ååŗ¦ļ¼98lpić«ä»£ćć¦196lpić§ļ¼ć¢ć¼ćć§FAXéäæ”" -#. DESC_FAX_PS_FLATDECODED -msgid "Create zlib compressed postscript image for fax (flatdecode)" +#. DESC_FAX_PS_FLATEDECODED +msgid "Create zlib compressed postscript image for fax (flatedecode)" msgstr "" #. DESC_SMTP_SERVER @@ -2048,9 +2316,10 @@ msgstr "čŖč¾¼ćæ" msgid "write" msgstr "ęøč¾¼ćæ" -#. DESC_PERMISSION_EXECUTE -msgid "execute" -msgstr "å®č”" +#. DESC_PERMISSION_SEARCH +#, fuzzy +msgid "search" +msgstr "ć¦ć¼ć¶ć¼" #. DESC_ADD_BATCH msgid "Add selection for batch scan" @@ -2219,6 +2488,36 @@ msgstr "éøęé åćććććŖć¹ćććåé¤" msgid "Turns on automatic mode" msgstr "čŖåć¢ć¼ćć«åęæć" +#. DESC_BUTTON_SCANNER_DEFAULT_COLOR_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default color ICM-profile" +msgstr "ē»åćć”ć¤ć«åććć©ć¦ćŗ" + +#. DESC_BUTTON_SCANNER_DEFAULT_GRAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default gray ICM-profile" +msgstr "ē»åćć”ć¤ć«åććć©ć¦ćŗ" + +#. DESC_BUTTON_DISPLAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for display ICM-profile" +msgstr "ē»åćć”ć¤ć«åććć©ć¦ćŗ" + +#. DESC_BUTTON_PRINTER_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for printer ICM-profile" +msgstr "ē»åćć”ć¤ć«åććć©ć¦ćŗ" + +#. DESC_BUTTON_CUSTOM_PROOFING_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for custom proofing ICM-profile" +msgstr "ē»åćć”ć¤ć«åććć©ć¦ćŗ" + +#. DESC_BUTTON_WORKING_COLOR_SPACE_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for working color space ICM-profile" +msgstr "ē»åćć”ć¤ć«åććć©ć¦ćŗ" + #. ERR_HOME_DIR msgid "Failed to determine home directory:" msgstr "ćć¼ć ćć£ć¬ćÆććŖć®ē¢ŗå®ć«å¤±ęćć¾ććļ¼" @@ -2271,11 +2570,6 @@ msgstr "äæåćØć©ć¼ć§ćļ¼" msgid "Can't handle depth" msgstr "ę·±åŗ¦ćåå¾ć§ćć¾ćć" -#. ERR_GIMP_BAD_DEPTH -#, c-format -msgid "GIMP can't handle depth %d bits/color" -msgstr "GIMPć%dćććć«ć©ć¼ćåå¾ć§ćć¾ćć" - #. ERR_UNKNOWN_SAVING_FORMAT msgid "Unknown file format for saving" msgstr "ęŖē„ć®äæåćć©ć¼ćććć§ć" @@ -2509,10 +2803,68 @@ msgstr "ćć”ć¤ć« %s ćÆPostScriptćć”ć¤ć«ć§ćÆććć¾ćć" msgid "Unsupported %d-bit output format: %s" msgstr "%dćććć§ćµćć¼ćććć¦ććŖćåŗåćć©ć¼ćććć§ćļ¼ %s" +#. ERR_CMS_CONVERSION +#, fuzzy +msgid "Error during CMS conversion:" +msgstr "äæåćØć©ć¼ć§ćļ¼" + +#. ERR_CMS_OPEN_ICM_FILE +#, fuzzy +msgid "Could not open" +msgstr "éćć¾ćć" + +#. CMS_SCANNER_ICM +#, fuzzy +msgid "scanner ICM profile" +msgstr "ććŖć³ćæåé¤" + +#. CMS_DISPLAY_ICM +#, fuzzy +msgid "display ICM profile" +msgstr "ē»åćć”ć¤ć«åććć©ć¦ćŗ" + +#. CMS_PROOF_ICM +#, fuzzy +msgid "proofing ICM profile" +msgstr "ććŖć³ćæåé¤" + +#. ERR_CMS_CREATE_TRANSFORM +#, fuzzy +msgid "Could not create transform" +msgstr "äøęćć”ć¤ć«ćä½ćć¾ćć" + #. WARN_VIEWER_IMAGE_NOT_SAVED msgid "viewer image is not saved" msgstr "ćć„ć¼ćÆć®ē»åćäæåććć¦ćć¾ćć" +#. FILE_FILTER_ALL_FILES +msgid "All files" +msgstr "" + +#. FILE_FILTER_IMAGES +#, fuzzy +msgid "Images" +msgstr "ē»å" + +#. FILE_FILTER_XBL +#, fuzzy +msgid "XSane batch list" +msgstr "ććććŖć¹ććäæå" + +#. FILE_FILTER_ICM +msgid "ICC/ICM Profiles" +msgstr "" + +#. FILE_FILTER_DRC +#, fuzzy +msgid "XSane device preferences" +msgstr "ēµäŗęć«ććć¤ć¹čØå®ćäæå" + +#. FILE_FILTER_RC +#, fuzzy +msgid "XSane preferences" +msgstr "čØå®" + #. TEXT_USAGE msgid "Usage:" msgstr "ęøå¼ļ¼" @@ -2898,8 +3250,66 @@ msgstr "ćŖć¼ćć¼ććć¼" msgid "Access to resource has been denied" msgstr "ćŖć½ć¼ć¹ćøć®ć¢ćÆć»ć¹ćęå¦ććć¾ćć" -#~ msgid "Could not create temporary file" -#~ msgstr "äøęćć”ć¤ć«ćä½ćć¾ćć" +#, fuzzy +#~ msgid "select scanner transmissive ICM-profile" +#~ msgstr "ććŖć³ćæåé¤" + +#, fuzzy +#~ msgid "select scanner transmissive gray ICM-profile" +#~ msgstr "ććŖć³ćæåé¤" + +#, fuzzy +#~ msgid "Scanner reflective ICM-profile" +#~ msgstr "ććŖć³ćæåé¤" + +#, fuzzy +#~ msgid "Scanner reflective gray ICM-profile" +#~ msgstr "ććŖć³ćæåé¤" + +#, fuzzy +#~ msgid "Scanner transmissive gray ICM-profile" +#~ msgstr "ććŖć³ćæåé¤" + +#, fuzzy +#~ msgid "Scanner reflektive ICM-profile" +#~ msgstr "ććŖć³ćæåé¤" + +#, fuzzy +#~ msgid "Browse for scanner transmissive ICM-profile" +#~ msgstr "ē»åćć”ć¤ć«åććć©ć¦ćŗ" + +#, fuzzy +#~ msgid "Browse for scanner transmissive gray ICM-profile" +#~ msgstr "ē»åćć”ć¤ć«åććć©ć¦ćŗ" + +#~ msgid "GIMP can't handle depth %d bits/color" +#~ msgstr "GIMPć%dćććć«ć©ć¼ćåå¾ć§ćć¾ćć" + +#, fuzzy +#~ msgid "scanner reflective ICM profile" +#~ msgstr "ććŖć³ćæåé¤" + +#, fuzzy +#~ msgid "Embed scanner/source ICM profile for GIMP" +#~ msgstr "ććŖć³ćæåé¤" + +#~ msgid "Enter name of fax project" +#~ msgstr "FAXćććøć§ćÆćåćå
„å" + +#, fuzzy +#~ msgid "Enter name of e-mail project" +#~ msgstr "ć”ć¼ć«ćććøć§ćÆćåćå
„å" + +#, fuzzy +#~ msgid "Enter name of multipage project" +#~ msgstr "ć”ć¼ć«ćććøć§ćÆćåćå
„å" + +#~ msgid "" +#~ "Gimp does not support depth 16 bits/color.\n" +#~ "Do you want to reduce the depth to 8 bits/color?" +#~ msgstr "" +#~ "GIMPćÆ16ćććć«ć©ć¼ććµćć¼ććć¦ćć¾ććć\n" +#~ "8ćććć«ć©ć¼ć«ęøč²ćć¾ćć?" #~ msgid "Could not create temporary preview files" #~ msgstr "äøęćć¬ćć„ć¼ćć”ć¤ć«ćä½ćć¾ćć" @@ -2966,9 +3376,6 @@ msgstr "ćŖć½ć¼ć¹ćøć®ć¢ćÆć»ć¹ćęå¦ććć¾ćć" #~ msgid "Multipage saving aborted" #~ msgstr "ć”ć¼ć«ćććøć§ćÆććä½ęććć¾ćć" -#~ msgid "Image" -#~ msgstr "ē»å" - #~ msgid "Viewer (png):" #~ msgstr "ćć„ć¼ćÆ(PNG)ļ¼" @@ -7,14 +7,14 @@ msgid "" msgstr "" "Project-Id-Version: XSANE 0.96\n" -"POT-Creation-Date: 2006-01-07 00:26+0100\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-25 23:44+0100\n" "PO-Revision-Date: 2005-12-22 09:00+0100\n" "Last-Translator: Wim Sinke <rietenmeubel@xs4all.nl>\n" "Language-Team: Dutch <nl@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Report-Msgid-Bugs-To: \n" #. Please translate this to the correct directory name (eg. german=>de) #. XSANE_LANGUAGE_DIR @@ -35,6 +35,7 @@ msgid "About" msgstr "Over" #. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +#. MENU_ITEM_ABOUT_TRANSLATION msgid "About translation" msgstr "Over de vertaling" @@ -75,6 +76,11 @@ msgstr "batchgebied hernoemen" msgid "fax project" msgstr "faxproject" +#. WINDOW_FAX_PROJECT_BROWSE +#, fuzzy +msgid "browse for fax project" +msgstr "De naam van het faxproject" + #. WINDOW_FAX_RENAME msgid "rename fax page" msgstr "faxpagina hernoemen" @@ -87,6 +93,11 @@ msgstr "ps-bestand in fax voegen" msgid "E-mail project" msgstr "E-mailproject" +#. WINDOW_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "browse for email project" +msgstr "De naam van het e-mail project" + #. WINDOW_EMAIL_RENAME msgid "rename e-mail image" msgstr "e-mail afbeelding hernoemen" @@ -99,6 +110,11 @@ msgstr "voeg afbeelding in e-mail" msgid "multipage project" msgstr "meerdere pagina's project" +#. WINDOW_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "browse for multipage project" +msgstr "meerdere pagina's project" + #. WINDOW_PRESET_AREA_RENAME msgid "rename preset area" msgstr "scangebied hernoemen" @@ -144,6 +160,7 @@ msgid "Preview" msgstr "Voorvertoning" #. WINDOW_VIEWER +#. MENU_ITEM_VIEWER msgid "Viewer" msgstr "Bekijken" @@ -176,14 +193,17 @@ msgid "select temporary directory" msgstr "selecteer tijdelijke map" #. WINDOW_SCALE +#. DESC_VIEWER_SCALE msgid "Scale image" msgstr "Schaal afbeelding" #. WINDOW_DESPECKLE +#. DESC_VIEWER_DESPECKLE msgid "Despeckle image" msgstr "Spikkels wegwerken" #. WINDOW_BLUR +#. DESC_VIEWER_BLUR msgid "Blur image" msgstr "Afbeelding vervagen" @@ -195,6 +215,35 @@ msgstr "Bewaar mediumdefinitie" msgid "No devices available" msgstr "Geen apparaten vrij" +#. WINDOW_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "select scanner default color ICM-profile" +msgstr "Printer verwijderen" + +#. WINDOW_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "select scanner default gray ICM-profile" +msgstr "Printer verwijderen" + +#. WINDOW_DISPLAY_ICM_PROFILE +msgid "select display ICM-profile" +msgstr "" + +#. WINDOW_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "select custom proofing ICM-profile" +msgstr "kies uitvoernaam" + +#. WINDOW_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "select working color space ICM-profile" +msgstr "Printer verwijderen" + +#. WINDOW_PRINTER_ICM_PROFILE +#, fuzzy +msgid "select printer ICM-profile" +msgstr "Printer verwijderen" + #. MENU_FILE msgid "File" msgstr "Bestand" @@ -212,6 +261,7 @@ msgid "Window" msgstr "Venster" #. MENU_HELP +#. BUTTON_HELP msgid "Help" msgstr "Help" @@ -227,6 +277,11 @@ msgstr "Filters" msgid "Geometry" msgstr "Geometrie" +#. MENU_COLOR_MANAGEMENT +#. NOTEBOOK_COLOR_MANAGEMENT_OPTIONS +msgid "Color management" +msgstr "" + #. MENU_ITEM_ABOUT_XSANE msgid "About XSane" msgstr "Over XSane" @@ -240,6 +295,7 @@ msgid "Quit" msgstr "Afsluiten" #. MENU_ITEM_SAVE_IMAGE +#. DESC_VIEWER_SAVE msgid "Save image" msgstr "Bewaar afbeelding" @@ -256,6 +312,7 @@ msgid "Scale" msgstr "Schaal" #. MENU_ITEM_CLOSE +#. BUTTON_CLOSE msgid "Close" msgstr "Sluiten" @@ -448,11 +505,11 @@ msgstr "Waarschuwing bij overschrijving" msgid "Skip existing filenames" msgstr "Bestaande bestandnamen overslaan" -#. RADIO_BUTTON_SAVE_PS_FLATDECODED +#. RADIO_BUTTON_SAVE_PS_FLATEDECODED msgid "Save postscript zlib compressed (ps level 3)" msgstr "Opslaan als zlib gecomprimeerd PostScript (level 3)" -#. RADIO_BUTTON_SAVE_PDF_FLATDECODED +#. RADIO_BUTTON_SAVE_PDF_FLATEDECODED msgid "Save PDF zlib compressed" msgstr "Opslaan als PDF zlib gecomprimeerd" @@ -469,7 +526,8 @@ msgid "Main window size fixed" msgstr "Vaste hoofdvenstergrootte" #. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable gimp preview gamma" +#, fuzzy +msgid "Disable GIMP preview gamma" msgstr "Preview gamma voor Gimp deactiveren" #. RADIO_BUTTON_PRIVATE_COLORMAP @@ -492,6 +550,11 @@ msgstr "Automatisch kleuren verbeteren" msgid "Use GUI progress pipe" msgstr "Gebruik GUI progressie pipe" +#. RADIO_BUTTON_CMS_BPC +#. MENU_ITEM_CMS_BLACK_POINT_COMPENSATION +msgid "Black point compensation" +msgstr "" + #. TEXT_SCANNING_DEVICES msgid "scanning for devices" msgstr "Zoeken naar apparaten" @@ -508,6 +571,12 @@ msgstr "XSane opties" msgid "Type" msgstr "Type" +#. TEXT_CMS_FUNCTION +#. DESC_CMS_FUNCTION +#, fuzzy +msgid "Color management function" +msgstr "Volledig kleuren bereik" + #. TEXT_SCANNER_BACKEND msgid "Scanner and backend:" msgstr "Scanner en backend:" @@ -580,18 +649,11 @@ msgstr "8 bits uitvoerformaten:" msgid "16 bit output formats:" msgstr "16 bits uitvoerformaten:" -#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT -msgid "" -"Gimp does not support depth 16 bits/color.\n" -"Do you want to reduce the depth to 8 bits/color?" -msgstr "" -"Gimp kan geen 16 bits kleurdiepte aan.\n" -"Wil je de diepte reduceren naar 8 bits?" - #. TEXT_REDUCE_16BIT_TO_8BIT +#, fuzzy msgid "" -"Bit depth 16 bits/color is not supported for this output format.\n" -"Do you want to reduce the depth to 8 bits/color?" +"Bit depth 16 bits/channel is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/channel?" msgstr "" "Dit uitvoerformaat kan geen 16 bits kleurdiepte aan.\n" "Wil je de diepte reduceren naar 8 bits?" @@ -628,6 +690,11 @@ msgstr "versie:" msgid "package" msgstr "pakket" +#. TEXT_WITH_CMS_FUNCTION +#, fuzzy +msgid "with color management function" +msgstr "Volledig kleuren bereik" + #. TEXT_WITH_GIMP_SUPPORT msgid "with GIMP support" msgstr "met GIMP ondersteuning" @@ -764,9 +831,10 @@ msgid "Medium Name:" msgstr "Naam medium:" #. TEXT_VIEWER_IMAGE_INFO -#, c-format +#, fuzzy, c-format msgid "" -"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +"Size %d x %d pixel, %d bits/channel, %d channels, %1.0f dpi x %1.0f dpi, %" +"1.1f %s" msgstr "" "Grootte %d x %d pixels, %d bit/kleur, %d kleuren, %1.0f dpi x %1.0f dpi, %" "1.1f %s" @@ -820,6 +888,7 @@ msgid "Name:" msgstr "Naam:" #. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +#. TEXT_SETUP_FAX_COMMAND msgid "Command:" msgstr "Commando:" @@ -840,18 +909,22 @@ msgid "Color resolution (dpi):" msgstr "Kleur resolutie (dpi):" #. TEXT_SETUP_PRINTER_WIDTH +#. TEXT_SETUP_FAX_WIDTH msgid "Width" msgstr "Breedte" #. TEXT_SETUP_PRINTER_HEIGHT +#. TEXT_SETUP_FAX_HEIGHT msgid "Height" msgstr "Hoogte" #. TEXT_SETUP_PRINTER_LEFT +#. TEXT_SETUP_FAX_LEFT msgid "Left offset" msgstr "Linker rand" #. TEXT_SETUP_PRINTER_BOTTOM +#. TEXT_SETUP_FAX_BOTTOM msgid "Bottom offset" msgstr "Onderrand" @@ -871,7 +944,17 @@ msgstr "Printer gammawaarde groen:" msgid "Printer gamma blue:" msgstr "Printer gammawaarde blauw:" -#. TEXT_SETUP_PRINTER_PS_FLATDECODED +#. TEXT_SETUP_PRINTER_EMBED_CSA +#, fuzzy +msgid "Embed scanner ICM profile as CSA" +msgstr "Printer verwijderen" + +#. TEXT_SETUP_PRINTER_EMBED_CRD +#, fuzzy +msgid "Embed printer ICM profile as CRD" +msgstr "Printer verwijderen" + +#. TEXT_SETUP_PRINTER_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for printing" msgstr "Maak zlib gecomprimeerd PostScript (level 3) plaatje voor printen" @@ -995,7 +1078,7 @@ msgstr "Geef programma standaardwaarden:" msgid "Viewer (Postscript):" msgstr "Bekijkprogramma (PostScript):" -#. TEXT_SETUP_FAX_PS_FLATDECODED +#. TEXT_SETUP_FAX_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for fax" msgstr "Maak zlib gecomprimeerd PostScript (level 3) plaatje voor fax" @@ -1074,10 +1157,45 @@ msgstr "groep" msgid "all" msgstr "allemaal" +#. TEXT_SETUP_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "Scanner default color ICM-profile" +msgstr "Printer verwijderen" + +#. TEXT_SETUP_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "Scanner default gray ICM-profile" +msgstr "Printer verwijderen" + +#. TEXT_SETUP_DISPLAY_ICM_PROFILE +#. DESC_DISPLAY_ICM_PROFILE +msgid "Display ICM-profile" +msgstr "" + +#. TEXT_SETUP_CUSTOM_PROOFING_ICM_PROFILE +#. DESC_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "Custom proofing ICM-profile" +msgstr "Printer verwijderen" + +#. TEXT_SETUP_WORKING_COLOR_SPACE_ICM_PROFILE +#. DESC_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "Working color space ICM-profile" +msgstr "Kies een bestandsnaam" + +#. TEXT_SETUP_PRINTER_ICM_PROFILE +#. DESC_PRINTER_ICM_PROFILE +msgid "Printer ICM-profile" +msgstr "" + msgid "new media" msgstr "nieuwe media" #. NOTEBOOK_SAVING_OPTIONS +#. MENU_ITEM_SAVE msgid "Save" msgstr "Opslaan" @@ -1086,14 +1204,17 @@ msgid "Filetype" msgstr "Bestandssoort" #. NOTEBOOK_COPY_OPTIONS +#. MENU_ITEM_COPY msgid "Copy" msgstr "KopiĆ«ren" #. NOTEBOOK_FAX_OPTIONS +#. MENU_ITEM_FAX msgid "Fax" msgstr "Faxen" #. NOTEBOOK_EMAIL_OPTIONS +#. MENU_ITEM_EMAIL msgid "E-mail" msgstr "E-mail" @@ -1186,6 +1307,12 @@ msgstr "Laat resolutie lijst zien" msgid "Rotate postscript" msgstr "Draai PostScript" +#. MENU_ITEM_ENABLE_COLOR_MANAGEMENT +#. MENU_ITEM_CMS_ENABLE_COLOR_MANAGEMENT +#, fuzzy +msgid "Enable color management" +msgstr "Volledig kleuren bereik" + #. MENU_ITEM_EDIT_MEDIUM_DEF msgid "Edit medium definition" msgstr "Verander mediumdefinitie" @@ -1230,6 +1357,86 @@ msgstr "Scantips" msgid "Problems?" msgstr "Problemen?" +#. MENU_ITEM_CMS_PROOFING +#, fuzzy +msgid "Proofing" +msgstr "Printer toevoegen" + +#. SUBMENU_ITEM_CMS_PROOF_OFF +msgid "no proofing (Display)" +msgstr "" + +#. SUBMENU_ITEM_CMS_PROOF_PRINTER +#, fuzzy +msgid "Proof printer" +msgstr "Printer toevoegen" + +#. SUBMENU_ITEM_CMS_PROOF_CUSTOM +msgid "Proof custom device" +msgstr "" + +#. MENU_ITEM_CMS_RENDERING_INTENT +#, fuzzy +msgid "Rendering intent" +msgstr "Printer toevoegen" + +#. MENU_ITEM_CMS_PROOFING_INTENT +#, fuzzy +msgid "Proofing rendering intent" +msgstr "Printer toevoegen" + +#. SUBMENU_ITEM_CMS_INTENT_PERCEPTUAL +msgid "Perceptual" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_RELATIVE_COLORIMETRIC +msgid "Relative colorimetric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_ABSOLUTE_COLORIMETRIC +msgid "Absolute colorimentric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_SATURATION +#, fuzzy +msgid "Saturation" +msgstr "authorizatie" + +#. MENU_ITEM_CMS_GAMUT_CHECK +msgid "Gamut check" +msgstr "" + +#. MENU_ITEM_CMS_GAMUT_ALARM_COLOR +msgid "Gamut alarm color" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLACK +msgid "Black" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_GRAY +msgid "Gray" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_WHITE +#, fuzzy +msgid "White" +msgstr "schrijven" + +#. SUBMENU_ITEM_CMS_COLOR_RED +#, fuzzy +msgid "Red" +msgstr "Reduceren" + +#. SUBMENU_ITEM_CMS_COLOR_GREEN +msgid "Green" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLUE +#, fuzzy +msgid "Blue" +msgstr "Vervagen" + #. MENU_ITEM_COUNTER_LEN_INACTIVE msgid "inactive" msgstr "inactief" @@ -1347,6 +1554,20 @@ msgstr "" msgid "ASMTP CRAM-MD5" msgstr "" +#. MENU_ITEM_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE +#, fuzzy +msgid "Embed scanner ICM profile" +msgstr "Printer verwijderen" + +#. MENU_ITEM_CMS_FUNCTION_CONVERT_TO_SRGB +msgid "Convert to sRGB" +msgstr "" + +#. MENU_ITEM_FUNCTION_CONVERT_TO_WORKING_CS +#, fuzzy +msgid "Convert to working color space" +msgstr "Automatisch kleuren verbeteren" + #. PROGRESS_SCANNING msgid "Scanning" msgstr "Aan het scannen" @@ -1404,6 +1625,11 @@ msgstr "Afbeelding vervagen" msgid "OCR in progress" msgstr "Tekstherkenning is bezig" +#. PROGRESS_ICM_CONVERSION +#, fuzzy +msgid "converting colors" +msgstr "Automatisch kleuren verbeteren" + #. DESC_SCAN_START msgid "Start scan <Ctrl-Enter>" msgstr "Start scannen <Ctrl-Enter>" @@ -1463,8 +1689,9 @@ msgstr "" "bestandsnaam" #. DESC_FAXPROJECT -msgid "Enter name of fax project" -msgstr "De naam van het faxproject" +#, fuzzy +msgid "Enter fax project directory name" +msgstr "Bekijk de tijdelijke map" #. DESC_FAXPAGENAME msgid "Enter new name for faxpage" @@ -1474,9 +1701,15 @@ msgstr "Geef de naam van de faxpagina" msgid "Enter receiver phone number or address" msgstr "Geef telefoonnummer of adres van de ontvanger" +#. DESC_FAX_PROJECT_BROWSE +#, fuzzy +msgid "Browse for fax project directory" +msgstr "Bekijk de tijdelijke map" + #. DESC_EMAIL_PROJECT -msgid "Enter name of e-mail project" -msgstr "De naam van het e-mail project" +#, fuzzy +msgid "Enter e-mail project directory name" +msgstr "Bekijk de tijdelijke map" #. DESC_EMAIL_IMAGENAME msgid "Enter new name for e-mail image" @@ -1486,6 +1719,11 @@ msgstr "De nieuwe naam van de e-mail afbeelding" msgid "Enter e-mail address" msgstr "E-mail adres" +#. DESC_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "Browse for email project directory" +msgstr "Bekijk de tijdelijke map" + #. DESC_EMAIL_SUBJECT msgid "Enter subject of e-mail" msgstr "E-mail onderwerp" @@ -1495,8 +1733,14 @@ msgid "Select filetype for image attachments" msgstr "Selecteer het type van de afbeeldingen" #. DESC_MULTIPAGE_PROJECT -msgid "Enter name of multipage project" -msgstr "De naam van het meerdere pagina's project" +#, fuzzy +msgid "Enter multipage project directory name" +msgstr "Bekijk de tijdelijke map" + +#. DESC_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "Browse for multipage project directory" +msgstr "Bekijk de tijdelijke map" #. DESC_MULTIPAGE_FILETYPE msgid "Select filetype for multipage file" @@ -1621,7 +1865,8 @@ msgstr "" " contrast = 0" #. DESC_ENH_AUTO -msgid "Autoadjust gamma, brightness and contrast <Ctrl-e>" +#, fuzzy +msgid "Autoadjust gamma, brightness and contrast <Ctrl-a>" msgstr "Automatische aanpassing van gamma, helderheid en contrast <Ctrl-e>" #. DESC_ENH_DEFAULT @@ -1699,18 +1944,22 @@ msgid "Resolution with which color images are printed and saved in postscript" msgstr "Printresolutie voor PostScript kleurenafbeeldingen" #. DESC_PRINTER_WIDTH +#. DESC_FAX_WIDTH msgid "Width of printable area" msgstr "Printbreedte" #. DESC_PRINTER_HEIGHT +#. DESC_FAX_HEIGHT msgid "Height of printable area" msgstr "Printhoogte" #. DESC_PRINTER_LEFTOFFSET +#. DESC_FAX_LEFTOFFSET msgid "Left offset from the edge of the paper to the printable area" msgstr "Afstand van rand to printbare gebied" #. DESC_PRINTER_BOTTOMOFFSET +#. DESC_FAX_BOTTOMOFFSET msgid "Bottom offset from the edge of the paper to the printable area" msgstr "Afstand van rand to printbare gebied" @@ -1730,9 +1979,18 @@ msgstr "Extra gammacorrectie voor groen voor fotokopie" msgid "Additional gamma value for blue component for photocopy" msgstr "Extra gammacorrectie voor blauw voor fotokopie" -#. DESC_PRINTER_PS_FLATDECODED +#. DESC_PRINTER_EMBED_CSA +msgid "Creates a postsciptfile that contains the ICM profile of the scanner" +msgstr "" + +#. DESC_PRINTER_EMBED_CRD +msgid "Creates a postsciptfile that contains the ICM profile of the printer" +msgstr "" + +#. DESC_PRINTER_PS_FLATEDECODED +#, fuzzy msgid "" -"Create zlib compressed postscript image for printer (flatdecode).\n" +"Create zlib compressed postscript image for printer (flatedecode).\n" "The printer has to understand postscript level 3!" msgstr "" "Maak zlib gecomprimeerd PostScript plaatje voor de printer (flatdecode).\n" @@ -1793,16 +2051,18 @@ msgstr "" "Gebruikte numbers worden overgeslagen als de bestandsteller automatisch " "verhoogd wordt" -#. DESC_SAVE_PS_FLATDECODED +#. DESC_SAVE_PS_FLATEDECODED +#, fuzzy msgid "" -"compress postscript image with zlib algorithm (flatdecode). When you want to " -"print such a file your printer has to understand postscript level 3" +"compress postscript image with zlib algorithm (flatedecode). When you want " +"to print such a file your printer has to understand postscript level 3" msgstr "" "Comprimeer het PostScript plaatje met zlib algoritme (flatdecode). Als je " "dit bestand wilt printen moet je printer PostScript level 3 begrijpen" -#. DESC_SAVE_PDF_FLATDECODED -msgid "compress PDF image with zlib algorithm (flatdecode)." +#. DESC_SAVE_PDF_FLATEDECODED +#, fuzzy +msgid "compress PDF image with zlib algorithm (flatedecode)." msgstr "Comprimeer PDF plaatje met zlib algoritme (flatdecode)." #. DESC_SAVE_PNM16_AS_ASCII @@ -1818,7 +2078,9 @@ msgstr "" "grote bestanden op!!!" #. DESC_REDUCE_16BIT_TO_8BIT -msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +#, fuzzy +msgid "" +"If scanner sends image with 16 bits/channel save image with 8 bits/channel" msgstr "16-bits kleuren worden bewaard met 8-bits" #. DESC_PSFILE_WIDTH @@ -1846,7 +2108,8 @@ msgid "Use fixed main window size or scrolled, resizable main window" msgstr "Gebruik vaste grootte voor hoofdvenster of gebruik scrollbars" #. DESC_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable preview gamma when XSane runs as gimp plugin" +#, fuzzy +msgid "Disable preview gamma when XSane runs as GIMP plugin" msgstr "Schakel preview gamma uit als XSane als Gimp plugin gebruikt wordt" #. DESC_PREVIEW_COLORMAP @@ -1938,6 +2201,15 @@ msgstr "Kies scangebied nadat preview klaar is" msgid "Do color correction after preview scan has finished" msgstr "Verbeter de kleuren nadat preview klaar is" +#. DESC_RENDERING_INTENT +#, fuzzy +msgid "Select rendering intent for preview and saving" +msgstr "Kies scangebied nadat preview klaar is" + +#. DESC_CMS_BPC +msgid "Apply black point compensation when color transformation is done" +msgstr "" + #. DESC_FAX_COMMAND msgid "Enter command to be executed in fax mode" msgstr "Geef commando dat in fax-mode uitgevoerd moet worden" @@ -1966,8 +2238,9 @@ msgstr "Commando om fax te bekijken" msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" msgstr "Verstuur hoge resolutie fax (196 lpi inplaats van 98 lpi)" -#. DESC_FAX_PS_FLATDECODED -msgid "Create zlib compressed postscript image for fax (flatdecode)" +#. DESC_FAX_PS_FLATEDECODED +#, fuzzy +msgid "Create zlib compressed postscript image for fax (flatedecode)" msgstr "Maak zlib gecomprimeerd PostScript plaatje voor fax (flatdecode)" #. DESC_SMTP_SERVER @@ -2048,9 +2321,10 @@ msgstr "lezen" msgid "write" msgstr "schrijven" -#. DESC_PERMISSION_EXECUTE -msgid "execute" -msgstr "uitvoeren" +#. DESC_PERMISSION_SEARCH +#, fuzzy +msgid "search" +msgstr "gebruiker" #. DESC_ADD_BATCH msgid "Add selection for batch scan" @@ -2219,6 +2493,36 @@ msgstr "Verwijder geselecteerde gebied van de batch lijst" msgid "Turns on automatic mode" msgstr "Activeer de automatische mode" +#. DESC_BUTTON_SCANNER_DEFAULT_COLOR_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default color ICM-profile" +msgstr "Kies een bestandsnaam" + +#. DESC_BUTTON_SCANNER_DEFAULT_GRAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default gray ICM-profile" +msgstr "Kies een bestandsnaam" + +#. DESC_BUTTON_DISPLAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for display ICM-profile" +msgstr "Kies een bestandsnaam" + +#. DESC_BUTTON_PRINTER_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for printer ICM-profile" +msgstr "Kies een bestandsnaam" + +#. DESC_BUTTON_CUSTOM_PROOFING_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for custom proofing ICM-profile" +msgstr "Kies een bestandsnaam" + +#. DESC_BUTTON_WORKING_COLOR_SPACE_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for working color space ICM-profile" +msgstr "Kies een bestandsnaam" + #. ERR_HOME_DIR msgid "Failed to determine home directory:" msgstr "Kon hoofdmap niet vinden:" @@ -2271,11 +2575,6 @@ msgstr "Fout tijdens bewaren:" msgid "Can't handle depth" msgstr "Kan diepte niet aan" -#. ERR_GIMP_BAD_DEPTH -#, c-format -msgid "GIMP can't handle depth %d bits/color" -msgstr "GIMP kan niet met %d bits per kleur overweg" - #. ERR_UNKNOWN_SAVING_FORMAT msgid "Unknown file format for saving" msgstr "Onbekend bestandstype tijdens bewaren" @@ -2511,10 +2810,68 @@ msgstr "%s is geen PostScript bestand" msgid "Unsupported %d-bit output format: %s" msgstr "Geen ondersteuning van %d-bits kleuren in het %s formaat" +#. ERR_CMS_CONVERSION +#, fuzzy +msgid "Error during CMS conversion:" +msgstr "Fout tijdens bewaren:" + +#. ERR_CMS_OPEN_ICM_FILE +#, fuzzy +msgid "Could not open" +msgstr "Kon niet openen" + +#. CMS_SCANNER_ICM +#, fuzzy +msgid "scanner ICM profile" +msgstr "Printer verwijderen" + +#. CMS_DISPLAY_ICM +#, fuzzy +msgid "display ICM profile" +msgstr "Kies een bestandsnaam" + +#. CMS_PROOF_ICM +#, fuzzy +msgid "proofing ICM profile" +msgstr "Printer verwijderen" + +#. ERR_CMS_CREATE_TRANSFORM +#, fuzzy +msgid "Could not create transform" +msgstr "Kon geen tijdelijk bestand maken" + #. WARN_VIEWER_IMAGE_NOT_SAVED msgid "viewer image is not saved" msgstr "Afbeelding is niet bewaard" +#. FILE_FILTER_ALL_FILES +msgid "All files" +msgstr "" + +#. FILE_FILTER_IMAGES +#, fuzzy +msgid "Images" +msgstr "Pagina's:" + +#. FILE_FILTER_XBL +#, fuzzy +msgid "XSane batch list" +msgstr "Bewaar batch lijst" + +#. FILE_FILTER_ICM +msgid "ICC/ICM Profiles" +msgstr "" + +#. FILE_FILTER_DRC +#, fuzzy +msgid "XSane device preferences" +msgstr "Apparaatinstellingen bewaren bij verlaten" + +#. FILE_FILTER_RC +#, fuzzy +msgid "XSane preferences" +msgstr "Instellingen" + #. TEXT_USAGE msgid "Usage:" msgstr "Gebruik:" @@ -2888,8 +3245,64 @@ msgstr "Geheugen vol" msgid "Access to resource has been denied" msgstr "Geen toegang tot apparaat" -#~ msgid "Could not create temporary file" -#~ msgstr "Kon geen tijdelijk bestand maken" +#, fuzzy +#~ msgid "select scanner transmissive ICM-profile" +#~ msgstr "Printer verwijderen" + +#, fuzzy +#~ msgid "select scanner transmissive gray ICM-profile" +#~ msgstr "Printer verwijderen" + +#, fuzzy +#~ msgid "Scanner reflective ICM-profile" +#~ msgstr "Printer verwijderen" + +#, fuzzy +#~ msgid "Scanner reflective gray ICM-profile" +#~ msgstr "Printer verwijderen" + +#, fuzzy +#~ msgid "Scanner transmissive gray ICM-profile" +#~ msgstr "Printer verwijderen" + +#, fuzzy +#~ msgid "Scanner reflektive ICM-profile" +#~ msgstr "Printer verwijderen" + +#, fuzzy +#~ msgid "Browse for scanner transmissive ICM-profile" +#~ msgstr "Kies een bestandsnaam" + +#, fuzzy +#~ msgid "Browse for scanner transmissive gray ICM-profile" +#~ msgstr "Kies een bestandsnaam" + +#~ msgid "GIMP can't handle depth %d bits/color" +#~ msgstr "GIMP kan niet met %d bits per kleur overweg" + +#, fuzzy +#~ msgid "scanner reflective ICM profile" +#~ msgstr "Printer verwijderen" + +#, fuzzy +#~ msgid "Embed scanner/source ICM profile for GIMP" +#~ msgstr "Printer verwijderen" + +#~ msgid "Enter name of fax project" +#~ msgstr "De naam van het faxproject" + +#~ msgid "Enter name of e-mail project" +#~ msgstr "De naam van het e-mail project" + +#~ msgid "Enter name of multipage project" +#~ msgstr "De naam van het meerdere pagina's project" + +#~ msgid "" +#~ "Gimp does not support depth 16 bits/color.\n" +#~ "Do you want to reduce the depth to 8 bits/color?" +#~ msgstr "" +#~ "Gimp kan geen 16 bits kleurdiepte aan.\n" +#~ "Wil je de diepte reduceren naar 8 bits?" #~ msgid "Could not create temporary preview files" #~ msgstr "Kon geen tijdelijke preview bestanden maken" Binary files differ@@ -7,7 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: pl\n" -"POT-Creation-Date: 2006-01-07 00:26+0100\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-25 23:44+0100\n" "PO-Revision-Date: 2005-12-22 01:26+0100\n" "Last-Translator: Jerzy Szczudlowski <jerzy@jedwab.net.pl>\n" "Language-Team: polski <pl@li.org>\n" @@ -37,6 +38,7 @@ msgid "About" msgstr "O programie" #. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +#. MENU_ITEM_ABOUT_TRANSLATION msgid "About translation" msgstr "O tÅumaczeniu" @@ -76,6 +78,11 @@ msgstr "zmieÅ nazwÄ zakresu wsadowego" msgid "fax project" msgstr "wyÅlij obrazek faksem" +#. WINDOW_FAX_PROJECT_BROWSE +#, fuzzy +msgid "browse for fax project" +msgstr "WprowadÅŗ nazwÄ projektu dla faksu" + #. WINDOW_FAX_RENAME msgid "rename fax page" msgstr "zmieÅ nazwÄ strony faksu" @@ -88,6 +95,11 @@ msgstr "wstaw plik postscriptowy do faksu" msgid "E-mail project" msgstr "wyÅlij projekt listem elektronicznym" +#. WINDOW_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "browse for email project" +msgstr "WprowadÅŗ nazwÄ projektu pocztowego" + #. WINDOW_EMAIL_RENAME msgid "rename e-mail image" msgstr "zmieÅ nazwÄ obrazka w liÅcie" @@ -100,6 +112,11 @@ msgstr "wstaw plik do listu" msgid "multipage project" msgstr "projekt wielostronicowy" +#. WINDOW_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "browse for multipage project" +msgstr "projekt wielostronicowy" + #. WINDOW_PRESET_AREA_RENAME msgid "rename preset area" msgstr "zmieÅ nazwÄ ustawionego obszaru" @@ -145,6 +162,7 @@ msgid "Preview" msgstr "PodglÄ
d" #. WINDOW_VIEWER +#. MENU_ITEM_VIEWER msgid "Viewer" msgstr "PrzeglÄ
darka" @@ -177,14 +195,17 @@ msgid "select temporary directory" msgstr "wybierz katalog tymczasowy" #. WINDOW_SCALE +#. DESC_VIEWER_SCALE msgid "Scale image" msgstr "Przeskaluj obraz" #. WINDOW_DESPECKLE +#. DESC_VIEWER_DESPECKLE msgid "Despeckle image" msgstr "Odplamkuj obrazek" #. WINDOW_BLUR +#. DESC_VIEWER_BLUR msgid "Blur image" msgstr "Rozmyj obrazek" @@ -196,6 +217,35 @@ msgstr "Zapisz ustawienia materiaÅu" msgid "No devices available" msgstr "Brak dostÄpnych urzÄ
dzeÅ" +#. WINDOW_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "select scanner default color ICM-profile" +msgstr "UsuÅ drukarkÄ" + +#. WINDOW_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "select scanner default gray ICM-profile" +msgstr "UsuÅ drukarkÄ" + +#. WINDOW_DISPLAY_ICM_PROFILE +msgid "select display ICM-profile" +msgstr "" + +#. WINDOW_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "select custom proofing ICM-profile" +msgstr "wybierz plik wyjÅciowy" + +#. WINDOW_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "select working color space ICM-profile" +msgstr "UsuÅ drukarkÄ" + +#. WINDOW_PRINTER_ICM_PROFILE +#, fuzzy +msgid "select printer ICM-profile" +msgstr "UsuÅ drukarkÄ" + #. MENU_FILE msgid "File" msgstr "Plik" @@ -213,6 +263,7 @@ msgid "Window" msgstr "Okno" #. MENU_HELP +#. BUTTON_HELP msgid "Help" msgstr "Pomoc" @@ -228,6 +279,11 @@ msgstr "Filtry" msgid "Geometry" msgstr "Geometria" +#. MENU_COLOR_MANAGEMENT +#. NOTEBOOK_COLOR_MANAGEMENT_OPTIONS +msgid "Color management" +msgstr "" + #. MENU_ITEM_ABOUT_XSANE msgid "About XSane" msgstr "O XSane" @@ -241,6 +297,7 @@ msgid "Quit" msgstr "ZakoÅcz" #. MENU_ITEM_SAVE_IMAGE +#. DESC_VIEWER_SAVE msgid "Save image" msgstr "Zapisz obraz" @@ -257,6 +314,7 @@ msgid "Scale" msgstr "Skaluj" #. MENU_ITEM_CLOSE +#. BUTTON_CLOSE msgid "Close" msgstr "Zamknij" @@ -448,11 +506,11 @@ msgstr "Ostrzeżenie przed nadpisaniem" msgid "Skip existing filenames" msgstr "PomiÅ istniejÄ
ce nazwy plikĆ³w" -#. RADIO_BUTTON_SAVE_PS_FLATDECODED +#. RADIO_BUTTON_SAVE_PS_FLATEDECODED msgid "Save postscript zlib compressed (ps level 3)" msgstr "Zapis Postscriptu kompresowanego zlib (poziom PS 3)" -#. RADIO_BUTTON_SAVE_PDF_FLATDECODED +#. RADIO_BUTTON_SAVE_PDF_FLATEDECODED msgid "Save PDF zlib compressed" msgstr "Zapis PDF skompresowanego zlib" @@ -469,7 +527,8 @@ msgid "Main window size fixed" msgstr "StaÅy rozmiar gÅĆ³wnego okna" #. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable gimp preview gamma" +#, fuzzy +msgid "Disable GIMP preview gamma" msgstr "WyÅÄ
cz gamma przy podglÄ
dzie w Gimpie" #. RADIO_BUTTON_PRIVATE_COLORMAP @@ -492,6 +551,11 @@ msgstr "Samoczynnie koryguj kolory" msgid "Use GUI progress pipe" msgstr "Używaj graficznego paska postÄpu" +#. RADIO_BUTTON_CMS_BPC +#. MENU_ITEM_CMS_BLACK_POINT_COMPENSATION +msgid "Black point compensation" +msgstr "" + #. TEXT_SCANNING_DEVICES msgid "scanning for devices" msgstr "szukam podÅÄ
czonych urzÄ
dzeÅ" @@ -508,6 +572,12 @@ msgstr "Opcje XSane" msgid "Type" msgstr "Typ" +#. TEXT_CMS_FUNCTION +#. DESC_CMS_FUNCTION +#, fuzzy +msgid "Color management function" +msgstr "peÅny zakres" + #. TEXT_SCANNER_BACKEND msgid "Scanner and backend:" msgstr "Skaner i sterownik:" @@ -580,18 +650,11 @@ msgstr "formaty wyjÅciowe 8-bitowe:" msgid "16 bit output formats:" msgstr "formaty wyjÅciowe 16-bitowe:" -#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT -msgid "" -"Gimp does not support depth 16 bits/color.\n" -"Do you want to reduce the depth to 8 bits/color?" -msgstr "" -"Gimp nie wspiera 16-bitowej gÅÄbi kolorĆ³w.\n" -"Czy chcesz zmniejszyÄ gÅÄbiÄ do 8-bitĆ³w?" - #. TEXT_REDUCE_16BIT_TO_8BIT +#, fuzzy msgid "" -"Bit depth 16 bits/color is not supported for this output format.\n" -"Do you want to reduce the depth to 8 bits/color?" +"Bit depth 16 bits/channel is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/channel?" msgstr "" "16-bitowa gÅÄbia kolorĆ³w nie jest obsÅugiwana w tym formacie\n" "wyjÅciowym. Czy chcesz zmniejszyÄ gÅÄbiÄ do 8-bitĆ³w?" @@ -628,6 +691,11 @@ msgstr "wersja" msgid "package" msgstr "paczka" +#. TEXT_WITH_CMS_FUNCTION +#, fuzzy +msgid "with color management function" +msgstr "peÅny zakres" + #. TEXT_WITH_GIMP_SUPPORT msgid "with GIMP support" msgstr "z obsÅugÄ
GIMPa." @@ -762,9 +830,10 @@ msgid "Medium Name:" msgstr "Nazwa noÅnika:" #. TEXT_VIEWER_IMAGE_INFO -#, c-format +#, fuzzy, c-format msgid "" -"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +"Size %d x %d pixel, %d bits/channel, %d channels, %1.0f dpi x %1.0f dpi, %" +"1.1f %s" msgstr "" "Rozmiar %d x %d pikseli, %d bit/kolor, %d kolorĆ³w, %1.0f dpi x %1.0f dpi, %" "1.1f %s" @@ -818,6 +887,7 @@ msgid "Name:" msgstr "Nazwa:" #. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +#. TEXT_SETUP_FAX_COMMAND msgid "Command:" msgstr "Polecenie:" @@ -838,18 +908,22 @@ msgid "Color resolution (dpi):" msgstr "RozdzielczoÅÄ w kolorze (dpi):" #. TEXT_SETUP_PRINTER_WIDTH +#. TEXT_SETUP_FAX_WIDTH msgid "Width" msgstr "SzerokoÅÄ" #. TEXT_SETUP_PRINTER_HEIGHT +#. TEXT_SETUP_FAX_HEIGHT msgid "Height" msgstr "WysokoÅÄ" #. TEXT_SETUP_PRINTER_LEFT +#. TEXT_SETUP_FAX_LEFT msgid "Left offset" msgstr "Lewy margines" #. TEXT_SETUP_PRINTER_BOTTOM +#. TEXT_SETUP_FAX_BOTTOM msgid "Bottom offset" msgstr "Dolny margines" @@ -869,7 +943,17 @@ msgstr "Gamma drukarki - zielony:" msgid "Printer gamma blue:" msgstr "Gamma drukarki - niebieski:" -#. TEXT_SETUP_PRINTER_PS_FLATDECODED +#. TEXT_SETUP_PRINTER_EMBED_CSA +#, fuzzy +msgid "Embed scanner ICM profile as CSA" +msgstr "UsuÅ drukarkÄ" + +#. TEXT_SETUP_PRINTER_EMBED_CRD +#, fuzzy +msgid "Embed printer ICM profile as CRD" +msgstr "UsuÅ drukarkÄ" + +#. TEXT_SETUP_PRINTER_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for printing" msgstr "StwĆ³rz obraz Postscript skompresowany zlib (poziom PS 3) do druku" @@ -993,7 +1077,7 @@ msgstr "Ustaw domyÅlne wartoÅci dla programu:" msgid "Viewer (Postscript):" msgstr "PrzeglÄ
darka (Postscript):" -#. TEXT_SETUP_FAX_PS_FLATDECODED +#. TEXT_SETUP_FAX_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for fax" msgstr "StwĆ³rz obraz Postscript skompresowany zlib (poziom PS 3) dla faksu" @@ -1072,10 +1156,45 @@ msgstr "grupa" msgid "all" msgstr "wszyscy" +#. TEXT_SETUP_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "Scanner default color ICM-profile" +msgstr "UsuÅ drukarkÄ" + +#. TEXT_SETUP_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "Scanner default gray ICM-profile" +msgstr "UsuÅ drukarkÄ" + +#. TEXT_SETUP_DISPLAY_ICM_PROFILE +#. DESC_DISPLAY_ICM_PROFILE +msgid "Display ICM-profile" +msgstr "" + +#. TEXT_SETUP_CUSTOM_PROOFING_ICM_PROFILE +#. DESC_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "Custom proofing ICM-profile" +msgstr "UsuÅ drukarkÄ" + +#. TEXT_SETUP_WORKING_COLOR_SPACE_ICM_PROFILE +#. DESC_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "Working color space ICM-profile" +msgstr "PrzeglÄ
daj w poszukiwaniu nazwy pliku obrazka" + +#. TEXT_SETUP_PRINTER_ICM_PROFILE +#. DESC_PRINTER_ICM_PROFILE +msgid "Printer ICM-profile" +msgstr "" + msgid "new media" msgstr "nowy noÅnik" #. NOTEBOOK_SAVING_OPTIONS +#. MENU_ITEM_SAVE msgid "Save" msgstr "Zapis" @@ -1084,14 +1203,17 @@ msgid "Filetype" msgstr "Rodzaj pliku" #. NOTEBOOK_COPY_OPTIONS +#. MENU_ITEM_COPY msgid "Copy" msgstr "Kopia" #. NOTEBOOK_FAX_OPTIONS +#. MENU_ITEM_FAX msgid "Fax" msgstr "Faks" #. NOTEBOOK_EMAIL_OPTIONS +#. MENU_ITEM_EMAIL msgid "E-mail" msgstr "Poczta elektroniczna" @@ -1183,6 +1305,12 @@ msgstr "Pokaż listÄ rozdzielczoÅci" msgid "Rotate postscript" msgstr "ObrĆ³Ä Postscript" +#. MENU_ITEM_ENABLE_COLOR_MANAGEMENT +#. MENU_ITEM_CMS_ENABLE_COLOR_MANAGEMENT +#, fuzzy +msgid "Enable color management" +msgstr "peÅny zakres" + #. MENU_ITEM_EDIT_MEDIUM_DEF msgid "Edit medium definition" msgstr "Edytuj definicjÄ noÅnika" @@ -1227,6 +1355,86 @@ msgstr "Jak skanowaÄ" msgid "Problems?" msgstr "Problemy?" +#. MENU_ITEM_CMS_PROOFING +#, fuzzy +msgid "Proofing" +msgstr "Dodaj drukarkÄ" + +#. SUBMENU_ITEM_CMS_PROOF_OFF +msgid "no proofing (Display)" +msgstr "" + +#. SUBMENU_ITEM_CMS_PROOF_PRINTER +#, fuzzy +msgid "Proof printer" +msgstr "Dodaj drukarkÄ" + +#. SUBMENU_ITEM_CMS_PROOF_CUSTOM +msgid "Proof custom device" +msgstr "" + +#. MENU_ITEM_CMS_RENDERING_INTENT +#, fuzzy +msgid "Rendering intent" +msgstr "Dodaj drukarkÄ" + +#. MENU_ITEM_CMS_PROOFING_INTENT +#, fuzzy +msgid "Proofing rendering intent" +msgstr "Dodaj drukarkÄ" + +#. SUBMENU_ITEM_CMS_INTENT_PERCEPTUAL +msgid "Perceptual" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_RELATIVE_COLORIMETRIC +msgid "Relative colorimetric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_ABSOLUTE_COLORIMETRIC +msgid "Absolute colorimentric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_SATURATION +#, fuzzy +msgid "Saturation" +msgstr "autoryzacja" + +#. MENU_ITEM_CMS_GAMUT_CHECK +msgid "Gamut check" +msgstr "" + +#. MENU_ITEM_CMS_GAMUT_ALARM_COLOR +msgid "Gamut alarm color" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLACK +msgid "Black" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_GRAY +msgid "Gray" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_WHITE +#, fuzzy +msgid "White" +msgstr "zapis" + +#. SUBMENU_ITEM_CMS_COLOR_RED +#, fuzzy +msgid "Red" +msgstr "Zredukuj" + +#. SUBMENU_ITEM_CMS_COLOR_GREEN +msgid "Green" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLUE +#, fuzzy +msgid "Blue" +msgstr "Rozmyj" + #. MENU_ITEM_COUNTER_LEN_INACTIVE msgid "inactive" msgstr "nieaktywny" @@ -1344,6 +1552,20 @@ msgstr "" msgid "ASMTP CRAM-MD5" msgstr "" +#. MENU_ITEM_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE +#, fuzzy +msgid "Embed scanner ICM profile" +msgstr "UsuÅ drukarkÄ" + +#. MENU_ITEM_CMS_FUNCTION_CONVERT_TO_SRGB +msgid "Convert to sRGB" +msgstr "" + +#. MENU_ITEM_FUNCTION_CONVERT_TO_WORKING_CS +#, fuzzy +msgid "Convert to working color space" +msgstr "Samoczynnie koryguj kolory" + #. PROGRESS_SCANNING msgid "Scanning" msgstr "Skanowanie" @@ -1401,6 +1623,11 @@ msgstr "Rozmywanie obrazka..." msgid "OCR in progress" msgstr "Rozpoznawanie tekstu w toku..." +#. PROGRESS_ICM_CONVERSION +#, fuzzy +msgid "converting colors" +msgstr "Samoczynnie koryguj kolory" + #. DESC_SCAN_START msgid "Start scan <Ctrl-Enter>" msgstr "Rozpocznij skanowanie <Ctrl-Enter>" @@ -1460,8 +1687,9 @@ msgstr "" "automatycznie" #. DESC_FAXPROJECT -msgid "Enter name of fax project" -msgstr "WprowadÅŗ nazwÄ projektu dla faksu" +#, fuzzy +msgid "Enter fax project directory name" +msgstr "PrzeglÄ
daj katalog tymczasowy" #. DESC_FAXPAGENAME msgid "Enter new name for faxpage" @@ -1471,9 +1699,15 @@ msgstr "WprowadÅŗ nowÄ
nazwÄ dla strony faksu" msgid "Enter receiver phone number or address" msgstr "WprowadÅŗ nr telefonu odbiorcy lub adres" +#. DESC_FAX_PROJECT_BROWSE +#, fuzzy +msgid "Browse for fax project directory" +msgstr "PrzeglÄ
daj katalog tymczasowy" + #. DESC_EMAIL_PROJECT -msgid "Enter name of e-mail project" -msgstr "WprowadÅŗ nazwÄ projektu pocztowego" +#, fuzzy +msgid "Enter e-mail project directory name" +msgstr "PrzeglÄ
daj katalog tymczasowy" #. DESC_EMAIL_IMAGENAME msgid "Enter new name for e-mail image" @@ -1483,6 +1717,11 @@ msgstr "WprowadÅŗ nowÄ
nazwÄ dla wysyÅanego obrazka" msgid "Enter e-mail address" msgstr "WprowadÅŗ adres poczty elektronicznej (email)" +#. DESC_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "Browse for email project directory" +msgstr "PrzeglÄ
daj katalog tymczasowy" + #. DESC_EMAIL_SUBJECT msgid "Enter subject of e-mail" msgstr "WprowadÅŗ temat listu" @@ -1492,8 +1731,14 @@ msgid "Select filetype for image attachments" msgstr "Wybierz rodzaj pliku dla zaÅÄ
cznika" #. DESC_MULTIPAGE_PROJECT -msgid "Enter name of multipage project" -msgstr "WprowadÅŗ nazwÄ wielostronicowego projektu pocztowego" +#, fuzzy +msgid "Enter multipage project directory name" +msgstr "PrzeglÄ
daj katalog tymczasowy" + +#. DESC_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "Browse for multipage project directory" +msgstr "PrzeglÄ
daj katalog tymczasowy" #. DESC_MULTIPAGE_FILETYPE msgid "Select filetype for multipage file" @@ -1618,7 +1863,8 @@ msgstr "" " kontrast = 0" #. DESC_ENH_AUTO -msgid "Autoadjust gamma, brightness and contrast <Ctrl-e>" +#, fuzzy +msgid "Autoadjust gamma, brightness and contrast <Ctrl-a>" msgstr "Automatycznie ustaw parametr gamma, jasnoÅÄ i kontrast <Ctrl-e>" #. DESC_ENH_DEFAULT @@ -1703,18 +1949,22 @@ msgstr "" "Postscripcie" #. DESC_PRINTER_WIDTH +#. DESC_FAX_WIDTH msgid "Width of printable area" msgstr "SzerokoÅÄ obszaru drukowalnego" #. DESC_PRINTER_HEIGHT +#. DESC_FAX_HEIGHT msgid "Height of printable area" msgstr "WysokoÅÄ obszaru drukowalnego" #. DESC_PRINTER_LEFTOFFSET +#. DESC_FAX_LEFTOFFSET msgid "Left offset from the edge of the paper to the printable area" msgstr "Lewy margines od krawÄdzi papieru do obszaru wydruku" #. DESC_PRINTER_BOTTOMOFFSET +#. DESC_FAX_BOTTOMOFFSET msgid "Bottom offset from the edge of the paper to the printable area" msgstr "Dolny margines od krawÄdzi papieru do obszaru wydruku" @@ -1734,9 +1984,18 @@ msgstr "Dodatkowy parametr gamma dla zielonej skÅadowej kopii" msgid "Additional gamma value for blue component for photocopy" msgstr "Dodatkowy parametr gamma dla niebieskiej skÅadowej kopii" -#. DESC_PRINTER_PS_FLATDECODED +#. DESC_PRINTER_EMBED_CSA +msgid "Creates a postsciptfile that contains the ICM profile of the scanner" +msgstr "" + +#. DESC_PRINTER_EMBED_CRD +msgid "Creates a postsciptfile that contains the ICM profile of the printer" +msgstr "" + +#. DESC_PRINTER_PS_FLATEDECODED +#, fuzzy msgid "" -"Create zlib compressed postscript image for printer (flatdecode).\n" +"Create zlib compressed postscript image for printer (flatedecode).\n" "The printer has to understand postscript level 3!" msgstr "" "StwĆ³rz obraz Postscript skompresowany zlib (flatdecode).\n" @@ -1797,16 +2056,18 @@ msgstr "" "JeÅli licznik w nazwie pliku jest automatycznie zwiÄkszany, to już użyte " "numery sÄ
pomijane" -#. DESC_SAVE_PS_FLATDECODED +#. DESC_SAVE_PS_FLATEDECODED +#, fuzzy msgid "" -"compress postscript image with zlib algorithm (flatdecode). When you want to " -"print such a file your printer has to understand postscript level 3" +"compress postscript image with zlib algorithm (flatedecode). When you want " +"to print such a file your printer has to understand postscript level 3" msgstr "" "kompresuje obraz Postscript algorytmem zlib (flatdecode). Jeżeli chcesz " "wydrukowaÄ taki plik, drukarka musi rozumieÄ Postscript poziomu 3!" -#. DESC_SAVE_PDF_FLATDECODED -msgid "compress PDF image with zlib algorithm (flatdecode)." +#. DESC_SAVE_PDF_FLATEDECODED +#, fuzzy +msgid "compress PDF image with zlib algorithm (flatedecode)." msgstr "kompresuje obraz PDF alborytmem zlib (flatdecode)." #. DESC_SAVE_PNM16_AS_ASCII @@ -1822,7 +2083,9 @@ msgstr "" "iloÅÄ programĆ³w, lecz może dawaÄ naprawdÄ olbrzymie pliki!!!" #. DESC_REDUCE_16BIT_TO_8BIT -msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +#, fuzzy +msgid "" +"If scanner sends image with 16 bits/channel save image with 8 bits/channel" msgstr "" "JeÅli skaner wysyÅa obrazek z 16-stoma bitami na kolor zapisz obrazek z 8-ma " "bitami" @@ -1856,7 +2119,8 @@ msgid "Use fixed main window size or scrolled, resizable main window" msgstr "StaÅy lub obieralny rozmiar okna gÅĆ³wnego" #. DESC_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable preview gamma when XSane runs as gimp plugin" +#, fuzzy +msgid "Disable preview gamma when XSane runs as GIMP plugin" msgstr "WyÅÄ
cz gamma podglÄ
du, gdy XSane dziaÅa jako wtyczka Gimpa" #. DESC_PREVIEW_COLORMAP @@ -1952,6 +2216,15 @@ msgstr "Wybierz obszar skanowania po pobraniu podglÄ
du" msgid "Do color correction after preview scan has finished" msgstr "Zastosuj korekcjÄ kolorĆ³w po pobraniu podglÄ
du" +#. DESC_RENDERING_INTENT +#, fuzzy +msgid "Select rendering intent for preview and saving" +msgstr "Wybierz obszar skanowania po pobraniu podglÄ
du" + +#. DESC_CMS_BPC +msgid "Apply black point compensation when color transformation is done" +msgstr "" + #. DESC_FAX_COMMAND msgid "Enter command to be executed in fax mode" msgstr "WprowadÅŗ polecenie, ktĆ³re zostanie wykonane w trybie wysyÅania faksu" @@ -1981,8 +2254,9 @@ msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" msgstr "" "WyÅlij faks o wysokiej rozdzielczoÅci pionowej (196 lpi zamiast 98 lpi)" -#. DESC_FAX_PS_FLATDECODED -msgid "Create zlib compressed postscript image for fax (flatdecode)" +#. DESC_FAX_PS_FLATEDECODED +#, fuzzy +msgid "Create zlib compressed postscript image for fax (flatedecode)" msgstr "" "Tworzy skompresowany algorytmem zlib (flatdecode) obraz Postscript dla faksu" @@ -2065,9 +2339,10 @@ msgstr "odczyt" msgid "write" msgstr "zapis" -#. DESC_PERMISSION_EXECUTE -msgid "execute" -msgstr "wykonywanie" +#. DESC_PERMISSION_SEARCH +#, fuzzy +msgid "search" +msgstr "użytkownik" #. DESC_ADD_BATCH msgid "Add selection for batch scan" @@ -2236,6 +2511,36 @@ msgstr "UsuÅ zaznaczony obszar z listy wsadowej" msgid "Turns on automatic mode" msgstr "WÅÄ
cza tryb automatyczny" +#. DESC_BUTTON_SCANNER_DEFAULT_COLOR_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default color ICM-profile" +msgstr "PrzeglÄ
daj w poszukiwaniu nazwy pliku obrazka" + +#. DESC_BUTTON_SCANNER_DEFAULT_GRAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default gray ICM-profile" +msgstr "PrzeglÄ
daj w poszukiwaniu nazwy pliku obrazka" + +#. DESC_BUTTON_DISPLAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for display ICM-profile" +msgstr "PrzeglÄ
daj w poszukiwaniu nazwy pliku obrazka" + +#. DESC_BUTTON_PRINTER_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for printer ICM-profile" +msgstr "PrzeglÄ
daj w poszukiwaniu nazwy pliku obrazka" + +#. DESC_BUTTON_CUSTOM_PROOFING_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for custom proofing ICM-profile" +msgstr "PrzeglÄ
daj w poszukiwaniu nazwy pliku obrazka" + +#. DESC_BUTTON_WORKING_COLOR_SPACE_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for working color space ICM-profile" +msgstr "PrzeglÄ
daj w poszukiwaniu nazwy pliku obrazka" + #. ERR_HOME_DIR msgid "Failed to determine home directory:" msgstr "Ustalenie katalogu domowego nie powiodÅo siÄ:" @@ -2288,11 +2593,6 @@ msgstr "BÅÄ
d podczas zapisu:" msgid "Can't handle depth" msgstr "Nie jest obsÅugiwana gÅÄbokoÅÄ" -#. ERR_GIMP_BAD_DEPTH -#, c-format -msgid "GIMP can't handle depth %d bits/color" -msgstr "Gimp nie obsÅuguje gÅÄbokoÅci %d bitĆ³w/kolor" - #. ERR_UNKNOWN_SAVING_FORMAT msgid "Unknown file format for saving" msgstr "Nieznany format pliku do zapisu" @@ -2529,10 +2829,68 @@ msgstr "%s nie jest plikiem postscriptowym" msgid "Unsupported %d-bit output format: %s" msgstr "NieobsÅugiwany %d-bitowy format wyjÅciowy: %s" +#. ERR_CMS_CONVERSION +#, fuzzy +msgid "Error during CMS conversion:" +msgstr "BÅÄ
d podczas zapisu:" + +#. ERR_CMS_OPEN_ICM_FILE +#, fuzzy +msgid "Could not open" +msgstr "Otwarcie nie powiodÅo siÄ" + +#. CMS_SCANNER_ICM +#, fuzzy +msgid "scanner ICM profile" +msgstr "UsuÅ drukarkÄ" + +#. CMS_DISPLAY_ICM +#, fuzzy +msgid "display ICM profile" +msgstr "PrzeglÄ
daj w poszukiwaniu nazwy pliku obrazka" + +#. CMS_PROOF_ICM +#, fuzzy +msgid "proofing ICM profile" +msgstr "UsuÅ drukarkÄ" + +#. ERR_CMS_CREATE_TRANSFORM +#, fuzzy +msgid "Could not create transform" +msgstr "Nie powiodÅo siÄ utworzenie pliku tymczasowego" + #. WARN_VIEWER_IMAGE_NOT_SAVED msgid "viewer image is not saved" msgstr "Obrazek nie zostaÅ zapisany" +#. FILE_FILTER_ALL_FILES +msgid "All files" +msgstr "" + +#. FILE_FILTER_IMAGES +#, fuzzy +msgid "Images" +msgstr "Strony:" + +#. FILE_FILTER_XBL +#, fuzzy +msgid "XSane batch list" +msgstr "Zapisz listÄ wsadowÄ
" + +#. FILE_FILTER_ICM +msgid "ICC/ICM Profiles" +msgstr "" + +#. FILE_FILTER_DRC +#, fuzzy +msgid "XSane device preferences" +msgstr "Zapisz ustawienia urzÄ
dzenia przy wyjÅciu" + +#. FILE_FILTER_RC +#, fuzzy +msgid "XSane preferences" +msgstr "Preferencje" + #. TEXT_USAGE msgid "Usage:" msgstr "Użycie:" @@ -2909,24 +3267,61 @@ msgstr "Brak wolnej pamiÄci" msgid "Access to resource has been denied" msgstr "Brak dostÄpu do zasobu" -#~ msgid "Could not create temporary file" -#~ msgstr "Nie powiodÅo siÄ utworzenie pliku tymczasowego" +#, fuzzy +#~ msgid "select scanner transmissive ICM-profile" +#~ msgstr "UsuÅ drukarkÄ" + +#, fuzzy +#~ msgid "select scanner transmissive gray ICM-profile" +#~ msgstr "UsuÅ drukarkÄ" + +#, fuzzy +#~ msgid "Scanner reflective ICM-profile" +#~ msgstr "UsuÅ drukarkÄ" + +#, fuzzy +#~ msgid "Scanner reflective gray ICM-profile" +#~ msgstr "UsuÅ drukarkÄ" + +#, fuzzy +#~ msgid "Scanner transmissive gray ICM-profile" +#~ msgstr "UsuÅ drukarkÄ" + +#, fuzzy +#~ msgid "Scanner reflektive ICM-profile" +#~ msgstr "UsuÅ drukarkÄ" + +#, fuzzy +#~ msgid "Browse for scanner transmissive ICM-profile" +#~ msgstr "PrzeglÄ
daj w poszukiwaniu nazwy pliku obrazka" -#~ msgid "Could not create temporary preview files" -#~ msgstr "Nie można utworzyÄ tymczasowych plikĆ³w podglÄ
du" +#, fuzzy +#~ msgid "Browse for scanner transmissive gray ICM-profile" +#~ msgstr "PrzeglÄ
daj w poszukiwaniu nazwy pliku obrazka" -#~ msgid "Could not create filenames for preview files" -#~ msgstr "Nie można nadaÄ nazw plikom podglÄ
du" +#~ msgid "GIMP can't handle depth %d bits/color" +#~ msgstr "Gimp nie obsÅuguje gÅÄbokoÅci %d bitĆ³w/kolor" #, fuzzy -#~ msgid "POP3 authentication" -#~ msgstr "Uwierzytelnianie POP3" +#~ msgid "scanner reflective ICM profile" +#~ msgstr "UsuÅ drukarkÄ" + +#, fuzzy +#~ msgid "Embed scanner/source ICM profile for GIMP" +#~ msgstr "UsuÅ drukarkÄ" + +#~ msgid "Enter name of fax project" +#~ msgstr "WprowadÅŗ nazwÄ projektu dla faksu" -#~ msgid "XSane mode" -#~ msgstr "Tryb XSane" +#~ msgid "Enter name of e-mail project" +#~ msgstr "WprowadÅŗ nazwÄ projektu pocztowego" -#~ msgid "POP3 user:" -#~ msgstr "Użytkownik POP3:" +#~ msgid "Enter name of multipage project" +#~ msgstr "WprowadÅŗ nazwÄ wielostronicowego projektu pocztowego" -#~ msgid "POP3 password:" -#~ msgstr "HasÅo POP3:" +#~ msgid "" +#~ "Gimp does not support depth 16 bits/color.\n" +#~ "Do you want to reduce the depth to 8 bits/color?" +#~ msgstr "" +#~ "Gimp nie wspiera 16-bitowej gÅÄbi kolorĆ³w.\n" +#~ "Czy chcesz zmniejszyÄ gÅÄbiÄ do 8-bitĆ³w?" Binary files differ@@ -5,7 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: XSANE 0.96\n" -"POT-Creation-Date: 2006-01-07 00:26+0100\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-25 23:44+0100\n" "PO-Revision-Date: 2004-10-08 22:00+3\n" "Last-Translator: Yujo Rodrigues <yujo@comp.ufu.br>\n" "Language-Team: Portuguese <pt@li.org>\n" @@ -32,6 +33,7 @@ msgid "About" msgstr "Sobre" #. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +#. MENU_ITEM_ABOUT_TRANSLATION msgid "About translation" msgstr "Sobre a traduĆ§Ć£o" @@ -71,6 +73,11 @@ msgstr "renomeia area de lote" msgid "fax project" msgstr "projeto de fax" +#. WINDOW_FAX_PROJECT_BROWSE +#, fuzzy +msgid "browse for fax project" +msgstr "Digite o nome do projeto de fax" + #. WINDOW_FAX_RENAME msgid "rename fax page" msgstr "renomeia pĆ”gina de fax" @@ -84,6 +91,11 @@ msgstr "insere arquivo-ps em um fax" msgid "E-mail project" msgstr "projeto de e-mail" +#. WINDOW_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "browse for email project" +msgstr "Digite o nome do projeto de correio" + #. WINDOW_EMAIL_RENAME #, fuzzy msgid "rename e-mail image" @@ -99,6 +111,11 @@ msgstr "insere arquivo no correio" msgid "multipage project" msgstr "Apagar projeto" +#. WINDOW_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "browse for multipage project" +msgstr "Apagar projeto" + #. WINDOW_PRESET_AREA_RENAME msgid "rename preset area" msgstr "renomeia area predefinida" @@ -144,6 +161,7 @@ msgid "Preview" msgstr "PrĆ©-VisualizaĆ§Ć£o" #. WINDOW_VIEWER +#. MENU_ITEM_VIEWER msgid "Viewer" msgstr "Visualizador" @@ -176,14 +194,17 @@ msgid "select temporary directory" msgstr "seleciona o diretĆ³rio temporĆ”rio" #. WINDOW_SCALE +#. DESC_VIEWER_SCALE msgid "Scale image" msgstr "Escala da imagem" #. WINDOW_DESPECKLE +#. DESC_VIEWER_DESPECKLE msgid "Despeckle image" msgstr "DesembaraƧa imagem" #. WINDOW_BLUR +#. DESC_VIEWER_BLUR msgid "Blur image" msgstr "EmbaƧa imagem" @@ -195,6 +216,35 @@ msgstr "Armazena definiĆ§Ć£o da mĆdia" msgid "No devices available" msgstr "Nenhum dispositivo disponĆvel" +#. WINDOW_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "select scanner default color ICM-profile" +msgstr "Excluir impressora" + +#. WINDOW_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "select scanner default gray ICM-profile" +msgstr "Excluir impressora" + +#. WINDOW_DISPLAY_ICM_PROFILE +msgid "select display ICM-profile" +msgstr "" + +#. WINDOW_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "select custom proofing ICM-profile" +msgstr "selecione arquivo de saĆda" + +#. WINDOW_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "select working color space ICM-profile" +msgstr "Excluir impressora" + +#. WINDOW_PRINTER_ICM_PROFILE +#, fuzzy +msgid "select printer ICM-profile" +msgstr "Excluir impressora" + #. MENU_FILE msgid "File" msgstr "Arquivo" @@ -212,6 +262,7 @@ msgid "Window" msgstr "Janela" #. MENU_HELP +#. BUTTON_HELP msgid "Help" msgstr "Ajuda" @@ -227,6 +278,11 @@ msgstr "Filtros" msgid "Geometry" msgstr "Geometria" +#. MENU_COLOR_MANAGEMENT +#. NOTEBOOK_COLOR_MANAGEMENT_OPTIONS +msgid "Color management" +msgstr "" + #. MENU_ITEM_ABOUT_XSANE msgid "About XSane" msgstr "Sobre XSane" @@ -240,6 +296,7 @@ msgid "Quit" msgstr "Sair" #. MENU_ITEM_SAVE_IMAGE +#. DESC_VIEWER_SAVE msgid "Save image" msgstr "Salvar imagem" @@ -256,6 +313,7 @@ msgid "Scale" msgstr "Escala" #. MENU_ITEM_CLOSE +#. BUTTON_CLOSE msgid "Close" msgstr "Fechar" @@ -449,11 +507,11 @@ msgstr "Aviso ao Sobregravar" msgid "Skip existing filenames" msgstr "Pular arquivos existentes" -#. RADIO_BUTTON_SAVE_PS_FLATDECODED +#. RADIO_BUTTON_SAVE_PS_FLATEDECODED msgid "Save postscript zlib compressed (ps level 3)" msgstr "" -#. RADIO_BUTTON_SAVE_PDF_FLATDECODED +#. RADIO_BUTTON_SAVE_PDF_FLATEDECODED msgid "Save PDF zlib compressed" msgstr "" @@ -470,7 +528,8 @@ msgid "Main window size fixed" msgstr "Tamanho da janela principal fixado" #. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable gimp preview gamma" +#, fuzzy +msgid "Disable GIMP preview gamma" msgstr "Desabilita prĆ©via gama do gimp" #. RADIO_BUTTON_PRIVATE_COLORMAP @@ -493,6 +552,11 @@ msgstr "Corrigir cores" msgid "Use GUI progress pipe" msgstr "Usar barra grĆ”fica de progresso" +#. RADIO_BUTTON_CMS_BPC +#. MENU_ITEM_CMS_BLACK_POINT_COMPENSATION +msgid "Black point compensation" +msgstr "" + #. TEXT_SCANNING_DEVICES msgid "scanning for devices" msgstr "procurando por dispositivos" @@ -509,6 +573,12 @@ msgstr "OpƧƵes do XSane" msgid "Type" msgstr "Tipo" +#. TEXT_CMS_FUNCTION +#. DESC_CMS_FUNCTION +#, fuzzy +msgid "Color management function" +msgstr "Todas as cores" + #. TEXT_SCANNER_BACKEND msgid "Scanner and backend:" msgstr "Scaner e driver:" @@ -581,18 +651,11 @@ msgstr "Formatos de saĆda de 8 bits:" msgid "16 bit output formats:" msgstr "Formatos de saĆda de 16 bits:" -#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT -msgid "" -"Gimp does not support depth 16 bits/color.\n" -"Do you want to reduce the depth to 8 bits/color?" -msgstr "" -"Gimp nĆ£o suporta profundidade de cores de 16 bits.\n" -"VocĆŖ quer reduzir a profundidade para cores de 8 bits?" - #. TEXT_REDUCE_16BIT_TO_8BIT +#, fuzzy msgid "" -"Bit depth 16 bits/color is not supported for this output format.\n" -"Do you want to reduce the depth to 8 bits/color?" +"Bit depth 16 bits/channel is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/channel?" msgstr "" "Profundidade de cores de 16 bits nĆ£o sĆ£o suportadas para este formato de " "saĆda.\n" @@ -630,6 +693,11 @@ msgstr "versao:" msgid "package" msgstr "pacote" +#. TEXT_WITH_CMS_FUNCTION +#, fuzzy +msgid "with color management function" +msgstr "Todas as cores" + #. TEXT_WITH_GIMP_SUPPORT msgid "with GIMP support" msgstr "com suporte GIMP" @@ -767,9 +835,10 @@ msgid "Medium Name:" msgstr "Nome da mĆdia:" #. TEXT_VIEWER_IMAGE_INFO -#, c-format +#, fuzzy, c-format msgid "" -"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +"Size %d x %d pixel, %d bits/channel, %d channels, %1.0f dpi x %1.0f dpi, %" +"1.1f %s" msgstr "" "Tamanho %d x %d pontos, cores de %d bits, %d cores, %1.0f ppp x %1.0f ppp, %" "1.1f %s" @@ -823,6 +892,7 @@ msgid "Name:" msgstr "Nome:" #. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +#. TEXT_SETUP_FAX_COMMAND msgid "Command:" msgstr "Comando:" @@ -843,18 +913,22 @@ msgid "Color resolution (dpi):" msgstr "ResoluĆ§Ć£o de cores (ppp):" #. TEXT_SETUP_PRINTER_WIDTH +#. TEXT_SETUP_FAX_WIDTH msgid "Width" msgstr "Largura:" #. TEXT_SETUP_PRINTER_HEIGHT +#. TEXT_SETUP_FAX_HEIGHT msgid "Height" msgstr "Altura:" #. TEXT_SETUP_PRINTER_LEFT +#. TEXT_SETUP_FAX_LEFT msgid "Left offset" msgstr "Deslocamento esquerdo" #. TEXT_SETUP_PRINTER_BOTTOM +#. TEXT_SETUP_FAX_BOTTOM msgid "Bottom offset" msgstr "Deslocamento inferior" @@ -874,7 +948,17 @@ msgstr "Verde gama da Impressora:" msgid "Printer gamma blue:" msgstr "Azul gama da Impressora:" -#. TEXT_SETUP_PRINTER_PS_FLATDECODED +#. TEXT_SETUP_PRINTER_EMBED_CSA +#, fuzzy +msgid "Embed scanner ICM profile as CSA" +msgstr "Excluir impressora" + +#. TEXT_SETUP_PRINTER_EMBED_CRD +#, fuzzy +msgid "Embed printer ICM profile as CRD" +msgstr "Excluir impressora" + +#. TEXT_SETUP_PRINTER_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for printing" msgstr "" @@ -999,7 +1083,7 @@ msgstr "Configura os padrƵes do programa para:" msgid "Viewer (Postscript):" msgstr "Visualizador (Postscript):" -#. TEXT_SETUP_FAX_PS_FLATDECODED +#. TEXT_SETUP_FAX_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for fax" msgstr "" @@ -1078,10 +1162,45 @@ msgstr "grupo" msgid "all" msgstr "tudo" +#. TEXT_SETUP_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "Scanner default color ICM-profile" +msgstr "Excluir impressora" + +#. TEXT_SETUP_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "Scanner default gray ICM-profile" +msgstr "Excluir impressora" + +#. TEXT_SETUP_DISPLAY_ICM_PROFILE +#. DESC_DISPLAY_ICM_PROFILE +msgid "Display ICM-profile" +msgstr "" + +#. TEXT_SETUP_CUSTOM_PROOFING_ICM_PROFILE +#. DESC_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "Custom proofing ICM-profile" +msgstr "Excluir impressora" + +#. TEXT_SETUP_WORKING_COLOR_SPACE_ICM_PROFILE +#. DESC_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "Working color space ICM-profile" +msgstr "Navegar por arquivos de imagem" + +#. TEXT_SETUP_PRINTER_ICM_PROFILE +#. DESC_PRINTER_ICM_PROFILE +msgid "Printer ICM-profile" +msgstr "" + msgid "new media" msgstr "nova mĆdia" #. NOTEBOOK_SAVING_OPTIONS +#. MENU_ITEM_SAVE msgid "Save" msgstr "Salvar" @@ -1091,14 +1210,17 @@ msgid "Filetype" msgstr "Arquivo" #. NOTEBOOK_COPY_OPTIONS +#. MENU_ITEM_COPY msgid "Copy" msgstr "Copiar" #. NOTEBOOK_FAX_OPTIONS +#. MENU_ITEM_FAX msgid "Fax" msgstr "" #. NOTEBOOK_EMAIL_OPTIONS +#. MENU_ITEM_EMAIL #, fuzzy msgid "E-mail" msgstr "E-mail" @@ -1191,6 +1313,12 @@ msgstr "Mostrar lista de resoluĆ§Ć£o" msgid "Rotate postscript" msgstr "Rotacionar postscript" +#. MENU_ITEM_ENABLE_COLOR_MANAGEMENT +#. MENU_ITEM_CMS_ENABLE_COLOR_MANAGEMENT +#, fuzzy +msgid "Enable color management" +msgstr "Todas as cores" + #. MENU_ITEM_EDIT_MEDIUM_DEF msgid "Edit medium definition" msgstr "Edita definiĆ§Ć£o da mĆdia" @@ -1235,6 +1363,86 @@ msgstr "Dicas de digitalizaĆ§Ć£o" msgid "Problems?" msgstr "Problemas?" +#. MENU_ITEM_CMS_PROOFING +#, fuzzy +msgid "Proofing" +msgstr "Incluir impressora" + +#. SUBMENU_ITEM_CMS_PROOF_OFF +msgid "no proofing (Display)" +msgstr "" + +#. SUBMENU_ITEM_CMS_PROOF_PRINTER +#, fuzzy +msgid "Proof printer" +msgstr "Incluir impressora" + +#. SUBMENU_ITEM_CMS_PROOF_CUSTOM +msgid "Proof custom device" +msgstr "" + +#. MENU_ITEM_CMS_RENDERING_INTENT +#, fuzzy +msgid "Rendering intent" +msgstr "Incluir impressora" + +#. MENU_ITEM_CMS_PROOFING_INTENT +#, fuzzy +msgid "Proofing rendering intent" +msgstr "Incluir impressora" + +#. SUBMENU_ITEM_CMS_INTENT_PERCEPTUAL +msgid "Perceptual" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_RELATIVE_COLORIMETRIC +msgid "Relative colorimetric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_ABSOLUTE_COLORIMETRIC +msgid "Absolute colorimentric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_SATURATION +#, fuzzy +msgid "Saturation" +msgstr "autorizaĆ§Ć£o" + +#. MENU_ITEM_CMS_GAMUT_CHECK +msgid "Gamut check" +msgstr "" + +#. MENU_ITEM_CMS_GAMUT_ALARM_COLOR +msgid "Gamut alarm color" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLACK +msgid "Black" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_GRAY +msgid "Gray" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_WHITE +#, fuzzy +msgid "White" +msgstr "gravar" + +#. SUBMENU_ITEM_CMS_COLOR_RED +#, fuzzy +msgid "Red" +msgstr "Reduzir" + +#. SUBMENU_ITEM_CMS_COLOR_GREEN +msgid "Green" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLUE +#, fuzzy +msgid "Blue" +msgstr "EmbaƧar" + #. MENU_ITEM_COUNTER_LEN_INACTIVE msgid "inactive" msgstr "inativo" @@ -1353,6 +1561,20 @@ msgstr "" msgid "ASMTP CRAM-MD5" msgstr "" +#. MENU_ITEM_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE +#, fuzzy +msgid "Embed scanner ICM profile" +msgstr "Excluir impressora" + +#. MENU_ITEM_CMS_FUNCTION_CONVERT_TO_SRGB +msgid "Convert to sRGB" +msgstr "" + +#. MENU_ITEM_FUNCTION_CONVERT_TO_WORKING_CS +#, fuzzy +msgid "Convert to working color space" +msgstr "Corrigir cores" + #. PROGRESS_SCANNING msgid "Scanning" msgstr "Digitalizando" @@ -1411,6 +1633,11 @@ msgstr "EmbanƧando imagem" msgid "OCR in progress" msgstr "OCR em progresso" +#. PROGRESS_ICM_CONVERSION +#, fuzzy +msgid "converting colors" +msgstr "Corrigir cores" + #. DESC_SCAN_START msgid "Start scan <Ctrl-Enter>" msgstr "Inicia digitalizaĆ§Ć£o <Ctrl-ENTER>" @@ -1471,8 +1698,9 @@ msgstr "" "acrescentada ao nome do arquivo" #. DESC_FAXPROJECT -msgid "Enter name of fax project" -msgstr "Digite o nome do projeto de fax" +#, fuzzy +msgid "Enter fax project directory name" +msgstr "Procurar pelo diretĆ³rio temporĆ”rio" #. DESC_FAXPAGENAME msgid "Enter new name for faxpage" @@ -1482,10 +1710,15 @@ msgstr "Digite o nome para a pĆ”gina de fax" msgid "Enter receiver phone number or address" msgstr "Digite nĆŗmero de telefone ou endereƧo do destinatĆ”rio" +#. DESC_FAX_PROJECT_BROWSE +#, fuzzy +msgid "Browse for fax project directory" +msgstr "Procurar pelo diretĆ³rio temporĆ”rio" + #. DESC_EMAIL_PROJECT #, fuzzy -msgid "Enter name of e-mail project" -msgstr "Digite o nome do projeto de correio" +msgid "Enter e-mail project directory name" +msgstr "Procurar pelo diretĆ³rio temporĆ”rio" #. DESC_EMAIL_IMAGENAME #, fuzzy @@ -1497,6 +1730,11 @@ msgstr "Digite o novo nome para a imagem de correio" msgid "Enter e-mail address" msgstr "Digite o endereƧo de e-mail" +#. DESC_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "Browse for email project directory" +msgstr "Procurar pelo diretĆ³rio temporĆ”rio" + #. DESC_EMAIL_SUBJECT #, fuzzy msgid "Enter subject of e-mail" @@ -1508,8 +1746,13 @@ msgstr "Selecione o tipoe de arquivo para anexos de imagem" #. DESC_MULTIPAGE_PROJECT #, fuzzy -msgid "Enter name of multipage project" -msgstr "Digite o nome do projeto de correio" +msgid "Enter multipage project directory name" +msgstr "Procurar pelo diretĆ³rio temporĆ”rio" + +#. DESC_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "Browse for multipage project directory" +msgstr "Procurar pelo diretĆ³rio temporĆ”rio" #. DESC_MULTIPAGE_FILETYPE #, fuzzy @@ -1635,7 +1878,8 @@ msgstr "" " contraste = 0" #. DESC_ENH_AUTO -msgid "Autoadjust gamma, brightness and contrast <Ctrl-e>" +#, fuzzy +msgid "Autoadjust gamma, brightness and contrast <Ctrl-a>" msgstr "Ajusta automaticamente gama, brilho e constraste <Ctrl-e>" #. DESC_ENH_DEFAULT @@ -1718,18 +1962,22 @@ msgstr "" "ResoluĆ§Ć£o com a qual imagens coloridas sĆ£o impressas e salvadas em postscript" #. DESC_PRINTER_WIDTH +#. DESC_FAX_WIDTH msgid "Width of printable area" msgstr "Largura da Ć”rea imprimĆvel" #. DESC_PRINTER_HEIGHT +#. DESC_FAX_HEIGHT msgid "Height of printable area" msgstr "Altura da Ć”rea imprimĆvel" #. DESC_PRINTER_LEFTOFFSET +#. DESC_FAX_LEFTOFFSET msgid "Left offset from the edge of the paper to the printable area" msgstr "Deslocamento esquerdo do canto do papel atĆ© a Ć”rea imprimĆvel" #. DESC_PRINTER_BOTTOMOFFSET +#. DESC_FAX_BOTTOMOFFSET msgid "Bottom offset from the edge of the paper to the printable area" msgstr "Deslocamento inferior do canto do papel atĆ© a Ć”rea imprimĆvel" @@ -1749,9 +1997,17 @@ msgstr "Valor gama adicional para o componente verde para fotocĆ³pia" msgid "Additional gamma value for blue component for photocopy" msgstr "Valor gama adicional para o componente azul para fotocĆ³pia" -#. DESC_PRINTER_PS_FLATDECODED +#. DESC_PRINTER_EMBED_CSA +msgid "Creates a postsciptfile that contains the ICM profile of the scanner" +msgstr "" + +#. DESC_PRINTER_EMBED_CRD +msgid "Creates a postsciptfile that contains the ICM profile of the printer" +msgstr "" + +#. DESC_PRINTER_PS_FLATEDECODED msgid "" -"Create zlib compressed postscript image for printer (flatdecode).\n" +"Create zlib compressed postscript image for printer (flatedecode).\n" "The printer has to understand postscript level 3!" msgstr "" @@ -1812,14 +2068,14 @@ msgstr "" "Se o contador do nome de arquivo Ć© auto-incrementado, nĆŗmeros usados sĆ£o " "pulados" -#. DESC_SAVE_PS_FLATDECODED +#. DESC_SAVE_PS_FLATEDECODED msgid "" -"compress postscript image with zlib algorithm (flatdecode). When you want to " -"print such a file your printer has to understand postscript level 3" +"compress postscript image with zlib algorithm (flatedecode). When you want " +"to print such a file your printer has to understand postscript level 3" msgstr "" -#. DESC_SAVE_PDF_FLATDECODED -msgid "compress PDF image with zlib algorithm (flatdecode)." +#. DESC_SAVE_PDF_FLATEDECODED +msgid "compress PDF image with zlib algorithm (flatedecode)." msgstr "" #. DESC_SAVE_PNM16_AS_ASCII @@ -1835,7 +2091,9 @@ msgstr "" "programas mas ele produz arquivos realmente imensos!!!" #. DESC_REDUCE_16BIT_TO_8BIT -msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +#, fuzzy +msgid "" +"If scanner sends image with 16 bits/channel save image with 8 bits/channel" msgstr "" "Se o scaner envia imagem com 16 bits de cores salva imagem com 8 bits de " "cores" @@ -1871,7 +2129,8 @@ msgstr "" "redimensionĆ”vel" #. DESC_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable preview gamma when XSane runs as gimp plugin" +#, fuzzy +msgid "Disable preview gamma when XSane runs as GIMP plugin" msgstr "Desabilita prĆ©via gama quando XSane roda como plugin do gimp" #. DESC_PREVIEW_COLORMAP @@ -1974,6 +2233,16 @@ msgid "Do color correction after preview scan has finished" msgstr "" "Faz uma correĆ§Ć£o de cores depois da prĆ©-visualizaĆ§Ć£o ter sido concluĆda" +#. DESC_RENDERING_INTENT +#, fuzzy +msgid "Select rendering intent for preview and saving" +msgstr "" +"Seleciona Ć”rea de digitalizaĆ§Ć£o apĆ³s a prĆ©-visualizaĆ§Ć£o ter sido concluĆda" + +#. DESC_CMS_BPC +msgid "Apply black point compensation when color transformation is done" +msgstr "" + #. DESC_FAX_COMMAND msgid "Enter command to be executed in fax mode" msgstr "Entra comando a ser executado no modo fax" @@ -2002,8 +2271,8 @@ msgstr "Entra comando para ser executado para visualizar um fax" msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" msgstr "Envia fax com resoluĆ§Ć£o vertical alta (196 lpp ao invĆ©s de 98 lpp)" -#. DESC_FAX_PS_FLATDECODED -msgid "Create zlib compressed postscript image for fax (flatdecode)" +#. DESC_FAX_PS_FLATEDECODED +msgid "Create zlib compressed postscript image for fax (flatedecode)" msgstr "" #. DESC_SMTP_SERVER @@ -2088,9 +2357,10 @@ msgstr "ler" msgid "write" msgstr "gravar" -#. DESC_PERMISSION_EXECUTE -msgid "execute" -msgstr "executar" +#. DESC_PERMISSION_SEARCH +#, fuzzy +msgid "search" +msgstr "usuĆ”rio" #. DESC_ADD_BATCH msgid "Add selection for batch scan" @@ -2259,6 +2529,36 @@ msgstr "Apaga Ć”rea selecionada da lista de lote" msgid "Turns on automatic mode" msgstr "Ativa o modo automĆ”tico" +#. DESC_BUTTON_SCANNER_DEFAULT_COLOR_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default color ICM-profile" +msgstr "Navegar por arquivos de imagem" + +#. DESC_BUTTON_SCANNER_DEFAULT_GRAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default gray ICM-profile" +msgstr "Navegar por arquivos de imagem" + +#. DESC_BUTTON_DISPLAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for display ICM-profile" +msgstr "Navegar por arquivos de imagem" + +#. DESC_BUTTON_PRINTER_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for printer ICM-profile" +msgstr "Navegar por arquivos de imagem" + +#. DESC_BUTTON_CUSTOM_PROOFING_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for custom proofing ICM-profile" +msgstr "Navegar por arquivos de imagem" + +#. DESC_BUTTON_WORKING_COLOR_SPACE_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for working color space ICM-profile" +msgstr "Navegar por arquivos de imagem" + #. ERR_HOME_DIR msgid "Failed to determine home directory:" msgstr "Falha ao determinar o diretĆ³rio home:" @@ -2311,11 +2611,6 @@ msgstr "Erro durante gravaĆ§Ć£o:" msgid "Can't handle depth" msgstr "NĆ£o Ć© possĆvel usar profundidade" -#. ERR_GIMP_BAD_DEPTH -#, c-format -msgid "GIMP can't handle depth %d bits/color" -msgstr "GIMP nĆ£o pode usar profundidade de cores de %d" - #. ERR_UNKNOWN_SAVING_FORMAT msgid "Unknown file format for saving" msgstr "Formato de gravaĆ§Ć£o desconhecido" @@ -2549,10 +2844,68 @@ msgstr "Arquivo %s nĆ£o Ć© um arquivo postscript" msgid "Unsupported %d-bit output format: %s" msgstr "Formato de saĆda de %d-bit nĆ£o suportado: %s" +#. ERR_CMS_CONVERSION +#, fuzzy +msgid "Error during CMS conversion:" +msgstr "Erro durante gravaĆ§Ć£o:" + +#. ERR_CMS_OPEN_ICM_FILE +#, fuzzy +msgid "Could not open" +msgstr "Falha ao abrir" + +#. CMS_SCANNER_ICM +#, fuzzy +msgid "scanner ICM profile" +msgstr "Excluir impressora" + +#. CMS_DISPLAY_ICM +#, fuzzy +msgid "display ICM profile" +msgstr "Navegar por arquivos de imagem" + +#. CMS_PROOF_ICM +#, fuzzy +msgid "proofing ICM profile" +msgstr "Excluir impressora" + +#. ERR_CMS_CREATE_TRANSFORM +#, fuzzy +msgid "Could not create transform" +msgstr "NĆ£o foi possĆvel criar arquivo temporĆ”rio" + #. WARN_VIEWER_IMAGE_NOT_SAVED msgid "viewer image is not saved" msgstr "visualizador de imagem nĆ£o estĆ” salvado" +#. FILE_FILTER_ALL_FILES +msgid "All files" +msgstr "" + +#. FILE_FILTER_IMAGES +#, fuzzy +msgid "Images" +msgstr "Imagem" + +#. FILE_FILTER_XBL +#, fuzzy +msgid "XSane batch list" +msgstr "Salva lista de lote" + +#. FILE_FILTER_ICM +msgid "ICC/ICM Profiles" +msgstr "" + +#. FILE_FILTER_DRC +#, fuzzy +msgid "XSane device preferences" +msgstr "Salvar preferĆŖncias do dispositivo na saĆda" + +#. FILE_FILTER_RC +#, fuzzy +msgid "XSane preferences" +msgstr "PreferĆŖncias" + #. TEXT_USAGE msgid "Usage:" msgstr "Uso:" @@ -2941,15 +3294,66 @@ msgstr "Sem memĆ³ria" msgid "Access to resource has been denied" msgstr "Acesso ao recurso foi proibido" -#~ msgid "Could not create temporary file" -#~ msgstr "NĆ£o foi possĆvel criar arquivo temporĆ”rio" +#, fuzzy +#~ msgid "select scanner transmissive ICM-profile" +#~ msgstr "Excluir impressora" + +#, fuzzy +#~ msgid "select scanner transmissive gray ICM-profile" +#~ msgstr "Excluir impressora" + +#, fuzzy +#~ msgid "Scanner reflective ICM-profile" +#~ msgstr "Excluir impressora" -#~ msgid "Could not create temporary preview files" -#~ msgstr "NĆ£o foi possĆvel criar arquivos de prĆ©-visualizaĆ§Ć£o temporĆ”rios" +#, fuzzy +#~ msgid "Scanner reflective gray ICM-profile" +#~ msgstr "Excluir impressora" + +#, fuzzy +#~ msgid "Scanner transmissive gray ICM-profile" +#~ msgstr "Excluir impressora" + +#, fuzzy +#~ msgid "Scanner reflektive ICM-profile" +#~ msgstr "Excluir impressora" + +#, fuzzy +#~ msgid "Browse for scanner transmissive ICM-profile" +#~ msgstr "Navegar por arquivos de imagem" -#~ msgid "Could not create filenames for preview files" +#, fuzzy +#~ msgid "Browse for scanner transmissive gray ICM-profile" +#~ msgstr "Navegar por arquivos de imagem" + +#~ msgid "GIMP can't handle depth %d bits/color" +#~ msgstr "GIMP nĆ£o pode usar profundidade de cores de %d" + +#, fuzzy +#~ msgid "scanner reflective ICM profile" +#~ msgstr "Excluir impressora" + +#, fuzzy +#~ msgid "Embed scanner/source ICM profile for GIMP" +#~ msgstr "Excluir impressora" + +#~ msgid "Enter name of fax project" +#~ msgstr "Digite o nome do projeto de fax" + +#, fuzzy +#~ msgid "Enter name of e-mail project" +#~ msgstr "Digite o nome do projeto de correio" + +#, fuzzy +#~ msgid "Enter name of multipage project" +#~ msgstr "Digite o nome do projeto de correio" + +#~ msgid "" +#~ "Gimp does not support depth 16 bits/color.\n" +#~ "Do you want to reduce the depth to 8 bits/color?" #~ msgstr "" -#~ "NĆ£o foi possĆvel criar nomes de arquivos para arquivos de prĆ©-visualizaĆ§Ć£o" +#~ "Gimp nĆ£o suporta profundidade de cores de 16 bits.\n" +#~ "VocĆŖ quer reduzir a profundidade para cores de 8 bits?" #, fuzzy #~ msgid "POP3 authentication" @@ -3011,9 +3415,6 @@ msgstr "Acesso ao recurso foi proibido" #~ msgid "Multipage saving aborted" #~ msgstr "Projeto de correio criado" -#~ msgid "Image" -#~ msgstr "Imagem" - #~ msgid "Viewer (png):" #~ msgstr "Visualizador (png):" diff --git a/po/pt_BR.gmo b/po/pt_BR.gmo Binary files differindex 3579543..3ddc0fb 100644 --- a/po/pt_BR.gmo +++ b/po/pt_BR.gmo diff --git a/po/pt_BR.po b/po/pt_BR.po index c2956a9..fc55403 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -5,7 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: XSANE 0.96\n" -"POT-Creation-Date: 2006-01-07 00:26+0100\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-25 23:44+0100\n" "PO-Revision-Date: 2004-10-08 22:00+3\n" "Last-Translator: Yujo Rodrigues <yujo@comp.ufu.br>\n" "Language-Team: Brazilian Portuguese <pt_BR@li.org>\n" @@ -32,6 +33,7 @@ msgid "About" msgstr "Sobre" #. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +#. MENU_ITEM_ABOUT_TRANSLATION msgid "About translation" msgstr "Sobre a traduĆ§Ć£o" @@ -71,6 +73,11 @@ msgstr "renomeia area de lote" msgid "fax project" msgstr "projeto de fax" +#. WINDOW_FAX_PROJECT_BROWSE +#, fuzzy +msgid "browse for fax project" +msgstr "Digite o nome do projeto de fax" + #. WINDOW_FAX_RENAME msgid "rename fax page" msgstr "renomeia pĆ”gina de fax" @@ -84,6 +91,11 @@ msgstr "insere arquivo-ps em um fax" msgid "E-mail project" msgstr "projeto de e-mail" +#. WINDOW_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "browse for email project" +msgstr "Digite o nome do projeto de correio" + #. WINDOW_EMAIL_RENAME #, fuzzy msgid "rename e-mail image" @@ -99,6 +111,11 @@ msgstr "insere arquivo no correio" msgid "multipage project" msgstr "Apagar projeto" +#. WINDOW_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "browse for multipage project" +msgstr "Apagar projeto" + #. WINDOW_PRESET_AREA_RENAME msgid "rename preset area" msgstr "renomeia area predefinida" @@ -144,6 +161,7 @@ msgid "Preview" msgstr "PrĆ©-VisualizaĆ§Ć£o" #. WINDOW_VIEWER +#. MENU_ITEM_VIEWER msgid "Viewer" msgstr "Visualizador" @@ -176,14 +194,17 @@ msgid "select temporary directory" msgstr "seleciona o diretĆ³rio temporĆ”rio" #. WINDOW_SCALE +#. DESC_VIEWER_SCALE msgid "Scale image" msgstr "Escala da imagem" #. WINDOW_DESPECKLE +#. DESC_VIEWER_DESPECKLE msgid "Despeckle image" msgstr "DesembaraƧa imagem" #. WINDOW_BLUR +#. DESC_VIEWER_BLUR msgid "Blur image" msgstr "EmbaƧa imagem" @@ -195,6 +216,35 @@ msgstr "Armazena definiĆ§Ć£o da mĆdia" msgid "No devices available" msgstr "Nenhum dispositivo disponĆvel" +#. WINDOW_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "select scanner default color ICM-profile" +msgstr "Excluir impressora" + +#. WINDOW_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "select scanner default gray ICM-profile" +msgstr "Excluir impressora" + +#. WINDOW_DISPLAY_ICM_PROFILE +msgid "select display ICM-profile" +msgstr "" + +#. WINDOW_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "select custom proofing ICM-profile" +msgstr "selecione arquivo de saĆda" + +#. WINDOW_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "select working color space ICM-profile" +msgstr "Excluir impressora" + +#. WINDOW_PRINTER_ICM_PROFILE +#, fuzzy +msgid "select printer ICM-profile" +msgstr "Excluir impressora" + #. MENU_FILE msgid "File" msgstr "Arquivo" @@ -212,6 +262,7 @@ msgid "Window" msgstr "Janela" #. MENU_HELP +#. BUTTON_HELP msgid "Help" msgstr "Ajuda" @@ -227,6 +278,11 @@ msgstr "Filtros" msgid "Geometry" msgstr "Geometria" +#. MENU_COLOR_MANAGEMENT +#. NOTEBOOK_COLOR_MANAGEMENT_OPTIONS +msgid "Color management" +msgstr "" + #. MENU_ITEM_ABOUT_XSANE msgid "About XSane" msgstr "Sobre XSane" @@ -240,6 +296,7 @@ msgid "Quit" msgstr "Sair" #. MENU_ITEM_SAVE_IMAGE +#. DESC_VIEWER_SAVE msgid "Save image" msgstr "Salvar imagem" @@ -256,6 +313,7 @@ msgid "Scale" msgstr "Escala" #. MENU_ITEM_CLOSE +#. BUTTON_CLOSE msgid "Close" msgstr "Fechar" @@ -449,11 +507,11 @@ msgstr "Aviso ao Sobregravar" msgid "Skip existing filenames" msgstr "Pular arquivos existentes" -#. RADIO_BUTTON_SAVE_PS_FLATDECODED +#. RADIO_BUTTON_SAVE_PS_FLATEDECODED msgid "Save postscript zlib compressed (ps level 3)" msgstr "" -#. RADIO_BUTTON_SAVE_PDF_FLATDECODED +#. RADIO_BUTTON_SAVE_PDF_FLATEDECODED msgid "Save PDF zlib compressed" msgstr "" @@ -470,7 +528,8 @@ msgid "Main window size fixed" msgstr "Tamanho da janela principal fixado" #. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable gimp preview gamma" +#, fuzzy +msgid "Disable GIMP preview gamma" msgstr "Desabilita prĆ©via gama do gimp" #. RADIO_BUTTON_PRIVATE_COLORMAP @@ -493,6 +552,11 @@ msgstr "Corrigir cores" msgid "Use GUI progress pipe" msgstr "Usar barra grĆ”fica de progresso" +#. RADIO_BUTTON_CMS_BPC +#. MENU_ITEM_CMS_BLACK_POINT_COMPENSATION +msgid "Black point compensation" +msgstr "" + #. TEXT_SCANNING_DEVICES msgid "scanning for devices" msgstr "procurando por dispositivos" @@ -509,6 +573,12 @@ msgstr "OpƧƵes do XSane" msgid "Type" msgstr "Tipo" +#. TEXT_CMS_FUNCTION +#. DESC_CMS_FUNCTION +#, fuzzy +msgid "Color management function" +msgstr "Todas as cores" + #. TEXT_SCANNER_BACKEND msgid "Scanner and backend:" msgstr "Scaner e driver:" @@ -581,18 +651,11 @@ msgstr "Formatos de saĆda de 8 bits:" msgid "16 bit output formats:" msgstr "Formatos de saĆda de 16 bits:" -#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT -msgid "" -"Gimp does not support depth 16 bits/color.\n" -"Do you want to reduce the depth to 8 bits/color?" -msgstr "" -"Gimp nĆ£o suporta profundidade de cores de 16 bits.\n" -"VocĆŖ quer reduzir a profundidade para cores de 8 bits?" - #. TEXT_REDUCE_16BIT_TO_8BIT +#, fuzzy msgid "" -"Bit depth 16 bits/color is not supported for this output format.\n" -"Do you want to reduce the depth to 8 bits/color?" +"Bit depth 16 bits/channel is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/channel?" msgstr "" "Profundidade de cores de 16 bits nĆ£o sĆ£o suportadas para este formato de " "saĆda.\n" @@ -630,6 +693,11 @@ msgstr "versao:" msgid "package" msgstr "pacote" +#. TEXT_WITH_CMS_FUNCTION +#, fuzzy +msgid "with color management function" +msgstr "Todas as cores" + #. TEXT_WITH_GIMP_SUPPORT msgid "with GIMP support" msgstr "com suporte GIMP" @@ -767,9 +835,10 @@ msgid "Medium Name:" msgstr "Nome da mĆdia:" #. TEXT_VIEWER_IMAGE_INFO -#, c-format +#, fuzzy, c-format msgid "" -"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +"Size %d x %d pixel, %d bits/channel, %d channels, %1.0f dpi x %1.0f dpi, %" +"1.1f %s" msgstr "" "Tamanho %d x %d pontos, cores de %d bits, %d cores, %1.0f ppp x %1.0f ppp, %" "1.1f %s" @@ -823,6 +892,7 @@ msgid "Name:" msgstr "Nome:" #. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +#. TEXT_SETUP_FAX_COMMAND msgid "Command:" msgstr "Comando:" @@ -843,18 +913,22 @@ msgid "Color resolution (dpi):" msgstr "ResoluĆ§Ć£o de cores (ppp):" #. TEXT_SETUP_PRINTER_WIDTH +#. TEXT_SETUP_FAX_WIDTH msgid "Width" msgstr "Largura:" #. TEXT_SETUP_PRINTER_HEIGHT +#. TEXT_SETUP_FAX_HEIGHT msgid "Height" msgstr "Altura:" #. TEXT_SETUP_PRINTER_LEFT +#. TEXT_SETUP_FAX_LEFT msgid "Left offset" msgstr "Deslocamento esquerdo" #. TEXT_SETUP_PRINTER_BOTTOM +#. TEXT_SETUP_FAX_BOTTOM msgid "Bottom offset" msgstr "Deslocamento inferior" @@ -874,7 +948,17 @@ msgstr "Verde gama da Impressora:" msgid "Printer gamma blue:" msgstr "Azul gama da Impressora:" -#. TEXT_SETUP_PRINTER_PS_FLATDECODED +#. TEXT_SETUP_PRINTER_EMBED_CSA +#, fuzzy +msgid "Embed scanner ICM profile as CSA" +msgstr "Excluir impressora" + +#. TEXT_SETUP_PRINTER_EMBED_CRD +#, fuzzy +msgid "Embed printer ICM profile as CRD" +msgstr "Excluir impressora" + +#. TEXT_SETUP_PRINTER_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for printing" msgstr "" @@ -999,7 +1083,7 @@ msgstr "Configura os padrƵes do programa para:" msgid "Viewer (Postscript):" msgstr "Visualizador (Postscript):" -#. TEXT_SETUP_FAX_PS_FLATDECODED +#. TEXT_SETUP_FAX_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for fax" msgstr "" @@ -1078,10 +1162,45 @@ msgstr "grupo" msgid "all" msgstr "tudo" +#. TEXT_SETUP_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "Scanner default color ICM-profile" +msgstr "Excluir impressora" + +#. TEXT_SETUP_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "Scanner default gray ICM-profile" +msgstr "Excluir impressora" + +#. TEXT_SETUP_DISPLAY_ICM_PROFILE +#. DESC_DISPLAY_ICM_PROFILE +msgid "Display ICM-profile" +msgstr "" + +#. TEXT_SETUP_CUSTOM_PROOFING_ICM_PROFILE +#. DESC_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "Custom proofing ICM-profile" +msgstr "Excluir impressora" + +#. TEXT_SETUP_WORKING_COLOR_SPACE_ICM_PROFILE +#. DESC_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "Working color space ICM-profile" +msgstr "Navegar por arquivos de imagem" + +#. TEXT_SETUP_PRINTER_ICM_PROFILE +#. DESC_PRINTER_ICM_PROFILE +msgid "Printer ICM-profile" +msgstr "" + msgid "new media" msgstr "nova mĆdia" #. NOTEBOOK_SAVING_OPTIONS +#. MENU_ITEM_SAVE msgid "Save" msgstr "Salvar" @@ -1091,14 +1210,17 @@ msgid "Filetype" msgstr "Arquivo" #. NOTEBOOK_COPY_OPTIONS +#. MENU_ITEM_COPY msgid "Copy" msgstr "Copiar" #. NOTEBOOK_FAX_OPTIONS +#. MENU_ITEM_FAX msgid "Fax" msgstr "" #. NOTEBOOK_EMAIL_OPTIONS +#. MENU_ITEM_EMAIL #, fuzzy msgid "E-mail" msgstr "E-mail" @@ -1191,6 +1313,12 @@ msgstr "Mostrar lista de resoluĆ§Ć£o" msgid "Rotate postscript" msgstr "Rotacionar postscript" +#. MENU_ITEM_ENABLE_COLOR_MANAGEMENT +#. MENU_ITEM_CMS_ENABLE_COLOR_MANAGEMENT +#, fuzzy +msgid "Enable color management" +msgstr "Todas as cores" + #. MENU_ITEM_EDIT_MEDIUM_DEF msgid "Edit medium definition" msgstr "Edita definiĆ§Ć£o da mĆdia" @@ -1235,6 +1363,86 @@ msgstr "Dicas de digitalizaĆ§Ć£o" msgid "Problems?" msgstr "Problemas?" +#. MENU_ITEM_CMS_PROOFING +#, fuzzy +msgid "Proofing" +msgstr "Incluir impressora" + +#. SUBMENU_ITEM_CMS_PROOF_OFF +msgid "no proofing (Display)" +msgstr "" + +#. SUBMENU_ITEM_CMS_PROOF_PRINTER +#, fuzzy +msgid "Proof printer" +msgstr "Incluir impressora" + +#. SUBMENU_ITEM_CMS_PROOF_CUSTOM +msgid "Proof custom device" +msgstr "" + +#. MENU_ITEM_CMS_RENDERING_INTENT +#, fuzzy +msgid "Rendering intent" +msgstr "Incluir impressora" + +#. MENU_ITEM_CMS_PROOFING_INTENT +#, fuzzy +msgid "Proofing rendering intent" +msgstr "Incluir impressora" + +#. SUBMENU_ITEM_CMS_INTENT_PERCEPTUAL +msgid "Perceptual" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_RELATIVE_COLORIMETRIC +msgid "Relative colorimetric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_ABSOLUTE_COLORIMETRIC +msgid "Absolute colorimentric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_SATURATION +#, fuzzy +msgid "Saturation" +msgstr "autorizaĆ§Ć£o" + +#. MENU_ITEM_CMS_GAMUT_CHECK +msgid "Gamut check" +msgstr "" + +#. MENU_ITEM_CMS_GAMUT_ALARM_COLOR +msgid "Gamut alarm color" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLACK +msgid "Black" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_GRAY +msgid "Gray" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_WHITE +#, fuzzy +msgid "White" +msgstr "gravar" + +#. SUBMENU_ITEM_CMS_COLOR_RED +#, fuzzy +msgid "Red" +msgstr "Reduzir" + +#. SUBMENU_ITEM_CMS_COLOR_GREEN +msgid "Green" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLUE +#, fuzzy +msgid "Blue" +msgstr "EmbaƧar" + #. MENU_ITEM_COUNTER_LEN_INACTIVE msgid "inactive" msgstr "inativo" @@ -1353,6 +1561,20 @@ msgstr "" msgid "ASMTP CRAM-MD5" msgstr "" +#. MENU_ITEM_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE +#, fuzzy +msgid "Embed scanner ICM profile" +msgstr "Excluir impressora" + +#. MENU_ITEM_CMS_FUNCTION_CONVERT_TO_SRGB +msgid "Convert to sRGB" +msgstr "" + +#. MENU_ITEM_FUNCTION_CONVERT_TO_WORKING_CS +#, fuzzy +msgid "Convert to working color space" +msgstr "Corrigir cores" + #. PROGRESS_SCANNING msgid "Scanning" msgstr "Digitalizando" @@ -1411,6 +1633,11 @@ msgstr "EmbanƧando imagem" msgid "OCR in progress" msgstr "OCR em progresso" +#. PROGRESS_ICM_CONVERSION +#, fuzzy +msgid "converting colors" +msgstr "Corrigir cores" + #. DESC_SCAN_START msgid "Start scan <Ctrl-Enter>" msgstr "Inicia digitalizaĆ§Ć£o <Ctrl-ENTER>" @@ -1471,8 +1698,9 @@ msgstr "" "acrescentada ao nome do arquivo" #. DESC_FAXPROJECT -msgid "Enter name of fax project" -msgstr "Digite o nome do projeto de fax" +#, fuzzy +msgid "Enter fax project directory name" +msgstr "Procurar pelo diretĆ³rio temporĆ”rio" #. DESC_FAXPAGENAME msgid "Enter new name for faxpage" @@ -1482,10 +1710,15 @@ msgstr "Digite o nome para a pĆ”gina de fax" msgid "Enter receiver phone number or address" msgstr "Digite nĆŗmero de telefone ou endereƧo do destinatĆ”rio" +#. DESC_FAX_PROJECT_BROWSE +#, fuzzy +msgid "Browse for fax project directory" +msgstr "Procurar pelo diretĆ³rio temporĆ”rio" + #. DESC_EMAIL_PROJECT #, fuzzy -msgid "Enter name of e-mail project" -msgstr "Digite o nome do projeto de correio" +msgid "Enter e-mail project directory name" +msgstr "Procurar pelo diretĆ³rio temporĆ”rio" #. DESC_EMAIL_IMAGENAME #, fuzzy @@ -1497,6 +1730,11 @@ msgstr "Digite o novo nome para a imagem de correio" msgid "Enter e-mail address" msgstr "Digite o endereƧo de e-mail" +#. DESC_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "Browse for email project directory" +msgstr "Procurar pelo diretĆ³rio temporĆ”rio" + #. DESC_EMAIL_SUBJECT #, fuzzy msgid "Enter subject of e-mail" @@ -1508,8 +1746,13 @@ msgstr "Selecione o tipoe de arquivo para anexos de imagem" #. DESC_MULTIPAGE_PROJECT #, fuzzy -msgid "Enter name of multipage project" -msgstr "Digite o nome do projeto de correio" +msgid "Enter multipage project directory name" +msgstr "Procurar pelo diretĆ³rio temporĆ”rio" + +#. DESC_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "Browse for multipage project directory" +msgstr "Procurar pelo diretĆ³rio temporĆ”rio" #. DESC_MULTIPAGE_FILETYPE #, fuzzy @@ -1635,7 +1878,8 @@ msgstr "" " contraste = 0" #. DESC_ENH_AUTO -msgid "Autoadjust gamma, brightness and contrast <Ctrl-e>" +#, fuzzy +msgid "Autoadjust gamma, brightness and contrast <Ctrl-a>" msgstr "Ajusta automaticamente gama, brilho e constraste <Ctrl-e>" #. DESC_ENH_DEFAULT @@ -1718,18 +1962,22 @@ msgstr "" "ResoluĆ§Ć£o com a qual imagens coloridas sĆ£o impressas e salvadas em postscript" #. DESC_PRINTER_WIDTH +#. DESC_FAX_WIDTH msgid "Width of printable area" msgstr "Largura da Ć”rea imprimĆvel" #. DESC_PRINTER_HEIGHT +#. DESC_FAX_HEIGHT msgid "Height of printable area" msgstr "Altura da Ć”rea imprimĆvel" #. DESC_PRINTER_LEFTOFFSET +#. DESC_FAX_LEFTOFFSET msgid "Left offset from the edge of the paper to the printable area" msgstr "Deslocamento esquerdo do canto do papel atĆ© a Ć”rea imprimĆvel" #. DESC_PRINTER_BOTTOMOFFSET +#. DESC_FAX_BOTTOMOFFSET msgid "Bottom offset from the edge of the paper to the printable area" msgstr "Deslocamento inferior do canto do papel atĆ© a Ć”rea imprimĆvel" @@ -1749,9 +1997,17 @@ msgstr "Valor gama adicional para o componente verde para fotocĆ³pia" msgid "Additional gamma value for blue component for photocopy" msgstr "Valor gama adicional para o componente azul para fotocĆ³pia" -#. DESC_PRINTER_PS_FLATDECODED +#. DESC_PRINTER_EMBED_CSA +msgid "Creates a postsciptfile that contains the ICM profile of the scanner" +msgstr "" + +#. DESC_PRINTER_EMBED_CRD +msgid "Creates a postsciptfile that contains the ICM profile of the printer" +msgstr "" + +#. DESC_PRINTER_PS_FLATEDECODED msgid "" -"Create zlib compressed postscript image for printer (flatdecode).\n" +"Create zlib compressed postscript image for printer (flatedecode).\n" "The printer has to understand postscript level 3!" msgstr "" @@ -1812,14 +2068,14 @@ msgstr "" "Se o contador do nome de arquivo Ć© auto-incrementado, nĆŗmeros usados sĆ£o " "pulados" -#. DESC_SAVE_PS_FLATDECODED +#. DESC_SAVE_PS_FLATEDECODED msgid "" -"compress postscript image with zlib algorithm (flatdecode). When you want to " -"print such a file your printer has to understand postscript level 3" +"compress postscript image with zlib algorithm (flatedecode). When you want " +"to print such a file your printer has to understand postscript level 3" msgstr "" -#. DESC_SAVE_PDF_FLATDECODED -msgid "compress PDF image with zlib algorithm (flatdecode)." +#. DESC_SAVE_PDF_FLATEDECODED +msgid "compress PDF image with zlib algorithm (flatedecode)." msgstr "" #. DESC_SAVE_PNM16_AS_ASCII @@ -1835,7 +2091,9 @@ msgstr "" "programas mas ele produz arquivos realmente imensos!!!" #. DESC_REDUCE_16BIT_TO_8BIT -msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +#, fuzzy +msgid "" +"If scanner sends image with 16 bits/channel save image with 8 bits/channel" msgstr "" "Se o scaner envia imagem com 16 bits de cores salva imagem com 8 bits de " "cores" @@ -1871,7 +2129,8 @@ msgstr "" "redimensionĆ”vel" #. DESC_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable preview gamma when XSane runs as gimp plugin" +#, fuzzy +msgid "Disable preview gamma when XSane runs as GIMP plugin" msgstr "Desabilita prĆ©via gama quando XSane roda como plugin do gimp" #. DESC_PREVIEW_COLORMAP @@ -1974,6 +2233,16 @@ msgid "Do color correction after preview scan has finished" msgstr "" "Faz uma correĆ§Ć£o de cores depois da prĆ©-visualizaĆ§Ć£o ter sido concluĆda" +#. DESC_RENDERING_INTENT +#, fuzzy +msgid "Select rendering intent for preview and saving" +msgstr "" +"Seleciona Ć”rea de digitalizaĆ§Ć£o apĆ³s a prĆ©-visualizaĆ§Ć£o ter sido concluĆda" + +#. DESC_CMS_BPC +msgid "Apply black point compensation when color transformation is done" +msgstr "" + #. DESC_FAX_COMMAND msgid "Enter command to be executed in fax mode" msgstr "Entra comando a ser executado no modo fax" @@ -2002,8 +2271,8 @@ msgstr "Entra comando para ser executado para visualizar um fax" msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" msgstr "Envia fax com resoluĆ§Ć£o vertical alta (196 lpp ao invĆ©s de 98 lpp)" -#. DESC_FAX_PS_FLATDECODED -msgid "Create zlib compressed postscript image for fax (flatdecode)" +#. DESC_FAX_PS_FLATEDECODED +msgid "Create zlib compressed postscript image for fax (flatedecode)" msgstr "" #. DESC_SMTP_SERVER @@ -2088,9 +2357,10 @@ msgstr "ler" msgid "write" msgstr "gravar" -#. DESC_PERMISSION_EXECUTE -msgid "execute" -msgstr "executar" +#. DESC_PERMISSION_SEARCH +#, fuzzy +msgid "search" +msgstr "usuĆ”rio" #. DESC_ADD_BATCH msgid "Add selection for batch scan" @@ -2259,6 +2529,36 @@ msgstr "Apaga Ć”rea selecionada da lista de lote" msgid "Turns on automatic mode" msgstr "Ativa o modo automĆ”tico" +#. DESC_BUTTON_SCANNER_DEFAULT_COLOR_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default color ICM-profile" +msgstr "Navegar por arquivos de imagem" + +#. DESC_BUTTON_SCANNER_DEFAULT_GRAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default gray ICM-profile" +msgstr "Navegar por arquivos de imagem" + +#. DESC_BUTTON_DISPLAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for display ICM-profile" +msgstr "Navegar por arquivos de imagem" + +#. DESC_BUTTON_PRINTER_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for printer ICM-profile" +msgstr "Navegar por arquivos de imagem" + +#. DESC_BUTTON_CUSTOM_PROOFING_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for custom proofing ICM-profile" +msgstr "Navegar por arquivos de imagem" + +#. DESC_BUTTON_WORKING_COLOR_SPACE_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for working color space ICM-profile" +msgstr "Navegar por arquivos de imagem" + #. ERR_HOME_DIR msgid "Failed to determine home directory:" msgstr "Falha ao determinar o diretĆ³rio home:" @@ -2311,11 +2611,6 @@ msgstr "Erro durante gravaĆ§Ć£o:" msgid "Can't handle depth" msgstr "NĆ£o Ć© possĆvel usar profundidade" -#. ERR_GIMP_BAD_DEPTH -#, c-format -msgid "GIMP can't handle depth %d bits/color" -msgstr "GIMP nĆ£o pode usar profundidade de cores de %d" - #. ERR_UNKNOWN_SAVING_FORMAT msgid "Unknown file format for saving" msgstr "Formato de gravaĆ§Ć£o desconhecido" @@ -2549,10 +2844,68 @@ msgstr "Arquivo %s nĆ£o Ć© um arquivo postscript" msgid "Unsupported %d-bit output format: %s" msgstr "Formato de saĆda de %d-bit nĆ£o suportado: %s" +#. ERR_CMS_CONVERSION +#, fuzzy +msgid "Error during CMS conversion:" +msgstr "Erro durante gravaĆ§Ć£o:" + +#. ERR_CMS_OPEN_ICM_FILE +#, fuzzy +msgid "Could not open" +msgstr "Falha ao abrir" + +#. CMS_SCANNER_ICM +#, fuzzy +msgid "scanner ICM profile" +msgstr "Excluir impressora" + +#. CMS_DISPLAY_ICM +#, fuzzy +msgid "display ICM profile" +msgstr "Navegar por arquivos de imagem" + +#. CMS_PROOF_ICM +#, fuzzy +msgid "proofing ICM profile" +msgstr "Excluir impressora" + +#. ERR_CMS_CREATE_TRANSFORM +#, fuzzy +msgid "Could not create transform" +msgstr "NĆ£o foi possĆvel criar arquivo temporĆ”rio" + #. WARN_VIEWER_IMAGE_NOT_SAVED msgid "viewer image is not saved" msgstr "visualizador de imagem nĆ£o estĆ” salvado" +#. FILE_FILTER_ALL_FILES +msgid "All files" +msgstr "" + +#. FILE_FILTER_IMAGES +#, fuzzy +msgid "Images" +msgstr "Imagem" + +#. FILE_FILTER_XBL +#, fuzzy +msgid "XSane batch list" +msgstr "Salva lista de lote" + +#. FILE_FILTER_ICM +msgid "ICC/ICM Profiles" +msgstr "" + +#. FILE_FILTER_DRC +#, fuzzy +msgid "XSane device preferences" +msgstr "Salvar preferĆŖncias do dispositivo na saĆda" + +#. FILE_FILTER_RC +#, fuzzy +msgid "XSane preferences" +msgstr "PreferĆŖncias" + #. TEXT_USAGE msgid "Usage:" msgstr "Uso:" @@ -2941,15 +3294,66 @@ msgstr "Sem memĆ³ria" msgid "Access to resource has been denied" msgstr "Acesso ao recurso foi proibido" -#~ msgid "Could not create temporary file" -#~ msgstr "NĆ£o foi possĆvel criar arquivo temporĆ”rio" +#, fuzzy +#~ msgid "select scanner transmissive ICM-profile" +#~ msgstr "Excluir impressora" + +#, fuzzy +#~ msgid "select scanner transmissive gray ICM-profile" +#~ msgstr "Excluir impressora" + +#, fuzzy +#~ msgid "Scanner reflective ICM-profile" +#~ msgstr "Excluir impressora" -#~ msgid "Could not create temporary preview files" -#~ msgstr "NĆ£o foi possĆvel criar arquivos de prĆ©-visualizaĆ§Ć£o temporĆ”rios" +#, fuzzy +#~ msgid "Scanner reflective gray ICM-profile" +#~ msgstr "Excluir impressora" + +#, fuzzy +#~ msgid "Scanner transmissive gray ICM-profile" +#~ msgstr "Excluir impressora" + +#, fuzzy +#~ msgid "Scanner reflektive ICM-profile" +#~ msgstr "Excluir impressora" + +#, fuzzy +#~ msgid "Browse for scanner transmissive ICM-profile" +#~ msgstr "Navegar por arquivos de imagem" -#~ msgid "Could not create filenames for preview files" +#, fuzzy +#~ msgid "Browse for scanner transmissive gray ICM-profile" +#~ msgstr "Navegar por arquivos de imagem" + +#~ msgid "GIMP can't handle depth %d bits/color" +#~ msgstr "GIMP nĆ£o pode usar profundidade de cores de %d" + +#, fuzzy +#~ msgid "scanner reflective ICM profile" +#~ msgstr "Excluir impressora" + +#, fuzzy +#~ msgid "Embed scanner/source ICM profile for GIMP" +#~ msgstr "Excluir impressora" + +#~ msgid "Enter name of fax project" +#~ msgstr "Digite o nome do projeto de fax" + +#, fuzzy +#~ msgid "Enter name of e-mail project" +#~ msgstr "Digite o nome do projeto de correio" + +#, fuzzy +#~ msgid "Enter name of multipage project" +#~ msgstr "Digite o nome do projeto de correio" + +#~ msgid "" +#~ "Gimp does not support depth 16 bits/color.\n" +#~ "Do you want to reduce the depth to 8 bits/color?" #~ msgstr "" -#~ "NĆ£o foi possĆvel criar nomes de arquivos para arquivos de prĆ©-visualizaĆ§Ć£o" +#~ "Gimp nĆ£o suporta profundidade de cores de 16 bits.\n" +#~ "VocĆŖ quer reduzir a profundidade para cores de 8 bits?" #, fuzzy #~ msgid "POP3 authentication" @@ -3011,9 +3415,6 @@ msgstr "Acesso ao recurso foi proibido" #~ msgid "Multipage saving aborted" #~ msgstr "Projeto de correio criado" -#~ msgid "Image" -#~ msgstr "Imagem" - #~ msgid "Viewer (png):" #~ msgstr "Visualizador (png):" @@ -6,7 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: XSANE 0.96\n" -"POT-Creation-Date: 2006-01-07 00:26+0100\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-25 23:44+0100\n" "PO-Revision-Date: 2004-08-27 19:55+0300\n" "Last-Translator: \n" "Language-Team: <C@li.org>\n" @@ -34,6 +35,7 @@ msgid "About" msgstr "Despre" #. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +#. MENU_ITEM_ABOUT_TRANSLATION msgid "About translation" msgstr "Despre traducere" @@ -73,6 +75,11 @@ msgstr "RedenumeÅte zone predefinite pt. loturi" msgid "fax project" msgstr "Proiect fax" +#. WINDOW_FAX_PROJECT_BROWSE +#, fuzzy +msgid "browse for fax project" +msgstr "IntroduceÅ£i numele proiectului fax" + #. WINDOW_FAX_RENAME msgid "rename fax page" msgstr "RedenumeÅte pagina de fax" @@ -86,6 +93,11 @@ msgstr "Introduce fiÅier ps Ć®n fax" msgid "E-mail project" msgstr "Trimite proiect prin email" +#. WINDOW_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "browse for email project" +msgstr "IntroduceÅ£i numele proiectului mail" + #. WINDOW_EMAIL_RENAME #, fuzzy msgid "rename e-mail image" @@ -101,6 +113,11 @@ msgstr "Introduce fiÅier Ć®n email" msgid "multipage project" msgstr "Återge proiect" +#. WINDOW_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "browse for multipage project" +msgstr "Återge proiect" + #. WINDOW_PRESET_AREA_RENAME msgid "rename preset area" msgstr "RedenumeÅte zone predefinite" @@ -146,6 +163,7 @@ msgid "Preview" msgstr "Previzualizare" #. WINDOW_VIEWER +#. MENU_ITEM_VIEWER msgid "Viewer" msgstr "Vizualizare" @@ -178,14 +196,17 @@ msgid "select temporary directory" msgstr "SelecteazÄ directorul temporar" #. WINDOW_SCALE +#. DESC_VIEWER_SCALE msgid "Scale image" msgstr "ScaleazÄ imaginea" #. WINDOW_DESPECKLE +#. DESC_VIEWER_DESPECKLE msgid "Despeckle image" msgstr "Scoate petele din imagine" #. WINDOW_BLUR +#. DESC_VIEWER_BLUR msgid "Blur image" msgstr "Face imaginea neclarÄ" @@ -197,6 +218,35 @@ msgstr "Stocare definiÅ£ie mediu" msgid "No devices available" msgstr "Nu existÄ dispozitive disponibile" +#. WINDOW_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "select scanner default color ICM-profile" +msgstr "Återge imprimantÄ" + +#. WINDOW_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "select scanner default gray ICM-profile" +msgstr "Återge imprimantÄ" + +#. WINDOW_DISPLAY_ICM_PROFILE +msgid "select display ICM-profile" +msgstr "" + +#. WINDOW_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "select custom proofing ICM-profile" +msgstr "SelecteazÄ nume fiÅier ieÅire" + +#. WINDOW_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "select working color space ICM-profile" +msgstr "Återge imprimantÄ" + +#. WINDOW_PRINTER_ICM_PROFILE +#, fuzzy +msgid "select printer ICM-profile" +msgstr "Återge imprimantÄ" + #. MENU_FILE msgid "File" msgstr "FiÅier" @@ -214,6 +264,7 @@ msgid "Window" msgstr "FereastrÄ" #. MENU_HELP +#. BUTTON_HELP msgid "Help" msgstr "Ajutor" @@ -229,6 +280,11 @@ msgstr "Filtre" msgid "Geometry" msgstr "Geometrie" +#. MENU_COLOR_MANAGEMENT +#. NOTEBOOK_COLOR_MANAGEMENT_OPTIONS +msgid "Color management" +msgstr "" + #. MENU_ITEM_ABOUT_XSANE msgid "About XSane" msgstr "Despre Xsane" @@ -242,6 +298,7 @@ msgid "Quit" msgstr "IeÅire" #. MENU_ITEM_SAVE_IMAGE +#. DESC_VIEWER_SAVE msgid "Save image" msgstr "SalveazÄ imaginea" @@ -258,6 +315,7 @@ msgid "Scale" msgstr "ScaleazÄ" #. MENU_ITEM_CLOSE +#. BUTTON_CLOSE msgid "Close" msgstr "Ćnchide" @@ -451,11 +509,11 @@ msgstr "Avertizare la suprascriere" msgid "Skip existing filenames" msgstr "Salt peste fiÅierele existente" -#. RADIO_BUTTON_SAVE_PS_FLATDECODED +#. RADIO_BUTTON_SAVE_PS_FLATEDECODED msgid "Save postscript zlib compressed (ps level 3)" msgstr "" -#. RADIO_BUTTON_SAVE_PDF_FLATDECODED +#. RADIO_BUTTON_SAVE_PDF_FLATEDECODED msgid "Save PDF zlib compressed" msgstr "" @@ -472,7 +530,8 @@ msgid "Main window size fixed" msgstr "MÄrime fixÄ pentru dimensiunea ferestrei principale" #. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable gimp preview gamma" +#, fuzzy +msgid "Disable GIMP preview gamma" msgstr "DezactiveazÄ previzualizare gamma Ć®n Gimp" #. RADIO_BUTTON_PRIVATE_COLORMAP @@ -495,6 +554,11 @@ msgstr "CorecÅ£ie automatÄ culori" msgid "Use GUI progress pipe" msgstr "FoloseÅte pipe GUI pt. evoluÅ£ie" +#. RADIO_BUTTON_CMS_BPC +#. MENU_ITEM_CMS_BLACK_POINT_COMPENSATION +msgid "Black point compensation" +msgstr "" + #. TEXT_SCANNING_DEVICES msgid "scanning for devices" msgstr "Caut dispozitivele" @@ -511,6 +575,12 @@ msgstr "OpÅ£iuni XSane" msgid "Type" msgstr "Tip" +#. TEXT_CMS_FUNCTION +#. DESC_CMS_FUNCTION +#, fuzzy +msgid "Color management function" +msgstr "ToatÄ gama de culori" + #. TEXT_SCANNER_BACKEND msgid "Scanner and backend:" msgstr "Scanner Åi backend:" @@ -583,18 +653,11 @@ msgstr "Formate de ieÅire pe 8 biÅ£i:" msgid "16 bit output formats:" msgstr "Formate de ieÅire pe 16 biÅ£i:" -#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT -msgid "" -"Gimp does not support depth 16 bits/color.\n" -"Do you want to reduce the depth to 8 bits/color?" -msgstr "" -"Gimp nu susÅ£ine adĆ¢ncimi de 16 biÅ£i/culoare.\n" -"DoriÅ£i sÄ reduceÅ£i adĆ¢ncimea la 8 biÅ£i/culoare?" - #. TEXT_REDUCE_16BIT_TO_8BIT +#, fuzzy msgid "" -"Bit depth 16 bits/color is not supported for this output format.\n" -"Do you want to reduce the depth to 8 bits/color?" +"Bit depth 16 bits/channel is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/channel?" msgstr "" "Acest format de ieÅire nu susÅ£ine adĆ¢ncimi de 16 biÅ£i/culoare.\n" "DoriÅ£i sÄ reduceÅ£i adĆ¢ncimea la 8 biÅ£i/culoare?" @@ -631,6 +694,11 @@ msgstr "Versiune: " msgid "package" msgstr "Pachet" +#. TEXT_WITH_CMS_FUNCTION +#, fuzzy +msgid "with color management function" +msgstr "ToatÄ gama de culori" + #. TEXT_WITH_GIMP_SUPPORT msgid "with GIMP support" msgstr "Cu susÅ£inere GIMP" @@ -770,9 +838,10 @@ msgid "Medium Name:" msgstr "Nume mediu:" #. TEXT_VIEWER_IMAGE_INFO -#, c-format +#, fuzzy, c-format msgid "" -"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +"Size %d x %d pixel, %d bits/channel, %d channels, %1.0f dpi x %1.0f dpi, %" +"1.1f %s" msgstr "" "MÄrime %d x %d pixeli, %d biÅ£i/culoare, %d culori, %1.0f dpi x %1.0f dpi, %" "1.1f %s" @@ -826,6 +895,7 @@ msgid "Name:" msgstr "Nume:" #. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +#. TEXT_SETUP_FAX_COMMAND msgid "Command:" msgstr "ComandÄ:" @@ -846,18 +916,22 @@ msgid "Color resolution (dpi):" msgstr "RezoluÅ£ie color (dpi):" #. TEXT_SETUP_PRINTER_WIDTH +#. TEXT_SETUP_FAX_WIDTH msgid "Width" msgstr "LÄÅ£ime" #. TEXT_SETUP_PRINTER_HEIGHT +#. TEXT_SETUP_FAX_HEIGHT msgid "Height" msgstr "ĆnÄlÅ£ime" #. TEXT_SETUP_PRINTER_LEFT +#. TEXT_SETUP_FAX_LEFT msgid "Left offset" msgstr "Decalaj stĆ¢nga" #. TEXT_SETUP_PRINTER_BOTTOM +#. TEXT_SETUP_FAX_BOTTOM msgid "Bottom offset" msgstr "Decalaj jos" @@ -877,7 +951,17 @@ msgstr "Gamma - componentÄ verde - pt. imprimantÄ" msgid "Printer gamma blue:" msgstr "Gamma - componentÄ albastru - pt. imprimantÄ" -#. TEXT_SETUP_PRINTER_PS_FLATDECODED +#. TEXT_SETUP_PRINTER_EMBED_CSA +#, fuzzy +msgid "Embed scanner ICM profile as CSA" +msgstr "Återge imprimantÄ" + +#. TEXT_SETUP_PRINTER_EMBED_CRD +#, fuzzy +msgid "Embed printer ICM profile as CRD" +msgstr "Återge imprimantÄ" + +#. TEXT_SETUP_PRINTER_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for printing" msgstr "" @@ -1002,7 +1086,7 @@ msgstr "SeteazÄ valori implicite Ć®n program pt.:" msgid "Viewer (Postscript):" msgstr "Vizualizator (Postscript):" -#. TEXT_SETUP_FAX_PS_FLATDECODED +#. TEXT_SETUP_FAX_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for fax" msgstr "" @@ -1081,10 +1165,45 @@ msgstr "grup" msgid "all" msgstr "toÅ£i" +#. TEXT_SETUP_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "Scanner default color ICM-profile" +msgstr "Återge imprimantÄ" + +#. TEXT_SETUP_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "Scanner default gray ICM-profile" +msgstr "Återge imprimantÄ" + +#. TEXT_SETUP_DISPLAY_ICM_PROFILE +#. DESC_DISPLAY_ICM_PROFILE +msgid "Display ICM-profile" +msgstr "" + +#. TEXT_SETUP_CUSTOM_PROOFING_ICM_PROFILE +#. DESC_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "Custom proofing ICM-profile" +msgstr "Återge imprimantÄ" + +#. TEXT_SETUP_WORKING_COLOR_SPACE_ICM_PROFILE +#. DESC_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "Working color space ICM-profile" +msgstr "NavigheazÄ la numele fiÅierului de imagine" + +#. TEXT_SETUP_PRINTER_ICM_PROFILE +#. DESC_PRINTER_ICM_PROFILE +msgid "Printer ICM-profile" +msgstr "" + msgid "new media" msgstr "mediu nou" #. NOTEBOOK_SAVING_OPTIONS +#. MENU_ITEM_SAVE msgid "Save" msgstr "Salvare" @@ -1094,14 +1213,17 @@ msgid "Filetype" msgstr "FiÅier" #. NOTEBOOK_COPY_OPTIONS +#. MENU_ITEM_COPY msgid "Copy" msgstr "Copiere" #. NOTEBOOK_FAX_OPTIONS +#. MENU_ITEM_FAX msgid "Fax" msgstr "Fax" #. NOTEBOOK_EMAIL_OPTIONS +#. MENU_ITEM_EMAIL #, fuzzy msgid "E-mail" msgstr "PoÅta electronicÄ" @@ -1194,6 +1316,12 @@ msgstr "AratÄ lista rezoluÅ£iilor" msgid "Rotate postscript" msgstr "RoteÅte postscript" +#. MENU_ITEM_ENABLE_COLOR_MANAGEMENT +#. MENU_ITEM_CMS_ENABLE_COLOR_MANAGEMENT +#, fuzzy +msgid "Enable color management" +msgstr "ToatÄ gama de culori" + #. MENU_ITEM_EDIT_MEDIUM_DEF msgid "Edit medium definition" msgstr "Editare definiÅ£ie mediu" @@ -1238,6 +1366,86 @@ msgstr "Ponturi pt. scanare" msgid "Problems?" msgstr "Probleme?" +#. MENU_ITEM_CMS_PROOFING +#, fuzzy +msgid "Proofing" +msgstr "AdaugÄ imprimantÄ" + +#. SUBMENU_ITEM_CMS_PROOF_OFF +msgid "no proofing (Display)" +msgstr "" + +#. SUBMENU_ITEM_CMS_PROOF_PRINTER +#, fuzzy +msgid "Proof printer" +msgstr "AdaugÄ imprimantÄ" + +#. SUBMENU_ITEM_CMS_PROOF_CUSTOM +msgid "Proof custom device" +msgstr "" + +#. MENU_ITEM_CMS_RENDERING_INTENT +#, fuzzy +msgid "Rendering intent" +msgstr "AdaugÄ imprimantÄ" + +#. MENU_ITEM_CMS_PROOFING_INTENT +#, fuzzy +msgid "Proofing rendering intent" +msgstr "AdaugÄ imprimantÄ" + +#. SUBMENU_ITEM_CMS_INTENT_PERCEPTUAL +msgid "Perceptual" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_RELATIVE_COLORIMETRIC +msgid "Relative colorimetric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_ABSOLUTE_COLORIMETRIC +msgid "Absolute colorimentric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_SATURATION +#, fuzzy +msgid "Saturation" +msgstr "Autorizare" + +#. MENU_ITEM_CMS_GAMUT_CHECK +msgid "Gamut check" +msgstr "" + +#. MENU_ITEM_CMS_GAMUT_ALARM_COLOR +msgid "Gamut alarm color" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLACK +msgid "Black" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_GRAY +msgid "Gray" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_WHITE +#, fuzzy +msgid "White" +msgstr "scriere" + +#. SUBMENU_ITEM_CMS_COLOR_RED +#, fuzzy +msgid "Red" +msgstr "Reduce" + +#. SUBMENU_ITEM_CMS_COLOR_GREEN +msgid "Green" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLUE +#, fuzzy +msgid "Blue" +msgstr "Difuzie" + #. MENU_ITEM_COUNTER_LEN_INACTIVE msgid "inactive" msgstr "inactiv" @@ -1356,6 +1564,20 @@ msgstr "" msgid "ASMTP CRAM-MD5" msgstr "" +#. MENU_ITEM_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE +#, fuzzy +msgid "Embed scanner ICM profile" +msgstr "Återge imprimantÄ" + +#. MENU_ITEM_CMS_FUNCTION_CONVERT_TO_SRGB +msgid "Convert to sRGB" +msgstr "" + +#. MENU_ITEM_FUNCTION_CONVERT_TO_WORKING_CS +#, fuzzy +msgid "Convert to working color space" +msgstr "CorecÅ£ie automatÄ culori" + #. PROGRESS_SCANNING msgid "Scanning" msgstr "Scanare..." @@ -1414,6 +1636,11 @@ msgstr "Fac imaginea neclarÄ" msgid "OCR in progress" msgstr "RecunoaÅtere opticÄ de caractere Ć®n evoluÅ£ie" +#. PROGRESS_ICM_CONVERSION +#, fuzzy +msgid "converting colors" +msgstr "CorecÅ£ie automatÄ culori" + #. DESC_SCAN_START msgid "Start scan <Ctrl-Enter>" msgstr "PorneÅte scanarea<Ctrl-Enter>" @@ -1474,8 +1701,9 @@ msgstr "" "numele fiÅierului" #. DESC_FAXPROJECT -msgid "Enter name of fax project" -msgstr "IntroduceÅ£i numele proiectului fax" +#, fuzzy +msgid "Enter fax project directory name" +msgstr "NavigheazÄ la directorul temporar" #. DESC_FAXPAGENAME msgid "Enter new name for faxpage" @@ -1485,10 +1713,15 @@ msgstr "IntroduceÅ£i numele paginii de fax" msgid "Enter receiver phone number or address" msgstr "IntroduceÅ£i numÄrul de telefon sau adresa destinatarului" +#. DESC_FAX_PROJECT_BROWSE +#, fuzzy +msgid "Browse for fax project directory" +msgstr "NavigheazÄ la directorul temporar" + #. DESC_EMAIL_PROJECT #, fuzzy -msgid "Enter name of e-mail project" -msgstr "IntroduceÅ£i numele proiectului mail" +msgid "Enter e-mail project directory name" +msgstr "NavigheazÄ la directorul temporar" #. DESC_EMAIL_IMAGENAME #, fuzzy @@ -1500,6 +1733,11 @@ msgstr "IntroduceÅ£i numele imaginii pt. mail" msgid "Enter e-mail address" msgstr "IntroduceÅ£i adresa de email" +#. DESC_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "Browse for email project directory" +msgstr "NavigheazÄ la directorul temporar" + #. DESC_EMAIL_SUBJECT #, fuzzy msgid "Enter subject of e-mail" @@ -1511,8 +1749,13 @@ msgstr "SelectaÅ£i tipul fiÅierelor pentru ataÅamentele imagine" #. DESC_MULTIPAGE_PROJECT #, fuzzy -msgid "Enter name of multipage project" -msgstr "IntroduceÅ£i numele proiectului mail" +msgid "Enter multipage project directory name" +msgstr "NavigheazÄ la directorul temporar" + +#. DESC_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "Browse for multipage project directory" +msgstr "NavigheazÄ la directorul temporar" #. DESC_MULTIPAGE_FILETYPE #, fuzzy @@ -1638,7 +1881,8 @@ msgstr "" " contrast = 0" #. DESC_ENH_AUTO -msgid "Autoadjust gamma, brightness and contrast <Ctrl-e>" +#, fuzzy +msgid "Autoadjust gamma, brightness and contrast <Ctrl-a>" msgstr "Ajustare automatÄ pt. gamma, strÄlucire, contrast <Ctrl-e>" #. DESC_ENH_DEFAULT @@ -1721,18 +1965,22 @@ msgstr "" "RezoluÅ£ia la care imaginile color sunt tipÄrite Åi salvate Ć®n postscript" #. DESC_PRINTER_WIDTH +#. DESC_FAX_WIDTH msgid "Width of printable area" msgstr "LÄÅ£ime zonÄ tipÄribilÄ" #. DESC_PRINTER_HEIGHT +#. DESC_FAX_HEIGHT msgid "Height of printable area" msgstr "ĆnÄlÅ£ime zonÄ tipÄribilÄ" #. DESC_PRINTER_LEFTOFFSET +#. DESC_FAX_LEFTOFFSET msgid "Left offset from the edge of the paper to the printable area" msgstr "Decalaj stĆ¢nga de la marginea hĆ¢rtiei la zona tipÄribilÄ" #. DESC_PRINTER_BOTTOMOFFSET +#. DESC_FAX_BOTTOMOFFSET msgid "Bottom offset from the edge of the paper to the printable area" msgstr "Decalaj de jos de la marginea hĆ¢rtiei la zona tipÄribilÄ" @@ -1752,9 +2000,17 @@ msgstr "Valoare gamma adiÅ£ionalÄ componentÄ verde pt. fotocopie" msgid "Additional gamma value for blue component for photocopy" msgstr "Valoare gamma adiÅ£ionalÄ componentÄ albastru pt. fotocopie" -#. DESC_PRINTER_PS_FLATDECODED +#. DESC_PRINTER_EMBED_CSA +msgid "Creates a postsciptfile that contains the ICM profile of the scanner" +msgstr "" + +#. DESC_PRINTER_EMBED_CRD +msgid "Creates a postsciptfile that contains the ICM profile of the printer" +msgstr "" + +#. DESC_PRINTER_PS_FLATEDECODED msgid "" -"Create zlib compressed postscript image for printer (flatdecode).\n" +"Create zlib compressed postscript image for printer (flatedecode).\n" "The printer has to understand postscript level 3!" msgstr "" @@ -1815,14 +2071,14 @@ msgstr "" "Numerele folosite deja sunt sÄrite la incrementarea automatÄ a contorului " "numelui de fiÅier" -#. DESC_SAVE_PS_FLATDECODED +#. DESC_SAVE_PS_FLATEDECODED msgid "" -"compress postscript image with zlib algorithm (flatdecode). When you want to " -"print such a file your printer has to understand postscript level 3" +"compress postscript image with zlib algorithm (flatedecode). When you want " +"to print such a file your printer has to understand postscript level 3" msgstr "" -#. DESC_SAVE_PDF_FLATDECODED -msgid "compress PDF image with zlib algorithm (flatdecode)." +#. DESC_SAVE_PDF_FLATEDECODED +msgid "compress PDF image with zlib algorithm (flatedecode)." msgstr "" #. DESC_SAVE_PNM16_AS_ASCII @@ -1838,7 +2094,9 @@ msgstr "" "produce fiÅiere foarte mari!" #. DESC_REDUCE_16BIT_TO_8BIT -msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +#, fuzzy +msgid "" +"If scanner sends image with 16 bits/channel save image with 8 bits/channel" msgstr "" "SalveazÄ o imagine cu 8 biÅ£i/culoare dacÄ scannerul trimite imagini cu 16 " "biÅ£i/culoare" @@ -1874,7 +2132,8 @@ msgstr "" "redimensionabilÄ cu defilare" #. DESC_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable preview gamma when XSane runs as gimp plugin" +#, fuzzy +msgid "Disable preview gamma when XSane runs as GIMP plugin" msgstr "" "DezactiveazÄ previzualizarea gamma cĆ¢nd XSane ruleazÄ ca extensie la Gimp" @@ -1978,6 +2237,15 @@ msgstr "SelecteazÄ zona de scanare dupÄ terminarea scanÄrii pt. previzualizar msgid "Do color correction after preview scan has finished" msgstr "CorecteazÄ culorile dupÄ terminarea scanÄrii pt. previzualizare" +#. DESC_RENDERING_INTENT +#, fuzzy +msgid "Select rendering intent for preview and saving" +msgstr "SelecteazÄ zona de scanare dupÄ terminarea scanÄrii pt. previzualizare" + +#. DESC_CMS_BPC +msgid "Apply black point compensation when color transformation is done" +msgstr "" + #. DESC_FAX_COMMAND msgid "Enter command to be executed in fax mode" msgstr "IntroduceÅ£i comanda ce va fi executatÄ Ć®n modul fax" @@ -2007,8 +2275,8 @@ msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" msgstr "" "Trimite un fax cu rezoluÅ£ie verticalÄ ridicatÄ (196 lpi Ć®n loc de 98 lpi)" -#. DESC_FAX_PS_FLATDECODED -msgid "Create zlib compressed postscript image for fax (flatdecode)" +#. DESC_FAX_PS_FLATEDECODED +msgid "Create zlib compressed postscript image for fax (flatedecode)" msgstr "" #. DESC_SMTP_SERVER @@ -2094,9 +2362,10 @@ msgstr "citire" msgid "write" msgstr "scriere" -#. DESC_PERMISSION_EXECUTE -msgid "execute" -msgstr "execuÅ£ie" +#. DESC_PERMISSION_SEARCH +#, fuzzy +msgid "search" +msgstr "utilizator" #. DESC_ADD_BATCH msgid "Add selection for batch scan" @@ -2265,6 +2534,36 @@ msgstr "Återge zona selectatÄ din lista cu loturi" msgid "Turns on automatic mode" msgstr "ActiveazÄ modul automat" +#. DESC_BUTTON_SCANNER_DEFAULT_COLOR_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default color ICM-profile" +msgstr "NavigheazÄ la numele fiÅierului de imagine" + +#. DESC_BUTTON_SCANNER_DEFAULT_GRAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default gray ICM-profile" +msgstr "NavigheazÄ la numele fiÅierului de imagine" + +#. DESC_BUTTON_DISPLAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for display ICM-profile" +msgstr "NavigheazÄ la numele fiÅierului de imagine" + +#. DESC_BUTTON_PRINTER_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for printer ICM-profile" +msgstr "NavigheazÄ la numele fiÅierului de imagine" + +#. DESC_BUTTON_CUSTOM_PROOFING_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for custom proofing ICM-profile" +msgstr "NavigheazÄ la numele fiÅierului de imagine" + +#. DESC_BUTTON_WORKING_COLOR_SPACE_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for working color space ICM-profile" +msgstr "NavigheazÄ la numele fiÅierului de imagine" + #. ERR_HOME_DIR msgid "Failed to determine home directory:" msgstr "Nu am putut determina directorul acasÄ" @@ -2317,11 +2616,6 @@ msgstr "Eroare la salvare:" msgid "Can't handle depth" msgstr "Nu pot manipula adĆ¢ncimea" -#. ERR_GIMP_BAD_DEPTH -#, c-format -msgid "GIMP can't handle depth %d bits/color" -msgstr "Gimp nu poate manipula adĆ¢ncimea de %d biÅ£i/culoare" - #. ERR_UNKNOWN_SAVING_FORMAT msgid "Unknown file format for saving" msgstr "Format de salvare necunoscut" @@ -2555,10 +2849,68 @@ msgstr "FiÅierul %s nu este un fiÅier postscript" msgid "Unsupported %d-bit output format: %s" msgstr "Formatul de ieÅire: %s pe %d biÅ£i nu este susÅ£inut" +#. ERR_CMS_CONVERSION +#, fuzzy +msgid "Error during CMS conversion:" +msgstr "Eroare la salvare:" + +#. ERR_CMS_OPEN_ICM_FILE +#, fuzzy +msgid "Could not open" +msgstr "Nu am putut deschide" + +#. CMS_SCANNER_ICM +#, fuzzy +msgid "scanner ICM profile" +msgstr "Återge imprimantÄ" + +#. CMS_DISPLAY_ICM +#, fuzzy +msgid "display ICM profile" +msgstr "NavigheazÄ la numele fiÅierului de imagine" + +#. CMS_PROOF_ICM +#, fuzzy +msgid "proofing ICM profile" +msgstr "Återge imprimantÄ" + +#. ERR_CMS_CREATE_TRANSFORM +#, fuzzy +msgid "Could not create transform" +msgstr "Nu am putut crea fiÅierul temporar" + #. WARN_VIEWER_IMAGE_NOT_SAVED msgid "viewer image is not saved" msgstr "imaginea vizualizatÄ nu este salvatÄ" +#. FILE_FILTER_ALL_FILES +msgid "All files" +msgstr "" + +#. FILE_FILTER_IMAGES +#, fuzzy +msgid "Images" +msgstr "Imagine" + +#. FILE_FILTER_XBL +#, fuzzy +msgid "XSane batch list" +msgstr "SalveazÄ lista loturi" + +#. FILE_FILTER_ICM +msgid "ICC/ICM Profiles" +msgstr "" + +#. FILE_FILTER_DRC +#, fuzzy +msgid "XSane device preferences" +msgstr "SalveazÄ preferinÅ£ele dispozitivului la ieÅire" + +#. FILE_FILTER_RC +#, fuzzy +msgid "XSane preferences" +msgstr "PreferinÅ£e" + #. TEXT_USAGE msgid "Usage:" msgstr "Utilizare:" @@ -2944,14 +3296,66 @@ msgstr "Nu am memorie suficientÄ." msgid "Access to resource has been denied" msgstr "Accesul la resursÄ a fost respins" -#~ msgid "Could not create temporary file" -#~ msgstr "Nu am putut crea fiÅierul temporar" +#, fuzzy +#~ msgid "select scanner transmissive ICM-profile" +#~ msgstr "Återge imprimantÄ" + +#, fuzzy +#~ msgid "select scanner transmissive gray ICM-profile" +#~ msgstr "Återge imprimantÄ" -#~ msgid "Could not create temporary preview files" -#~ msgstr "Nu am putut crea fiÅierele temporare de previzualizare" +#, fuzzy +#~ msgid "Scanner reflective ICM-profile" +#~ msgstr "Återge imprimantÄ" -#~ msgid "Could not create filenames for preview files" -#~ msgstr "Nu am putut crea nume de fiÅiere pt. previzualizare" +#, fuzzy +#~ msgid "Scanner reflective gray ICM-profile" +#~ msgstr "Återge imprimantÄ" + +#, fuzzy +#~ msgid "Scanner transmissive gray ICM-profile" +#~ msgstr "Återge imprimantÄ" + +#, fuzzy +#~ msgid "Scanner reflektive ICM-profile" +#~ msgstr "Återge imprimantÄ" + +#, fuzzy +#~ msgid "Browse for scanner transmissive ICM-profile" +#~ msgstr "NavigheazÄ la numele fiÅierului de imagine" + +#, fuzzy +#~ msgid "Browse for scanner transmissive gray ICM-profile" +#~ msgstr "NavigheazÄ la numele fiÅierului de imagine" + +#~ msgid "GIMP can't handle depth %d bits/color" +#~ msgstr "Gimp nu poate manipula adĆ¢ncimea de %d biÅ£i/culoare" + +#, fuzzy +#~ msgid "scanner reflective ICM profile" +#~ msgstr "Återge imprimantÄ" + +#, fuzzy +#~ msgid "Embed scanner/source ICM profile for GIMP" +#~ msgstr "Återge imprimantÄ" + +#~ msgid "Enter name of fax project" +#~ msgstr "IntroduceÅ£i numele proiectului fax" + +#, fuzzy +#~ msgid "Enter name of e-mail project" +#~ msgstr "IntroduceÅ£i numele proiectului mail" + +#, fuzzy +#~ msgid "Enter name of multipage project" +#~ msgstr "IntroduceÅ£i numele proiectului mail" + +#~ msgid "" +#~ "Gimp does not support depth 16 bits/color.\n" +#~ "Do you want to reduce the depth to 8 bits/color?" +#~ msgstr "" +#~ "Gimp nu susÅ£ine adĆ¢ncimi de 16 biÅ£i/culoare.\n" +#~ "DoriÅ£i sÄ reduceÅ£i adĆ¢ncimea la 8 biÅ£i/culoare?" #, fuzzy #~ msgid "POP3 authentication" @@ -3012,9 +3416,6 @@ msgstr "Accesul la resursÄ a fost respins" #~ msgid "Multipage saving aborted" #~ msgstr "Proiectul mail a fost creat" -#~ msgid "Image" -#~ msgstr "Imagine" - #~ msgid "Viewer (png):" #~ msgstr "Vizualizator (png):" @@ -6,7 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: XSANE 0.99\n" -"POT-Creation-Date: 2006-01-07 00:26+0100\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-25 23:44+0100\n" "PO-Revision-Date: 2005-12-31 15:46+0300\n" "Last-Translator: Vitaly Lipatov <lav@etersoft.ru>\n" "Language-Team: Russian <ru@li.org>\n" @@ -36,6 +37,7 @@ msgid "About" msgstr "Š ŠæŃŠ¾Š³ŃŠ°Š¼Š¼Šµ" #. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +#. MENU_ITEM_ABOUT_TRANSLATION msgid "About translation" msgstr "Š Š»Š¾ŠŗŠ°Š»ŠøŠ·Š°ŃŠøŠø" @@ -75,6 +77,11 @@ msgstr "ŠæŠµŃŠµŠøŠ¼ŠµŠ½Š¾Š²Š°ŃŃ Š¾Š±Š»Š°ŃŃŃ" msgid "fax project" msgstr "ŠæŠ¾Š“Š³Š¾ŃŠ¾Š²ŠŗŠ° ŃŠ°ŠŗŃŠ°" +#. WINDOW_FAX_PROJECT_BROWSE +#, fuzzy +msgid "browse for fax project" +msgstr "ŠŠ°Š·Š²Š°Š½ŠøŠµ ŃŠ°ŠŗŃŠøŠ¼ŠøŠ»ŃŠ½Š¾Š³Š¾ ŠæŠ¾ŃŠ»Š°Š½ŠøŃ" + #. WINDOW_FAX_RENAME msgid "rename fax page" msgstr "ŠæŠµŃŠµŠøŠ¼ŠµŠ½Š¾Š²Š°Š½ŠøŠµ ŃŠ°ŠŗŃŠøŠ¼ŠøŠ»ŃŠ½Š¾Š¹ ŃŃŃŠ°Š½ŠøŃŃ" @@ -87,6 +94,11 @@ msgstr "Š“Š¾Š±Š°Š²Š»ŠµŠ½ŠøŠµ PS-ŃŠ°Š¹Š»Š° Š² ŃŠ°ŠŗŃŠøŠ¼ŠøŠ»ŃŠ½Š¾Šµ ŠæŠ¾ŃŠ»Š msgid "E-mail project" msgstr "ŠŠ»ŠµŠŗŃŃŠ¾Š½Š½Š¾Šµ ŠæŠøŃŃŠ¼Š¾" +#. WINDOW_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "browse for email project" +msgstr "ŠŠ°Š·Š²Š°Š½ŠøŠµ ŠæŠ¾ŃŃŠ¾Š²Š¾Š³Š¾ ŃŠ¾Š¾Š±ŃŠµŠ½ŠøŃ" + #. WINDOW_EMAIL_RENAME msgid "rename e-mail image" msgstr "ŠæŠµŃŠµŠøŠ¼ŠµŠ½Š¾Š²Š°ŃŃ ŠøŠ·Š¾Š±ŃŠ°Š¶ŠµŠ½ŠøŠµ Š² ŠæŠøŃŃŠ¼Šµ" @@ -99,6 +111,11 @@ msgstr "Š“Š¾Š±Š°Š²ŠøŃŃ ŃŠ°Š¹Š» Š² ŠæŠøŃŃŠ¼Š¾" msgid "multipage project" msgstr "Š¼Š½Š¾Š³Š¾ŃŃŃŠ°Š½ŠøŃŠ½ŃŠ¹ ŠæŃŠ¾ŠµŠŗŃ" +#. WINDOW_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "browse for multipage project" +msgstr "Š¼Š½Š¾Š³Š¾ŃŃŃŠ°Š½ŠøŃŠ½ŃŠ¹ ŠæŃŠ¾ŠµŠŗŃ" + #. WINDOW_PRESET_AREA_RENAME msgid "rename preset area" msgstr "ŠæŠµŃŠµŠøŠ¼ŠµŠ½Š¾Š²Š°Š½ŠøŠµ Š¾Š±Š»Š°ŃŃŠø" @@ -144,6 +161,7 @@ msgid "Preview" msgstr "ŠŃŠµŠ“Š²Š°ŃŠøŃŠµŠ»ŃŠ½Š¾Šµ ŃŠŗŠ°Š½ŠøŃŠ¾Š²Š°Š½ŠøŠµ" #. WINDOW_VIEWER +#. MENU_ITEM_VIEWER msgid "Viewer" msgstr "ŠŃŠ¾ŃŠ¼Š¾ŃŃ" @@ -176,14 +194,17 @@ msgid "select temporary directory" msgstr "ŠøŠ·Š¼ŠµŠ½ŠøŃŃ ŠŗŠ°ŃŠ°Š»Š¾Š³ Š“Š»Ń Š²ŃŠµŠ¼ŠµŠ½Š½ŃŃ
ŃŠ°Š¹Š»Š¾Š²" #. WINDOW_SCALE +#. DESC_VIEWER_SCALE msgid "Scale image" msgstr "ŠŠ°ŃŃŃŠ°Š±ŠøŃŠ¾Š²Š°Š½ŠøŠµ ŠøŠ·Š¾Š±ŃŠ°Š¶ŠµŠ½ŠøŃ" #. WINDOW_DESPECKLE +#. DESC_VIEWER_DESPECKLE msgid "Despeckle image" msgstr "Š£Š±ŃŠ°ŃŃ ŃŠ°ŃŃŃ Ń ŠøŠ·Š¾Š±ŃŠ°Š¶ŠµŠ½ŠøŃ" #. WINDOW_BLUR +#. DESC_VIEWER_BLUR msgid "Blur image" msgstr "Š Š°Š·Š¼ŃŃŃ ŠøŠ·Š¾Š±ŃŠ°Š¶ŠµŠ½ŠøŠµ" @@ -195,6 +216,35 @@ msgstr "ŠŠ°ŠæŠøŃŠ°ŃŃ Š¾ŠæŃŠµŠ“ŠµŠ»ŠµŠ½ŠøŠµ Š½Š¾ŃŠøŃŠµŠ»Ń" msgid "No devices available" msgstr "ŠŠ¾ŃŃŃŠæŠ½ŃŠµ ŃŃŃŃŠ¾Š¹ŃŃŠ²Š° Š¾ŃŃŃŃŃŃŠ²ŃŃŃ" +#. WINDOW_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "select scanner default color ICM-profile" +msgstr "Š£Š“Š°Š»ŠøŃŃ Š¾ŠæŠøŃŠ°Š½ŠøŠµ ŠæŃŠøŠ½ŃŠµŃŠ°" + +#. WINDOW_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "select scanner default gray ICM-profile" +msgstr "Š£Š“Š°Š»ŠøŃŃ Š¾ŠæŠøŃŠ°Š½ŠøŠµ ŠæŃŠøŠ½ŃŠµŃŠ°" + +#. WINDOW_DISPLAY_ICM_PROFILE +msgid "select display ICM-profile" +msgstr "" + +#. WINDOW_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "select custom proofing ICM-profile" +msgstr "Š²ŃŠ±ŠµŃŠøŃŠµ Š½Š°Š·Š²Š°Š½ŠøŠµ Š²ŃŃ
Š¾Š“Š½Š¾Š³Š¾ ŃŠ°Š¹Š»Š°" + +#. WINDOW_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "select working color space ICM-profile" +msgstr "Š£Š“Š°Š»ŠøŃŃ Š¾ŠæŠøŃŠ°Š½ŠøŠµ ŠæŃŠøŠ½ŃŠµŃŠ°" + +#. WINDOW_PRINTER_ICM_PROFILE +#, fuzzy +msgid "select printer ICM-profile" +msgstr "Š£Š“Š°Š»ŠøŃŃ Š¾ŠæŠøŃŠ°Š½ŠøŠµ ŠæŃŠøŠ½ŃŠµŃŠ°" + #. MENU_FILE msgid "File" msgstr "Š¤Š°Š¹Š»" @@ -212,6 +262,7 @@ msgid "Window" msgstr "ŠŠŗŠ½Š°" #. MENU_HELP +#. BUTTON_HELP msgid "Help" msgstr "Š”ŠæŃŠ°Š²ŠŗŠ°" @@ -227,6 +278,11 @@ msgstr "Š¤ŠøŠ»ŃŃŃŃ" msgid "Geometry" msgstr "ŠŠ·Š¾Š±ŃŠ°Š¶ŠµŠ½ŠøŠµ" +#. MENU_COLOR_MANAGEMENT +#. NOTEBOOK_COLOR_MANAGEMENT_OPTIONS +msgid "Color management" +msgstr "" + #. MENU_ITEM_ABOUT_XSANE msgid "About XSane" msgstr "Š ŠæŃŠ¾Š³ŃŠ°Š¼Š¼Šµ XSane" @@ -240,6 +296,7 @@ msgid "Quit" msgstr "ŠŃŠ¹ŃŠø" #. MENU_ITEM_SAVE_IMAGE +#. DESC_VIEWER_SAVE msgid "Save image" msgstr "Š”Š¾Ń
ŃŠ°Š½ŠøŃŃ ŠøŠ·Š¾Š±ŃŠ°Š¶ŠµŠ½ŠøŠµ" @@ -256,6 +313,7 @@ msgid "Scale" msgstr "ŠŠ·Š¼ŠµŠ½ŠøŃŃ ŃŠ°Š·Š¼ŠµŃ" #. MENU_ITEM_CLOSE +#. BUTTON_CLOSE msgid "Close" msgstr "ŠŠ°ŠŗŃŃŃŃ" @@ -447,11 +505,11 @@ msgstr "ŠŃŠµŠ“ŃŠæŃŠµŠ¶Š“Š°ŃŃ ŠæŃŠø ŠæŠµŃŠµŠ·Š°ŠæŠøŃŠø" msgid "Skip existing filenames" msgstr "ŠŃŠ¾ŠæŃŃŠŗŠ°ŃŃ ŃŃŃŠµŃŃŠ²ŃŃŃŠøŠµ" -#. RADIO_BUTTON_SAVE_PS_FLATDECODED +#. RADIO_BUTTON_SAVE_PS_FLATEDECODED msgid "Save postscript zlib compressed (ps level 3)" msgstr "Š”Š¾Ń
ŃŠ°Š½ŃŃŃ Postscript (level 3) ŃŠ¶Š°ŃŃŠ¼ Ń ŠæŠ¾Š¼Š¾ŃŃŃ zlib" -#. RADIO_BUTTON_SAVE_PDF_FLATDECODED +#. RADIO_BUTTON_SAVE_PDF_FLATEDECODED msgid "Save PDF zlib compressed" msgstr "Š”Š¾Ń
ŃŠ°Š½ŃŃŃ PDF ŃŠ¶Š°ŃŃŠ¼ Ń ŠæŠ¾Š¼Š¾ŃŃŃ zlib" @@ -468,7 +526,8 @@ msgid "Main window size fixed" msgstr "ŠŠµ ŠæŠ¾Š·Š²Š¾Š»ŃŃŃ Š¼ŠµŠ½ŃŃŃ ŃŠ°Š·Š¼ŠµŃ Š³Š»Š°Š²Š½Š¾Š³Š¾ Š¾ŠŗŠ½Š°" #. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable gimp preview gamma" +#, fuzzy +msgid "Disable GIMP preview gamma" msgstr "ŠŃŠŗŠ»ŃŃŠøŃŃ Š³Š°Š¼Š¼Š°-ŠŗŠ¾ŃŃŠµŠŗŃŠøŃ Š² ŠæŃŠµŠ“Š²Š°ŃŠøŃŠµŠ»ŃŠ½Š¾Š¼ ŃŠŗŠ°Š½ŠøŃŠ¾Š²Š°Š½ŠøŠø Š“Š»Ń GIMP" #. RADIO_BUTTON_PRIVATE_COLORMAP @@ -491,6 +550,11 @@ msgstr "ŠŠ²ŃŠ¾ŠŗŠ¾ŃŃŠµŠŗŃŠøŃ ŃŠ²ŠµŃŠ°" msgid "Use GUI progress pipe" msgstr "ŠŃŠæŠ¾Š»ŃŠ·Š¾Š²Š°ŃŃ ŠŗŠ°Š½Š°Š» GUI" +#. RADIO_BUTTON_CMS_BPC +#. MENU_ITEM_CMS_BLACK_POINT_COMPENSATION +msgid "Black point compensation" +msgstr "" + #. TEXT_SCANNING_DEVICES msgid "scanning for devices" msgstr "ŠŠ¾ŠøŃŠŗ ŃŃŃŃŠ¾Š¹ŃŃŠ²" @@ -507,6 +571,12 @@ msgstr "ŠŠ±ŃŠøŠµ ŠæŠ°ŃŠ°Š¼ŠµŃŃŃ" msgid "Type" msgstr "Š¤Š¾ŃŠ¼Š°Ń" +#. TEXT_CMS_FUNCTION +#. DESC_CMS_FUNCTION +#, fuzzy +msgid "Color management function" +msgstr "ŠŠ¾Š»Š½Š°Ń ŠæŠ°Š»ŠøŃŃŠ° ŃŠ²ŠµŃŠ¾Š²" + #. TEXT_SCANNER_BACKEND msgid "Scanner and backend:" msgstr "Š£ŃŃŃŠ¾Š¹ŃŃŠ²Š¾ Šø Š“ŃŠ°Š¹Š²ŠµŃ:" @@ -579,18 +649,11 @@ msgstr "8-Š±ŠøŃŠ½ŃŠµ Š²ŃŃ
Š¾Š“Š½ŃŠµ ŃŠ¾ŃŠ¼Š°ŃŃ:" msgid "16 bit output formats:" msgstr "16-Š±ŠøŃŠ½ŃŠµ Š²ŃŃ
Š¾Š“Š½ŃŠµ ŃŠ¾ŃŠ¼Š°ŃŃ:" -#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT -msgid "" -"Gimp does not support depth 16 bits/color.\n" -"Do you want to reduce the depth to 8 bits/color?" -msgstr "" -"GIMP Š½Šµ ŠæŠ¾Š“Š“ŠµŃŠ¶ŠøŠ²Š°ŠµŃ Š³Š»ŃŠ±ŠøŠ½Ń ŃŠ²ŠµŃŠ° Š² 16 Š±ŠøŃ.\n" -"Š£Š¼ŠµŠ½ŃŃŠøŃŃ Š³Š»ŃŠ±ŠøŠ½Ń Š“Š¾ 8 Š±ŠøŃ Š½Š° ŃŠ²ŠµŃ?" - #. TEXT_REDUCE_16BIT_TO_8BIT +#, fuzzy msgid "" -"Bit depth 16 bits/color is not supported for this output format.\n" -"Do you want to reduce the depth to 8 bits/color?" +"Bit depth 16 bits/channel is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/channel?" msgstr "" "ŠŠ°Š½Š½ŃŠ¹ ŃŠ¾ŃŠ¼Š°Ń ŃŠ°Š¹Š»Š° Š½Šµ ŠæŠ¾Š“Š“ŠµŃŠ¶ŠøŠ²Š°ŠµŃ Š³Š»ŃŠ±ŠøŠ½Ń ŃŠ²ŠµŃŠ° Š² 16 Š±ŠøŃ.\n" "Š£Š¼ŠµŠ½ŃŃŠøŃŃ Š³Š»ŃŠ±ŠøŠ½Ń Š“Š¾ 8 Š±ŠøŃ Š½Š° ŃŠ²ŠµŃ?" @@ -627,6 +690,11 @@ msgstr "Š²ŠµŃŃŠøŠø:" msgid "package" msgstr "ŠæŠ°ŠŗŠµŃ" +#. TEXT_WITH_CMS_FUNCTION +#, fuzzy +msgid "with color management function" +msgstr "ŠŠ¾Š»Š½Š°Ń ŠæŠ°Š»ŠøŃŃŠ° ŃŠ²ŠµŃŠ¾Š²" + #. TEXT_WITH_GIMP_SUPPORT msgid "with GIMP support" msgstr "Ń ŠæŠ¾Š“Š“ŠµŃŠ¶ŠŗŠ¾Š¹ GIMP" @@ -759,9 +827,10 @@ msgid "Medium Name:" msgstr "ŠŠ°Š·Š²Š°Š½ŠøŠµ Š½Š¾ŃŠøŃŠµŠ»Ń: " #. TEXT_VIEWER_IMAGE_INFO -#, c-format +#, fuzzy, c-format msgid "" -"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +"Size %d x %d pixel, %d bits/channel, %d channels, %1.0f dpi x %1.0f dpi, %" +"1.1f %s" msgstr "" "Š Š°Š·Š¼ŠµŃ %d Š½Š° %d ŃŠ¾ŃŠµŠŗ, %d Š±ŠøŃ/ŃŠ²ŠµŃ, %d ŃŠ²ŠµŃŠ¾Š², %1.0f dpi x %1.0f dpi, %1.1f %" "s" @@ -815,6 +884,7 @@ msgid "Name:" msgstr "ŠŠ°Š·Š²Š°Š½ŠøŠµ:" #. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +#. TEXT_SETUP_FAX_COMMAND msgid "Command:" msgstr "ŠŠ¾Š¼Š°Š½Š“Š°:" @@ -835,18 +905,22 @@ msgid "Color resolution (dpi):" msgstr "Š Š°Š·ŃŠµŃŠµŠ½ŠøŠµ Š“Š»Ń ŃŠ²ŠµŃŠ½Š¾Š³Š¾ ŠøŠ·Š¾Š±ŃŠ°Š¶ŠµŠ½ŠøŃ (dpi):" #. TEXT_SETUP_PRINTER_WIDTH +#. TEXT_SETUP_FAX_WIDTH msgid "Width" msgstr "ŠØŠøŃŠøŠ½Š°" #. TEXT_SETUP_PRINTER_HEIGHT +#. TEXT_SETUP_FAX_HEIGHT msgid "Height" msgstr "ŠŃŃŠ¾ŃŠ°" #. TEXT_SETUP_PRINTER_LEFT +#. TEXT_SETUP_FAX_LEFT msgid "Left offset" msgstr "ŠŃŃŃŃŠæ ŃŠ»ŠµŠ²Š°" #. TEXT_SETUP_PRINTER_BOTTOM +#. TEXT_SETUP_FAX_BOTTOM msgid "Bottom offset" msgstr "ŠŃŃŃŃŠæ ŃŠ½ŠøŠ·Ń" @@ -866,7 +940,17 @@ msgstr "ŠŠ½Š°ŃŠµŠ½ŠøŠµ Š·ŠµŠ»ŃŠ½Š¾Š³Š¾ ŠŗŠ¾Š¼ŠæŠ¾Š½ŠµŠ½ŃŠ° Š³Š°Š¼Š¼Ń Š“Š»Ń msgid "Printer gamma blue:" msgstr "ŠŠ½Š°ŃŠµŠ½ŠøŠµ ŃŠøŠ½ŠµŠ³Š¾ ŠŗŠ¾Š¼ŠæŠ¾Š½ŠµŠ½ŃŠ° Š³Š°Š¼Š¼Ń Š“Š»Ń ŠæŃŠøŠ½ŃŠµŃŠ°:" -#. TEXT_SETUP_PRINTER_PS_FLATDECODED +#. TEXT_SETUP_PRINTER_EMBED_CSA +#, fuzzy +msgid "Embed scanner ICM profile as CSA" +msgstr "Š£Š“Š°Š»ŠøŃŃ Š¾ŠæŠøŃŠ°Š½ŠøŠµ ŠæŃŠøŠ½ŃŠµŃŠ°" + +#. TEXT_SETUP_PRINTER_EMBED_CRD +#, fuzzy +msgid "Embed printer ICM profile as CRD" +msgstr "Š£Š“Š°Š»ŠøŃŃ Š¾ŠæŠøŃŠ°Š½ŠøŠµ ŠæŃŠøŠ½ŃŠµŃŠ°" + +#. TEXT_SETUP_PRINTER_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for printing" msgstr "Š”Š¾Š·Š“Š°ŃŃ Postscript (level 3) Š“Š»Ń ŠæŠµŃŠ°ŃŠø, ŃŠ¶Š°ŃŃŠ¹ zlib" @@ -990,7 +1074,7 @@ msgstr "Š£ŃŃŠ°Š½Š¾Š²ŠøŃŃ ŃŠ¼Š¾Š»ŃŠ°Š½ŠøŃ Š“Š»Ń:" msgid "Viewer (Postscript):" msgstr "ŠŃŠ¾Š³ŃŠ°Š¼Š¼Š° ŠæŃŠ¾ŃŠ¼Š¾ŃŃŠ° PostScript-ŃŠ°Š¹Š»Š¾Š²:" -#. TEXT_SETUP_FAX_PS_FLATDECODED +#. TEXT_SETUP_FAX_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for fax" msgstr "Š”Š¾Š·Š“Š°ŃŃ Postscript (level 3), ŃŠ¶Š°ŃŃŠ¹ zlip, Š“Š»Ń Š¾ŃŠæŃŠ°Š²ŠŗŠø ŠæŠ¾ ŃŠ°ŠŗŃŃ" @@ -1066,10 +1150,45 @@ msgstr "Š³ŃŃŠæŠæŠ°" msgid "all" msgstr "ŠæŃŠ¾ŃŠøŠµ" +#. TEXT_SETUP_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "Scanner default color ICM-profile" +msgstr "Š£Š“Š°Š»ŠøŃŃ Š¾ŠæŠøŃŠ°Š½ŠøŠµ ŠæŃŠøŠ½ŃŠµŃŠ°" + +#. TEXT_SETUP_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "Scanner default gray ICM-profile" +msgstr "Š£Š“Š°Š»ŠøŃŃ Š¾ŠæŠøŃŠ°Š½ŠøŠµ ŠæŃŠøŠ½ŃŠµŃŠ°" + +#. TEXT_SETUP_DISPLAY_ICM_PROFILE +#. DESC_DISPLAY_ICM_PROFILE +msgid "Display ICM-profile" +msgstr "" + +#. TEXT_SETUP_CUSTOM_PROOFING_ICM_PROFILE +#. DESC_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "Custom proofing ICM-profile" +msgstr "Š£Š“Š°Š»ŠøŃŃ Š¾ŠæŠøŃŠ°Š½ŠøŠµ ŠæŃŠøŠ½ŃŠµŃŠ°" + +#. TEXT_SETUP_WORKING_COLOR_SPACE_ICM_PROFILE +#. DESC_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "Working color space ICM-profile" +msgstr "ŠŃŠ±ŃŠ°ŃŃ Š½Š°Š·Š²Š°Š½ŠøŠµ ŃŠ°Š¹Š»Š° ŠøŠ·Š¾Š±ŃŠ°Š¶ŠµŠ½ŠøŃ" + +#. TEXT_SETUP_PRINTER_ICM_PROFILE +#. DESC_PRINTER_ICM_PROFILE +msgid "Printer ICM-profile" +msgstr "" + msgid "new media" msgstr "Š½Š¾Š²ŃŠ¹ Š½Š¾ŃŠøŃŠµŠ»Ń" #. NOTEBOOK_SAVING_OPTIONS +#. MENU_ITEM_SAVE msgid "Save" msgstr "Š¤Š°Š¹Š»" @@ -1078,14 +1197,17 @@ msgid "Filetype" msgstr "Š¢ŠøŠæ ŃŠ°Š¹Š»Š°" #. NOTEBOOK_COPY_OPTIONS +#. MENU_ITEM_COPY msgid "Copy" msgstr "ŠŠ¾ŠæŠøŃŠ¾Š²Š°Š½ŠøŠµ" #. NOTEBOOK_FAX_OPTIONS +#. MENU_ITEM_FAX msgid "Fax" msgstr "Š¤Š°ŠŗŃ" #. NOTEBOOK_EMAIL_OPTIONS +#. MENU_ITEM_EMAIL msgid "E-mail" msgstr "ŠŠ». ŠæŠ¾ŃŃŠ°" @@ -1177,6 +1299,12 @@ msgstr "ŠŠ¾ŠŗŠ°Š·Š°ŃŃ ŃŠæŠøŃŠ¾Šŗ ŃŠ°Š·ŃŠµŃŠµŠ½ŠøŠ¹ ŃŠŗŠ°Š½ŠøŃŠ¾Š²Š°Š½Š msgid "Rotate postscript" msgstr "ŠŠ¾Š²ŠµŃŠ½ŃŃŃ PostScript" +#. MENU_ITEM_ENABLE_COLOR_MANAGEMENT +#. MENU_ITEM_CMS_ENABLE_COLOR_MANAGEMENT +#, fuzzy +msgid "Enable color management" +msgstr "ŠŠ¾Š»Š½Š°Ń ŠæŠ°Š»ŠøŃŃŠ° ŃŠ²ŠµŃŠ¾Š²" + #. MENU_ITEM_EDIT_MEDIUM_DEF msgid "Edit medium definition" msgstr "ŠŠ·Š¼ŠµŠ½ŃŃŃ Š¾ŠæŃŠµŠ“ŠµŠ»ŠµŠ½ŠøŃ Š½Š¾ŃŠøŃŠµŠ»ŠµŠ¹" @@ -1221,6 +1349,86 @@ msgstr "ŠŠ¾Š“ŃŠŗŠ°Š·ŠŗŠø ŠæŠ¾ ŃŠŗŠ°Š½ŠøŃŠ¾Š²Š°Š½ŠøŃ" msgid "Problems?" msgstr "ŠŃŠ¾Š±Š»ŠµŠ¼Ń?" +#. MENU_ITEM_CMS_PROOFING +#, fuzzy +msgid "Proofing" +msgstr "ŠŠ¾Š±Š°Š²ŠøŃŃ Š¾ŠæŠøŃŠ°Š½ŠøŠµ ŠæŃŠøŠ½ŃŠµŃŠ°" + +#. SUBMENU_ITEM_CMS_PROOF_OFF +msgid "no proofing (Display)" +msgstr "" + +#. SUBMENU_ITEM_CMS_PROOF_PRINTER +#, fuzzy +msgid "Proof printer" +msgstr "ŠŠ¾Š±Š°Š²ŠøŃŃ Š¾ŠæŠøŃŠ°Š½ŠøŠµ ŠæŃŠøŠ½ŃŠµŃŠ°" + +#. SUBMENU_ITEM_CMS_PROOF_CUSTOM +msgid "Proof custom device" +msgstr "" + +#. MENU_ITEM_CMS_RENDERING_INTENT +#, fuzzy +msgid "Rendering intent" +msgstr "ŠŠ¾Š±Š°Š²ŠøŃŃ Š¾ŠæŠøŃŠ°Š½ŠøŠµ ŠæŃŠøŠ½ŃŠµŃŠ°" + +#. MENU_ITEM_CMS_PROOFING_INTENT +#, fuzzy +msgid "Proofing rendering intent" +msgstr "ŠŠ¾Š±Š°Š²ŠøŃŃ Š¾ŠæŠøŃŠ°Š½ŠøŠµ ŠæŃŠøŠ½ŃŠµŃŠ°" + +#. SUBMENU_ITEM_CMS_INTENT_PERCEPTUAL +msgid "Perceptual" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_RELATIVE_COLORIMETRIC +msgid "Relative colorimetric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_ABSOLUTE_COLORIMETRIC +msgid "Absolute colorimentric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_SATURATION +#, fuzzy +msgid "Saturation" +msgstr "Š°Š²ŃŠ¾ŃŠøŠ·Š°ŃŠøŃ" + +#. MENU_ITEM_CMS_GAMUT_CHECK +msgid "Gamut check" +msgstr "" + +#. MENU_ITEM_CMS_GAMUT_ALARM_COLOR +msgid "Gamut alarm color" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLACK +msgid "Black" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_GRAY +msgid "Gray" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_WHITE +#, fuzzy +msgid "White" +msgstr "Š·Š°ŠæŠøŃŃ" + +#. SUBMENU_ITEM_CMS_COLOR_RED +#, fuzzy +msgid "Red" +msgstr "Š£Š¼ŠµŠ½ŃŃŠøŃŃ" + +#. SUBMENU_ITEM_CMS_COLOR_GREEN +msgid "Green" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLUE +#, fuzzy +msgid "Blue" +msgstr "Š Š°Š·Š¼ŃŃŃ" + #. MENU_ITEM_COUNTER_LEN_INACTIVE msgid "inactive" msgstr "Š½Šµ Š°ŠŗŃŠøŠ²Š½Š¾" @@ -1337,6 +1545,20 @@ msgstr "Š£ŃŃŃŠ½Š°Ń Š·Š°ŠæŠøŃŃ ASMTP" msgid "ASMTP CRAM-MD5" msgstr "ASMTP CRAM-MD5" +#. MENU_ITEM_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE +#, fuzzy +msgid "Embed scanner ICM profile" +msgstr "Š£Š“Š°Š»ŠøŃŃ Š¾ŠæŠøŃŠ°Š½ŠøŠµ ŠæŃŠøŠ½ŃŠµŃŠ°" + +#. MENU_ITEM_CMS_FUNCTION_CONVERT_TO_SRGB +msgid "Convert to sRGB" +msgstr "" + +#. MENU_ITEM_FUNCTION_CONVERT_TO_WORKING_CS +#, fuzzy +msgid "Convert to working color space" +msgstr "ŠŠ²ŃŠ¾ŠŗŠ¾ŃŃŠµŠŗŃŠøŃ ŃŠ²ŠµŃŠ°" + #. PROGRESS_SCANNING msgid "Scanning" msgstr "Š”ŠŗŠ°Š½ŠøŃŠ¾Š²Š°Š½ŠøŠµ" @@ -1394,6 +1616,11 @@ msgstr "Š Š°Š·Š¼ŃŃŠøŠµ ŠøŠ·Š¾Š±ŃŠ°Š¶ŠµŠ½ŠøŃ" msgid "OCR in progress" msgstr "Š Š°ŃŠæŠ¾Š·Š½Š°Š²Š°Š½ŠøŠµ ŃŠµŠŗŃŃŠ°" +#. PROGRESS_ICM_CONVERSION +#, fuzzy +msgid "converting colors" +msgstr "ŠŠ²ŃŠ¾ŠŗŠ¾ŃŃŠµŠŗŃŠøŃ ŃŠ²ŠµŃŠ°" + #. DESC_SCAN_START msgid "Start scan <Ctrl-Enter>" msgstr "ŠŠ°ŃŠ°ŃŃ ŃŠŗŠ°Š½ŠøŃŠ¾Š²Š°Š½ŠøŠµ <Ctrl-Enter>" @@ -1455,8 +1682,9 @@ msgstr "" "Š½Š°Š·Š²Š°Š½ŠøŃ ŃŠ°Š¹Š»Š°" #. DESC_FAXPROJECT -msgid "Enter name of fax project" -msgstr "ŠŠ°Š·Š²Š°Š½ŠøŠµ ŃŠ°ŠŗŃŠøŠ¼ŠøŠ»ŃŠ½Š¾Š³Š¾ ŠæŠ¾ŃŠ»Š°Š½ŠøŃ" +#, fuzzy +msgid "Enter fax project directory name" +msgstr "Š£ŠŗŠ°Š·Š°ŃŃ Š²ŃŠµŠ¼ŠµŠ½Š½ŃŠ¹ ŠŗŠ°ŃŠ°Š»Š¾Š³" #. DESC_FAXPAGENAME msgid "Enter new name for faxpage" @@ -1466,9 +1694,15 @@ msgstr "ŠŠ°Š·Š²Š°Š½ŠøŠµ ŃŠ°ŠŗŃŠøŠ¼ŠøŠ»ŃŠ½Š¾Š¹ ŃŃŃŠ°Š½ŠøŃŃ" msgid "Enter receiver phone number or address" msgstr "ŠŠ¾Š¼ŠµŃ ŃŠµŠ»ŠµŃŠ¾Š½Š° ŠøŠ»Šø Š°Š“ŃŠµŃ Š“Š»Ń Š¾ŃŠæŃŠ°Š²ŠŗŠø" +#. DESC_FAX_PROJECT_BROWSE +#, fuzzy +msgid "Browse for fax project directory" +msgstr "Š£ŠŗŠ°Š·Š°ŃŃ Š²ŃŠµŠ¼ŠµŠ½Š½ŃŠ¹ ŠŗŠ°ŃŠ°Š»Š¾Š³" + #. DESC_EMAIL_PROJECT -msgid "Enter name of e-mail project" -msgstr "ŠŠ°Š·Š²Š°Š½ŠøŠµ ŠæŠ¾ŃŃŠ¾Š²Š¾Š³Š¾ ŃŠ¾Š¾Š±ŃŠµŠ½ŠøŃ" +#, fuzzy +msgid "Enter e-mail project directory name" +msgstr "Š£ŠŗŠ°Š·Š°ŃŃ Š²ŃŠµŠ¼ŠµŠ½Š½ŃŠ¹ ŠŗŠ°ŃŠ°Š»Š¾Š³" #. DESC_EMAIL_IMAGENAME msgid "Enter new name for e-mail image" @@ -1478,6 +1712,11 @@ msgstr "ŠŠ°Š·Š²Š°Š½ŠøŠµ ŃŠ°Š¹Š»Š° Š“Š»Ń Š¾ŃŠæŃŠ°Š²Š»ŃŠµŠ¼Š¾Š³Š¾ ŠøŠ·Š¾Š±Ń msgid "Enter e-mail address" msgstr "ŠŠ“ŃŠµŃ ŃŠ»ŠµŠŗŃŃŠ¾Š½Š½Š¾Š¹ ŠæŠ¾ŃŃŃ" +#. DESC_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "Browse for email project directory" +msgstr "Š£ŠŗŠ°Š·Š°ŃŃ Š²ŃŠµŠ¼ŠµŠ½Š½ŃŠ¹ ŠŗŠ°ŃŠ°Š»Š¾Š³" + #. DESC_EMAIL_SUBJECT msgid "Enter subject of e-mail" msgstr "Š¢ŠµŠ¼Š° ŠæŠøŃŃŠ¼Š°" @@ -1487,8 +1726,14 @@ msgid "Select filetype for image attachments" msgstr "ŠŃŠ±ŠµŃŠøŃŠµ ŃŠ¾ŃŠ¼Š°Ń ŃŠ°Š¹Š»Š° Š“Š»Ń Š²Š»Š¾Š¶ŠµŠ½ŠøŃ ŠøŠ·Š¾Š±ŃŠ°Š¶ŠµŠ½ŠøŃ" #. DESC_MULTIPAGE_PROJECT -msgid "Enter name of multipage project" -msgstr "ŠŠ°Š·Š²Š°Š½ŠøŠµ Š¼Š½Š¾Š³Š¾ŃŃŃŠ°Š½ŠøŃŠ½Š¾Š³Š¾ ŠæŠ¾ŃŃŠ¾Š²Š¾Š³Š¾ ŃŠ¾Š¾Š±ŃŠµŠ½ŠøŃ" +#, fuzzy +msgid "Enter multipage project directory name" +msgstr "Š£ŠŗŠ°Š·Š°ŃŃ Š²ŃŠµŠ¼ŠµŠ½Š½ŃŠ¹ ŠŗŠ°ŃŠ°Š»Š¾Š³" + +#. DESC_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "Browse for multipage project directory" +msgstr "Š£ŠŗŠ°Š·Š°ŃŃ Š²ŃŠµŠ¼ŠµŠ½Š½ŃŠ¹ ŠŗŠ°ŃŠ°Š»Š¾Š³" #. DESC_MULTIPAGE_FILETYPE msgid "Select filetype for multipage file" @@ -1613,7 +1858,8 @@ msgstr "" "ŠŗŠ¾Š½ŃŃŠ°ŃŃŠ½Š¾ŃŃŃ = 0" #. DESC_ENH_AUTO -msgid "Autoadjust gamma, brightness and contrast <Ctrl-e>" +#, fuzzy +msgid "Autoadjust gamma, brightness and contrast <Ctrl-a>" msgstr "ŠŠ²ŃŠ¾ŠæŠ¾Š“Š±Š¾Ń Š·Š½Š°ŃŠµŠ½ŠøŠ¹ Š³Š°Š¼Š¼Ń, ŃŃŠŗŠ¾ŃŃŠø Šø ŠŗŠ¾Š½ŃŃŠ°ŃŃŠ½Š¾ŃŃŠø <Ctrl-e>" #. DESC_ENH_DEFAULT @@ -1697,18 +1943,22 @@ msgstr "" "PostScript" #. DESC_PRINTER_WIDTH +#. DESC_FAX_WIDTH msgid "Width of printable area" msgstr "ŠØŠøŃŠøŠ½Š° ŠæŠµŃŠ°ŃŠ°ŠµŠ¼Š¾Š¹ Š¾Š±Š»Š°ŃŃŠø" #. DESC_PRINTER_HEIGHT +#. DESC_FAX_HEIGHT msgid "Height of printable area" msgstr "ŠŃŃŠ¾ŃŠ° ŠæŠµŃŠ°ŃŠ°ŠµŠ¼Š¾Š¹ Š¾Š±Š»Š°ŃŃŠø" #. DESC_PRINTER_LEFTOFFSET +#. DESC_FAX_LEFTOFFSET msgid "Left offset from the edge of the paper to the printable area" msgstr "ŠŃŃŃŃŠæ ŃŠ»ŠµŠ²Š° Š¾Ń ŃŠ³Š»Š° Š±ŃŠ¼Š°Š³Šø Š“Š¾ ŠæŠµŃŠ°ŃŠ°ŠµŠ¼Š¾Š¹ Š¾Š±Š»Š°ŃŃŠø" #. DESC_PRINTER_BOTTOMOFFSET +#. DESC_FAX_BOTTOMOFFSET msgid "Bottom offset from the edge of the paper to the printable area" msgstr "ŠŃŃŃŃŠæ ŃŠ½ŠøŠ·Ń Š¾Ń ŃŠ³Š»Š° Š±ŃŠ¼Š°Š³Šø Š“Š¾ ŠæŠµŃŠ°ŃŠ°ŠµŠ¼Š¾Š¹ Š¾Š±Š»Š°ŃŃŠø" @@ -1728,9 +1978,18 @@ msgstr "ŠŠ¾ŠæŠ¾Š»Š½ŠøŃŠµŠ»ŃŠ½Š¾Šµ Š·Š½Š°ŃŠµŠ½ŠøŠµ Š·ŠµŠ»ŃŠ½Š¾Š³Š¾ ŠŗŠ¾Š¼ŠæŠ msgid "Additional gamma value for blue component for photocopy" msgstr "ŠŠ¾ŠæŠ¾Š»Š½ŠøŃŠµŠ»ŃŠ½Š¾Šµ Š·Š½Š°ŃŠµŠ½ŠøŠµ ŃŠøŠ½ŠµŠ³Š¾ ŠŗŠ¾Š¼ŠæŠ¾Š½ŠµŠ½ŃŠ° Š³Š°Š¼Š¼Ń ŠæŃŠø ŠŗŠ¾ŠæŠøŃŠ¾Š²Š°Š½ŠøŠø" -#. DESC_PRINTER_PS_FLATDECODED +#. DESC_PRINTER_EMBED_CSA +msgid "Creates a postsciptfile that contains the ICM profile of the scanner" +msgstr "" + +#. DESC_PRINTER_EMBED_CRD +msgid "Creates a postsciptfile that contains the ICM profile of the printer" +msgstr "" + +#. DESC_PRINTER_PS_FLATEDECODED +#, fuzzy msgid "" -"Create zlib compressed postscript image for printer (flatdecode).\n" +"Create zlib compressed postscript image for printer (flatedecode).\n" "The printer has to understand postscript level 3!" msgstr "" "Š”Š¾Š·Š“Š°ŃŠ¼ ŃŠ¶Š°ŃŠ¾Šµ Ń ŠæŠ¾Š¼Š¾ŃŃŃ zlib Postscript-ŠøŠ·Š¾Š±ŃŠ°Š¶ŠµŠ½ŠøŠµ Š“Š»Ń ŠæŃŠøŠ½ŃŠµŃŠ° " @@ -1790,17 +2049,19 @@ msgstr "" "ŠŃŠø ŠøŃŠæŠ¾Š»ŃŠ·Š¾Š²Š°Š½ŠøŠø ŃŃŃŃŃŠøŠŗŠ° Š² Š½Š°Š·Š²Š°Š½ŠøŠø ŃŠ°Š¹Š»Š° ŃŠ¶Šµ ŠøŃŠæŠ¾Š»ŃŠ·Š¾Š²Š°Š½Š½ŃŠµ Š½Š¾Š¼ŠµŃŠ° " "ŠæŃŠ¾ŠæŃŃŠŗŠ°ŃŃŃŃ" -#. DESC_SAVE_PS_FLATDECODED +#. DESC_SAVE_PS_FLATEDECODED +#, fuzzy msgid "" -"compress postscript image with zlib algorithm (flatdecode). When you want to " -"print such a file your printer has to understand postscript level 3" +"compress postscript image with zlib algorithm (flatedecode). When you want " +"to print such a file your printer has to understand postscript level 3" msgstr "" "ŃŠ¶ŠøŠ¼Š°ŠµŃ ŠøŠ·Š¾Š±ŃŠ°Š¶ŠµŠ½ŠøŠµ postscript ŠæŠ¾ Š°Š»Š³Š¾ŃŠøŃŠ¼Ń zlib (flatdecode). ŠŃŠ»Šø Š²Ń " "Š·Š°Ń
Š¾ŃŠøŃŠµ ŃŠ°ŃŠæŠµŃŠ°ŃŠ°ŃŃ ŃŠ°ŠŗŠ¾Š¹ ŃŠ°Š¹Š», Š²Š°Š¼ ŠæŠ¾ŃŃŠµŠ±ŃŠµŃŃŃ ŠæŃŠøŠ½ŃŠµŃ, ŠæŠ¾Š½ŠøŠ¼Š°ŃŃŠøŠ¹ " "postscript level 3" -#. DESC_SAVE_PDF_FLATDECODED -msgid "compress PDF image with zlib algorithm (flatdecode)." +#. DESC_SAVE_PDF_FLATEDECODED +#, fuzzy +msgid "compress PDF image with zlib algorithm (flatedecode)." msgstr "ŃŠ¶ŠøŠ¼Š°ŠµŃ ŠøŠ·Š¾Š±ŃŠ°Š¶ŠµŠ½ŠøŠµ PDF ŠæŠ¾ Š°Š»Š³Š¾ŃŠøŃŠ¼Ń zlib (flatdecode)." #. DESC_SAVE_PNM16_AS_ASCII @@ -1816,7 +2077,9 @@ msgstr "" "ŠæŃŠ¾Š³ŃŠ°Š¼Š¼Š°Š¼Šø, Š½Š¾ Š·Š°Š½ŠøŠ¼Š°ŠµŃ Š·Š½Š°ŃŠøŃŠµŠ»ŃŠ½Š¾ Š±Š¾Š»ŃŃŠµ Š¼ŠµŃŃŠ° Š½Š° Š“ŠøŃŠŗŠµ!!!" #. DESC_REDUCE_16BIT_TO_8BIT -msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +#, fuzzy +msgid "" +"If scanner sends image with 16 bits/channel save image with 8 bits/channel" msgstr "ŠŃŠø ŃŠŗŠ°Š½ŠøŃŠ¾Š²Š°Š½ŠøŠø Ń Š³Š»ŃŠ±ŠøŠ½Š¾Š¹ ŃŠ²ŠµŃŠ° 16 Š±ŠøŃ ŃŠ¼ŠµŠ½ŃŃŠ°ŃŃ ŃŠ²ŠµŃŠ½Š¾ŃŃŃ Š“Š¾ 8 Š±ŠøŃ" #. DESC_PSFILE_WIDTH @@ -1844,7 +2107,8 @@ msgid "Use fixed main window size or scrolled, resizable main window" msgstr "Š Š°Š·Š¼ŠµŃŃ Š³Š»Š°Š²Š½Š¾Š³Š¾ Š¾ŠŗŠ½Š° ŃŠøŠŗŃŠøŃŠ¾Š²Š°Š½Ń ŠøŠ»Šø ŠøŠ·Š¼ŠµŠ½ŃŠµŠ¼Ń" #. DESC_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable preview gamma when XSane runs as gimp plugin" +#, fuzzy +msgid "Disable preview gamma when XSane runs as GIMP plugin" msgstr "" "ŠŃŠŗŠ»ŃŃŠ°ŃŃ Š³Š°Š¼Š¼Š°-ŠŗŠ¾ŃŃŠµŠŗŃŠøŃ Š“Š»Ń ŠæŃŠµŠ“Š²Š°ŃŠøŃŠµŠ»ŃŠ½Š¾Š³Š¾ ŃŠŗŠ°Š½ŠøŃŠ¾Š²Š°Š½ŠøŃ ŠæŃŠøŠ²ŃŠ·Š¾Š²Šµ XSane " "ŠŗŠ°Šŗ Š¼Š¾Š“ŃŠ»Ń GIMP" @@ -1950,6 +2214,16 @@ msgid "Do color correction after preview scan has finished" msgstr "" "ŠŃŠæŠ¾Š»Š½ŃŃŃ ŃŠ²ŠµŃŠ¾Š²ŃŃ ŠŗŠ¾ŃŃŠµŠŗŃŠøŃ ŠæŠ¾ŃŠ»Šµ Š·Š°Š²ŠµŃŃŠµŠ½ŠøŃ ŠæŃŠµŠ“Š²Š°ŃŠøŃŠµŠ»ŃŠ½Š¾Š³Š¾ ŃŠŗŠ°Š½ŠøŃŠ¾Š²Š°Š½ŠøŃ" +#. DESC_RENDERING_INTENT +#, fuzzy +msgid "Select rendering intent for preview and saving" +msgstr "" +"ŠŃŠ“ŠµŠ»ŃŃŃ Š¾Š±Š»Š°ŃŃŃ ŃŠŗŠ°Š½ŠøŃŠ¾Š²Š°Š½ŠøŃ ŠæŠ¾ŃŠ»Šµ Š·Š°Š²ŠµŃŃŠµŠ½ŠøŃ ŠæŃŠµŠ“Š²Š°ŃŠøŃŠµŠ»ŃŠ½Š¾Š³Š¾ ŃŠŗŠ°Š½ŠøŃŠ¾Š²Š°Š½ŠøŃ" + +#. DESC_CMS_BPC +msgid "Apply black point compensation when color transformation is done" +msgstr "" + #. DESC_FAX_COMMAND msgid "Enter command to be executed in fax mode" msgstr "ŠŠ¾Š¼Š°Š½Š“Š° Š“Š»Ń Š²ŃŠæŠ¾Š»Š½ŠµŠ½ŠøŃ Š² ŃŠµŠ¶ŠøŠ¼Šµ ŃŠ°ŠŗŃŠ°" @@ -1979,8 +2253,9 @@ msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" msgstr "" "ŠŃŃŃŠ»Š°ŃŃ ŃŠ°ŠŗŃ Ń Š²ŃŃŠ¾ŠŗŠøŠ¼ Š²ŠµŃŃŠøŠŗŠ°Š»ŃŠ½ŃŠ¼ ŃŠ°Š·ŃŠµŃŠµŠ½ŠøŠµŠ¼ (196 lpi Š²Š¼ŠµŃŃŠ¾ 98 lpi)" -#. DESC_FAX_PS_FLATDECODED -msgid "Create zlib compressed postscript image for fax (flatdecode)" +#. DESC_FAX_PS_FLATEDECODED +#, fuzzy +msgid "Create zlib compressed postscript image for fax (flatedecode)" msgstr "Š”Š¾Š·Š“Š°ŃŃ ŃŠ¶Š°ŃŠ¾Šµ zlib ŠøŠ·Š¾Š±ŃŠ°Š¶ŠµŠ½ŠøŠµ postscript Š“Š»Ń ŃŠ°ŠŗŃŠ° (flatdecode)" #. DESC_SMTP_SERVER @@ -2063,9 +2338,10 @@ msgstr "ŃŃŠµŠ½ŠøŠµ" msgid "write" msgstr "Š·Š°ŠæŠøŃŃ" -#. DESC_PERMISSION_EXECUTE -msgid "execute" -msgstr "Š²ŃŠæŠ¾Š»Š½ŠµŠ½ŠøŠµ" +#. DESC_PERMISSION_SEARCH +#, fuzzy +msgid "search" +msgstr "Š²Š»Š°Š“ŠµŠ»ŠµŃ" #. DESC_ADD_BATCH msgid "Add selection for batch scan" @@ -2234,6 +2510,36 @@ msgstr "Š£Š“Š°Š»ŠøŃŃ Š²ŃŠ“ŠµŠ»ŠµŠ½ŠøŠµ ŠøŠ· ŠæŠ°ŠŗŠµŃŠ°" msgid "Turns on automatic mode" msgstr "ŠŠŗŠ»ŃŃŠ°ŠµŃ Š°Š²ŃŠ¾Š¼Š°ŃŠøŃŠµŃŠŗŠøŠ¹ ŃŠµŠ¶ŠøŠ¼" +#. DESC_BUTTON_SCANNER_DEFAULT_COLOR_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default color ICM-profile" +msgstr "ŠŃŠ±ŃŠ°ŃŃ Š½Š°Š·Š²Š°Š½ŠøŠµ ŃŠ°Š¹Š»Š° ŠøŠ·Š¾Š±ŃŠ°Š¶ŠµŠ½ŠøŃ" + +#. DESC_BUTTON_SCANNER_DEFAULT_GRAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default gray ICM-profile" +msgstr "ŠŃŠ±ŃŠ°ŃŃ Š½Š°Š·Š²Š°Š½ŠøŠµ ŃŠ°Š¹Š»Š° ŠøŠ·Š¾Š±ŃŠ°Š¶ŠµŠ½ŠøŃ" + +#. DESC_BUTTON_DISPLAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for display ICM-profile" +msgstr "ŠŃŠ±ŃŠ°ŃŃ Š½Š°Š·Š²Š°Š½ŠøŠµ ŃŠ°Š¹Š»Š° ŠøŠ·Š¾Š±ŃŠ°Š¶ŠµŠ½ŠøŃ" + +#. DESC_BUTTON_PRINTER_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for printer ICM-profile" +msgstr "ŠŃŠ±ŃŠ°ŃŃ Š½Š°Š·Š²Š°Š½ŠøŠµ ŃŠ°Š¹Š»Š° ŠøŠ·Š¾Š±ŃŠ°Š¶ŠµŠ½ŠøŃ" + +#. DESC_BUTTON_CUSTOM_PROOFING_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for custom proofing ICM-profile" +msgstr "ŠŃŠ±ŃŠ°ŃŃ Š½Š°Š·Š²Š°Š½ŠøŠµ ŃŠ°Š¹Š»Š° ŠøŠ·Š¾Š±ŃŠ°Š¶ŠµŠ½ŠøŃ" + +#. DESC_BUTTON_WORKING_COLOR_SPACE_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for working color space ICM-profile" +msgstr "ŠŃŠ±ŃŠ°ŃŃ Š½Š°Š·Š²Š°Š½ŠøŠµ ŃŠ°Š¹Š»Š° ŠøŠ·Š¾Š±ŃŠ°Š¶ŠµŠ½ŠøŃ" + #. ERR_HOME_DIR msgid "Failed to determine home directory:" msgstr "ŠŠµŠ²Š¾Š·Š¼Š¾Š¶Š½Š¾ Š¾ŠæŃŠµŠ“ŠµŠ»ŠøŃŃ Š“Š¾Š¼Š°ŃŠ½ŠøŠ¹ ŠŗŠ°ŃŠ°Š»Š¾Š³:" @@ -2286,11 +2592,6 @@ msgstr "ŠŃŠøŠ±ŠŗŠ° Š²Š¾ Š²ŃŠµŠ¼Ń ŃŠ¾Ń
ŃŠ°Š½ŠµŠ½ŠøŃ:" msgid "Can't handle depth" msgstr "ŠŠµŠ²Š¾Š·Š¼Š¾Š¶Š½Š¾ Š¾ŠæŃŠµŠ“ŠµŠ»ŠøŃŃ Š³Š»ŃŠ±ŠøŠ½Ń ŃŠ²ŠµŃŠ°" -#. ERR_GIMP_BAD_DEPTH -#, c-format -msgid "GIMP can't handle depth %d bits/color" -msgstr "GIMP Š½Šµ ŠæŠ¾Š“Š“ŠµŃŠ¶ŠøŠ²Š°ŠµŃ Š³Š»ŃŠ±ŠøŠ½Ń ŃŠ²ŠµŃŠ° Š² %d Š±ŠøŃ Š½Š° ŃŠ²ŠµŃ" - #. ERR_UNKNOWN_SAVING_FORMAT msgid "Unknown file format for saving" msgstr "ŠŠµŠøŠ·Š²ŠµŃŃŠ½ŃŠ¹ ŃŠ¾ŃŠ¼Š°Ń ŃŠ°Š¹Š»Š° Š“Š»Ń Š·Š°ŠæŠøŃŠø" @@ -2523,10 +2824,68 @@ msgstr "Š¤Š°Š¹Š» %s Š½Šµ ŃŠ²Š»ŃŠµŃŃŃ ŃŠ°Š¹Š»Š¾Š¼ PostScript" msgid "Unsupported %d-bit output format: %s" msgstr "ŠŠµŠæŠ¾Š“Š“ŠµŃŠ¶ŠøŠ²Š°ŠµŠ¼Š°Ń Š³Š»ŃŠ±ŠøŠ½Š° ŃŠ²ŠµŃŠ° Š² %d Š“Š»Ń ŃŠ¾ŃŠ¼Š°ŃŠ°: %s" +#. ERR_CMS_CONVERSION +#, fuzzy +msgid "Error during CMS conversion:" +msgstr "ŠŃŠøŠ±ŠŗŠ° Š²Š¾ Š²ŃŠµŠ¼Ń ŃŠ¾Ń
ŃŠ°Š½ŠµŠ½ŠøŃ:" + +#. ERR_CMS_OPEN_ICM_FILE +#, fuzzy +msgid "Could not open" +msgstr "ŠŠµŠ²Š¾Š·Š¼Š¾Š¶Š½Š¾ Š¾ŃŠŗŃŃŃŃ" + +#. CMS_SCANNER_ICM +#, fuzzy +msgid "scanner ICM profile" +msgstr "Š£Š“Š°Š»ŠøŃŃ Š¾ŠæŠøŃŠ°Š½ŠøŠµ ŠæŃŠøŠ½ŃŠµŃŠ°" + +#. CMS_DISPLAY_ICM +#, fuzzy +msgid "display ICM profile" +msgstr "ŠŃŠ±ŃŠ°ŃŃ Š½Š°Š·Š²Š°Š½ŠøŠµ ŃŠ°Š¹Š»Š° ŠøŠ·Š¾Š±ŃŠ°Š¶ŠµŠ½ŠøŃ" + +#. CMS_PROOF_ICM +#, fuzzy +msgid "proofing ICM profile" +msgstr "Š£Š“Š°Š»ŠøŃŃ Š¾ŠæŠøŃŠ°Š½ŠøŠµ ŠæŃŠøŠ½ŃŠµŃŠ°" + +#. ERR_CMS_CREATE_TRANSFORM +#, fuzzy +msgid "Could not create transform" +msgstr "ŠŠµŠ²Š¾Š·Š¼Š¾Š¶Š½Š¾ ŃŠ¾Š·Š“Š°ŃŃ Š²ŃŠµŠ¼ŠµŠ½Š½ŃŠ¹ ŃŠ°Š¹Š»" + #. WARN_VIEWER_IMAGE_NOT_SAVED msgid "viewer image is not saved" msgstr "ŠŃŠ¾ŃŠ¼Š°ŃŃŠøŠ²Š°ŠµŠ¼Š¾Šµ ŠøŠ·Š¾Š±ŃŠ°Š¶ŠµŠ½ŠøŠµ Š½Šµ ŃŠ¾Ń
ŃŠ°Š½ŠµŠ½Š¾" +#. FILE_FILTER_ALL_FILES +msgid "All files" +msgstr "" + +#. FILE_FILTER_IMAGES +#, fuzzy +msgid "Images" +msgstr "Š”ŃŃŠ°Š½ŠøŃ:" + +#. FILE_FILTER_XBL +#, fuzzy +msgid "XSane batch list" +msgstr "Š”Š¾Ń
ŃŠ°Š½ŠøŃŃ ŠæŠ°ŠŗŠµŃ" + +#. FILE_FILTER_ICM +msgid "ICC/ICM Profiles" +msgstr "" + +#. FILE_FILTER_DRC +#, fuzzy +msgid "XSane device preferences" +msgstr "Š”Š¾Ń
ŃŠ°Š½ŃŃŃ ŠæŠ°ŃŠ°Š¼ŠµŃŃŃ ŃŃŃŃŠ¾Š¹ŃŃŠ²Š° ŠæŃŠø Š²ŃŃ
Š¾Š“Šµ" + +#. FILE_FILTER_RC +#, fuzzy +msgid "XSane preferences" +msgstr "ŠŠ°ŃŠ°Š¼ŠµŃŃŃ" + #. TEXT_USAGE msgid "Usage:" msgstr "ŠŃŠæŠ¾Š»ŃŠ·Š¾Š²Š°Š½ŠøŠµ:" @@ -2901,12 +3260,61 @@ msgstr "ŠŠµ Ń
Š²Š°ŃŠ°ŠµŃ ŠæŠ°Š¼ŃŃŠø" msgid "Access to resource has been denied" msgstr "ŠŠ¾ŃŃŃŠæ Šŗ ŃŠµŃŃŃŃŃ Š·Š°ŠæŃŠµŃŃŠ½" -#~ msgid "Could not create temporary file" -#~ msgstr "ŠŠµŠ²Š¾Š·Š¼Š¾Š¶Š½Š¾ ŃŠ¾Š·Š“Š°ŃŃ Š²ŃŠµŠ¼ŠµŠ½Š½ŃŠ¹ ŃŠ°Š¹Š»" +#, fuzzy +#~ msgid "select scanner transmissive ICM-profile" +#~ msgstr "Š£Š“Š°Š»ŠøŃŃ Š¾ŠæŠøŃŠ°Š½ŠøŠµ ŠæŃŠøŠ½ŃŠµŃŠ°" + +#, fuzzy +#~ msgid "select scanner transmissive gray ICM-profile" +#~ msgstr "Š£Š“Š°Š»ŠøŃŃ Š¾ŠæŠøŃŠ°Š½ŠøŠµ ŠæŃŠøŠ½ŃŠµŃŠ°" + +#, fuzzy +#~ msgid "Scanner reflective ICM-profile" +#~ msgstr "Š£Š“Š°Š»ŠøŃŃ Š¾ŠæŠøŃŠ°Š½ŠøŠµ ŠæŃŠøŠ½ŃŠµŃŠ°" + +#, fuzzy +#~ msgid "Scanner reflective gray ICM-profile" +#~ msgstr "Š£Š“Š°Š»ŠøŃŃ Š¾ŠæŠøŃŠ°Š½ŠøŠµ ŠæŃŠøŠ½ŃŠµŃŠ°" + +#, fuzzy +#~ msgid "Scanner transmissive gray ICM-profile" +#~ msgstr "Š£Š“Š°Š»ŠøŃŃ Š¾ŠæŠøŃŠ°Š½ŠøŠµ ŠæŃŠøŠ½ŃŠµŃŠ°" + +#, fuzzy +#~ msgid "Scanner reflektive ICM-profile" +#~ msgstr "Š£Š“Š°Š»ŠøŃŃ Š¾ŠæŠøŃŠ°Š½ŠøŠµ ŠæŃŠøŠ½ŃŠµŃŠ°" + +#, fuzzy +#~ msgid "Browse for scanner transmissive ICM-profile" +#~ msgstr "ŠŃŠ±ŃŠ°ŃŃ Š½Š°Š·Š²Š°Š½ŠøŠµ ŃŠ°Š¹Š»Š° ŠøŠ·Š¾Š±ŃŠ°Š¶ŠµŠ½ŠøŃ" + +#, fuzzy +#~ msgid "Browse for scanner transmissive gray ICM-profile" +#~ msgstr "ŠŃŠ±ŃŠ°ŃŃ Š½Š°Š·Š²Š°Š½ŠøŠµ ŃŠ°Š¹Š»Š° ŠøŠ·Š¾Š±ŃŠ°Š¶ŠµŠ½ŠøŃ" + +#~ msgid "GIMP can't handle depth %d bits/color" +#~ msgstr "GIMP Š½Šµ ŠæŠ¾Š“Š“ŠµŃŠ¶ŠøŠ²Š°ŠµŃ Š³Š»ŃŠ±ŠøŠ½Ń ŃŠ²ŠµŃŠ° Š² %d Š±ŠøŃ Š½Š° ŃŠ²ŠµŃ" + +#, fuzzy +#~ msgid "scanner reflective ICM profile" +#~ msgstr "Š£Š“Š°Š»ŠøŃŃ Š¾ŠæŠøŃŠ°Š½ŠøŠµ ŠæŃŠøŠ½ŃŠµŃŠ°" + +#, fuzzy +#~ msgid "Embed scanner/source ICM profile for GIMP" +#~ msgstr "Š£Š“Š°Š»ŠøŃŃ Š¾ŠæŠøŃŠ°Š½ŠøŠµ ŠæŃŠøŠ½ŃŠµŃŠ°" + +#~ msgid "Enter name of fax project" +#~ msgstr "ŠŠ°Š·Š²Š°Š½ŠøŠµ ŃŠ°ŠŗŃŠøŠ¼ŠøŠ»ŃŠ½Š¾Š³Š¾ ŠæŠ¾ŃŠ»Š°Š½ŠøŃ" + +#~ msgid "Enter name of e-mail project" +#~ msgstr "ŠŠ°Š·Š²Š°Š½ŠøŠµ ŠæŠ¾ŃŃŠ¾Š²Š¾Š³Š¾ ŃŠ¾Š¾Š±ŃŠµŠ½ŠøŃ" -#~ msgid "Could not create temporary preview files" -#~ msgstr "ŠŠµŠ²Š¾Š·Š¼Š¾Š¶Š½Š¾ ŃŠ¾Š·Š“Š°ŃŃ Š²ŃŠµŠ¼ŠµŠ½Š½ŃŠ¹ ŃŠ°Š¹Š» Š“Š»Ń ŠæŃŠµŠ“Š²Š°ŃŠøŃŠµŠ»ŃŠ½Š¾Š³Š¾ ŃŠŗŠ°Š½ŠøŃŠ¾Š²Š°Š½ŠøŃ" +#~ msgid "Enter name of multipage project" +#~ msgstr "ŠŠ°Š·Š²Š°Š½ŠøŠµ Š¼Š½Š¾Š³Š¾ŃŃŃŠ°Š½ŠøŃŠ½Š¾Š³Š¾ ŠæŠ¾ŃŃŠ¾Š²Š¾Š³Š¾ ŃŠ¾Š¾Š±ŃŠµŠ½ŠøŃ" -#~ msgid "Could not create filenames for preview files" +#~ msgid "" +#~ "Gimp does not support depth 16 bits/color.\n" +#~ "Do you want to reduce the depth to 8 bits/color?" #~ msgstr "" -#~ "ŠŠµŠ²Š¾Š·Š¼Š¾Š¶Š½Š¾ ŃŠ³ŠµŠ½ŠµŃŠøŃŠ¾Š²Š°ŃŃ Š½Š°Š·Š²Š°Š½ŠøŠµ ŃŠ°Š¹Š»Š° Š“Š»Ń ŠæŃŠµŠ“Š²Š°ŃŠøŃŠµŠ»ŃŠ½Š¾Š³Š¾ ŃŠŗŠ°Š½ŠøŃŠ¾Š²Š°Š½ŠøŃ" +#~ "GIMP Š½Šµ ŠæŠ¾Š“Š“ŠµŃŠ¶ŠøŠ²Š°ŠµŃ Š³Š»ŃŠ±ŠøŠ½Ń ŃŠ²ŠµŃŠ° Š² 16 Š±ŠøŃ.\n" +#~ "Š£Š¼ŠµŠ½ŃŃŠøŃŃ Š³Š»ŃŠ±ŠøŠ½Ń Š“Š¾ 8 Š±ŠøŃ Š½Š° ŃŠ²ŠµŃ?" Binary files differ@@ -6,7 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: xsane\n" -"POT-Creation-Date: 2006-01-07 00:26+0100\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-25 23:44+0100\n" "PO-Revision-Date: 2005-11-01 18:58+0100\n" "Last-Translator: \n" "Language-Team: <sk@li.org>\n" @@ -36,6 +37,7 @@ msgid "About" msgstr "O programe" #. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +#. MENU_ITEM_ABOUT_TRANSLATION msgid "About translation" msgstr "O preklade" @@ -75,6 +77,11 @@ msgstr "premenovaÅ„ dĆ”vkovĆŗ oblasÅ„" msgid "fax project" msgstr "faxovĆ½ projekt" +#. WINDOW_FAX_PROJECT_BROWSE +#, fuzzy +msgid "browse for fax project" +msgstr "Vložte nĆ”zov faxovĆ©ho projektu" + #. WINDOW_FAX_RENAME msgid "rename fax page" msgstr "premenovaÅ„ faxovĆŗ strĆ”nku" @@ -88,6 +95,11 @@ msgstr "vložiÅ„ ps-sĆŗbor do faxu" msgid "E-mail project" msgstr "poÅ”tovĆ½ projekt" +#. WINDOW_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "browse for email project" +msgstr "Vložte nĆ”zov poÅ”tovĆ©ho projektu" + #. WINDOW_EMAIL_RENAME #, fuzzy msgid "rename e-mail image" @@ -103,6 +115,11 @@ msgstr "vložiÅ„ obrĆ”zok do poÅ”ty" msgid "multipage project" msgstr "ZmazaÅ„ projekt" +#. WINDOW_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "browse for multipage project" +msgstr "ZmazaÅ„ projekt" + #. WINDOW_PRESET_AREA_RENAME msgid "rename preset area" msgstr "premenovaÅ„ predvolanĆ” oblasÅ„" @@ -148,6 +165,7 @@ msgid "Preview" msgstr "NĆ”hľad" #. WINDOW_VIEWER +#. MENU_ITEM_VIEWER msgid "Viewer" msgstr "PrehliadaÄ" @@ -180,14 +198,17 @@ msgid "select temporary directory" msgstr "vybraÅ„ doÄasnĆ½ prieÄinok" #. WINDOW_SCALE +#. DESC_VIEWER_SCALE msgid "Scale image" msgstr "Zmena veľkosti obrĆ”zku" #. WINDOW_DESPECKLE +#. DESC_VIEWER_DESPECKLE msgid "Despeckle image" msgstr "VyÄistiÅ„ obrĆ”zok" #. WINDOW_BLUR +#. DESC_VIEWER_BLUR msgid "Blur image" msgstr "RozmazaÅ„ obrĆ”zok" @@ -199,6 +220,35 @@ msgstr "UložiÅ„ definĆciu mĆ©dia" msgid "No devices available" msgstr "Nie je dostupnĆ© žiadne zariadenie" +#. WINDOW_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "select scanner default color ICM-profile" +msgstr "ZmazaÅ„ tlaÄiareÅ" + +#. WINDOW_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "select scanner default gray ICM-profile" +msgstr "ZmazaÅ„ tlaÄiareÅ" + +#. WINDOW_DISPLAY_ICM_PROFILE +msgid "select display ICM-profile" +msgstr "" + +#. WINDOW_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "select custom proofing ICM-profile" +msgstr "zvoľte nĆ”zov pre vĆ½stupnĆ½ sĆŗbor" + +#. WINDOW_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "select working color space ICM-profile" +msgstr "ZmazaÅ„ tlaÄiareÅ" + +#. WINDOW_PRINTER_ICM_PROFILE +#, fuzzy +msgid "select printer ICM-profile" +msgstr "ZmazaÅ„ tlaÄiareÅ" + #. MENU_FILE msgid "File" msgstr "SĆŗbor" @@ -216,6 +266,7 @@ msgid "Window" msgstr "Okno" #. MENU_HELP +#. BUTTON_HELP msgid "Help" msgstr "PomocnĆk" @@ -231,6 +282,11 @@ msgstr "Filtre" msgid "Geometry" msgstr "Geometria" +#. MENU_COLOR_MANAGEMENT +#. NOTEBOOK_COLOR_MANAGEMENT_OPTIONS +msgid "Color management" +msgstr "" + #. MENU_ITEM_ABOUT_XSANE msgid "About XSane" msgstr "O XSane" @@ -244,6 +300,7 @@ msgid "Quit" msgstr "Koniec" #. MENU_ITEM_SAVE_IMAGE +#. DESC_VIEWER_SAVE msgid "Save image" msgstr "UložiÅ„ obrĆ”zok" @@ -260,6 +317,7 @@ msgid "Scale" msgstr "Zmena veľkosti" #. MENU_ITEM_CLOSE +#. BUTTON_CLOSE msgid "Close" msgstr "ZavrieÅ„" @@ -453,11 +511,11 @@ msgstr "Varovanie o prepĆsanĆ" msgid "Skip existing filenames" msgstr "PreskoÄiÅ„ existujĆŗce nĆ”zvy sĆŗborov" -#. RADIO_BUTTON_SAVE_PS_FLATDECODED +#. RADIO_BUTTON_SAVE_PS_FLATEDECODED msgid "Save postscript zlib compressed (ps level 3)" msgstr "" -#. RADIO_BUTTON_SAVE_PDF_FLATDECODED +#. RADIO_BUTTON_SAVE_PDF_FLATEDECODED msgid "Save PDF zlib compressed" msgstr "" @@ -474,7 +532,8 @@ msgid "Main window size fixed" msgstr "PevnĆ” veľkosÅ„ hlavnĆ©ho okna" #. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable gimp preview gamma" +#, fuzzy +msgid "Disable GIMP preview gamma" msgstr "ZakĆ”zaÅ„ pre gimp gama nĆ”hľad" #. RADIO_BUTTON_PRIVATE_COLORMAP @@ -497,6 +556,11 @@ msgstr "AutomatickĆ” korekcia farieb" msgid "Use GUI progress pipe" msgstr "PoužiÅ„ GUI rĆŗru postupu" +#. RADIO_BUTTON_CMS_BPC +#. MENU_ITEM_CMS_BLACK_POINT_COMPENSATION +msgid "Black point compensation" +msgstr "" + #. TEXT_SCANNING_DEVICES msgid "scanning for devices" msgstr "hľadĆ”m zariadenia" @@ -513,6 +577,12 @@ msgstr "Nastavenia XSane" msgid "Type" msgstr "Typ" +#. TEXT_CMS_FUNCTION +#. DESC_CMS_FUNCTION +#, fuzzy +msgid "Color management function" +msgstr "CelofarebnĆ½ rozsah" + #. TEXT_SCANNER_BACKEND msgid "Scanner and backend:" msgstr "Skener a ovlĆ”daÄ:" @@ -585,18 +655,11 @@ msgstr "8 bitovĆ© vĆ½stupnĆ© formĆ”ty:" msgid "16 bit output formats:" msgstr "16 bitovĆ© vĆ½stupnĆ© formĆ”ty:" -#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT -msgid "" -"Gimp does not support depth 16 bits/color.\n" -"Do you want to reduce the depth to 8 bits/color?" -msgstr "" -"GIMP nepodporuje hÄŗbku 16 bitov/farba.\n" -"Prajete si redukciu hÄŗbky na 8 bitov/farba?" - #. TEXT_REDUCE_16BIT_TO_8BIT +#, fuzzy msgid "" -"Bit depth 16 bits/color is not supported for this output format.\n" -"Do you want to reduce the depth to 8 bits/color?" +"Bit depth 16 bits/channel is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/channel?" msgstr "" "16 bitov na farbu nie je podporovanĆ½ch v tomto vĆ½stupnom formĆ”t.\n" "Prajete si redukciu hÄŗbky na 8 bitov/farbu?" @@ -633,6 +696,11 @@ msgstr "verzia:" msgid "package" msgstr "balĆk" +#. TEXT_WITH_CMS_FUNCTION +#, fuzzy +msgid "with color management function" +msgstr "CelofarebnĆ½ rozsah" + #. TEXT_WITH_GIMP_SUPPORT msgid "with GIMP support" msgstr "s podporou GIMPu" @@ -771,9 +839,10 @@ msgid "Medium Name:" msgstr "NĆ”zov mĆ©dia:" #. TEXT_VIEWER_IMAGE_INFO -#, c-format +#, fuzzy, c-format msgid "" -"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +"Size %d x %d pixel, %d bits/channel, %d channels, %1.0f dpi x %1.0f dpi, %" +"1.1f %s" msgstr "" "VeľkosÅ„ v bodoch: %d Ć %d, bitov/farbu: %d, farieb: %d, %1.0f dpi Ć %1.0f " "dpi, %1.1f %s" @@ -827,6 +896,7 @@ msgid "Name:" msgstr "NĆ”zov:" #. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +#. TEXT_SETUP_FAX_COMMAND msgid "Command:" msgstr "PrĆkaz:" @@ -847,18 +917,22 @@ msgid "Color resolution (dpi):" msgstr "FarebnĆ© rozlĆÅ”enie (dpi):" #. TEXT_SETUP_PRINTER_WIDTH +#. TEXT_SETUP_FAX_WIDTH msgid "Width" msgstr "Å Ćrka" #. TEXT_SETUP_PRINTER_HEIGHT +#. TEXT_SETUP_FAX_HEIGHT msgid "Height" msgstr "VĆ½Å”ka" #. TEXT_SETUP_PRINTER_LEFT +#. TEXT_SETUP_FAX_LEFT msgid "Left offset" msgstr "Posun zľava" #. TEXT_SETUP_PRINTER_BOTTOM +#. TEXT_SETUP_FAX_BOTTOM msgid "Bottom offset" msgstr "Posun zdola" @@ -878,7 +952,17 @@ msgstr "ZelenĆ” gama tlaÄiarne:" msgid "Printer gamma blue:" msgstr "ModrĆ” gama tlaÄiarne:" -#. TEXT_SETUP_PRINTER_PS_FLATDECODED +#. TEXT_SETUP_PRINTER_EMBED_CSA +#, fuzzy +msgid "Embed scanner ICM profile as CSA" +msgstr "ZmazaÅ„ tlaÄiareÅ" + +#. TEXT_SETUP_PRINTER_EMBED_CRD +#, fuzzy +msgid "Embed printer ICM profile as CRD" +msgstr "ZmazaÅ„ tlaÄiareÅ" + +#. TEXT_SETUP_PRINTER_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for printing" msgstr "" @@ -1003,7 +1087,7 @@ msgstr "Å tandardnĆ© nastavenia programu pre:" msgid "Viewer (Postscript):" msgstr "PrehliadaÄ (Postscript):" -#. TEXT_SETUP_FAX_PS_FLATDECODED +#. TEXT_SETUP_FAX_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for fax" msgstr "" @@ -1082,10 +1166,45 @@ msgstr "skupina" msgid "all" msgstr "vÅ”etko" +#. TEXT_SETUP_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "Scanner default color ICM-profile" +msgstr "ZmazaÅ„ tlaÄiareÅ" + +#. TEXT_SETUP_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "Scanner default gray ICM-profile" +msgstr "ZmazaÅ„ tlaÄiareÅ" + +#. TEXT_SETUP_DISPLAY_ICM_PROFILE +#. DESC_DISPLAY_ICM_PROFILE +msgid "Display ICM-profile" +msgstr "" + +#. TEXT_SETUP_CUSTOM_PROOFING_ICM_PROFILE +#. DESC_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "Custom proofing ICM-profile" +msgstr "ZmazaÅ„ tlaÄiareÅ" + +#. TEXT_SETUP_WORKING_COLOR_SPACE_ICM_PROFILE +#. DESC_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "Working color space ICM-profile" +msgstr "VyhľadaÅ„ nĆ”zov sĆŗboru" + +#. TEXT_SETUP_PRINTER_ICM_PROFILE +#. DESC_PRINTER_ICM_PROFILE +msgid "Printer ICM-profile" +msgstr "" + msgid "new media" msgstr "novĆ© mĆ©dium" #. NOTEBOOK_SAVING_OPTIONS +#. MENU_ITEM_SAVE msgid "Save" msgstr "Ukladanie" @@ -1095,14 +1214,17 @@ msgid "Filetype" msgstr "SĆŗbor" #. NOTEBOOK_COPY_OPTIONS +#. MENU_ITEM_COPY msgid "Copy" msgstr "KopĆrovanie" #. NOTEBOOK_FAX_OPTIONS +#. MENU_ITEM_FAX msgid "Fax" msgstr "Fax" #. NOTEBOOK_EMAIL_OPTIONS +#. MENU_ITEM_EMAIL #, fuzzy msgid "E-mail" msgstr "Email" @@ -1195,6 +1317,12 @@ msgstr "ZobraziÅ„ zoznam rozlĆÅ”enĆ" msgid "Rotate postscript" msgstr "OtoÄenie postscriptu" +#. MENU_ITEM_ENABLE_COLOR_MANAGEMENT +#. MENU_ITEM_CMS_ENABLE_COLOR_MANAGEMENT +#, fuzzy +msgid "Enable color management" +msgstr "CelofarebnĆ½ rozsah" + # MENU_ITEM_EDIT_MEDIUM_DEF #. MENU_ITEM_EDIT_MEDIUM_DEF msgid "Edit medium definition" @@ -1240,6 +1368,86 @@ msgstr "Tipy pre skenovanie" msgid "Problems?" msgstr "ProblĆ©my?" +#. MENU_ITEM_CMS_PROOFING +#, fuzzy +msgid "Proofing" +msgstr "Pridaj tlaÄiareÅ" + +#. SUBMENU_ITEM_CMS_PROOF_OFF +msgid "no proofing (Display)" +msgstr "" + +#. SUBMENU_ITEM_CMS_PROOF_PRINTER +#, fuzzy +msgid "Proof printer" +msgstr "Pridaj tlaÄiareÅ" + +#. SUBMENU_ITEM_CMS_PROOF_CUSTOM +msgid "Proof custom device" +msgstr "" + +#. MENU_ITEM_CMS_RENDERING_INTENT +#, fuzzy +msgid "Rendering intent" +msgstr "Pridaj tlaÄiareÅ" + +#. MENU_ITEM_CMS_PROOFING_INTENT +#, fuzzy +msgid "Proofing rendering intent" +msgstr "Pridaj tlaÄiareÅ" + +#. SUBMENU_ITEM_CMS_INTENT_PERCEPTUAL +msgid "Perceptual" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_RELATIVE_COLORIMETRIC +msgid "Relative colorimetric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_ABSOLUTE_COLORIMETRIC +msgid "Absolute colorimentric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_SATURATION +#, fuzzy +msgid "Saturation" +msgstr "autorizĆ”cia" + +#. MENU_ITEM_CMS_GAMUT_CHECK +msgid "Gamut check" +msgstr "" + +#. MENU_ITEM_CMS_GAMUT_ALARM_COLOR +msgid "Gamut alarm color" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLACK +msgid "Black" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_GRAY +msgid "Gray" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_WHITE +#, fuzzy +msgid "White" +msgstr "zĆ”pis" + +#. SUBMENU_ITEM_CMS_COLOR_RED +#, fuzzy +msgid "Red" +msgstr "RedukovaÅ„" + +#. SUBMENU_ITEM_CMS_COLOR_GREEN +msgid "Green" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLUE +#, fuzzy +msgid "Blue" +msgstr "RozostriÅ„" + #. MENU_ITEM_COUNTER_LEN_INACTIVE msgid "inactive" msgstr "neaktĆvny" @@ -1359,6 +1567,20 @@ msgstr "" msgid "ASMTP CRAM-MD5" msgstr "" +#. MENU_ITEM_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE +#, fuzzy +msgid "Embed scanner ICM profile" +msgstr "ZmazaÅ„ tlaÄiareÅ" + +#. MENU_ITEM_CMS_FUNCTION_CONVERT_TO_SRGB +msgid "Convert to sRGB" +msgstr "" + +#. MENU_ITEM_FUNCTION_CONVERT_TO_WORKING_CS +#, fuzzy +msgid "Convert to working color space" +msgstr "AutomatickĆ” korekcia farieb" + #. PROGRESS_SCANNING msgid "Scanning" msgstr "Skenovanie" @@ -1417,6 +1639,11 @@ msgstr "Rozostrovanie obrĆ”zka" msgid "OCR in progress" msgstr "VykonĆ”va sa OCR" +#. PROGRESS_ICM_CONVERSION +#, fuzzy +msgid "converting colors" +msgstr "AutomatickĆ” korekcia farieb" + #. DESC_SCAN_START msgid "Start scan <Ctrl-Enter>" msgstr "ZaÄaÅ„ skenovanie <Ctrl-Enter>" @@ -1476,8 +1703,9 @@ msgstr "" "Typ formĆ”tu obrĆ”zku; vhodnĆ” koncovka je automaticky pridanĆ” k nĆ”zvu sĆŗboru." #. DESC_FAXPROJECT -msgid "Enter name of fax project" -msgstr "Vložte nĆ”zov faxovĆ©ho projektu" +#, fuzzy +msgid "Enter fax project directory name" +msgstr "VyhľadaÅ„ pomocnĆ½ prieÄinok" #. DESC_FAXPAGENAME msgid "Enter new name for faxpage" @@ -1487,10 +1715,15 @@ msgstr "Vložte novĆ½ nĆ”zov pre faxovĆŗ strĆ”nku" msgid "Enter receiver phone number or address" msgstr "Vložte telefĆ³nne ÄĆslo alebo adresu prĆjemcu" +#. DESC_FAX_PROJECT_BROWSE +#, fuzzy +msgid "Browse for fax project directory" +msgstr "VyhľadaÅ„ pomocnĆ½ prieÄinok" + #. DESC_EMAIL_PROJECT #, fuzzy -msgid "Enter name of e-mail project" -msgstr "Vložte nĆ”zov poÅ”tovĆ©ho projektu" +msgid "Enter e-mail project directory name" +msgstr "VyhľadaÅ„ pomocnĆ½ prieÄinok" #. DESC_EMAIL_IMAGENAME #, fuzzy @@ -1502,6 +1735,11 @@ msgstr "Vložte novĆ½ nĆ”zov pre poÅ”tovĆ½ obrĆ”zok" msgid "Enter e-mail address" msgstr "Vložte emailovĆŗ adresu" +#. DESC_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "Browse for email project directory" +msgstr "VyhľadaÅ„ pomocnĆ½ prieÄinok" + #. DESC_EMAIL_SUBJECT #, fuzzy msgid "Enter subject of e-mail" @@ -1513,8 +1751,13 @@ msgstr "Vyberte si typ sĆŗboru pre obrĆ”zkovĆ© prĆlohy k e-mailom" #. DESC_MULTIPAGE_PROJECT #, fuzzy -msgid "Enter name of multipage project" -msgstr "Vložte nĆ”zov poÅ”tovĆ©ho projektu" +msgid "Enter multipage project directory name" +msgstr "VyhľadaÅ„ pomocnĆ½ prieÄinok" + +#. DESC_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "Browse for multipage project directory" +msgstr "VyhľadaÅ„ pomocnĆ½ prieÄinok" #. DESC_MULTIPAGE_FILETYPE #, fuzzy @@ -1645,7 +1888,8 @@ msgstr "" # DESC_ENH_AUTO #. DESC_ENH_AUTO -msgid "Autoadjust gamma, brightness and contrast <Ctrl-e>" +#, fuzzy +msgid "Autoadjust gamma, brightness and contrast <Ctrl-a>" msgstr "AutomatickĆ© nastavenie gamy, jasu a kontrastu <Ctrl-e>" # DESC_ENH_DEFAULT @@ -1731,18 +1975,22 @@ msgstr "" "RozlĆÅ”enie, v ktorom budĆŗ farebnĆ© obrĆ”zky tlaÄenĆ© a uloženĆ© do postscriptu" #. DESC_PRINTER_WIDTH +#. DESC_FAX_WIDTH msgid "Width of printable area" msgstr "Å Ćrka tlaÄiteľnej oblasti" #. DESC_PRINTER_HEIGHT +#. DESC_FAX_HEIGHT msgid "Height of printable area" msgstr "VĆ½Å”ka tlaÄiteľnej oblasti" #. DESC_PRINTER_LEFTOFFSET +#. DESC_FAX_LEFTOFFSET msgid "Left offset from the edge of the paper to the printable area" msgstr "Posun od ľavĆ©ho okraja papiera po tlaÄiteľnĆŗ oblasÅ„" #. DESC_PRINTER_BOTTOMOFFSET +#. DESC_FAX_BOTTOMOFFSET msgid "Bottom offset from the edge of the paper to the printable area" msgstr "Posun od dolnĆ©ho okraja papiera po tlaÄiteľnĆŗ oblasÅ„" @@ -1762,9 +2010,17 @@ msgstr "DodatoÄnĆ” gama hodnota pre zelenĆ½ komponent fotokĆ³pie" msgid "Additional gamma value for blue component for photocopy" msgstr "DodatoÄnĆ” gama hodnota pre modrĆ½ komponent fotokĆ³pie" -#. DESC_PRINTER_PS_FLATDECODED +#. DESC_PRINTER_EMBED_CSA +msgid "Creates a postsciptfile that contains the ICM profile of the scanner" +msgstr "" + +#. DESC_PRINTER_EMBED_CRD +msgid "Creates a postsciptfile that contains the ICM profile of the printer" +msgstr "" + +#. DESC_PRINTER_PS_FLATEDECODED msgid "" -"Create zlib compressed postscript image for printer (flatdecode).\n" +"Create zlib compressed postscript image for printer (flatedecode).\n" "The printer has to understand postscript level 3!" msgstr "" @@ -1824,14 +2080,14 @@ msgid "" msgstr "" "Ak poÄĆtadlo sĆŗborov automaticky zvƤÄÅ”ovanĆ½, použitĆ© ÄĆsla sĆŗ preskoÄenĆ©" -#. DESC_SAVE_PS_FLATDECODED +#. DESC_SAVE_PS_FLATEDECODED msgid "" -"compress postscript image with zlib algorithm (flatdecode). When you want to " -"print such a file your printer has to understand postscript level 3" +"compress postscript image with zlib algorithm (flatedecode). When you want " +"to print such a file your printer has to understand postscript level 3" msgstr "" -#. DESC_SAVE_PDF_FLATDECODED -msgid "compress PDF image with zlib algorithm (flatdecode)." +#. DESC_SAVE_PDF_FLATEDECODED +msgid "compress PDF image with zlib algorithm (flatedecode)." msgstr "" #. DESC_SAVE_PNM16_AS_ASCII @@ -1847,7 +2103,9 @@ msgstr "" "poÄtom programov, ale vytvĆ”ra skutoÄne veľkĆ© sĆŗbory!!!" #. DESC_REDUCE_16BIT_TO_8BIT -msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +#, fuzzy +msgid "" +"If scanner sends image with 16 bits/channel save image with 8 bits/channel" msgstr "" "Ak skener poÅ”le farebnĆ½ 16 bitovĆ½ obrĆ”zok, zapĆsaÅ„ obrĆ”zok v bitoch/farbu" @@ -1880,7 +2138,8 @@ msgstr "" "veľkosÅ„ou" #. DESC_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable preview gamma when XSane runs as gimp plugin" +#, fuzzy +msgid "Disable preview gamma when XSane runs as GIMP plugin" msgstr "ZakĆ”zaÅ„ gama nĆ”hľad, keÄ je XSane spustenĆ© ako GIMP modul" #. DESC_PREVIEW_COLORMAP @@ -1975,6 +2234,15 @@ msgstr "Nastavenie skenovanej oblasti po dokonÄenĆ nĆ”hľadu" msgid "Do color correction after preview scan has finished" msgstr "Vykonanie farebnej korekcie po dokonÄenĆ nĆ”hľadu" +#. DESC_RENDERING_INTENT +#, fuzzy +msgid "Select rendering intent for preview and saving" +msgstr "Nastavenie skenovanej oblasti po dokonÄenĆ nĆ”hľadu" + +#. DESC_CMS_BPC +msgid "Apply black point compensation when color transformation is done" +msgstr "" + #. DESC_FAX_COMMAND msgid "Enter command to be executed in fax mode" msgstr "Nastavenie prĆkazu spĆŗŔńanĆ©ho vo faxovom režime" @@ -2003,8 +2271,8 @@ msgstr "Nastavenie prĆkazu k zobrazeniu faxu" msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" msgstr "PoslaÅ„ fax s vysokĆ½m zvislĆ½m rozlĆÅ”enĆm (196 lpi namiesto 98 lpi)" -#. DESC_FAX_PS_FLATDECODED -msgid "Create zlib compressed postscript image for fax (flatdecode)" +#. DESC_FAX_PS_FLATEDECODED +msgid "Create zlib compressed postscript image for fax (flatedecode)" msgstr "" #. DESC_SMTP_SERVER @@ -2088,9 +2356,10 @@ msgstr "ÄĆtanie" msgid "write" msgstr "zĆ”pis" -#. DESC_PERMISSION_EXECUTE -msgid "execute" -msgstr "spustenie" +#. DESC_PERMISSION_SEARCH +#, fuzzy +msgid "search" +msgstr "použĆvateľ" #. DESC_ADD_BATCH msgid "Add selection for batch scan" @@ -2263,6 +2532,36 @@ msgstr "ZmazaÅ„ zvolenĆŗ oblasÅ„ z dĆ”vkovĆ©ho zoznamu" msgid "Turns on automatic mode" msgstr "Zapne automatickĆ½ režim" +#. DESC_BUTTON_SCANNER_DEFAULT_COLOR_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default color ICM-profile" +msgstr "VyhľadaÅ„ nĆ”zov sĆŗboru" + +#. DESC_BUTTON_SCANNER_DEFAULT_GRAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default gray ICM-profile" +msgstr "VyhľadaÅ„ nĆ”zov sĆŗboru" + +#. DESC_BUTTON_DISPLAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for display ICM-profile" +msgstr "VyhľadaÅ„ nĆ”zov sĆŗboru" + +#. DESC_BUTTON_PRINTER_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for printer ICM-profile" +msgstr "VyhľadaÅ„ nĆ”zov sĆŗboru" + +#. DESC_BUTTON_CUSTOM_PROOFING_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for custom proofing ICM-profile" +msgstr "VyhľadaÅ„ nĆ”zov sĆŗboru" + +#. DESC_BUTTON_WORKING_COLOR_SPACE_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for working color space ICM-profile" +msgstr "VyhľadaÅ„ nĆ”zov sĆŗboru" + #. ERR_HOME_DIR msgid "Failed to determine home directory:" msgstr "Nepodarilo sa urÄiÅ„ domovskĆ½ prieÄinok:" @@ -2315,11 +2614,6 @@ msgstr "Chyba poÄas ukladania:" msgid "Can't handle depth" msgstr "Nie je možnĆ© spracovaÅ„ hÄŗbku" -#. ERR_GIMP_BAD_DEPTH -#, c-format -msgid "GIMP can't handle depth %d bits/color" -msgstr "GIMP nemĆ“Å¾e spracovaÅ„ hÄŗbku %d bitov/farbu" - #. ERR_UNKNOWN_SAVING_FORMAT msgid "Unknown file format for saving" msgstr "NeznĆ”my formĆ”t sĆŗboru pre ukladanie" @@ -2553,10 +2847,68 @@ msgstr "SĆŗbor %s nie je postscriptovĆ½ sĆŗbor" msgid "Unsupported %d-bit output format: %s" msgstr "NepodporovanĆ½ %d-bitovĆ½ vĆ½stupnĆ½ formĆ”t: %s" +#. ERR_CMS_CONVERSION +#, fuzzy +msgid "Error during CMS conversion:" +msgstr "Chyba poÄas ukladania:" + +#. ERR_CMS_OPEN_ICM_FILE +#, fuzzy +msgid "Could not open" +msgstr "Zlyhalo otvĆ”ranie" + +#. CMS_SCANNER_ICM +#, fuzzy +msgid "scanner ICM profile" +msgstr "ZmazaÅ„ tlaÄiareÅ" + +#. CMS_DISPLAY_ICM +#, fuzzy +msgid "display ICM profile" +msgstr "VyhľadaÅ„ nĆ”zov sĆŗboru" + +#. CMS_PROOF_ICM +#, fuzzy +msgid "proofing ICM profile" +msgstr "ZmazaÅ„ tlaÄiareÅ" + +#. ERR_CMS_CREATE_TRANSFORM +#, fuzzy +msgid "Could not create transform" +msgstr "Nie je možnĆ© vytvoriÅ„ doÄasnĆ½ sĆŗbor" + #. WARN_VIEWER_IMAGE_NOT_SAVED msgid "viewer image is not saved" msgstr "obrĆ”zok z prehliadaÄa nie je uloženĆ½" +#. FILE_FILTER_ALL_FILES +msgid "All files" +msgstr "" + +#. FILE_FILTER_IMAGES +#, fuzzy +msgid "Images" +msgstr "ObrĆ”zok" + +#. FILE_FILTER_XBL +#, fuzzy +msgid "XSane batch list" +msgstr "UložiÅ„ dĆ”vkovĆ½ zoznam" + +#. FILE_FILTER_ICM +msgid "ICC/ICM Profiles" +msgstr "" + +#. FILE_FILTER_DRC +#, fuzzy +msgid "XSane device preferences" +msgstr "UložiÅ„ nastavenie zariadenia pri ukonÄenĆ" + +#. FILE_FILTER_RC +#, fuzzy +msgid "XSane preferences" +msgstr "Nastavenia" + #. TEXT_USAGE msgid "Usage:" msgstr "Použitie:" @@ -2943,14 +3295,66 @@ msgstr "Mimo pamƤte" msgid "Access to resource has been denied" msgstr "PrĆstup k zdroju bol odmietnutĆ½" -#~ msgid "Could not create temporary file" -#~ msgstr "Nie je možnĆ© vytvoriÅ„ doÄasnĆ½ sĆŗbor" +#, fuzzy +#~ msgid "select scanner transmissive ICM-profile" +#~ msgstr "ZmazaÅ„ tlaÄiareÅ" + +#, fuzzy +#~ msgid "select scanner transmissive gray ICM-profile" +#~ msgstr "ZmazaÅ„ tlaÄiareÅ" -#~ msgid "Could not create temporary preview files" -#~ msgstr "Nie je možnĆ© vytvoriÅ„ doÄasnĆ© sĆŗbory pre nĆ”hľad" +#, fuzzy +#~ msgid "Scanner reflective ICM-profile" +#~ msgstr "ZmazaÅ„ tlaÄiareÅ" -#~ msgid "Could not create filenames for preview files" -#~ msgstr "Nie je možnĆ© vytvoriÅ„ nĆ”zvy sĆŗborov pre nĆ”hľad" +#, fuzzy +#~ msgid "Scanner reflective gray ICM-profile" +#~ msgstr "ZmazaÅ„ tlaÄiareÅ" + +#, fuzzy +#~ msgid "Scanner transmissive gray ICM-profile" +#~ msgstr "ZmazaÅ„ tlaÄiareÅ" + +#, fuzzy +#~ msgid "Scanner reflektive ICM-profile" +#~ msgstr "ZmazaÅ„ tlaÄiareÅ" + +#, fuzzy +#~ msgid "Browse for scanner transmissive ICM-profile" +#~ msgstr "VyhľadaÅ„ nĆ”zov sĆŗboru" + +#, fuzzy +#~ msgid "Browse for scanner transmissive gray ICM-profile" +#~ msgstr "VyhľadaÅ„ nĆ”zov sĆŗboru" + +#~ msgid "GIMP can't handle depth %d bits/color" +#~ msgstr "GIMP nemĆ“Å¾e spracovaÅ„ hÄŗbku %d bitov/farbu" + +#, fuzzy +#~ msgid "scanner reflective ICM profile" +#~ msgstr "ZmazaÅ„ tlaÄiareÅ" + +#, fuzzy +#~ msgid "Embed scanner/source ICM profile for GIMP" +#~ msgstr "ZmazaÅ„ tlaÄiareÅ" + +#~ msgid "Enter name of fax project" +#~ msgstr "Vložte nĆ”zov faxovĆ©ho projektu" + +#, fuzzy +#~ msgid "Enter name of e-mail project" +#~ msgstr "Vložte nĆ”zov poÅ”tovĆ©ho projektu" + +#, fuzzy +#~ msgid "Enter name of multipage project" +#~ msgstr "Vložte nĆ”zov poÅ”tovĆ©ho projektu" + +#~ msgid "" +#~ "Gimp does not support depth 16 bits/color.\n" +#~ "Do you want to reduce the depth to 8 bits/color?" +#~ msgstr "" +#~ "GIMP nepodporuje hÄŗbku 16 bitov/farba.\n" +#~ "Prajete si redukciu hÄŗbky na 8 bitov/farba?" #, fuzzy #~ msgid "POP3 authentication" @@ -3012,9 +3416,6 @@ msgstr "PrĆstup k zdroju bol odmietnutĆ½" #~ msgid "Multipage saving aborted" #~ msgstr "E-mailovĆ½ projekt vytvorenĆ½" -#~ msgid "Image" -#~ msgstr "ObrĆ”zok" - #~ msgid "Viewer (png):" #~ msgstr "PrehliadaÄ (png):" @@ -8,7 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: xsane\n" -"POT-Creation-Date: 2006-01-07 00:26+0100\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-25 23:44+0100\n" "PO-Revision-Date: 2006-01-02 17:48+0100\n" "Last-Translator: DuÅ”an VejnoviÄ <dusan@vejnovic.com>\n" "Language-Team: slovenÅ”Äina <sl@li.org>\n" @@ -36,6 +37,7 @@ msgid "About" msgstr "O programu" #. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +#. MENU_ITEM_ABOUT_TRANSLATION msgid "About translation" msgstr "O prevodu" @@ -75,6 +77,11 @@ msgstr "preimenuj paketno podroÄje" msgid "fax project" msgstr "faks projekt" +#. WINDOW_FAX_PROJECT_BROWSE +#, fuzzy +msgid "browse for fax project" +msgstr "Vnesite ime projekta za faks" + #. WINDOW_FAX_RENAME msgid "rename fax page" msgstr "preimenuj stran s faksom" @@ -87,6 +94,11 @@ msgstr "vstavi ps-datoteko v faks" msgid "E-mail project" msgstr "E-poÅ”tni projekt" +#. WINDOW_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "browse for email project" +msgstr "Vnesite ime projekta za e-poÅ”to" + #. WINDOW_EMAIL_RENAME msgid "rename e-mail image" msgstr "preimenuj e-poÅ”tno sliko" @@ -99,6 +111,11 @@ msgstr "vstavi datoteko v e-poÅ”to" msgid "multipage project" msgstr "veÄstranski projekt" +#. WINDOW_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "browse for multipage project" +msgstr "veÄstranski projekt" + #. WINDOW_PRESET_AREA_RENAME msgid "rename preset area" msgstr "preimenuj prednastavljeno obmoÄje" @@ -144,6 +161,7 @@ msgid "Preview" msgstr "Predogled" #. WINDOW_VIEWER +#. MENU_ITEM_VIEWER msgid "Viewer" msgstr "Pregledovalnik" @@ -176,14 +194,17 @@ msgid "select temporary directory" msgstr "izberi zaÄasni imenik" #. WINDOW_SCALE +#. DESC_VIEWER_SCALE msgid "Scale image" msgstr "Skaliraj sliko" #. WINDOW_DESPECKLE +#. DESC_VIEWER_DESPECKLE msgid "Despeckle image" msgstr "Odstrani packe iz slike" #. WINDOW_BLUR +#. DESC_VIEWER_BLUR msgid "Blur image" msgstr "Zamegli sliko" @@ -195,6 +216,35 @@ msgstr "Shrani izbiro medija" msgid "No devices available" msgstr "Na voljo ni nobene naprave" +#. WINDOW_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "select scanner default color ICM-profile" +msgstr "Odstrani tiskalnik" + +#. WINDOW_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "select scanner default gray ICM-profile" +msgstr "Odstrani tiskalnik" + +#. WINDOW_DISPLAY_ICM_PROFILE +msgid "select display ICM-profile" +msgstr "" + +#. WINDOW_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "select custom proofing ICM-profile" +msgstr "izberi ime izhodne datoteke" + +#. WINDOW_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "select working color space ICM-profile" +msgstr "Odstrani tiskalnik" + +#. WINDOW_PRINTER_ICM_PROFILE +#, fuzzy +msgid "select printer ICM-profile" +msgstr "Odstrani tiskalnik" + #. MENU_FILE msgid "File" msgstr "Datoteka" @@ -212,6 +262,7 @@ msgid "Window" msgstr "Okno" #. MENU_HELP +#. BUTTON_HELP msgid "Help" msgstr "PomoÄ" @@ -227,6 +278,11 @@ msgstr "Filtri" msgid "Geometry" msgstr "Goemetrija" +#. MENU_COLOR_MANAGEMENT +#. NOTEBOOK_COLOR_MANAGEMENT_OPTIONS +msgid "Color management" +msgstr "" + #. MENU_ITEM_ABOUT_XSANE msgid "About XSane" msgstr "O programu XSane" @@ -240,6 +296,7 @@ msgid "Quit" msgstr "Izhod" #. MENU_ITEM_SAVE_IMAGE +#. DESC_VIEWER_SAVE msgid "Save image" msgstr "Shrani slika" @@ -256,6 +313,7 @@ msgid "Scale" msgstr "Skaliraj" #. MENU_ITEM_CLOSE +#. BUTTON_CLOSE msgid "Close" msgstr "Zapri" @@ -447,11 +505,11 @@ msgstr "PrepiÅ”i opozorilo" msgid "Skip existing filenames" msgstr "PreskoÄi obstojeÄa imena datotek" -#. RADIO_BUTTON_SAVE_PS_FLATDECODED +#. RADIO_BUTTON_SAVE_PS_FLATEDECODED msgid "Save postscript zlib compressed (ps level 3)" msgstr "Shrani postscript stisnjen z zlib (ps stopnja 3)" -#. RADIO_BUTTON_SAVE_PDF_FLATDECODED +#. RADIO_BUTTON_SAVE_PDF_FLATEDECODED msgid "Save PDF zlib compressed" msgstr "Shrani PDF stisnjen z zlib" @@ -468,7 +526,8 @@ msgid "Main window size fixed" msgstr "Fiksiraj velikost glavnega okna" #. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable gimp preview gamma" +#, fuzzy +msgid "Disable GIMP preview gamma" msgstr "OnemogoÄi faktor gama pri predogledu v gimpu" #. RADIO_BUTTON_PRIVATE_COLORMAP @@ -491,6 +550,11 @@ msgstr "Avtomatska korekcija barv" msgid "Use GUI progress pipe" msgstr "Uporabi GUI cevovod napredka" +#. RADIO_BUTTON_CMS_BPC +#. MENU_ITEM_CMS_BLACK_POINT_COMPENSATION +msgid "Black point compensation" +msgstr "" + #. TEXT_SCANNING_DEVICES msgid "scanning for devices" msgstr "iskanje naprav" @@ -507,6 +571,12 @@ msgstr "Izbire XSane" msgid "Type" msgstr "Tip" +#. TEXT_CMS_FUNCTION +#. DESC_CMS_FUNCTION +#, fuzzy +msgid "Color management function" +msgstr "Celotno barvno obmoÄje" + #. TEXT_SCANNER_BACKEND msgid "Scanner and backend:" msgstr "Skener in program ozadju:" @@ -579,18 +649,11 @@ msgstr "8-bitni izhodni formati:" msgid "16 bit output formats:" msgstr "16-bitni izhodni formati:" -#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT -msgid "" -"Gimp does not support depth 16 bits/color.\n" -"Do you want to reduce the depth to 8 bits/color?" -msgstr "" -"Gimp ne podpira 16 bitno barvno globino.<br>Ali želite zmanjÅ”ati barvno " -"globino na 8 bitov?" - #. TEXT_REDUCE_16BIT_TO_8BIT +#, fuzzy msgid "" -"Bit depth 16 bits/color is not supported for this output format.\n" -"Do you want to reduce the depth to 8 bits/color?" +"Bit depth 16 bits/channel is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/channel?" msgstr "" "16 bitna barvna globina ni podprta za ta izhodni format.<br>Ali želite " "zmanjÅ”ati barvno globino na 8 bitov?" @@ -627,6 +690,11 @@ msgstr "razliÄica:" msgid "package" msgstr "paket" +#. TEXT_WITH_CMS_FUNCTION +#, fuzzy +msgid "with color management function" +msgstr "Celotno barvno obmoÄje" + #. TEXT_WITH_GIMP_SUPPORT msgid "with GIMP support" msgstr "s podporo za GIMP" @@ -757,9 +825,10 @@ msgid "Medium Name:" msgstr "Ime mdeija:" #. TEXT_VIEWER_IMAGE_INFO -#, c-format +#, fuzzy, c-format msgid "" -"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +"Size %d x %d pixel, %d bits/channel, %d channels, %1.0f dpi x %1.0f dpi, %" +"1.1f %s" msgstr "" "Velikost %d x %d pikslov, %d bitov/barvo, %d barv, %1.0f dpi x %1.0f dpi, %" "1.1f %s" @@ -813,6 +882,7 @@ msgid "Name:" msgstr "Ime:" #. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +#. TEXT_SETUP_FAX_COMMAND msgid "Command:" msgstr "Ukaz:" @@ -833,18 +903,22 @@ msgid "Color resolution (dpi):" msgstr "Barvna loÄljivost (dpi):" #. TEXT_SETUP_PRINTER_WIDTH +#. TEXT_SETUP_FAX_WIDTH msgid "Width" msgstr "Å irina" #. TEXT_SETUP_PRINTER_HEIGHT +#. TEXT_SETUP_FAX_HEIGHT msgid "Height" msgstr "ViÅ”ina" #. TEXT_SETUP_PRINTER_LEFT +#. TEXT_SETUP_FAX_LEFT msgid "Left offset" msgstr "Levi odmik" #. TEXT_SETUP_PRINTER_BOTTOM +#. TEXT_SETUP_FAX_BOTTOM msgid "Bottom offset" msgstr "Odmik spodaj" @@ -864,7 +938,17 @@ msgstr "Gama zelena za tiskalnik:" msgid "Printer gamma blue:" msgstr "Gama modra za tiskalnik:" -#. TEXT_SETUP_PRINTER_PS_FLATDECODED +#. TEXT_SETUP_PRINTER_EMBED_CSA +#, fuzzy +msgid "Embed scanner ICM profile as CSA" +msgstr "Odstrani tiskalnik" + +#. TEXT_SETUP_PRINTER_EMBED_CRD +#, fuzzy +msgid "Embed printer ICM profile as CRD" +msgstr "Odstrani tiskalnik" + +#. TEXT_SETUP_PRINTER_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for printing" msgstr "Ustvari stisnjeno postscriptno sliko z zlib (ps stopnja 3) za tiskanje" @@ -988,7 +1072,7 @@ msgstr "Nastavi privzete nastavitve programa za:" msgid "Viewer (Postscript):" msgstr "Ogledovalnik (postscript):" -#. TEXT_SETUP_FAX_PS_FLATDECODED +#. TEXT_SETUP_FAX_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for fax" msgstr "Ustvari stisnjeno postscriptno sliko z zlib (ps stopnja 3) za faks" @@ -1064,10 +1148,45 @@ msgstr "skupina" msgid "all" msgstr "vsi" +#. TEXT_SETUP_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "Scanner default color ICM-profile" +msgstr "Odstrani tiskalnik" + +#. TEXT_SETUP_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "Scanner default gray ICM-profile" +msgstr "Odstrani tiskalnik" + +#. TEXT_SETUP_DISPLAY_ICM_PROFILE +#. DESC_DISPLAY_ICM_PROFILE +msgid "Display ICM-profile" +msgstr "" + +#. TEXT_SETUP_CUSTOM_PROOFING_ICM_PROFILE +#. DESC_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "Custom proofing ICM-profile" +msgstr "Odstrani tiskalnik" + +#. TEXT_SETUP_WORKING_COLOR_SPACE_ICM_PROFILE +#. DESC_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "Working color space ICM-profile" +msgstr "IÅ”Äi slike po imenih datotek" + +#. TEXT_SETUP_PRINTER_ICM_PROFILE +#. DESC_PRINTER_ICM_PROFILE +msgid "Printer ICM-profile" +msgstr "" + msgid "new media" msgstr "novi medij" #. NOTEBOOK_SAVING_OPTIONS +#. MENU_ITEM_SAVE msgid "Save" msgstr "Shrani" @@ -1076,14 +1195,17 @@ msgid "Filetype" msgstr "Tip datoteke" #. NOTEBOOK_COPY_OPTIONS +#. MENU_ITEM_COPY msgid "Copy" msgstr "Kopiraj" #. NOTEBOOK_FAX_OPTIONS +#. MENU_ITEM_FAX msgid "Fax" msgstr "Faks" #. NOTEBOOK_EMAIL_OPTIONS +#. MENU_ITEM_EMAIL msgid "E-mail" msgstr "E-poÅ”ta:" @@ -1175,6 +1297,12 @@ msgstr "Prikaži seznam loÄljivosti" msgid "Rotate postscript" msgstr "Rotiraj postscript" +#. MENU_ITEM_ENABLE_COLOR_MANAGEMENT +#. MENU_ITEM_CMS_ENABLE_COLOR_MANAGEMENT +#, fuzzy +msgid "Enable color management" +msgstr "Celotno barvno obmoÄje" + #. MENU_ITEM_EDIT_MEDIUM_DEF msgid "Edit medium definition" msgstr "Uredi izbire za medij" @@ -1219,6 +1347,86 @@ msgstr "Namigi za skeniranje" msgid "Problems?" msgstr "Težave?" +#. MENU_ITEM_CMS_PROOFING +#, fuzzy +msgid "Proofing" +msgstr "Dodaj tiskalnik" + +#. SUBMENU_ITEM_CMS_PROOF_OFF +msgid "no proofing (Display)" +msgstr "" + +#. SUBMENU_ITEM_CMS_PROOF_PRINTER +#, fuzzy +msgid "Proof printer" +msgstr "Dodaj tiskalnik" + +#. SUBMENU_ITEM_CMS_PROOF_CUSTOM +msgid "Proof custom device" +msgstr "" + +#. MENU_ITEM_CMS_RENDERING_INTENT +#, fuzzy +msgid "Rendering intent" +msgstr "Dodaj tiskalnik" + +#. MENU_ITEM_CMS_PROOFING_INTENT +#, fuzzy +msgid "Proofing rendering intent" +msgstr "Dodaj tiskalnik" + +#. SUBMENU_ITEM_CMS_INTENT_PERCEPTUAL +msgid "Perceptual" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_RELATIVE_COLORIMETRIC +msgid "Relative colorimetric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_ABSOLUTE_COLORIMETRIC +msgid "Absolute colorimentric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_SATURATION +#, fuzzy +msgid "Saturation" +msgstr "avtorizacija" + +#. MENU_ITEM_CMS_GAMUT_CHECK +msgid "Gamut check" +msgstr "" + +#. MENU_ITEM_CMS_GAMUT_ALARM_COLOR +msgid "Gamut alarm color" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLACK +msgid "Black" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_GRAY +msgid "Gray" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_WHITE +#, fuzzy +msgid "White" +msgstr "zapiÅ”i" + +#. SUBMENU_ITEM_CMS_COLOR_RED +#, fuzzy +msgid "Red" +msgstr "ZmanjÅ”aj" + +#. SUBMENU_ITEM_CMS_COLOR_GREEN +msgid "Green" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLUE +#, fuzzy +msgid "Blue" +msgstr "Zamegli" + #. MENU_ITEM_COUNTER_LEN_INACTIVE msgid "inactive" msgstr "nedejaven" @@ -1335,6 +1543,20 @@ msgstr "ASMTP prijava" msgid "ASMTP CRAM-MD5" msgstr "ASMTP CRAM-MD5" +#. MENU_ITEM_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE +#, fuzzy +msgid "Embed scanner ICM profile" +msgstr "Odstrani tiskalnik" + +#. MENU_ITEM_CMS_FUNCTION_CONVERT_TO_SRGB +msgid "Convert to sRGB" +msgstr "" + +#. MENU_ITEM_FUNCTION_CONVERT_TO_WORKING_CS +#, fuzzy +msgid "Convert to working color space" +msgstr "Avtomatska korekcija barv" + #. PROGRESS_SCANNING msgid "Scanning" msgstr "Skeniram" @@ -1392,6 +1614,11 @@ msgstr "Zamegli sliko" msgid "OCR in progress" msgstr "OCR napredek" +#. PROGRESS_ICM_CONVERSION +#, fuzzy +msgid "converting colors" +msgstr "Avtomatska korekcija barv" + #. DESC_SCAN_START msgid "Start scan <Ctrl-Enter>" msgstr "ZaÄni skeniranje <Ctrl-Enter>" @@ -1451,8 +1678,9 @@ msgstr "" "konÄnico" #. DESC_FAXPROJECT -msgid "Enter name of fax project" -msgstr "Vnesite ime projekta za faks" +#, fuzzy +msgid "Enter fax project directory name" +msgstr "Prebrskaj zaÄasni imenik" #. DESC_FAXPAGENAME msgid "Enter new name for faxpage" @@ -1462,9 +1690,15 @@ msgstr "Vnesite novo ime za stran s faksom" msgid "Enter receiver phone number or address" msgstr "Vnesite telefonsko Å”tevilko ali naslov prejemnika" +#. DESC_FAX_PROJECT_BROWSE +#, fuzzy +msgid "Browse for fax project directory" +msgstr "Prebrskaj zaÄasni imenik" + #. DESC_EMAIL_PROJECT -msgid "Enter name of e-mail project" -msgstr "Vnesite ime projekta za e-poÅ”to" +#, fuzzy +msgid "Enter e-mail project directory name" +msgstr "Prebrskaj zaÄasni imenik" #. DESC_EMAIL_IMAGENAME msgid "Enter new name for e-mail image" @@ -1474,6 +1708,11 @@ msgstr "Vnesite novo ime za sliko e-poÅ”te" msgid "Enter e-mail address" msgstr "Vnesite naslov e-poÅ”te" +#. DESC_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "Browse for email project directory" +msgstr "Prebrskaj zaÄasni imenik" + #. DESC_EMAIL_SUBJECT msgid "Enter subject of e-mail" msgstr "Vnesite zadevo e-poÅ”te" @@ -1483,8 +1722,14 @@ msgid "Select filetype for image attachments" msgstr "Izberite tip datoteke za priponko slike" #. DESC_MULTIPAGE_PROJECT -msgid "Enter name of multipage project" -msgstr "Vnesite ime veÄstranskega projekta" +#, fuzzy +msgid "Enter multipage project directory name" +msgstr "Prebrskaj zaÄasni imenik" + +#. DESC_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "Browse for multipage project directory" +msgstr "Prebrskaj zaÄasni imenik" #. DESC_MULTIPAGE_FILETYPE msgid "Select filetype for multipage file" @@ -1609,7 +1854,8 @@ msgstr "" " kontrast = 0" #. DESC_ENH_AUTO -msgid "Autoadjust gamma, brightness and contrast <Ctrl-e>" +#, fuzzy +msgid "Autoadjust gamma, brightness and contrast <Ctrl-a>" msgstr "Samonastavi vrednost gama, svetlost in kontrasta <Ctrl-e>" #. DESC_ENH_DEFAULT @@ -1688,18 +1934,22 @@ msgid "Resolution with which color images are printed and saved in postscript" msgstr "LoÄljivost, v kateri natisnemo in shranimo barvne slike v postskriptu" #. DESC_PRINTER_WIDTH +#. DESC_FAX_WIDTH msgid "Width of printable area" msgstr "Å irina obmoÄja za tiskanje" #. DESC_PRINTER_HEIGHT +#. DESC_FAX_HEIGHT msgid "Height of printable area" msgstr "ViÅ”ina obmoÄja za tiskanje" #. DESC_PRINTER_LEFTOFFSET +#. DESC_FAX_LEFTOFFSET msgid "Left offset from the edge of the paper to the printable area" msgstr "Razdalja od levega roba papirja do obmoÄja za tiskanje" #. DESC_PRINTER_BOTTOMOFFSET +#. DESC_FAX_BOTTOMOFFSET msgid "Bottom offset from the edge of the paper to the printable area" msgstr "Razdalja od spodnjega roba papirja do obmoÄja za tiskanje" @@ -1719,9 +1969,18 @@ msgstr "Dodatna vrednost gama za zeleno komponento pri fotokopiranju" msgid "Additional gamma value for blue component for photocopy" msgstr "Dodatna vrednost gama za modro komponento pri fotokopiranju" -#. DESC_PRINTER_PS_FLATDECODED +#. DESC_PRINTER_EMBED_CSA +msgid "Creates a postsciptfile that contains the ICM profile of the scanner" +msgstr "" + +#. DESC_PRINTER_EMBED_CRD +msgid "Creates a postsciptfile that contains the ICM profile of the printer" +msgstr "" + +#. DESC_PRINTER_PS_FLATEDECODED +#, fuzzy msgid "" -"Create zlib compressed postscript image for printer (flatdecode).\n" +"Create zlib compressed postscript image for printer (flatedecode).\n" "The printer has to understand postscript level 3!" msgstr "" "Ustvari stisnjeno postscriptno sliko z zlib za tiskalnik.\n" @@ -1781,16 +2040,18 @@ msgstr "" "Äe je Å”tevec imena datoteke samodejno poveÄan, se uporabljene Å”tevilke " "preskoÄijo" -#. DESC_SAVE_PS_FLATDECODED +#. DESC_SAVE_PS_FLATEDECODED +#, fuzzy msgid "" -"compress postscript image with zlib algorithm (flatdecode). When you want to " -"print such a file your printer has to understand postscript level 3" +"compress postscript image with zlib algorithm (flatedecode). When you want " +"to print such a file your printer has to understand postscript level 3" msgstr "" "stiskanje postscriptne slike z zlib algoritmom. Äe želite tiskati takÅ”no " "datoteko, mora vaÅ” tiskalnik razumeti postscript stopnjo 3" -#. DESC_SAVE_PDF_FLATDECODED -msgid "compress PDF image with zlib algorithm (flatdecode)." +#. DESC_SAVE_PDF_FLATEDECODED +#, fuzzy +msgid "compress PDF image with zlib algorithm (flatedecode)." msgstr "stiskanje PDFslike z zlib algoritmom." #. DESC_SAVE_PNM16_AS_ASCII @@ -1806,7 +2067,9 @@ msgstr "" "zelo velika datoteka!!!" #. DESC_REDUCE_16BIT_TO_8BIT -msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +#, fuzzy +msgid "" +"If scanner sends image with 16 bits/channel save image with 8 bits/channel" msgstr "Äe skener poÅ”ilja sliko z 16 bitov/barvo, shrani sliko z 8 bitov/barvo" #. DESC_PSFILE_WIDTH @@ -1836,7 +2099,8 @@ msgid "Use fixed main window size or scrolled, resizable main window" msgstr "Uporabi glavno okno s stalno ali spremenljivo velikostjo." #. DESC_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable preview gamma when XSane runs as gimp plugin" +#, fuzzy +msgid "Disable preview gamma when XSane runs as GIMP plugin" msgstr "OnemogoÄi predogled gama, ko X Sane teÄe kot vstavek za gimp" #. DESC_PREVIEW_COLORMAP @@ -1931,6 +2195,15 @@ msgstr "Izberi podroÄje skeniranja, potem ko je predogled skeniranja zakljuÄen msgid "Do color correction after preview scan has finished" msgstr "Izvedi korekcijo barv, potem ko je predogled skeniranja zakljuÄen" +#. DESC_RENDERING_INTENT +#, fuzzy +msgid "Select rendering intent for preview and saving" +msgstr "Izberi podroÄje skeniranja, potem ko je predogled skeniranja zakljuÄen" + +#. DESC_CMS_BPC +msgid "Apply black point compensation when color transformation is done" +msgstr "" + #. DESC_FAX_COMMAND msgid "Enter command to be executed in fax mode" msgstr "Podajte ukaz, ki naj bo izveden v faks naÄinu" @@ -1959,8 +2232,9 @@ msgstr "Podajte ukaz, ki naj bo izveden za prikaz faksa" msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" msgstr "PoÅ”lji faks z visoko vertikalno loÄljivostjo (196 lpi namesto 98 lpi)" -#. DESC_FAX_PS_FLATDECODED -msgid "Create zlib compressed postscript image for fax (flatdecode)" +#. DESC_FAX_PS_FLATEDECODED +#, fuzzy +msgid "Create zlib compressed postscript image for fax (flatedecode)" msgstr "Ustvari stisnjeno postscriptno sliko z zlib za faks" #. DESC_SMTP_SERVER @@ -2037,9 +2311,10 @@ msgstr "preberi" msgid "write" msgstr "zapiÅ”i" -#. DESC_PERMISSION_EXECUTE -msgid "execute" -msgstr "izvedi" +#. DESC_PERMISSION_SEARCH +#, fuzzy +msgid "search" +msgstr "uporabnik" #. DESC_ADD_BATCH msgid "Add selection for batch scan" @@ -2208,6 +2483,36 @@ msgstr "IzbriÅ”i izbrani predogled iz paketnega seznama" msgid "Turns on automatic mode" msgstr "VkljuÄi avtomatski naÄin" +#. DESC_BUTTON_SCANNER_DEFAULT_COLOR_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default color ICM-profile" +msgstr "IÅ”Äi slike po imenih datotek" + +#. DESC_BUTTON_SCANNER_DEFAULT_GRAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default gray ICM-profile" +msgstr "IÅ”Äi slike po imenih datotek" + +#. DESC_BUTTON_DISPLAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for display ICM-profile" +msgstr "IÅ”Äi slike po imenih datotek" + +#. DESC_BUTTON_PRINTER_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for printer ICM-profile" +msgstr "IÅ”Äi slike po imenih datotek" + +#. DESC_BUTTON_CUSTOM_PROOFING_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for custom proofing ICM-profile" +msgstr "IÅ”Äi slike po imenih datotek" + +#. DESC_BUTTON_WORKING_COLOR_SPACE_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for working color space ICM-profile" +msgstr "IÅ”Äi slike po imenih datotek" + #. ERR_HOME_DIR msgid "Failed to determine home directory:" msgstr "Napaka pri doloÄitvi domaÄega imenika:" @@ -2260,11 +2565,6 @@ msgstr "Napaka pri shranjevanju:" msgid "Can't handle depth" msgstr "Napaka pri ravnanju z globino" -#. ERR_GIMP_BAD_DEPTH -#, c-format -msgid "GIMP can't handle depth %d bits/color" -msgstr "GIMP ne more ravnati z globino %d bitov/barvo" - #. ERR_UNKNOWN_SAVING_FORMAT msgid "Unknown file format for saving" msgstr "Neznan datoteÄni format za shranjevanje" @@ -2497,10 +2797,68 @@ msgstr "Datoteka %s ni postscript datoteka" msgid "Unsupported %d-bit output format: %s" msgstr "Nepodprti %d-bitni izhodni format zapisa: %s" +#. ERR_CMS_CONVERSION +#, fuzzy +msgid "Error during CMS conversion:" +msgstr "Napaka pri shranjevanju:" + +#. ERR_CMS_OPEN_ICM_FILE +#, fuzzy +msgid "Could not open" +msgstr "Napaka pri odpiranju" + +#. CMS_SCANNER_ICM +#, fuzzy +msgid "scanner ICM profile" +msgstr "Odstrani tiskalnik" + +#. CMS_DISPLAY_ICM +#, fuzzy +msgid "display ICM profile" +msgstr "IÅ”Äi slike po imenih datotek" + +#. CMS_PROOF_ICM +#, fuzzy +msgid "proofing ICM profile" +msgstr "Odstrani tiskalnik" + +#. ERR_CMS_CREATE_TRANSFORM +#, fuzzy +msgid "Could not create transform" +msgstr "Ne morem ustvariti zaÄasno datoteko" + #. WARN_VIEWER_IMAGE_NOT_SAVED msgid "viewer image is not saved" msgstr "slika predogleda ni shranjena" +#. FILE_FILTER_ALL_FILES +msgid "All files" +msgstr "" + +#. FILE_FILTER_IMAGES +#, fuzzy +msgid "Images" +msgstr "Strani:" + +#. FILE_FILTER_XBL +#, fuzzy +msgid "XSane batch list" +msgstr "Shrani paketni seznam" + +#. FILE_FILTER_ICM +msgid "ICC/ICM Profiles" +msgstr "" + +#. FILE_FILTER_DRC +#, fuzzy +msgid "XSane device preferences" +msgstr "Shrani nastavitve naprave ob izhodu" + +#. FILE_FILTER_RC +#, fuzzy +msgid "XSane preferences" +msgstr "Nastavitve" + #. TEXT_USAGE msgid "Usage:" msgstr "Uporaba:" @@ -2874,11 +3232,61 @@ msgstr "Zmanjkalo je pomnilnika" msgid "Access to resource has been denied" msgstr "Dostop do vira je bil zavrnjen" -#~ msgid "Could not create temporary file" -#~ msgstr "Ne morem ustvariti zaÄasno datoteko" +#, fuzzy +#~ msgid "select scanner transmissive ICM-profile" +#~ msgstr "Odstrani tiskalnik" + +#, fuzzy +#~ msgid "select scanner transmissive gray ICM-profile" +#~ msgstr "Odstrani tiskalnik" + +#, fuzzy +#~ msgid "Scanner reflective ICM-profile" +#~ msgstr "Odstrani tiskalnik" + +#, fuzzy +#~ msgid "Scanner reflective gray ICM-profile" +#~ msgstr "Odstrani tiskalnik" + +#, fuzzy +#~ msgid "Scanner transmissive gray ICM-profile" +#~ msgstr "Odstrani tiskalnik" + +#, fuzzy +#~ msgid "Scanner reflektive ICM-profile" +#~ msgstr "Odstrani tiskalnik" + +#, fuzzy +#~ msgid "Browse for scanner transmissive ICM-profile" +#~ msgstr "IÅ”Äi slike po imenih datotek" + +#, fuzzy +#~ msgid "Browse for scanner transmissive gray ICM-profile" +#~ msgstr "IÅ”Äi slike po imenih datotek" + +#~ msgid "GIMP can't handle depth %d bits/color" +#~ msgstr "GIMP ne more ravnati z globino %d bitov/barvo" + +#, fuzzy +#~ msgid "scanner reflective ICM profile" +#~ msgstr "Odstrani tiskalnik" + +#, fuzzy +#~ msgid "Embed scanner/source ICM profile for GIMP" +#~ msgstr "Odstrani tiskalnik" + +#~ msgid "Enter name of fax project" +#~ msgstr "Vnesite ime projekta za faks" + +#~ msgid "Enter name of e-mail project" +#~ msgstr "Vnesite ime projekta za e-poÅ”to" -#~ msgid "Could not create temporary preview files" -#~ msgstr "Ne morem ustvariti zaÄasnih datotek predogleda" +#~ msgid "Enter name of multipage project" +#~ msgstr "Vnesite ime veÄstranskega projekta" -#~ msgid "Could not create filenames for preview files" -#~ msgstr "Ne morem ustvariti imen datotek za datoteke predogledov" +#~ msgid "" +#~ "Gimp does not support depth 16 bits/color.\n" +#~ "Do you want to reduce the depth to 8 bits/color?" +#~ msgstr "" +#~ "Gimp ne podpira 16 bitno barvno globino.<br>Ali želite zmanjÅ”ati barvno " +#~ "globino na 8 bitov?" Binary files differ@@ -6,7 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: XSANE 0.76\n" -"POT-Creation-Date: 2006-01-07 00:26+0100\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-25 23:44+0100\n" "PO-Revision-Date: 2002-01-17 00:47GMT\n" "Last-Translator: Rusmir DuÅ”ko <drusmir@gmx.ch>\n" "Language-Team: srpski <sr@li.org>\n" @@ -34,6 +35,7 @@ msgid "About" msgstr "O programu" #. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +#. MENU_ITEM_ABOUT_TRANSLATION msgid "About translation" msgstr "O prevodu" @@ -74,6 +76,11 @@ msgstr "IzbriÅ”i stranu" msgid "fax project" msgstr "Faks" +#. WINDOW_FAX_PROJECT_BROWSE +#, fuzzy +msgid "browse for fax project" +msgstr "Unesi ime projekta za faks" + #. WINDOW_FAX_RENAME msgid "rename fax page" msgstr "preimenuj stranu sa faksom" @@ -87,6 +94,11 @@ msgstr "unesi ps-fajl u faks" msgid "E-mail project" msgstr "e-poÅ”ta" +#. WINDOW_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "browse for email project" +msgstr "Unesi ime projekta za E-poÅ”tu" + #. WINDOW_EMAIL_RENAME #, fuzzy msgid "rename e-mail image" @@ -102,6 +114,11 @@ msgstr "unesi sliku u e-poÅ”tu" msgid "multipage project" msgstr "IzbriÅ”i projekat" +#. WINDOW_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "browse for multipage project" +msgstr "IzbriÅ”i projekat" + #. WINDOW_PRESET_AREA_RENAME msgid "rename preset area" msgstr "preimenuj prepodeÅ”avanja" @@ -150,6 +167,7 @@ msgid "Preview" msgstr "Pregled" #. WINDOW_VIEWER +#. MENU_ITEM_VIEWER msgid "Viewer" msgstr "PrikazivaÄ" @@ -182,14 +200,17 @@ msgid "select temporary directory" msgstr "Izaberi privremeni direktorijum" #. WINDOW_SCALE +#. DESC_VIEWER_SCALE msgid "Scale image" msgstr "Skaliraj sliku" #. WINDOW_DESPECKLE +#. DESC_VIEWER_DESPECKLE msgid "Despeckle image" msgstr "Odstrani fleke" #. WINDOW_BLUR +#. DESC_VIEWER_BLUR msgid "Blur image" msgstr "Zamagli sliku" @@ -203,6 +224,35 @@ msgstr "Preimenuj definiciju" msgid "No devices available" msgstr "Nijedan ureÄaj nije dostupan" +#. WINDOW_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "select scanner default color ICM-profile" +msgstr "Odstrani Å”tampaÄ" + +#. WINDOW_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "select scanner default gray ICM-profile" +msgstr "Odstrani Å”tampaÄ" + +#. WINDOW_DISPLAY_ICM_PROFILE +msgid "select display ICM-profile" +msgstr "" + +#. WINDOW_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "select custom proofing ICM-profile" +msgstr "Odredi izlazni naziv fajla" + +#. WINDOW_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "select working color space ICM-profile" +msgstr "Odstrani Å”tampaÄ" + +#. WINDOW_PRINTER_ICM_PROFILE +#, fuzzy +msgid "select printer ICM-profile" +msgstr "Odstrani Å”tampaÄ" + #. MENU_FILE msgid "File" msgstr "Fajl" @@ -220,6 +270,7 @@ msgid "Window" msgstr "" #. MENU_HELP +#. BUTTON_HELP msgid "Help" msgstr "PomoÄ" @@ -235,6 +286,11 @@ msgstr "Filteri" msgid "Geometry" msgstr "" +#. MENU_COLOR_MANAGEMENT +#. NOTEBOOK_COLOR_MANAGEMENT_OPTIONS +msgid "Color management" +msgstr "" + #. MENU_ITEM_ABOUT_XSANE msgid "About XSane" msgstr "O programu XSane" @@ -248,6 +304,7 @@ msgid "Quit" msgstr "Izlaz" #. MENU_ITEM_SAVE_IMAGE +#. DESC_VIEWER_SAVE msgid "Save image" msgstr "Zapamti sliku" @@ -264,6 +321,7 @@ msgid "Scale" msgstr "Promeni veliÄinu" #. MENU_ITEM_CLOSE +#. BUTTON_CLOSE msgid "Close" msgstr "Zatvori" @@ -465,11 +523,11 @@ msgstr "PrepiÅ”i upozorenje" msgid "Skip existing filenames" msgstr "PreskoÄi postojeÄe nazive fajli" -#. RADIO_BUTTON_SAVE_PS_FLATDECODED +#. RADIO_BUTTON_SAVE_PS_FLATEDECODED msgid "Save postscript zlib compressed (ps level 3)" msgstr "" -#. RADIO_BUTTON_SAVE_PDF_FLATDECODED +#. RADIO_BUTTON_SAVE_PDF_FLATEDECODED msgid "Save PDF zlib compressed" msgstr "" @@ -486,7 +544,8 @@ msgid "Main window size fixed" msgstr "VeliÄina glavnog prozora je postavljena" #. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable gimp preview gamma" +#, fuzzy +msgid "Disable GIMP preview gamma" msgstr "OnemoguÄi gama pri pregledu u gimpu" #. RADIO_BUTTON_PRIVATE_COLORMAP @@ -509,6 +568,11 @@ msgstr "Autokorektura boja" msgid "Use GUI progress pipe" msgstr "" +#. RADIO_BUTTON_CMS_BPC +#. MENU_ITEM_CMS_BLACK_POINT_COMPENSATION +msgid "Black point compensation" +msgstr "" + #. TEXT_SCANNING_DEVICES msgid "scanning for devices" msgstr "Skeniranje ureÄaja" @@ -525,6 +589,12 @@ msgstr "XSane opcije" msgid "Type" msgstr "Vrsta" +#. TEXT_CMS_FUNCTION +#. DESC_CMS_FUNCTION +#, fuzzy +msgid "Color management function" +msgstr "pun opseg" + #. TEXT_SCANNER_BACKEND msgid "Scanner and backend:" msgstr "Skener i backend" @@ -597,18 +667,11 @@ msgstr "8-bitni izlazni formati:" msgid "16 bit output formats:" msgstr "16-bitni izlazni formati:" -#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT -msgid "" -"Gimp does not support depth 16 bits/color.\n" -"Do you want to reduce the depth to 8 bits/color?" -msgstr "" -"Gimp ne podržava dubinu 16 bit-a u boji.\n" -"Da li želite da smanjite dubinu na 8 bit-a u boji?" - #. TEXT_REDUCE_16BIT_TO_8BIT +#, fuzzy msgid "" -"Bit depth 16 bits/color is not supported for this output format.\n" -"Do you want to reduce the depth to 8 bits/color?" +"Bit depth 16 bits/channel is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/channel?" msgstr "" "Dubina 16 bit-a u boji nije podržana za ovaj format.\n" "Da li želite da smanjite dubinu na 8 bit-a u boji?" @@ -645,6 +708,11 @@ msgstr "Verzija:" msgid "package" msgstr "paket" +#. TEXT_WITH_CMS_FUNCTION +#, fuzzy +msgid "with color management function" +msgstr "pun opseg" + #. TEXT_WITH_GIMP_SUPPORT msgid "with GIMP support" msgstr "sa podrÅ”kom GIMP-a" @@ -762,9 +830,10 @@ msgid "Medium Name:" msgstr "" #. TEXT_VIEWER_IMAGE_INFO -#, c-format +#, fuzzy, c-format msgid "" -"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +"Size %d x %d pixel, %d bits/channel, %d channels, %1.0f dpi x %1.0f dpi, %" +"1.1f %s" msgstr "" "VeliÄina %d x %d piksxel, %d bit/boji, %d boja, %1.0f dpi x %1.0f dpi, %1.1f " "%s" @@ -825,6 +894,7 @@ msgid "Name:" msgstr "Ime:" #. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +#. TEXT_SETUP_FAX_COMMAND msgid "Command:" msgstr "Komanda:" @@ -845,18 +915,22 @@ msgid "Color resolution (dpi):" msgstr "Rezolucija u boji (dpi):" #. TEXT_SETUP_PRINTER_WIDTH +#. TEXT_SETUP_FAX_WIDTH msgid "Width" msgstr "Å irina" #. TEXT_SETUP_PRINTER_HEIGHT +#. TEXT_SETUP_FAX_HEIGHT msgid "Height" msgstr "Visina" #. TEXT_SETUP_PRINTER_LEFT +#. TEXT_SETUP_FAX_LEFT msgid "Left offset" msgstr "Leva ivica" #. TEXT_SETUP_PRINTER_BOTTOM +#. TEXT_SETUP_FAX_BOTTOM msgid "Bottom offset" msgstr "Donja ivica" @@ -876,7 +950,17 @@ msgstr "Vrednost gama zelene boje za Å”tampaÄ:" msgid "Printer gamma blue:" msgstr "Vrednost gama plave boje za Å”tampaÄ:" -#. TEXT_SETUP_PRINTER_PS_FLATDECODED +#. TEXT_SETUP_PRINTER_EMBED_CSA +#, fuzzy +msgid "Embed scanner ICM profile as CSA" +msgstr "Odstrani Å”tampaÄ" + +#. TEXT_SETUP_PRINTER_EMBED_CRD +#, fuzzy +msgid "Embed printer ICM profile as CRD" +msgstr "Odstrani Å”tampaÄ" + +#. TEXT_SETUP_PRINTER_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for printing" msgstr "" @@ -1002,7 +1086,7 @@ msgstr "" msgid "Viewer (Postscript):" msgstr "PrikazivaÄ (postscript):" -#. TEXT_SETUP_FAX_PS_FLATDECODED +#. TEXT_SETUP_FAX_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for fax" msgstr "" @@ -1082,10 +1166,45 @@ msgstr "grupa" msgid "all" msgstr "svi" +#. TEXT_SETUP_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "Scanner default color ICM-profile" +msgstr "Odstrani Å”tampaÄ" + +#. TEXT_SETUP_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "Scanner default gray ICM-profile" +msgstr "Odstrani Å”tampaÄ" + +#. TEXT_SETUP_DISPLAY_ICM_PROFILE +#. DESC_DISPLAY_ICM_PROFILE +msgid "Display ICM-profile" +msgstr "" + +#. TEXT_SETUP_CUSTOM_PROOFING_ICM_PROFILE +#. DESC_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "Custom proofing ICM-profile" +msgstr "Odstrani Å”tampaÄ" + +#. TEXT_SETUP_WORKING_COLOR_SPACE_ICM_PROFILE +#. DESC_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "Working color space ICM-profile" +msgstr "Traži slike po nazivima fajla" + +#. TEXT_SETUP_PRINTER_ICM_PROFILE +#. DESC_PRINTER_ICM_PROFILE +msgid "Printer ICM-profile" +msgstr "" + msgid "new media" msgstr "" #. NOTEBOOK_SAVING_OPTIONS +#. MENU_ITEM_SAVE msgid "Save" msgstr "SaÄuvaj" @@ -1095,14 +1214,17 @@ msgid "Filetype" msgstr "Fajl" #. NOTEBOOK_COPY_OPTIONS +#. MENU_ITEM_COPY msgid "Copy" msgstr "Kopiraj" #. NOTEBOOK_FAX_OPTIONS +#. MENU_ITEM_FAX msgid "Fax" msgstr "Faks" #. NOTEBOOK_EMAIL_OPTIONS +#. MENU_ITEM_EMAIL #, fuzzy msgid "E-mail" msgstr "E-poÅ”ta:" @@ -1196,6 +1318,12 @@ msgstr "Prikaži listu rezolucija" msgid "Rotate postscript" msgstr "Rotiraj postscript" +#. MENU_ITEM_ENABLE_COLOR_MANAGEMENT +#. MENU_ITEM_CMS_ENABLE_COLOR_MANAGEMENT +#, fuzzy +msgid "Enable color management" +msgstr "pun opseg" + #. MENU_ITEM_EDIT_MEDIUM_DEF #, fuzzy msgid "Edit medium definition" @@ -1241,6 +1369,86 @@ msgstr "Saveti za skeniranje" msgid "Problems?" msgstr "Problemi?" +#. MENU_ITEM_CMS_PROOFING +#, fuzzy +msgid "Proofing" +msgstr "Dodaj Å”tampaÄ" + +#. SUBMENU_ITEM_CMS_PROOF_OFF +msgid "no proofing (Display)" +msgstr "" + +#. SUBMENU_ITEM_CMS_PROOF_PRINTER +#, fuzzy +msgid "Proof printer" +msgstr "Dodaj Å”tampaÄ" + +#. SUBMENU_ITEM_CMS_PROOF_CUSTOM +msgid "Proof custom device" +msgstr "" + +#. MENU_ITEM_CMS_RENDERING_INTENT +#, fuzzy +msgid "Rendering intent" +msgstr "Dodaj Å”tampaÄ" + +#. MENU_ITEM_CMS_PROOFING_INTENT +#, fuzzy +msgid "Proofing rendering intent" +msgstr "Dodaj Å”tampaÄ" + +#. SUBMENU_ITEM_CMS_INTENT_PERCEPTUAL +msgid "Perceptual" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_RELATIVE_COLORIMETRIC +msgid "Relative colorimetric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_ABSOLUTE_COLORIMETRIC +msgid "Absolute colorimentric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_SATURATION +#, fuzzy +msgid "Saturation" +msgstr "autorizacija" + +#. MENU_ITEM_CMS_GAMUT_CHECK +msgid "Gamut check" +msgstr "" + +#. MENU_ITEM_CMS_GAMUT_ALARM_COLOR +msgid "Gamut alarm color" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLACK +msgid "Black" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_GRAY +msgid "Gray" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_WHITE +#, fuzzy +msgid "White" +msgstr "pisati" + +#. SUBMENU_ITEM_CMS_COLOR_RED +#, fuzzy +msgid "Red" +msgstr "Smanji" + +#. SUBMENU_ITEM_CMS_COLOR_GREEN +msgid "Green" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLUE +#, fuzzy +msgid "Blue" +msgstr "zamagli" + #. MENU_ITEM_COUNTER_LEN_INACTIVE msgid "inactive" msgstr "neaktivno" @@ -1365,6 +1573,20 @@ msgstr "" msgid "ASMTP CRAM-MD5" msgstr "" +#. MENU_ITEM_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE +#, fuzzy +msgid "Embed scanner ICM profile" +msgstr "Odstrani Å”tampaÄ" + +#. MENU_ITEM_CMS_FUNCTION_CONVERT_TO_SRGB +msgid "Convert to sRGB" +msgstr "" + +#. MENU_ITEM_FUNCTION_CONVERT_TO_WORKING_CS +#, fuzzy +msgid "Convert to working color space" +msgstr "Autokorektura boja" + #. PROGRESS_SCANNING msgid "Scanning" msgstr "Skeniranje" @@ -1423,6 +1645,11 @@ msgstr "Zamagljavam sliku" msgid "OCR in progress" msgstr "" +#. PROGRESS_ICM_CONVERSION +#, fuzzy +msgid "converting colors" +msgstr "Autokorektura boja" + #. DESC_SCAN_START msgid "Start scan <Ctrl-Enter>" msgstr "Startaj skeniranje <Ctrl-Enter>" @@ -1474,8 +1701,9 @@ msgstr "" "NaÄin zapisa; odgovarajuÄi nastavak se automatski dodaje na naziv fajla" #. DESC_FAXPROJECT -msgid "Enter name of fax project" -msgstr "Unesi ime projekta za faks" +#, fuzzy +msgid "Enter fax project directory name" +msgstr "Pretraži privremeni direktorijum" #. DESC_FAXPAGENAME msgid "Enter new name for faxpage" @@ -1485,10 +1713,15 @@ msgstr "Unesi novo ime za stranu sa faksom" msgid "Enter receiver phone number or address" msgstr "Unesi telefonski broj ili adresu prijemnika" +#. DESC_FAX_PROJECT_BROWSE +#, fuzzy +msgid "Browse for fax project directory" +msgstr "Pretraži privremeni direktorijum" + #. DESC_EMAIL_PROJECT #, fuzzy -msgid "Enter name of e-mail project" -msgstr "Unesi ime projekta za E-poÅ”tu" +msgid "Enter e-mail project directory name" +msgstr "Pretraži privremeni direktorijum" #. DESC_EMAIL_IMAGENAME #, fuzzy @@ -1500,6 +1733,11 @@ msgstr "Unesi novo ime za sliku u E-poÅ”ti" msgid "Enter e-mail address" msgstr "Unesi email adresu" +#. DESC_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "Browse for email project directory" +msgstr "Pretraži privremeni direktorijum" + #. DESC_EMAIL_SUBJECT #, fuzzy msgid "Enter subject of e-mail" @@ -1511,8 +1749,13 @@ msgstr "" #. DESC_MULTIPAGE_PROJECT #, fuzzy -msgid "Enter name of multipage project" -msgstr "Unesi ime projekta za E-poÅ”tu" +msgid "Enter multipage project directory name" +msgstr "Pretraži privremeni direktorijum" + +#. DESC_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "Browse for multipage project directory" +msgstr "Pretraži privremeni direktorijum" #. DESC_MULTIPAGE_FILETYPE #, fuzzy @@ -1644,7 +1887,7 @@ msgstr "" #. DESC_ENH_AUTO #, fuzzy -msgid "Autoadjust gamma, brightness and contrast <Ctrl-e>" +msgid "Autoadjust gamma, brightness and contrast <Ctrl-a>" msgstr "AutopodeÅ”avanje vrednosti gama, osvetljenja i kontrasta <Shift-e>" #. DESC_ENH_DEFAULT @@ -1725,18 +1968,22 @@ msgid "Resolution with which color images are printed and saved in postscript" msgstr "Rezolucija, u kojoj se slike u boji Å”tampaju i pamte u postscriptu" #. DESC_PRINTER_WIDTH +#. DESC_FAX_WIDTH msgid "Width of printable area" msgstr "Å irina povrÅ”ine za Å”tampanje" #. DESC_PRINTER_HEIGHT +#. DESC_FAX_HEIGHT msgid "Height of printable area" msgstr "Visina povrÅ”ine za Å”tampanje" #. DESC_PRINTER_LEFTOFFSET +#. DESC_FAX_LEFTOFFSET msgid "Left offset from the edge of the paper to the printable area" msgstr "Razmak od levog ruba papira do poÄetka povrÅ”ine za Å”tampanje" #. DESC_PRINTER_BOTTOMOFFSET +#. DESC_FAX_BOTTOMOFFSET msgid "Bottom offset from the edge of the paper to the printable area" msgstr "Razmak od donjeg ruba papira do poÄetka povrÅ”ine za Å”tampanje" @@ -1756,9 +2003,17 @@ msgstr "Dodatna vrednost gama za zelenu boju pri fotokopiranju" msgid "Additional gamma value for blue component for photocopy" msgstr "Dodatna vrednost gama za plavu boju pri fotokopiranju" -#. DESC_PRINTER_PS_FLATDECODED +#. DESC_PRINTER_EMBED_CSA +msgid "Creates a postsciptfile that contains the ICM profile of the scanner" +msgstr "" + +#. DESC_PRINTER_EMBED_CRD +msgid "Creates a postsciptfile that contains the ICM profile of the printer" +msgstr "" + +#. DESC_PRINTER_PS_FLATEDECODED msgid "" -"Create zlib compressed postscript image for printer (flatdecode).\n" +"Create zlib compressed postscript image for printer (flatedecode).\n" "The printer has to understand postscript level 3!" msgstr "" @@ -1819,14 +2074,14 @@ msgstr "" "Ako je brojaÄ naziva fajle automatski poveÄan, postojeÄi brojevi se " "automatski preskaÄu" -#. DESC_SAVE_PS_FLATDECODED +#. DESC_SAVE_PS_FLATEDECODED msgid "" -"compress postscript image with zlib algorithm (flatdecode). When you want to " -"print such a file your printer has to understand postscript level 3" +"compress postscript image with zlib algorithm (flatedecode). When you want " +"to print such a file your printer has to understand postscript level 3" msgstr "" -#. DESC_SAVE_PDF_FLATDECODED -msgid "compress PDF image with zlib algorithm (flatdecode)." +#. DESC_SAVE_PDF_FLATEDECODED +msgid "compress PDF image with zlib algorithm (flatedecode)." msgstr "" #. DESC_SAVE_PNM16_AS_ASCII @@ -1838,7 +2093,9 @@ msgid "" msgstr "" #. DESC_REDUCE_16BIT_TO_8BIT -msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +#, fuzzy +msgid "" +"If scanner sends image with 16 bits/channel save image with 8 bits/channel" msgstr "" "Ako skener Å”alje sliku sa 16 bit-a u boji pamti sliku sa 8 bit-a u boji" @@ -1867,7 +2124,8 @@ msgid "Use fixed main window size or scrolled, resizable main window" msgstr "Upotrebi fiksiranu ili promenljivu glavnu stranu" #. DESC_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable preview gamma when XSane runs as gimp plugin" +#, fuzzy +msgid "Disable preview gamma when XSane runs as GIMP plugin" msgstr "OnemoguÄi pregled gama, ako se Xsane upotrebljava kao uložak za Gimp" #. DESC_PREVIEW_COLORMAP @@ -1957,6 +2215,15 @@ msgstr "Izaberi povrÅ”inu za skeniranje posle zavrÅ”etka pregleda" msgid "Do color correction after preview scan has finished" msgstr "Uradi korekciju boje posle zavrÅ”etka pregleda" +#. DESC_RENDERING_INTENT +#, fuzzy +msgid "Select rendering intent for preview and saving" +msgstr "Izaberi povrÅ”inu za skeniranje posle zavrÅ”etka pregleda" + +#. DESC_CMS_BPC +msgid "Apply black point compensation when color transformation is done" +msgstr "" + #. DESC_FAX_COMMAND msgid "Enter command to be executed in fax mode" msgstr "Dajte komandu koja je potrebna za slanje faksa" @@ -1985,8 +2252,8 @@ msgstr "Komanda za prikazivanje faksa" msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" msgstr "Å alji faks u visokoj rezoluciji po osi y (196 lpi umesto 98 lpi)" -#. DESC_FAX_PS_FLATDECODED -msgid "Create zlib compressed postscript image for fax (flatdecode)" +#. DESC_FAX_PS_FLATEDECODED +msgid "Create zlib compressed postscript image for fax (flatedecode)" msgstr "" #. DESC_SMTP_SERVER @@ -2069,9 +2336,10 @@ msgstr "Äitati" msgid "write" msgstr "pisati" -#. DESC_PERMISSION_EXECUTE -msgid "execute" -msgstr "izvesti" +#. DESC_PERMISSION_SEARCH +#, fuzzy +msgid "search" +msgstr "korisnik" #. DESC_ADD_BATCH #, fuzzy @@ -2248,6 +2516,36 @@ msgstr "" msgid "Turns on automatic mode" msgstr "" +#. DESC_BUTTON_SCANNER_DEFAULT_COLOR_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default color ICM-profile" +msgstr "Traži slike po nazivima fajla" + +#. DESC_BUTTON_SCANNER_DEFAULT_GRAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default gray ICM-profile" +msgstr "Traži slike po nazivima fajla" + +#. DESC_BUTTON_DISPLAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for display ICM-profile" +msgstr "Traži slike po nazivima fajla" + +#. DESC_BUTTON_PRINTER_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for printer ICM-profile" +msgstr "Traži slike po nazivima fajla" + +#. DESC_BUTTON_CUSTOM_PROOFING_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for custom proofing ICM-profile" +msgstr "Traži slike po nazivima fajla" + +#. DESC_BUTTON_WORKING_COLOR_SPACE_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for working color space ICM-profile" +msgstr "Traži slike po nazivima fajla" + #. ERR_HOME_DIR msgid "Failed to determine home directory:" msgstr "Neuspelo uÄitavanje korisniÄkog direktorijuma:" @@ -2300,11 +2598,6 @@ msgstr "GreÅ”ka pri pamÄenju:" msgid "Can't handle depth" msgstr "Nepodržana dubina bita" -#. ERR_GIMP_BAD_DEPTH -#, c-format -msgid "GIMP can't handle depth %d bits/color" -msgstr "GIMP ne može podržati dubinu od %d bit-a u boji" - #. ERR_UNKNOWN_SAVING_FORMAT msgid "Unknown file format for saving" msgstr "Nepoznat naziv fajla za pamÄenje" @@ -2540,10 +2833,68 @@ msgstr "Fajl %s nije postcript" msgid "Unsupported %d-bit output format: %s" msgstr "Nepodržani %d- bitni izlazni format %s" +#. ERR_CMS_CONVERSION +#, fuzzy +msgid "Error during CMS conversion:" +msgstr "GreÅ”ka pri pamÄenju:" + +#. ERR_CMS_OPEN_ICM_FILE +#, fuzzy +msgid "Could not open" +msgstr "GreÅ”ka pri otvaranju" + +#. CMS_SCANNER_ICM +#, fuzzy +msgid "scanner ICM profile" +msgstr "Odstrani Å”tampaÄ" + +#. CMS_DISPLAY_ICM +#, fuzzy +msgid "display ICM profile" +msgstr "Traži slike po nazivima fajla" + +#. CMS_PROOF_ICM +#, fuzzy +msgid "proofing ICM profile" +msgstr "Odstrani Å”tampaÄ" + +#. ERR_CMS_CREATE_TRANSFORM +#, fuzzy +msgid "Could not create transform" +msgstr "Ne mogu da napravim privremeni fajl" + #. WARN_VIEWER_IMAGE_NOT_SAVED msgid "viewer image is not saved" msgstr "Slika prikazivaÄa nije zapamÄena" +#. FILE_FILTER_ALL_FILES +msgid "All files" +msgstr "" + +#. FILE_FILTER_IMAGES +#, fuzzy +msgid "Images" +msgstr "Slika" + +#. FILE_FILTER_XBL +#, fuzzy +msgid "XSane batch list" +msgstr "Saveti za skeniranje" + +#. FILE_FILTER_ICM +msgid "ICC/ICM Profiles" +msgstr "" + +#. FILE_FILTER_DRC +#, fuzzy +msgid "XSane device preferences" +msgstr "Zapamti podeÅ”avanja ureÄaja pri izlazu" + +#. FILE_FILTER_RC +#, fuzzy +msgid "XSane preferences" +msgstr "PodeÅ”avanja" + #. TEXT_USAGE msgid "Usage:" msgstr "Upotreba:" @@ -2925,14 +3276,66 @@ msgstr "Nedostatak memorije" msgid "Access to resource has been denied" msgstr "Dostup do resursa nije dozvoljen" -#~ msgid "Could not create temporary file" -#~ msgstr "Ne mogu da napravim privremeni fajl" +#, fuzzy +#~ msgid "select scanner transmissive ICM-profile" +#~ msgstr "Odstrani Å”tampaÄ" + +#, fuzzy +#~ msgid "select scanner transmissive gray ICM-profile" +#~ msgstr "Odstrani Å”tampaÄ" + +#, fuzzy +#~ msgid "Scanner reflective ICM-profile" +#~ msgstr "Odstrani Å”tampaÄ" -#~ msgid "Could not create temporary preview files" -#~ msgstr "Ne mogu da napravim privremeni fajl za pregled" +#, fuzzy +#~ msgid "Scanner reflective gray ICM-profile" +#~ msgstr "Odstrani Å”tampaÄ" -#~ msgid "Could not create filenames for preview files" -#~ msgstr "Ne mogu da napravim naziv fajla za fajlove za pregled" +#, fuzzy +#~ msgid "Scanner transmissive gray ICM-profile" +#~ msgstr "Odstrani Å”tampaÄ" + +#, fuzzy +#~ msgid "Scanner reflektive ICM-profile" +#~ msgstr "Odstrani Å”tampaÄ" + +#, fuzzy +#~ msgid "Browse for scanner transmissive ICM-profile" +#~ msgstr "Traži slike po nazivima fajla" + +#, fuzzy +#~ msgid "Browse for scanner transmissive gray ICM-profile" +#~ msgstr "Traži slike po nazivima fajla" + +#~ msgid "GIMP can't handle depth %d bits/color" +#~ msgstr "GIMP ne može podržati dubinu od %d bit-a u boji" + +#, fuzzy +#~ msgid "scanner reflective ICM profile" +#~ msgstr "Odstrani Å”tampaÄ" + +#, fuzzy +#~ msgid "Embed scanner/source ICM profile for GIMP" +#~ msgstr "Odstrani Å”tampaÄ" + +#~ msgid "Enter name of fax project" +#~ msgstr "Unesi ime projekta za faks" + +#, fuzzy +#~ msgid "Enter name of e-mail project" +#~ msgstr "Unesi ime projekta za E-poÅ”tu" + +#, fuzzy +#~ msgid "Enter name of multipage project" +#~ msgstr "Unesi ime projekta za E-poÅ”tu" + +#~ msgid "" +#~ "Gimp does not support depth 16 bits/color.\n" +#~ "Do you want to reduce the depth to 8 bits/color?" +#~ msgstr "" +#~ "Gimp ne podržava dubinu 16 bit-a u boji.\n" +#~ "Da li želite da smanjite dubinu na 8 bit-a u boji?" #, fuzzy #~ msgid "POP3 authentication" @@ -2994,9 +3397,6 @@ msgstr "Dostup do resursa nije dozvoljen" #~ msgid "Multipage saving aborted" #~ msgstr "Äitati" -#~ msgid "Image" -#~ msgstr "Slika" - #~ msgid "Viewer (png):" #~ msgstr "PrikazivaÄ (png):" @@ -5,7 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: XSANE 0.92\n" -"POT-Creation-Date: 2006-01-07 00:26+0100\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-25 23:44+0100\n" "PO-Revision-Date: 2003-08-03 14:12+01:00\n" "Last-Translator: Johan Bengtsson <jb@goteborg.bostream.se>\n" "Language-Team: LANGUAGE <sv@li.org>\n" @@ -32,6 +33,7 @@ msgid "About" msgstr "Om" #. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +#. MENU_ITEM_ABOUT_TRANSLATION msgid "About translation" msgstr "Om ƶversƤttningen" @@ -71,6 +73,11 @@ msgstr "byt namn pĆ„ massinlƤsningsomrĆ„de" msgid "fax project" msgstr "faxprojekt" +#. WINDOW_FAX_PROJECT_BROWSE +#, fuzzy +msgid "browse for fax project" +msgstr "Skriv in namn fƶr faxprojekt" + #. WINDOW_FAX_RENAME msgid "rename fax page" msgstr "byt namn pĆ„ faxsida" @@ -84,6 +91,11 @@ msgstr "infoga ps-fil i fax" msgid "E-mail project" msgstr "brevprojekt" +#. WINDOW_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "browse for email project" +msgstr "Skriv in namn fƶr brevprojekt" + #. WINDOW_EMAIL_RENAME #, fuzzy msgid "rename e-mail image" @@ -99,6 +111,11 @@ msgstr "infoga fil i brev" msgid "multipage project" msgstr "Ta bort projekt" +#. WINDOW_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "browse for multipage project" +msgstr "Ta bort projekt" + #. WINDOW_PRESET_AREA_RENAME msgid "rename preset area" msgstr "byt namn pĆ„ det fƶrinstƤllda omrĆ„det" @@ -147,6 +164,7 @@ msgid "Preview" msgstr "Fƶrhandsgranskning" #. WINDOW_VIEWER +#. MENU_ITEM_VIEWER msgid "Viewer" msgstr "Visare" @@ -179,14 +197,17 @@ msgid "select temporary directory" msgstr "vƤlj temporƤr katalog" #. WINDOW_SCALE +#. DESC_VIEWER_SCALE msgid "Scale image" msgstr "Skala bild" #. WINDOW_DESPECKLE +#. DESC_VIEWER_DESPECKLE msgid "Despeckle image" msgstr "Damma av bild" #. WINDOW_BLUR +#. DESC_VIEWER_BLUR msgid "Blur image" msgstr "Sudda till bild" @@ -198,6 +219,35 @@ msgstr "Lagra mediedefinition" msgid "No devices available" msgstr "Inga enheter tillgƤngliga" +#. WINDOW_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "select scanner default color ICM-profile" +msgstr "Ta bort skrivare" + +#. WINDOW_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "select scanner default gray ICM-profile" +msgstr "Ta bort skrivare" + +#. WINDOW_DISPLAY_ICM_PROFILE +msgid "select display ICM-profile" +msgstr "" + +#. WINDOW_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "select custom proofing ICM-profile" +msgstr "till filnamn" + +#. WINDOW_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "select working color space ICM-profile" +msgstr "Ta bort skrivare" + +#. WINDOW_PRINTER_ICM_PROFILE +#, fuzzy +msgid "select printer ICM-profile" +msgstr "Ta bort skrivare" + #. MENU_FILE msgid "File" msgstr "Arkiv" @@ -215,6 +265,7 @@ msgid "Window" msgstr "" #. MENU_HELP +#. BUTTON_HELP msgid "Help" msgstr "HjƤlp" @@ -230,6 +281,11 @@ msgstr "Filter" msgid "Geometry" msgstr "" +#. MENU_COLOR_MANAGEMENT +#. NOTEBOOK_COLOR_MANAGEMENT_OPTIONS +msgid "Color management" +msgstr "" + #. MENU_ITEM_ABOUT_XSANE msgid "About XSane" msgstr "Om XSane" @@ -243,6 +299,7 @@ msgid "Quit" msgstr "Avsluta" #. MENU_ITEM_SAVE_IMAGE +#. DESC_VIEWER_SAVE msgid "Save image" msgstr "Spara bild" @@ -259,6 +316,7 @@ msgid "Scale" msgstr "Skala" #. MENU_ITEM_CLOSE +#. BUTTON_CLOSE msgid "Close" msgstr "StƤng" @@ -457,11 +515,11 @@ msgstr "Ćverskriftsvarning" msgid "Skip existing filenames" msgstr "Hoppa ƶver existerande filnamn" -#. RADIO_BUTTON_SAVE_PS_FLATDECODED +#. RADIO_BUTTON_SAVE_PS_FLATEDECODED msgid "Save postscript zlib compressed (ps level 3)" msgstr "" -#. RADIO_BUTTON_SAVE_PDF_FLATDECODED +#. RADIO_BUTTON_SAVE_PDF_FLATEDECODED msgid "Save PDF zlib compressed" msgstr "" @@ -478,7 +536,8 @@ msgid "Main window size fixed" msgstr "Fixerad storlek pĆ„ huvudfƶnster" #. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable gimp preview gamma" +#, fuzzy +msgid "Disable GIMP preview gamma" msgstr "Koppla bort fƶrhandsgranskningsgamma" #. RADIO_BUTTON_PRIVATE_COLORMAP @@ -501,6 +560,11 @@ msgstr "Autokorrigera fƤrger" msgid "Use GUI progress pipe" msgstr "AnvƤnd GUI statuslinje" +#. RADIO_BUTTON_CMS_BPC +#. MENU_ITEM_CMS_BLACK_POINT_COMPENSATION +msgid "Black point compensation" +msgstr "" + #. TEXT_SCANNING_DEVICES msgid "scanning for devices" msgstr "Letar efter enheter..." @@ -517,6 +581,12 @@ msgstr "XSane-instƤllningar" msgid "Type" msgstr "Typ" +#. TEXT_CMS_FUNCTION +#. DESC_CMS_FUNCTION +#, fuzzy +msgid "Color management function" +msgstr "Fullt fƤrgomfĆ„ng" + #. TEXT_SCANNER_BACKEND msgid "Scanner and backend:" msgstr "BildlƤsare och drivrutin:" @@ -589,18 +659,11 @@ msgstr "8 bits utmatningsformat:" msgid "16 bit output formats:" msgstr "16 bits utmatningsformat:" -#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT -msgid "" -"Gimp does not support depth 16 bits/color.\n" -"Do you want to reduce the depth to 8 bits/color?" -msgstr "" -"Gimp stƶder inte 16 bits fƤrgdjup. \n" -"Vill du reducera till 8 bits fƤrgdjup?" - #. TEXT_REDUCE_16BIT_TO_8BIT +#, fuzzy msgid "" -"Bit depth 16 bits/color is not supported for this output format.\n" -"Do you want to reduce the depth to 8 bits/color?" +"Bit depth 16 bits/channel is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/channel?" msgstr "" "16 bits fƤrgdjup stƶds inte fƶr detta utmatnings format.\n" "Vill du reducera till 8 bits fƤrgdjup?" @@ -637,6 +700,11 @@ msgstr "version:" msgid "package" msgstr "paket" +#. TEXT_WITH_CMS_FUNCTION +#, fuzzy +msgid "with color management function" +msgstr "Fullt fƤrgomfĆ„ng" + #. TEXT_WITH_GIMP_SUPPORT msgid "with GIMP support" msgstr "med GIMP-support" @@ -772,9 +840,10 @@ msgid "Medium Name:" msgstr "Namn pĆ„ medium:" #. TEXT_VIEWER_IMAGE_INFO -#, c-format +#, fuzzy, c-format msgid "" -"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +"Size %d x %d pixel, %d bits/channel, %d channels, %1.0f dpi x %1.0f dpi, %" +"1.1f %s" msgstr "" "Storlek %d x %d pixlar, %d bit/fƤrg, %d fƤrger, %1.0f dpi x %1.0f dpi, %1.1f " "%s" @@ -828,6 +897,7 @@ msgid "Name:" msgstr "Namn:" #. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +#. TEXT_SETUP_FAX_COMMAND msgid "Command:" msgstr "Kommando:" @@ -848,18 +918,22 @@ msgid "Color resolution (dpi):" msgstr "Upplƶsning i fƤrglƤge (dpi):" #. TEXT_SETUP_PRINTER_WIDTH +#. TEXT_SETUP_FAX_WIDTH msgid "Width" msgstr "Bredd" #. TEXT_SETUP_PRINTER_HEIGHT +#. TEXT_SETUP_FAX_HEIGHT msgid "Height" msgstr "Hƶjd" #. TEXT_SETUP_PRINTER_LEFT +#. TEXT_SETUP_FAX_LEFT msgid "Left offset" msgstr "VƤnster marginal" #. TEXT_SETUP_PRINTER_BOTTOM +#. TEXT_SETUP_FAX_BOTTOM msgid "Bottom offset" msgstr "Marginal frĆ„n botten" @@ -879,7 +953,17 @@ msgstr "Skrivargamma grƶn:" msgid "Printer gamma blue:" msgstr "Skrivargamma blĆ„:" -#. TEXT_SETUP_PRINTER_PS_FLATDECODED +#. TEXT_SETUP_PRINTER_EMBED_CSA +#, fuzzy +msgid "Embed scanner ICM profile as CSA" +msgstr "Ta bort skrivare" + +#. TEXT_SETUP_PRINTER_EMBED_CRD +#, fuzzy +msgid "Embed printer ICM profile as CRD" +msgstr "Ta bort skrivare" + +#. TEXT_SETUP_PRINTER_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for printing" msgstr "" @@ -1004,7 +1088,7 @@ msgstr "SƤtt standardinstƤllningar fƶr:" msgid "Viewer (Postscript):" msgstr "Visare (Postscript):" -#. TEXT_SETUP_FAX_PS_FLATDECODED +#. TEXT_SETUP_FAX_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for fax" msgstr "" @@ -1083,10 +1167,45 @@ msgstr "grupp" msgid "all" msgstr "alla" +#. TEXT_SETUP_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "Scanner default color ICM-profile" +msgstr "Ta bort skrivare" + +#. TEXT_SETUP_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "Scanner default gray ICM-profile" +msgstr "Ta bort skrivare" + +#. TEXT_SETUP_DISPLAY_ICM_PROFILE +#. DESC_DISPLAY_ICM_PROFILE +msgid "Display ICM-profile" +msgstr "" + +#. TEXT_SETUP_CUSTOM_PROOFING_ICM_PROFILE +#. DESC_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "Custom proofing ICM-profile" +msgstr "Ta bort skrivare" + +#. TEXT_SETUP_WORKING_COLOR_SPACE_ICM_PROFILE +#. DESC_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "Working color space ICM-profile" +msgstr "BlƤddra efter filnamn" + +#. TEXT_SETUP_PRINTER_ICM_PROFILE +#. DESC_PRINTER_ICM_PROFILE +msgid "Printer ICM-profile" +msgstr "" + msgid "new media" msgstr "" #. NOTEBOOK_SAVING_OPTIONS +#. MENU_ITEM_SAVE msgid "Save" msgstr "Spara" @@ -1096,14 +1215,17 @@ msgid "Filetype" msgstr "Arkiv" #. NOTEBOOK_COPY_OPTIONS +#. MENU_ITEM_COPY msgid "Copy" msgstr "Kopiera" #. NOTEBOOK_FAX_OPTIONS +#. MENU_ITEM_FAX msgid "Fax" msgstr "Faxa" #. NOTEBOOK_EMAIL_OPTIONS +#. MENU_ITEM_EMAIL #, fuzzy msgid "E-mail" msgstr "Epost" @@ -1196,6 +1318,12 @@ msgstr "Visa upplƶsningslista" msgid "Rotate postscript" msgstr "Rotera postscript" +#. MENU_ITEM_ENABLE_COLOR_MANAGEMENT +#. MENU_ITEM_CMS_ENABLE_COLOR_MANAGEMENT +#, fuzzy +msgid "Enable color management" +msgstr "Fullt fƤrgomfĆ„ng" + #. MENU_ITEM_EDIT_MEDIUM_DEF msgid "Edit medium definition" msgstr "Ćndra mediedefinition" @@ -1240,6 +1368,86 @@ msgstr "BildinlƤsningstips" msgid "Problems?" msgstr "Problem?" +#. MENU_ITEM_CMS_PROOFING +#, fuzzy +msgid "Proofing" +msgstr "LƤgg till skrivare" + +#. SUBMENU_ITEM_CMS_PROOF_OFF +msgid "no proofing (Display)" +msgstr "" + +#. SUBMENU_ITEM_CMS_PROOF_PRINTER +#, fuzzy +msgid "Proof printer" +msgstr "LƤgg till skrivare" + +#. SUBMENU_ITEM_CMS_PROOF_CUSTOM +msgid "Proof custom device" +msgstr "" + +#. MENU_ITEM_CMS_RENDERING_INTENT +#, fuzzy +msgid "Rendering intent" +msgstr "LƤgg till skrivare" + +#. MENU_ITEM_CMS_PROOFING_INTENT +#, fuzzy +msgid "Proofing rendering intent" +msgstr "LƤgg till skrivare" + +#. SUBMENU_ITEM_CMS_INTENT_PERCEPTUAL +msgid "Perceptual" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_RELATIVE_COLORIMETRIC +msgid "Relative colorimetric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_ABSOLUTE_COLORIMETRIC +msgid "Absolute colorimentric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_SATURATION +#, fuzzy +msgid "Saturation" +msgstr "auktorisering" + +#. MENU_ITEM_CMS_GAMUT_CHECK +msgid "Gamut check" +msgstr "" + +#. MENU_ITEM_CMS_GAMUT_ALARM_COLOR +msgid "Gamut alarm color" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLACK +msgid "Black" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_GRAY +msgid "Gray" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_WHITE +#, fuzzy +msgid "White" +msgstr "skriv" + +#. SUBMENU_ITEM_CMS_COLOR_RED +#, fuzzy +msgid "Red" +msgstr "Reducera" + +#. SUBMENU_ITEM_CMS_COLOR_GREEN +msgid "Green" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLUE +#, fuzzy +msgid "Blue" +msgstr "Sudda till" + #. MENU_ITEM_COUNTER_LEN_INACTIVE msgid "inactive" msgstr "inaktiv" @@ -1363,6 +1571,20 @@ msgstr "" msgid "ASMTP CRAM-MD5" msgstr "" +#. MENU_ITEM_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE +#, fuzzy +msgid "Embed scanner ICM profile" +msgstr "Ta bort skrivare" + +#. MENU_ITEM_CMS_FUNCTION_CONVERT_TO_SRGB +msgid "Convert to sRGB" +msgstr "" + +#. MENU_ITEM_FUNCTION_CONVERT_TO_WORKING_CS +#, fuzzy +msgid "Convert to working color space" +msgstr "Autokorrigera fƤrger" + #. PROGRESS_SCANNING msgid "Scanning" msgstr "LƤser in" @@ -1421,6 +1643,11 @@ msgstr "Sudda till bild" msgid "OCR in progress" msgstr "OCR pĆ„gĆ„r" +#. PROGRESS_ICM_CONVERSION +#, fuzzy +msgid "converting colors" +msgstr "Autokorrigera fƤrger" + #. DESC_SCAN_START msgid "Start scan <Ctrl-Enter>" msgstr "Starta inlƤsning <Ctrl-Enter>" @@ -1475,8 +1702,9 @@ msgstr "" "Typ av bildformat, den passande filƤndelsen lƤggs automatiskt till filnamnet" #. DESC_FAXPROJECT -msgid "Enter name of fax project" -msgstr "Skriv in namn fƶr faxprojekt" +#, fuzzy +msgid "Enter fax project directory name" +msgstr "BlƤddra efter temporƤr katalog" #. DESC_FAXPAGENAME msgid "Enter new name for faxpage" @@ -1486,10 +1714,15 @@ msgstr "Skriv in nytt namn fƶr faxsida" msgid "Enter receiver phone number or address" msgstr "Skriv in mottagarens telefonnummer eller adress" +#. DESC_FAX_PROJECT_BROWSE +#, fuzzy +msgid "Browse for fax project directory" +msgstr "BlƤddra efter temporƤr katalog" + #. DESC_EMAIL_PROJECT #, fuzzy -msgid "Enter name of e-mail project" -msgstr "Skriv in namn fƶr brevprojekt" +msgid "Enter e-mail project directory name" +msgstr "BlƤddra efter temporƤr katalog" #. DESC_EMAIL_IMAGENAME #, fuzzy @@ -1501,6 +1734,11 @@ msgstr "Skriv in nytt namn fƶr brevbild" msgid "Enter e-mail address" msgstr "Skriv in epost adress" +#. DESC_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "Browse for email project directory" +msgstr "BlƤddra efter temporƤr katalog" + #. DESC_EMAIL_SUBJECT #, fuzzy msgid "Enter subject of e-mail" @@ -1512,8 +1750,13 @@ msgstr "" #. DESC_MULTIPAGE_PROJECT #, fuzzy -msgid "Enter name of multipage project" -msgstr "Skriv in namn fƶr brevprojekt" +msgid "Enter multipage project directory name" +msgstr "BlƤddra efter temporƤr katalog" + +#. DESC_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "Browse for multipage project directory" +msgstr "BlƤddra efter temporƤr katalog" #. DESC_MULTIPAGE_FILETYPE #, fuzzy @@ -1641,7 +1884,8 @@ msgstr "" " kontrast = 0" #. DESC_ENH_AUTO -msgid "Autoadjust gamma, brightness and contrast <Ctrl-e>" +#, fuzzy +msgid "Autoadjust gamma, brightness and contrast <Ctrl-a>" msgstr "Autojustera gamma, ljus och kontrast <Ctrl-e>" #. DESC_ENH_DEFAULT @@ -1721,19 +1965,23 @@ msgid "Resolution with which color images are printed and saved in postscript" msgstr "Upplƶsning med vilken fƤrgbilder skrivs ut och sparas i postscript" #. DESC_PRINTER_WIDTH +#. DESC_FAX_WIDTH msgid "Width of printable area" msgstr "Utskriftsbara omrĆ„dets bredd" #. DESC_PRINTER_HEIGHT +#. DESC_FAX_HEIGHT msgid "Height of printable area" msgstr "Utskriftsbara omrĆ„dets hƶjd" #. DESC_PRINTER_LEFTOFFSET +#. DESC_FAX_LEFTOFFSET msgid "Left offset from the edge of the paper to the printable area" msgstr "" "Marginal frĆ„n den vƤnstra sidan av pappret till det utskrivbara omrĆ„det" #. DESC_PRINTER_BOTTOMOFFSET +#. DESC_FAX_BOTTOMOFFSET msgid "Bottom offset from the edge of the paper to the printable area" msgstr "Marginal frĆ„n botten av pappret till det utskrivbara omrĆ„det" @@ -1753,9 +2001,17 @@ msgstr "Extra gammavƤrde fƶr den grƶna komponeneten vid fotokopiering" msgid "Additional gamma value for blue component for photocopy" msgstr "Extra gammavƤrde fƶr den blĆ„a komponeneten vid fotokopiering" -#. DESC_PRINTER_PS_FLATDECODED +#. DESC_PRINTER_EMBED_CSA +msgid "Creates a postsciptfile that contains the ICM profile of the scanner" +msgstr "" + +#. DESC_PRINTER_EMBED_CRD +msgid "Creates a postsciptfile that contains the ICM profile of the printer" +msgstr "" + +#. DESC_PRINTER_PS_FLATEDECODED msgid "" -"Create zlib compressed postscript image for printer (flatdecode).\n" +"Create zlib compressed postscript image for printer (flatedecode).\n" "The printer has to understand postscript level 3!" msgstr "" @@ -1812,14 +2068,14 @@ msgid "" msgstr "" "Om filnamnsrƤknaren automatiskt uppdateras, sĆ„ hoppas anvƤnda nummer ƶver" -#. DESC_SAVE_PS_FLATDECODED +#. DESC_SAVE_PS_FLATEDECODED msgid "" -"compress postscript image with zlib algorithm (flatdecode). When you want to " -"print such a file your printer has to understand postscript level 3" +"compress postscript image with zlib algorithm (flatedecode). When you want " +"to print such a file your printer has to understand postscript level 3" msgstr "" -#. DESC_SAVE_PDF_FLATDECODED -msgid "compress PDF image with zlib algorithm (flatdecode)." +#. DESC_SAVE_PDF_FLATEDECODED +msgid "compress PDF image with zlib algorithm (flatedecode)." msgstr "" #. DESC_SAVE_PNM16_AS_ASCII @@ -1835,7 +2091,9 @@ msgstr "" "producerar vƤldigt stora filer!!!" #. DESC_REDUCE_16BIT_TO_8BIT -msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +#, fuzzy +msgid "" +"If scanner sends image with 16 bits/channel save image with 8 bits/channel" msgstr "Spara bild med 8/bits fƤrg om bildlƤsare skickar bild med 16 bits/fƤrg" #. DESC_PSFILE_WIDTH @@ -1869,7 +2127,8 @@ msgstr "" "variabel storlek" #. DESC_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable preview gamma when XSane runs as gimp plugin" +#, fuzzy +msgid "Disable preview gamma when XSane runs as GIMP plugin" msgstr "" "Koppla bort fƶrhandsgranskningsgamma nƤr XSane kƶrs som gimp insticksprogram" @@ -1971,6 +2230,15 @@ msgstr "VƤlj inlƤsningsomrĆ„de efter fƶrhandsgranskningen Ƥr klar" msgid "Do color correction after preview scan has finished" msgstr "Gƶr fƤrgkorrigering efter fƶrhansgranskingen Ƥr klar" +#. DESC_RENDERING_INTENT +#, fuzzy +msgid "Select rendering intent for preview and saving" +msgstr "VƤlj inlƤsningsomrĆ„de efter fƶrhandsgranskningen Ƥr klar" + +#. DESC_CMS_BPC +msgid "Apply black point compensation when color transformation is done" +msgstr "" + #. DESC_FAX_COMMAND msgid "Enter command to be executed in fax mode" msgstr "Kommando som skall kƶras i fax lƤge" @@ -1999,8 +2267,8 @@ msgstr "Kommando som kƶrs fƶr att visa ett fax" msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" msgstr "Skicka fax med hƶg vertikal upplƶsning (196 lpi istƤllet fƶr 98 lpi)" -#. DESC_FAX_PS_FLATDECODED -msgid "Create zlib compressed postscript image for fax (flatdecode)" +#. DESC_FAX_PS_FLATEDECODED +msgid "Create zlib compressed postscript image for fax (flatedecode)" msgstr "" #. DESC_SMTP_SERVER @@ -2082,9 +2350,10 @@ msgstr "lƤs" msgid "write" msgstr "skriv" -#. DESC_PERMISSION_EXECUTE -msgid "execute" -msgstr "exekvera" +#. DESC_PERMISSION_SEARCH +#, fuzzy +msgid "search" +msgstr "anvƤndare" #. DESC_ADD_BATCH msgid "Add selection for batch scan" @@ -2251,6 +2520,36 @@ msgstr "Ta bort det makerade omrĆ„det frĆ„m massinlƤsningslistan" msgid "Turns on automatic mode" msgstr "Aktiverar automatlƤge" +#. DESC_BUTTON_SCANNER_DEFAULT_COLOR_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default color ICM-profile" +msgstr "BlƤddra efter filnamn" + +#. DESC_BUTTON_SCANNER_DEFAULT_GRAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default gray ICM-profile" +msgstr "BlƤddra efter filnamn" + +#. DESC_BUTTON_DISPLAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for display ICM-profile" +msgstr "BlƤddra efter filnamn" + +#. DESC_BUTTON_PRINTER_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for printer ICM-profile" +msgstr "BlƤddra efter filnamn" + +#. DESC_BUTTON_CUSTOM_PROOFING_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for custom proofing ICM-profile" +msgstr "BlƤddra efter filnamn" + +#. DESC_BUTTON_WORKING_COLOR_SPACE_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for working color space ICM-profile" +msgstr "BlƤddra efter filnamn" + #. ERR_HOME_DIR msgid "Failed to determine home directory:" msgstr "Kunde inte hitta hemkatalogen:" @@ -2303,11 +2602,6 @@ msgstr "Fel under spararande:" msgid "Can't handle depth" msgstr "Kan inte hantera bilddjup" -#. ERR_GIMP_BAD_DEPTH -#, c-format -msgid "GIMP can't handle depth %d bits/color" -msgstr "GIMP kan inte hantera bilddjup med %d bits/fƤrg" - #. ERR_UNKNOWN_SAVING_FORMAT msgid "Unknown file format for saving" msgstr "Kan inte spara i det hƤr filformatet" @@ -2541,10 +2835,68 @@ msgstr "Fil %s Ƥr inte en postskriptfil" msgid "Unsupported %d-bit output format: %s" msgstr "%d-bit utmatningsformat som inte stƶds: %s" +#. ERR_CMS_CONVERSION +#, fuzzy +msgid "Error during CMS conversion:" +msgstr "Fel under spararande:" + +#. ERR_CMS_OPEN_ICM_FILE +#, fuzzy +msgid "Could not open" +msgstr "Kunde inte ƶppna" + +#. CMS_SCANNER_ICM +#, fuzzy +msgid "scanner ICM profile" +msgstr "Ta bort skrivare" + +#. CMS_DISPLAY_ICM +#, fuzzy +msgid "display ICM profile" +msgstr "BlƤddra efter filnamn" + +#. CMS_PROOF_ICM +#, fuzzy +msgid "proofing ICM profile" +msgstr "Ta bort skrivare" + +#. ERR_CMS_CREATE_TRANSFORM +#, fuzzy +msgid "Could not create transform" +msgstr "Kunde inte skapa temporƤr fil" + #. WARN_VIEWER_IMAGE_NOT_SAVED msgid "viewer image is not saved" msgstr "visarbild sparas inte" +#. FILE_FILTER_ALL_FILES +msgid "All files" +msgstr "" + +#. FILE_FILTER_IMAGES +#, fuzzy +msgid "Images" +msgstr "Bild" + +#. FILE_FILTER_XBL +#, fuzzy +msgid "XSane batch list" +msgstr "Spara massinlƤsningslista" + +#. FILE_FILTER_ICM +msgid "ICC/ICM Profiles" +msgstr "" + +#. FILE_FILTER_DRC +#, fuzzy +msgid "XSane device preferences" +msgstr "Spara instƤllningar nƤr programmet avslutas" + +#. FILE_FILTER_RC +#, fuzzy +msgid "XSane preferences" +msgstr "InstƤllningar" + #. TEXT_USAGE msgid "Usage:" msgstr "AnvƤndning:" @@ -2928,14 +3280,66 @@ msgstr "Slut pĆ„ minne" msgid "Access to resource has been denied" msgstr "TillgĆ„ng till resurs nekas" -#~ msgid "Could not create temporary file" -#~ msgstr "Kunde inte skapa temporƤr fil" +#, fuzzy +#~ msgid "select scanner transmissive ICM-profile" +#~ msgstr "Ta bort skrivare" + +#, fuzzy +#~ msgid "select scanner transmissive gray ICM-profile" +#~ msgstr "Ta bort skrivare" + +#, fuzzy +#~ msgid "Scanner reflective ICM-profile" +#~ msgstr "Ta bort skrivare" -#~ msgid "Could not create temporary preview files" -#~ msgstr "Kunde inte skapa temporƤr fƶrhandsgranskningsfil" +#, fuzzy +#~ msgid "Scanner reflective gray ICM-profile" +#~ msgstr "Ta bort skrivare" -#~ msgid "Could not create filenames for preview files" -#~ msgstr "Kunde inte skapa filnamn fƶr fƶrhandsgranskningsfiler" +#, fuzzy +#~ msgid "Scanner transmissive gray ICM-profile" +#~ msgstr "Ta bort skrivare" + +#, fuzzy +#~ msgid "Scanner reflektive ICM-profile" +#~ msgstr "Ta bort skrivare" + +#, fuzzy +#~ msgid "Browse for scanner transmissive ICM-profile" +#~ msgstr "BlƤddra efter filnamn" + +#, fuzzy +#~ msgid "Browse for scanner transmissive gray ICM-profile" +#~ msgstr "BlƤddra efter filnamn" + +#~ msgid "GIMP can't handle depth %d bits/color" +#~ msgstr "GIMP kan inte hantera bilddjup med %d bits/fƤrg" + +#, fuzzy +#~ msgid "scanner reflective ICM profile" +#~ msgstr "Ta bort skrivare" + +#, fuzzy +#~ msgid "Embed scanner/source ICM profile for GIMP" +#~ msgstr "Ta bort skrivare" + +#~ msgid "Enter name of fax project" +#~ msgstr "Skriv in namn fƶr faxprojekt" + +#, fuzzy +#~ msgid "Enter name of e-mail project" +#~ msgstr "Skriv in namn fƶr brevprojekt" + +#, fuzzy +#~ msgid "Enter name of multipage project" +#~ msgstr "Skriv in namn fƶr brevprojekt" + +#~ msgid "" +#~ "Gimp does not support depth 16 bits/color.\n" +#~ "Do you want to reduce the depth to 8 bits/color?" +#~ msgstr "" +#~ "Gimp stƶder inte 16 bits fƤrgdjup. \n" +#~ "Vill du reducera till 8 bits fƤrgdjup?" #, fuzzy #~ msgid "POP3 authentication" @@ -2997,9 +3401,6 @@ msgstr "TillgĆ„ng till resurs nekas" #~ msgid "Multipage saving aborted" #~ msgstr "lƤs" -#~ msgid "Image" -#~ msgstr "Bild" - #~ msgid "Viewer (png):" #~ msgstr "Visare (png):" @@ -7,7 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: xsane_tr\n" -"POT-Creation-Date: 2006-01-07 00:26+0100\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-25 23:44+0100\n" "PO-Revision-Date: 2005-12-22 10:01+0100\n" "Last-Translator: Togan Muftuoglu <toganm@yahoo.com>\n" "Language-Team: Turkish <kde-i18n-tr@kde.org>\n" @@ -35,6 +36,7 @@ msgid "About" msgstr "Hakkında" #. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +#. MENU_ITEM_ABOUT_TRANSLATION msgid "About translation" msgstr "TercĆ¼me hakkında" @@ -74,6 +76,11 @@ msgstr "Alanı yeniden isimlendir" msgid "fax project" msgstr "fax projesi" +#. WINDOW_FAX_PROJECT_BROWSE +#, fuzzy +msgid "browse for fax project" +msgstr "faks projesinin adını girin" + #. WINDOW_FAX_RENAME msgid "rename fax page" msgstr "fax sayfasını yeniden isimlendir" @@ -86,6 +93,11 @@ msgstr "ps-dosyasını faxa yerleÅtirin" msgid "E-mail project" msgstr "E-posta projesi" +#. WINDOW_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "browse for email project" +msgstr "E-Posta projesinin adını girin " + #. WINDOW_EMAIL_RENAME msgid "rename e-mail image" msgstr "E-posta resmini yeniden isimlendir" @@ -98,6 +110,11 @@ msgstr "dosyayı E-postaya yerleÅtirin" msgid "multipage project" msgstr "Ćok sayfalı proje" +#. WINDOW_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "browse for multipage project" +msgstr "Ćok sayfalı proje" + #. WINDOW_PRESET_AREA_RENAME msgid "rename preset area" msgstr "Ćnceden belirlenmiÅ alanı yeniden isimlendir" @@ -143,6 +160,7 @@ msgid "Preview" msgstr "Ćnizleme" #. WINDOW_VIEWER +#. MENU_ITEM_VIEWER msgid "Viewer" msgstr "Gƶsterici" @@ -175,14 +193,17 @@ msgid "select temporary directory" msgstr "geƧici dizini seƧin" #. WINDOW_SCALE +#. DESC_VIEWER_SCALE msgid "Scale image" msgstr "Resmi ƶlĆ§Ć¼lendir" #. WINDOW_DESPECKLE +#. DESC_VIEWER_DESPECKLE msgid "Despeckle image" msgstr "Resmi beneksizleÅtir" #. WINDOW_BLUR +#. DESC_VIEWER_BLUR msgid "Blur image" msgstr "Resmi bulanıklaÅtır" @@ -194,6 +215,35 @@ msgstr "Ortam tanımını sakla" msgid "No devices available" msgstr "HiƧbir aygıt mevcut deÄil" +#. WINDOW_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "select scanner default color ICM-profile" +msgstr "Yazıcı sil" + +#. WINDOW_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "select scanner default gray ICM-profile" +msgstr "Yazıcı sil" + +#. WINDOW_DISPLAY_ICM_PROFILE +msgid "select display ICM-profile" +msgstr "" + +#. WINDOW_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "select custom proofing ICM-profile" +msgstr "Ƨıktı dosya adını seƧiniz" + +#. WINDOW_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "select working color space ICM-profile" +msgstr "Yazıcı sil" + +#. WINDOW_PRINTER_ICM_PROFILE +#, fuzzy +msgid "select printer ICM-profile" +msgstr "Yazıcı sil" + #. MENU_FILE msgid "File" msgstr "Dosya" @@ -211,6 +261,7 @@ msgid "Window" msgstr "Pencere" #. MENU_HELP +#. BUTTON_HELP msgid "Help" msgstr "Yardım" @@ -226,6 +277,11 @@ msgstr "Filtreler" msgid "Geometry" msgstr "Geometri" +#. MENU_COLOR_MANAGEMENT +#. NOTEBOOK_COLOR_MANAGEMENT_OPTIONS +msgid "Color management" +msgstr "" + #. MENU_ITEM_ABOUT_XSANE msgid "About XSane" msgstr "Xsane hakkında" @@ -239,6 +295,7 @@ msgid "Quit" msgstr "Ćık" #. MENU_ITEM_SAVE_IMAGE +#. DESC_VIEWER_SAVE msgid "Save image" msgstr "Resmi kaydet" @@ -255,6 +312,7 @@ msgid "Scale" msgstr "Boyutlandırma" #. MENU_ITEM_CLOSE +#. BUTTON_CLOSE msgid "Close" msgstr "Kapat" @@ -446,11 +504,11 @@ msgstr "Ćzerine yazma uyarısı" msgid "Skip existing filenames" msgstr "Varolan dosya isimlerini atla" -#. RADIO_BUTTON_SAVE_PS_FLATDECODED +#. RADIO_BUTTON_SAVE_PS_FLATEDECODED msgid "Save postscript zlib compressed (ps level 3)" msgstr "Postscript dosyayı zlib sıkıÅtırmalı kaydet (ps 3 seviyesinde)" -#. RADIO_BUTTON_SAVE_PDF_FLATDECODED +#. RADIO_BUTTON_SAVE_PDF_FLATEDECODED msgid "Save PDF zlib compressed" msgstr "PDF dosyayı zlib sıkıÅtırmalı kaydet" @@ -467,7 +525,8 @@ msgid "Main window size fixed" msgstr "Ana pencere boyutu sabitlendi" #. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable gimp preview gamma" +#, fuzzy +msgid "Disable GIMP preview gamma" msgstr "Gimp ƶnizleme gamması pasif kılındı" #. RADIO_BUTTON_PRIVATE_COLORMAP @@ -490,6 +549,11 @@ msgstr "Renkleri otomatik dĆ¼zelt" msgid "Use GUI progress pipe" msgstr "GUI ilerleme ƧubuÄunu kullan" +#. RADIO_BUTTON_CMS_BPC +#. MENU_ITEM_CMS_BLACK_POINT_COMPENSATION +msgid "Black point compensation" +msgstr "" + #. TEXT_SCANNING_DEVICES msgid "scanning for devices" msgstr "aygıtları arıyor" @@ -506,6 +570,12 @@ msgstr "Xsane seƧenekleri" msgid "Type" msgstr "Tip" +#. TEXT_CMS_FUNCTION +#. DESC_CMS_FUNCTION +#, fuzzy +msgid "Color management function" +msgstr "TĆ¼m renk aralıÄı" + #. TEXT_SCANNER_BACKEND msgid "Scanner and backend:" msgstr "Tarayıcı ve sĆ¼rĆ¼cĆ¼:" @@ -578,18 +648,11 @@ msgstr "8 bit Ƨıktı formatları:" msgid "16 bit output formats:" msgstr "16 bit formatları:" -#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT -msgid "" -"Gimp does not support depth 16 bits/color.\n" -"Do you want to reduce the depth to 8 bits/color?" -msgstr "" -"Gimp 16 bit/renk derinliÄini desteklemiyor.\n" -"DerinliÄi 8bit/renk haline getirmek istermisiniz ?" - #. TEXT_REDUCE_16BIT_TO_8BIT +#, fuzzy msgid "" -"Bit depth 16 bits/color is not supported for this output format.\n" -"Do you want to reduce the depth to 8 bits/color?" +"Bit depth 16 bits/channel is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/channel?" msgstr "" "Bu Ƨıktı formatı iƧin 16 bit/renk derinliÄi desteklenmiyor\n" "DerinliÄi 8 bit/renk olarak deÄiÅtirmek istermisiniz ?" @@ -626,6 +689,11 @@ msgstr "sĆ¼rĆ¼m:" msgid "package" msgstr "paket" +#. TEXT_WITH_CMS_FUNCTION +#, fuzzy +msgid "with color management function" +msgstr "TĆ¼m renk aralıÄı" + #. TEXT_WITH_GIMP_SUPPORT msgid "with GIMP support" msgstr "GIMP desteÄi ile" @@ -757,9 +825,10 @@ msgid "Medium Name:" msgstr "Ortam ismi" #. TEXT_VIEWER_IMAGE_INFO -#, c-format +#, fuzzy, c-format msgid "" -"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +"Size %d x %d pixel, %d bits/channel, %d channels, %1.0f dpi x %1.0f dpi, %" +"1.1f %s" msgstr "" "Boyut %d x %d piksel, %d bit/color, %d renkler, %1.0f dpi x %1.0f dpi, %1.1f " "%s" @@ -813,6 +882,7 @@ msgid "Name:" msgstr "Adı:" #. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +#. TEXT_SETUP_FAX_COMMAND msgid "Command:" msgstr "Komut:" @@ -833,18 +903,22 @@ msgid "Color resolution (dpi):" msgstr "Renkli ƧƶzĆ¼nĆ¼rlĆ¼k (dpi):" #. TEXT_SETUP_PRINTER_WIDTH +#. TEXT_SETUP_FAX_WIDTH msgid "Width" msgstr "En " #. TEXT_SETUP_PRINTER_HEIGHT +#. TEXT_SETUP_FAX_HEIGHT msgid "Height" msgstr "YĆ¼kseklik" #. TEXT_SETUP_PRINTER_LEFT +#. TEXT_SETUP_FAX_LEFT msgid "Left offset" msgstr "Sol boÅluk " #. TEXT_SETUP_PRINTER_BOTTOM +#. TEXT_SETUP_FAX_BOTTOM msgid "Bottom offset" msgstr "Alt boÅluk " @@ -864,7 +938,17 @@ msgstr "Yazıcı mavi gamma:" msgid "Printer gamma blue:" msgstr "Yazıcı mavi gamma:" -#. TEXT_SETUP_PRINTER_PS_FLATDECODED +#. TEXT_SETUP_PRINTER_EMBED_CSA +#, fuzzy +msgid "Embed scanner ICM profile as CSA" +msgstr "Yazıcı sil" + +#. TEXT_SETUP_PRINTER_EMBED_CRD +#, fuzzy +msgid "Embed printer ICM profile as CRD" +msgstr "Yazıcı sil" + +#. TEXT_SETUP_PRINTER_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for printing" msgstr "" "Yazdırmak iƧin zlib sıkıÅtırılmıŠpostscript (ps 3. seviye) resim yarat " @@ -989,7 +1073,7 @@ msgstr "Program ƶntanımlılarını belirle:" msgid "Viewer (Postscript):" msgstr "Ä°zleyici (Postscript):" -#. TEXT_SETUP_FAX_PS_FLATDECODED +#. TEXT_SETUP_FAX_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for fax" msgstr "Faks iƧin zlib sıkıÅtırılmıŠpostscript (ps 3. seviye) resim yarat " @@ -1068,10 +1152,45 @@ msgstr "grup" msgid "all" msgstr "hepsi" +#. TEXT_SETUP_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "Scanner default color ICM-profile" +msgstr "Yazıcı sil" + +#. TEXT_SETUP_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "Scanner default gray ICM-profile" +msgstr "Yazıcı sil" + +#. TEXT_SETUP_DISPLAY_ICM_PROFILE +#. DESC_DISPLAY_ICM_PROFILE +msgid "Display ICM-profile" +msgstr "" + +#. TEXT_SETUP_CUSTOM_PROOFING_ICM_PROFILE +#. DESC_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "Custom proofing ICM-profile" +msgstr "Yazıcı sil" + +#. TEXT_SETUP_WORKING_COLOR_SPACE_ICM_PROFILE +#. DESC_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "Working color space ICM-profile" +msgstr "resim dosyası ara" + +#. TEXT_SETUP_PRINTER_ICM_PROFILE +#. DESC_PRINTER_ICM_PROFILE +msgid "Printer ICM-profile" +msgstr "" + msgid "new media" msgstr "Yeni medya" #. NOTEBOOK_SAVING_OPTIONS +#. MENU_ITEM_SAVE msgid "Save" msgstr "Kaydet" @@ -1080,14 +1199,17 @@ msgid "Filetype" msgstr "Dosya tipi" #. NOTEBOOK_COPY_OPTIONS +#. MENU_ITEM_COPY msgid "Copy" msgstr "Kopyala" #. NOTEBOOK_FAX_OPTIONS +#. MENU_ITEM_FAX msgid "Fax" msgstr "Fax" #. NOTEBOOK_EMAIL_OPTIONS +#. MENU_ITEM_EMAIL msgid "E-mail" msgstr "E-posta" @@ -1179,6 +1301,12 @@ msgstr "ĆƶzĆ¼nĆ¼rlĆ¼k listesini gƶster" msgid "Rotate postscript" msgstr "Postscripti dƶndĆ¼r" +#. MENU_ITEM_ENABLE_COLOR_MANAGEMENT +#. MENU_ITEM_CMS_ENABLE_COLOR_MANAGEMENT +#, fuzzy +msgid "Enable color management" +msgstr "TĆ¼m renk aralıÄı" + #. MENU_ITEM_EDIT_MEDIUM_DEF msgid "Edit medium definition" msgstr "Ortam tanımını dĆ¼zelt" @@ -1223,6 +1351,86 @@ msgstr "Tarama ipuƧları" msgid "Problems?" msgstr "Problemler ?" +#. MENU_ITEM_CMS_PROOFING +#, fuzzy +msgid "Proofing" +msgstr "Yazıcı ekle" + +#. SUBMENU_ITEM_CMS_PROOF_OFF +msgid "no proofing (Display)" +msgstr "" + +#. SUBMENU_ITEM_CMS_PROOF_PRINTER +#, fuzzy +msgid "Proof printer" +msgstr "Yazıcı ekle" + +#. SUBMENU_ITEM_CMS_PROOF_CUSTOM +msgid "Proof custom device" +msgstr "" + +#. MENU_ITEM_CMS_RENDERING_INTENT +#, fuzzy +msgid "Rendering intent" +msgstr "Yazıcı ekle" + +#. MENU_ITEM_CMS_PROOFING_INTENT +#, fuzzy +msgid "Proofing rendering intent" +msgstr "Yazıcı ekle" + +#. SUBMENU_ITEM_CMS_INTENT_PERCEPTUAL +msgid "Perceptual" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_RELATIVE_COLORIMETRIC +msgid "Relative colorimetric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_ABSOLUTE_COLORIMETRIC +msgid "Absolute colorimentric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_SATURATION +#, fuzzy +msgid "Saturation" +msgstr "Otorizasyon" + +#. MENU_ITEM_CMS_GAMUT_CHECK +msgid "Gamut check" +msgstr "" + +#. MENU_ITEM_CMS_GAMUT_ALARM_COLOR +msgid "Gamut alarm color" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLACK +msgid "Black" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_GRAY +msgid "Gray" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_WHITE +#, fuzzy +msgid "White" +msgstr "yazma" + +#. SUBMENU_ITEM_CMS_COLOR_RED +#, fuzzy +msgid "Red" +msgstr "Azalt" + +#. SUBMENU_ITEM_CMS_COLOR_GREEN +msgid "Green" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLUE +#, fuzzy +msgid "Blue" +msgstr "BulanıklaÅtırma" + #. MENU_ITEM_COUNTER_LEN_INACTIVE msgid "inactive" msgstr "pasif" @@ -1340,6 +1548,20 @@ msgstr "" msgid "ASMTP CRAM-MD5" msgstr "" +#. MENU_ITEM_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE +#, fuzzy +msgid "Embed scanner ICM profile" +msgstr "Yazıcı sil" + +#. MENU_ITEM_CMS_FUNCTION_CONVERT_TO_SRGB +msgid "Convert to sRGB" +msgstr "" + +#. MENU_ITEM_FUNCTION_CONVERT_TO_WORKING_CS +#, fuzzy +msgid "Convert to working color space" +msgstr "Renkleri otomatik dĆ¼zelt" + #. PROGRESS_SCANNING msgid "Scanning" msgstr "tarıyor" @@ -1397,6 +1619,11 @@ msgstr "Resmi bulanıklaÅtır" msgid "OCR in progress" msgstr "OCR ƧalıÅmakta" +#. PROGRESS_ICM_CONVERSION +#, fuzzy +msgid "converting colors" +msgstr "Renkleri otomatik dĆ¼zelt" + #. DESC_SCAN_START msgid "Start scan <Ctrl-Enter>" msgstr "Taramayı baÅlat <Ctrl-Enter>" @@ -1456,8 +1683,9 @@ msgstr "" "eklenir" #. DESC_FAXPROJECT -msgid "Enter name of fax project" -msgstr "faks projesinin adını girin" +#, fuzzy +msgid "Enter fax project directory name" +msgstr "GeƧici dizine gƶz at" #. DESC_FAXPAGENAME msgid "Enter new name for faxpage" @@ -1467,9 +1695,15 @@ msgstr "Faks sayfası iƧin ad girin" msgid "Enter receiver phone number or address" msgstr "Alıcının telefon numrasını veya adresini girin" +#. DESC_FAX_PROJECT_BROWSE +#, fuzzy +msgid "Browse for fax project directory" +msgstr "GeƧici dizine gƶz at" + #. DESC_EMAIL_PROJECT -msgid "Enter name of e-mail project" -msgstr "E-Posta projesinin adını girin " +#, fuzzy +msgid "Enter e-mail project directory name" +msgstr "GeƧici dizine gƶz at" #. DESC_EMAIL_IMAGENAME msgid "Enter new name for e-mail image" @@ -1479,6 +1713,11 @@ msgstr "E-Posta resmi iƧin yeni isim girin" msgid "Enter e-mail address" msgstr "E-posta adresi girin " +#. DESC_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "Browse for email project directory" +msgstr "GeƧici dizine gƶz at" + #. DESC_EMAIL_SUBJECT msgid "Enter subject of e-mail" msgstr "E-Posta konusu girin " @@ -1488,8 +1727,14 @@ msgid "Select filetype for image attachments" msgstr "Resim ekleri iƧin dosya tipini seƧin" #. DESC_MULTIPAGE_PROJECT -msgid "Enter name of multipage project" -msgstr "Ćoklu sayfa projesinin adını girin" +#, fuzzy +msgid "Enter multipage project directory name" +msgstr "GeƧici dizine gƶz at" + +#. DESC_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "Browse for multipage project directory" +msgstr "GeƧici dizine gƶz at" #. DESC_MULTIPAGE_FILETYPE msgid "Select filetype for multipage file" @@ -1614,7 +1859,8 @@ msgstr "" " kontrast =0" #. DESC_ENH_AUTO -msgid "Autoadjust gamma, brightness and contrast <Ctrl-e>" +#, fuzzy +msgid "Autoadjust gamma, brightness and contrast <Ctrl-a>" msgstr "" "SeƧilen alana baÄlı olarak gamma, ıÅık ve kontrastı otomatik ayarla<Ctrl-e>" @@ -1696,18 +1942,22 @@ msgstr "" "Renkli resimlerin yazdırılması ve postscript de saklanması iƧin ƧƶzĆ¼nĆ¼rlĆ¼k" #. DESC_PRINTER_WIDTH +#. DESC_FAX_WIDTH msgid "Width of printable area" msgstr "Basılacak alanın geniÅliÄi" #. DESC_PRINTER_HEIGHT +#. DESC_FAX_HEIGHT msgid "Height of printable area" msgstr "Basılacak alanın yĆ¼ksekliÄi" #. DESC_PRINTER_LEFTOFFSET +#. DESC_FAX_LEFTOFFSET msgid "Left offset from the edge of the paper to the printable area" msgstr "KaÄıdın sol boÅluÄundan basılacak alan " #. DESC_PRINTER_BOTTOMOFFSET +#. DESC_FAX_BOTTOMOFFSET msgid "Bottom offset from the edge of the paper to the printable area" msgstr "KaÄıdın alt boÅluÄundan basılacak alan " @@ -1727,9 +1977,18 @@ msgstr "Fotokopi iƧin yeÅil bileÅenin ilave gamma deÄeri" msgid "Additional gamma value for blue component for photocopy" msgstr "Fotokopi iƧin mavi bileÅenin ilave gamma deÄeri" -#. DESC_PRINTER_PS_FLATDECODED +#. DESC_PRINTER_EMBED_CSA +msgid "Creates a postsciptfile that contains the ICM profile of the scanner" +msgstr "" + +#. DESC_PRINTER_EMBED_CRD +msgid "Creates a postsciptfile that contains the ICM profile of the printer" +msgstr "" + +#. DESC_PRINTER_PS_FLATEDECODED +#, fuzzy msgid "" -"Create zlib compressed postscript image for printer (flatdecode).\n" +"Create zlib compressed postscript image for printer (flatedecode).\n" "The printer has to understand postscript level 3!" msgstr "" "Yazıcı iƧin zlib sıkıÅtırılmıŠpostscript gƶrĆ¼ntĆ¼ yarat (flatdecode)\n" @@ -1789,17 +2048,19 @@ msgstr "" "EÄer dosya adı sayacı otomatik olarak artırılıyorsa, kullanılan rakamlar " "atlanır" -#. DESC_SAVE_PS_FLATDECODED +#. DESC_SAVE_PS_FLATEDECODED +#, fuzzy msgid "" -"compress postscript image with zlib algorithm (flatdecode). When you want to " -"print such a file your printer has to understand postscript level 3" +"compress postscript image with zlib algorithm (flatedecode). When you want " +"to print such a file your printer has to understand postscript level 3" msgstr "" "Zlib algoritması ile sıkıÅtırılmıŠpostscript gƶrĆ¼ntĆ¼ yarat (flatdecode) " "EÄer bƶyle bir dosyayı Ƨıktı olarak almak istiyorsanız yazıcı postscript 3 " "dilini anlamalı " -#. DESC_SAVE_PDF_FLATDECODED -msgid "compress PDF image with zlib algorithm (flatdecode)." +#. DESC_SAVE_PDF_FLATEDECODED +#, fuzzy +msgid "compress PDF image with zlib algorithm (flatedecode)." msgstr "PDF dosyayı zlib algoritması ile sıkıÅtır (indirge)" #. DESC_SAVE_PNM16_AS_ASCII @@ -1815,7 +2076,9 @@ msgstr "" "tarafından kullanılmasına karÅın oldukƧa bĆ¼yĆ¼k dosyalar Ć¼retir." #. DESC_REDUCE_16BIT_TO_8BIT -msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +#, fuzzy +msgid "" +"If scanner sends image with 16 bits/channel save image with 8 bits/channel" msgstr "" "EÄer tarayıcı resmi 16 bit/renk olarak yollarsa, resmi 8 bit/renk olarak " "sakla" @@ -1847,7 +2110,8 @@ msgstr "" "kullan" #. DESC_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable preview gamma when XSane runs as gimp plugin" +#, fuzzy +msgid "Disable preview gamma when XSane runs as GIMP plugin" msgstr "Xsane gimp plugini olarak ƧalıÅtırılırsa ƶnizleme gammasını iptal et" #. DESC_PREVIEW_COLORMAP @@ -1941,6 +2205,15 @@ msgstr "Ćnizleme taraması tamamlandıktan sonra tarama aranını seƧ" msgid "Do color correction after preview scan has finished" msgstr "Ćnizleme taraması bittikten sonra renk dĆ¼zeltmesini yap" +#. DESC_RENDERING_INTENT +#, fuzzy +msgid "Select rendering intent for preview and saving" +msgstr "Ćnizleme taraması tamamlandıktan sonra tarama aranını seƧ" + +#. DESC_CMS_BPC +msgid "Apply black point compensation when color transformation is done" +msgstr "" + #. DESC_FAX_COMMAND msgid "Enter command to be executed in fax mode" msgstr "Faks modunda ƧalıÅtırılacak komutu yazın" @@ -1969,8 +2242,9 @@ msgstr "Faksı gƶrmek iƧin ƧalıÅtırılacak komutu yazın" msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" msgstr "Faksı yĆ¼ksek dikey ƧƶzĆ¼nĆ¼rlĆ¼kle (98 lpi yerine 196 lpi ile)gƶnder" -#. DESC_FAX_PS_FLATDECODED -msgid "Create zlib compressed postscript image for fax (flatdecode)" +#. DESC_FAX_PS_FLATEDECODED +#, fuzzy +msgid "Create zlib compressed postscript image for fax (flatedecode)" msgstr "Faks iƧin zlib sıkıÅtırlmıŠpostscript gƶrĆ¼ntĆ¼ yarat (flatdecode)" #. DESC_SMTP_SERVER @@ -2052,9 +2326,10 @@ msgstr "okuma" msgid "write" msgstr "yazma" -#. DESC_PERMISSION_EXECUTE -msgid "execute" -msgstr "ƧalıÅtırma" +#. DESC_PERMISSION_SEARCH +#, fuzzy +msgid "search" +msgstr "kullanıcı" #. DESC_ADD_BATCH msgid "Add selection for batch scan" @@ -2223,6 +2498,36 @@ msgstr "SeƧilen ƶnizleme alanını listeden sil" msgid "Turns on automatic mode" msgstr "Otomatik modu ethin kılar" +#. DESC_BUTTON_SCANNER_DEFAULT_COLOR_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default color ICM-profile" +msgstr "resim dosyası ara" + +#. DESC_BUTTON_SCANNER_DEFAULT_GRAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default gray ICM-profile" +msgstr "resim dosyası ara" + +#. DESC_BUTTON_DISPLAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for display ICM-profile" +msgstr "resim dosyası ara" + +#. DESC_BUTTON_PRINTER_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for printer ICM-profile" +msgstr "resim dosyası ara" + +#. DESC_BUTTON_CUSTOM_PROOFING_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for custom proofing ICM-profile" +msgstr "resim dosyası ara" + +#. DESC_BUTTON_WORKING_COLOR_SPACE_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for working color space ICM-profile" +msgstr "resim dosyası ara" + #. ERR_HOME_DIR msgid "Failed to determine home directory:" msgstr "Ev dizinini belirlemede hata:" @@ -2275,11 +2580,6 @@ msgstr "Saklama esnasında hata" msgid "Can't handle depth" msgstr "DerinliÄi kullanamaz" -#. ERR_GIMP_BAD_DEPTH -#, c-format -msgid "GIMP can't handle depth %d bits/color" -msgstr "GIMP %d bit /renk derinliÄi kullanamaz" - #. ERR_UNKNOWN_SAVING_FORMAT msgid "Unknown file format for saving" msgstr "Saklamak iƧin bilinmeyen format" @@ -2514,10 +2814,68 @@ msgstr "Dosya %s postscript dosyası deÄil" msgid "Unsupported %d-bit output format: %s" msgstr "Desteklenmeyen %d-bit Ƨıktı formatı:%s" +#. ERR_CMS_CONVERSION +#, fuzzy +msgid "Error during CMS conversion:" +msgstr "Saklama esnasında hata" + +#. ERR_CMS_OPEN_ICM_FILE +#, fuzzy +msgid "Could not open" +msgstr "AƧmada hata" + +#. CMS_SCANNER_ICM +#, fuzzy +msgid "scanner ICM profile" +msgstr "Yazıcı sil" + +#. CMS_DISPLAY_ICM +#, fuzzy +msgid "display ICM profile" +msgstr "resim dosyası ara" + +#. CMS_PROOF_ICM +#, fuzzy +msgid "proofing ICM profile" +msgstr "Yazıcı sil" + +#. ERR_CMS_CREATE_TRANSFORM +#, fuzzy +msgid "Could not create transform" +msgstr "GeƧici dosya yaratılamadı" + #. WARN_VIEWER_IMAGE_NOT_SAVED msgid "viewer image is not saved" msgstr "Ä°zleme resmi saklanamadı" +#. FILE_FILTER_ALL_FILES +msgid "All files" +msgstr "" + +#. FILE_FILTER_IMAGES +#, fuzzy +msgid "Images" +msgstr "Sayfalar:" + +#. FILE_FILTER_XBL +#, fuzzy +msgid "XSane batch list" +msgstr "Tarama listesini sakla" + +#. FILE_FILTER_ICM +msgid "ICC/ICM Profiles" +msgstr "" + +#. FILE_FILTER_DRC +#, fuzzy +msgid "XSane device preferences" +msgstr "Aygıt tercihlerini sakla ve Ƨık" + +#. FILE_FILTER_RC +#, fuzzy +msgid "XSane preferences" +msgstr "Ayarlar" + #. TEXT_USAGE msgid "Usage:" msgstr "Kullanım:" @@ -2890,24 +3248,61 @@ msgstr "Yetersiz hafıza" msgid "Access to resource has been denied" msgstr "KaynaÄa eriÅim reddedildi" -#~ msgid "Could not create temporary file" -#~ msgstr "GeƧici dosya yaratılamadı" +#, fuzzy +#~ msgid "select scanner transmissive ICM-profile" +#~ msgstr "Yazıcı sil" + +#, fuzzy +#~ msgid "select scanner transmissive gray ICM-profile" +#~ msgstr "Yazıcı sil" + +#, fuzzy +#~ msgid "Scanner reflective ICM-profile" +#~ msgstr "Yazıcı sil" + +#, fuzzy +#~ msgid "Scanner reflective gray ICM-profile" +#~ msgstr "Yazıcı sil" + +#, fuzzy +#~ msgid "Scanner transmissive gray ICM-profile" +#~ msgstr "Yazıcı sil" + +#, fuzzy +#~ msgid "Scanner reflektive ICM-profile" +#~ msgstr "Yazıcı sil" + +#, fuzzy +#~ msgid "Browse for scanner transmissive ICM-profile" +#~ msgstr "resim dosyası ara" -#~ msgid "Could not create temporary preview files" -#~ msgstr "GeƧici ƶnizleme dosyaları yaratılamadı" +#, fuzzy +#~ msgid "Browse for scanner transmissive gray ICM-profile" +#~ msgstr "resim dosyası ara" -#~ msgid "Could not create filenames for preview files" -#~ msgstr "Ćnizleme dosyaları iƧin dosya isimleri yaratılamadı" +#~ msgid "GIMP can't handle depth %d bits/color" +#~ msgstr "GIMP %d bit /renk derinliÄi kullanamaz" #, fuzzy -#~ msgid "POP3 authentication" -#~ msgstr "POP3 otorizasyon" +#~ msgid "scanner reflective ICM profile" +#~ msgstr "Yazıcı sil" + +#, fuzzy +#~ msgid "Embed scanner/source ICM profile for GIMP" +#~ msgstr "Yazıcı sil" + +#~ msgid "Enter name of fax project" +#~ msgstr "faks projesinin adını girin" -#~ msgid "XSane mode" -#~ msgstr "Xsane modu" +#~ msgid "Enter name of e-mail project" +#~ msgstr "E-Posta projesinin adını girin " -#~ msgid "POP3 user:" -#~ msgstr "POP3 kullanıcı:" +#~ msgid "Enter name of multipage project" +#~ msgstr "Ćoklu sayfa projesinin adını girin" -#~ msgid "POP3 password:" -#~ msgstr "POP3 Åifre:" +#~ msgid "" +#~ "Gimp does not support depth 16 bits/color.\n" +#~ "Do you want to reduce the depth to 8 bits/color?" +#~ msgstr "" +#~ "Gimp 16 bit/renk derinliÄini desteklemiyor.\n" +#~ "DerinliÄi 8bit/renk haline getirmek istermisiniz ?" Binary files differ@@ -4,7 +4,8 @@ msgid "" msgstr "" "Project-Id-Version: XSANE 0.96\n" -"POT-Creation-Date: 2006-01-07 00:26+0100\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-25 23:44+0100\n" "PO-Revision-Date: 2004-08-26 23:33+0700\n" "Last-Translator: Trinh Minh Thanh <tmthanh@yahoo.com>\n" "Language-Team: Vietnamese <gnomevi-list@lists.sourceforge.net>\n" @@ -37,6 +38,7 @@ msgid "About" msgstr "Giį»i thiį»u" #. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +#. MENU_ITEM_ABOUT_TRANSLATION msgid "About translation" msgstr "Giį»i thiį»u dį»ch thuįŗt" @@ -76,6 +78,11 @@ msgstr "Äį»i tĆŖn vĆ¹ng batch" msgid "fax project" msgstr "dį»± Ć”n fax" +#. WINDOW_FAX_PROJECT_BROWSE +#, fuzzy +msgid "browse for fax project" +msgstr "Nhįŗp tĆŖn cho dį»± Ć”n Fax" + #. WINDOW_FAX_RENAME msgid "rename fax page" msgstr "Äį»i tĆŖn trang fax" @@ -89,6 +96,11 @@ msgstr "chĆØn tįŗp tin ps vĆ o fax" msgid "E-mail project" msgstr "dį»± Ć”n thĘ°" +#. WINDOW_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "browse for email project" +msgstr "Nhįŗp tĆŖn dį»± Ć”n thĘ°" + #. WINDOW_EMAIL_RENAME #, fuzzy msgid "rename e-mail image" @@ -104,6 +116,11 @@ msgstr "chĆØn tįŗp tin vĆ o thĘ°" msgid "multipage project" msgstr "XĆ³a dį»± Ć”n" +#. WINDOW_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "browse for multipage project" +msgstr "XĆ³a dį»± Ć”n" + # WINDOW_PRESET_AREA_RENAME #. WINDOW_PRESET_AREA_RENAME msgid "rename preset area" @@ -153,6 +170,7 @@ msgid "Preview" msgstr "Xem trĘ°į»c" #. WINDOW_VIEWER +#. MENU_ITEM_VIEWER msgid "Viewer" msgstr "TrƬnh xem" @@ -185,14 +203,17 @@ msgid "select temporary directory" msgstr "chį»n thĘ° mį»„c tįŗ”m thį»i" #. WINDOW_SCALE +#. DESC_VIEWER_SCALE msgid "Scale image" msgstr "CĆ¢n chį»nh įŗ£nh" #. WINDOW_DESPECKLE +#. DESC_VIEWER_DESPECKLE msgid "Despeckle image" msgstr "XĆ³a vįŗæt Äį»m įŗ£nh" #. WINDOW_BLUR +#. DESC_VIEWER_BLUR msgid "Blur image" msgstr "LĆ m mį» įŗ£nh" @@ -204,6 +225,35 @@ msgstr "LĘ°u trį»Æ Äį»nh nghÄ©a phĘ°Ę”ng tiį»n" msgid "No devices available" msgstr "Hiį»n khĆ“ng cĆ³ thiįŗæt bį»" +#. WINDOW_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "select scanner default color ICM-profile" +msgstr "XĆ³a mĆ”y in" + +#. WINDOW_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "select scanner default gray ICM-profile" +msgstr "XĆ³a mĆ”y in" + +#. WINDOW_DISPLAY_ICM_PROFILE +msgid "select display ICM-profile" +msgstr "" + +#. WINDOW_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "select custom proofing ICM-profile" +msgstr "chį»n tĆŖn tįŗp tin Äįŗ§u ra" + +#. WINDOW_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "select working color space ICM-profile" +msgstr "XĆ³a mĆ”y in" + +#. WINDOW_PRINTER_ICM_PROFILE +#, fuzzy +msgid "select printer ICM-profile" +msgstr "XĆ³a mĆ”y in" + #. MENU_FILE msgid "File" msgstr "Tį»p" @@ -222,6 +272,7 @@ msgid "Window" msgstr "Cį»a sį»" #. MENU_HELP +#. BUTTON_HELP msgid "Help" msgstr "Trį»£ giĆŗp" @@ -239,6 +290,11 @@ msgstr "TrƬnh lį»c" msgid "Geometry" msgstr "HƬnh hį»c" +#. MENU_COLOR_MANAGEMENT +#. NOTEBOOK_COLOR_MANAGEMENT_OPTIONS +msgid "Color management" +msgstr "" + #. MENU_ITEM_ABOUT_XSANE msgid "About XSane" msgstr "Giį»i thiį»u XSane" @@ -252,6 +308,7 @@ msgid "Quit" msgstr "ThoĆ”t" #. MENU_ITEM_SAVE_IMAGE +#. DESC_VIEWER_SAVE msgid "Save image" msgstr "LĘ°u įŗ£nh" @@ -268,6 +325,7 @@ msgid "Scale" msgstr "CĆ¢n chį»nh" #. MENU_ITEM_CLOSE +#. BUTTON_CLOSE msgid "Close" msgstr "ÄĆ³ng" @@ -468,11 +526,11 @@ msgstr "Cįŗ£nh bĆ”o viį»c ghi ÄĆØ" msgid "Skip existing filenames" msgstr "Nhįŗ£y qua cĆ”c tĆŖn tįŗp tin hiį»n cĆ³" -#. RADIO_BUTTON_SAVE_PS_FLATDECODED +#. RADIO_BUTTON_SAVE_PS_FLATEDECODED msgid "Save postscript zlib compressed (ps level 3)" msgstr "" -#. RADIO_BUTTON_SAVE_PDF_FLATDECODED +#. RADIO_BUTTON_SAVE_PDF_FLATEDECODED msgid "Save PDF zlib compressed" msgstr "" @@ -489,7 +547,8 @@ msgid "Main window size fixed" msgstr "KĆch cį»” cį»a sį» chĆnh khĆ“ng Äį»i" #. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable gimp preview gamma" +#, fuzzy +msgid "Disable GIMP preview gamma" msgstr "TįŗÆt gamma xem trĘ°į»c cį»§a GIMP" #. RADIO_BUTTON_PRIVATE_COLORMAP @@ -512,6 +571,11 @@ msgstr "Tį»± Äį»ng hiį»u chį»nh mĆ u" msgid "Use GUI progress pipe" msgstr "DĆ¹ng pipe tiįŗæn trƬnh Äį» hį»a" +#. RADIO_BUTTON_CMS_BPC +#. MENU_ITEM_CMS_BLACK_POINT_COMPENSATION +msgid "Black point compensation" +msgstr "" + #. TEXT_SCANNING_DEVICES msgid "scanning for devices" msgstr "Äang rĆ tƬm thiįŗæt bį»" @@ -528,6 +592,12 @@ msgstr "TĆ¹y chį»n XSane" msgid "Type" msgstr "Loįŗ”i" +#. TEXT_CMS_FUNCTION +#. DESC_CMS_FUNCTION +#, fuzzy +msgid "Color management function" +msgstr "Dįŗ£i mĆ u Äįŗ§y Äį»§" + #. TEXT_SCANNER_BACKEND msgid "Scanner and backend:" msgstr "MĆ”y quĆ©t vĆ backend:" @@ -600,18 +670,11 @@ msgstr "Äį»nh dįŗ”ng Äįŗ§u ra 8 bit:" msgid "16 bit output formats:" msgstr "Äį»nh dįŗ”ng Äįŗ§u ra 16 bit:" -#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT -msgid "" -"Gimp does not support depth 16 bits/color.\n" -"Do you want to reduce the depth to 8 bits/color?" -msgstr "" -"Gimp khĆ“ng hį» trį»£ Äį» sĆ¢u mĆ u 16 bit.\n" -"CĆ³ muį»n hįŗ” xuį»ng 8 bit khĆ“ng ?" - #. TEXT_REDUCE_16BIT_TO_8BIT +#, fuzzy msgid "" -"Bit depth 16 bits/color is not supported for this output format.\n" -"Do you want to reduce the depth to 8 bits/color?" +"Bit depth 16 bits/channel is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/channel?" msgstr "" "KhĆ“ng hį» trį»£ Äį» sĆ¢u mĆ u 16 bit cho Äį»nh dįŗ”ng Äįŗ§u ra nĆ y.\n" "CĆ³ muį»n hįŗ” xuį»ng 8 bit khĆ“ng ?" @@ -648,6 +711,11 @@ msgstr "phiĆŖn bįŗ£n:" msgid "package" msgstr "gĆ³i tin" +#. TEXT_WITH_CMS_FUNCTION +#, fuzzy +msgid "with color management function" +msgstr "Dįŗ£i mĆ u Äįŗ§y Äį»§" + #. TEXT_WITH_GIMP_SUPPORT msgid "with GIMP support" msgstr "cĆ³ hį» trį»£ cį»§a GIMP" @@ -784,9 +852,10 @@ msgid "Medium Name:" msgstr "TĆŖn phĘ°Ę”ng tiį»n:" #. TEXT_VIEWER_IMAGE_INFO -#, c-format +#, fuzzy, c-format msgid "" -"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +"Size %d x %d pixel, %d bits/channel, %d channels, %1.0f dpi x %1.0f dpi, %" +"1.1f %s" msgstr "" "KĆch cį»” %d x %d pixel, %d bit/mĆ u, %d mĆ u, %1.0f dpi x %1.0f dpi, %1.1f %s" @@ -839,6 +908,7 @@ msgid "Name:" msgstr "TĆŖn:" #. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +#. TEXT_SETUP_FAX_COMMAND msgid "Command:" msgstr "Lį»nh:" @@ -859,18 +929,22 @@ msgid "Color resolution (dpi):" msgstr "Äį» phĆ¢n giįŗ£i mĆ u (dpi):" #. TEXT_SETUP_PRINTER_WIDTH +#. TEXT_SETUP_FAX_WIDTH msgid "Width" msgstr "Rį»ng" #. TEXT_SETUP_PRINTER_HEIGHT +#. TEXT_SETUP_FAX_HEIGHT msgid "Height" msgstr "Cao" #. TEXT_SETUP_PRINTER_LEFT +#. TEXT_SETUP_FAX_LEFT msgid "Left offset" msgstr "Offset trĆ”i" #. TEXT_SETUP_PRINTER_BOTTOM +#. TEXT_SETUP_FAX_BOTTOM msgid "Bottom offset" msgstr "Offset ÄĆ”y" @@ -890,7 +964,17 @@ msgstr "Xanh lĆ” cĆ¢y gamma mĆ”y in:" msgid "Printer gamma blue:" msgstr "Xanh da trį»i gamma mĆ”y in:" -#. TEXT_SETUP_PRINTER_PS_FLATDECODED +#. TEXT_SETUP_PRINTER_EMBED_CSA +#, fuzzy +msgid "Embed scanner ICM profile as CSA" +msgstr "XĆ³a mĆ”y in" + +#. TEXT_SETUP_PRINTER_EMBED_CRD +#, fuzzy +msgid "Embed printer ICM profile as CRD" +msgstr "XĆ³a mĆ”y in" + +#. TEXT_SETUP_PRINTER_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for printing" msgstr "" @@ -1015,7 +1099,7 @@ msgstr "Äįŗ·t mįŗ·c Äį»nh chĘ°Ę”ng trƬnh cho:" msgid "Viewer (Postscript):" msgstr "TrƬnh xem (Postscript):" -#. TEXT_SETUP_FAX_PS_FLATDECODED +#. TEXT_SETUP_FAX_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for fax" msgstr "" @@ -1094,10 +1178,45 @@ msgstr "nhĆ³m" msgid "all" msgstr "toĆ n bį»" +#. TEXT_SETUP_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "Scanner default color ICM-profile" +msgstr "XĆ³a mĆ”y in" + +#. TEXT_SETUP_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "Scanner default gray ICM-profile" +msgstr "XĆ³a mĆ”y in" + +#. TEXT_SETUP_DISPLAY_ICM_PROFILE +#. DESC_DISPLAY_ICM_PROFILE +msgid "Display ICM-profile" +msgstr "" + +#. TEXT_SETUP_CUSTOM_PROOFING_ICM_PROFILE +#. DESC_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "Custom proofing ICM-profile" +msgstr "XĆ³a mĆ”y in" + +#. TEXT_SETUP_WORKING_COLOR_SPACE_ICM_PROFILE +#. DESC_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "Working color space ICM-profile" +msgstr "Duyį»t tĆŖn tįŗp tin įŗ£nh" + +#. TEXT_SETUP_PRINTER_ICM_PROFILE +#. DESC_PRINTER_ICM_PROFILE +msgid "Printer ICM-profile" +msgstr "" + msgid "new media" msgstr "phĘ°Ę”ng tiį»n mį»i" #. NOTEBOOK_SAVING_OPTIONS +#. MENU_ITEM_SAVE msgid "Save" msgstr "LĘ°u" @@ -1107,14 +1226,17 @@ msgid "Filetype" msgstr "Tį»p" #. NOTEBOOK_COPY_OPTIONS +#. MENU_ITEM_COPY msgid "Copy" msgstr "Sao chĆ©p" #. NOTEBOOK_FAX_OPTIONS +#. MENU_ITEM_FAX msgid "Fax" msgstr "Fax" #. NOTEBOOK_EMAIL_OPTIONS +#. MENU_ITEM_EMAIL #, fuzzy msgid "E-mail" msgstr "Email" @@ -1207,6 +1329,12 @@ msgstr "Hiį»n thį» danh sĆ”ch Äį» phĆ¢n giįŗ£i" msgid "Rotate postscript" msgstr "Xoay postscript" +#. MENU_ITEM_ENABLE_COLOR_MANAGEMENT +#. MENU_ITEM_CMS_ENABLE_COLOR_MANAGEMENT +#, fuzzy +msgid "Enable color management" +msgstr "Dįŗ£i mĆ u Äįŗ§y Äį»§" + #. MENU_ITEM_EDIT_MEDIUM_DEF msgid "Edit medium definition" msgstr "BiĆŖn soįŗ”n Äį»nh nghÄ©a phĘ°Ę”ng tiį»n" @@ -1251,6 +1379,86 @@ msgstr "Mįŗ¹o quĆ©t" msgid "Problems?" msgstr "Trį»„c trįŗ·c?" +#. MENU_ITEM_CMS_PROOFING +#, fuzzy +msgid "Proofing" +msgstr "ThĆŖm mĆ”y in" + +#. SUBMENU_ITEM_CMS_PROOF_OFF +msgid "no proofing (Display)" +msgstr "" + +#. SUBMENU_ITEM_CMS_PROOF_PRINTER +#, fuzzy +msgid "Proof printer" +msgstr "ThĆŖm mĆ”y in" + +#. SUBMENU_ITEM_CMS_PROOF_CUSTOM +msgid "Proof custom device" +msgstr "" + +#. MENU_ITEM_CMS_RENDERING_INTENT +#, fuzzy +msgid "Rendering intent" +msgstr "ThĆŖm mĆ”y in" + +#. MENU_ITEM_CMS_PROOFING_INTENT +#, fuzzy +msgid "Proofing rendering intent" +msgstr "ThĆŖm mĆ”y in" + +#. SUBMENU_ITEM_CMS_INTENT_PERCEPTUAL +msgid "Perceptual" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_RELATIVE_COLORIMETRIC +msgid "Relative colorimetric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_ABSOLUTE_COLORIMETRIC +msgid "Absolute colorimentric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_SATURATION +#, fuzzy +msgid "Saturation" +msgstr "Chįŗ„p thuįŗn giįŗ„y phĆ©p" + +#. MENU_ITEM_CMS_GAMUT_CHECK +msgid "Gamut check" +msgstr "" + +#. MENU_ITEM_CMS_GAMUT_ALARM_COLOR +msgid "Gamut alarm color" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLACK +msgid "Black" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_GRAY +msgid "Gray" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_WHITE +#, fuzzy +msgid "White" +msgstr "ghi" + +#. SUBMENU_ITEM_CMS_COLOR_RED +#, fuzzy +msgid "Red" +msgstr "Giįŗ£m" + +#. SUBMENU_ITEM_CMS_COLOR_GREEN +msgid "Green" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLUE +#, fuzzy +msgid "Blue" +msgstr "LĆ m mį»" + #. MENU_ITEM_COUNTER_LEN_INACTIVE msgid "inactive" msgstr "bįŗ„t hoįŗ”t" @@ -1374,6 +1582,20 @@ msgstr "" msgid "ASMTP CRAM-MD5" msgstr "" +#. MENU_ITEM_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE +#, fuzzy +msgid "Embed scanner ICM profile" +msgstr "XĆ³a mĆ”y in" + +#. MENU_ITEM_CMS_FUNCTION_CONVERT_TO_SRGB +msgid "Convert to sRGB" +msgstr "" + +#. MENU_ITEM_FUNCTION_CONVERT_TO_WORKING_CS +#, fuzzy +msgid "Convert to working color space" +msgstr "Tį»± Äį»ng hiį»u chį»nh mĆ u" + #. PROGRESS_SCANNING msgid "Scanning" msgstr "Äang quĆ©t" @@ -1432,6 +1654,11 @@ msgstr "Äang lĆ m mį» įŗ£nh" msgid "OCR in progress" msgstr "Äang chįŗ”y OCR" +#. PROGRESS_ICM_CONVERSION +#, fuzzy +msgid "converting colors" +msgstr "Tį»± Äį»ng hiį»u chį»nh mĆ u" + #. DESC_SCAN_START msgid "Start scan <Ctrl-Enter>" msgstr "BįŗÆt Äįŗ§u quĆ©t <Ctrl-Enter>" @@ -1492,8 +1719,9 @@ msgstr "" "vĆ o tĆŖn tįŗp tin" #. DESC_FAXPROJECT -msgid "Enter name of fax project" -msgstr "Nhįŗp tĆŖn cho dį»± Ć”n Fax" +#, fuzzy +msgid "Enter fax project directory name" +msgstr "Duyį»t tƬm thĘ° mį»„c tįŗ”m" #. DESC_FAXPAGENAME msgid "Enter new name for faxpage" @@ -1503,10 +1731,15 @@ msgstr "Nhįŗp tĆŖn mį»i cho trang Fax" msgid "Enter receiver phone number or address" msgstr "Nhįŗp sį» Äiį»n thoįŗ”i hay Äį»a chį» ngĘ°į»i nhįŗn" +#. DESC_FAX_PROJECT_BROWSE +#, fuzzy +msgid "Browse for fax project directory" +msgstr "Duyį»t tƬm thĘ° mį»„c tįŗ”m" + #. DESC_EMAIL_PROJECT #, fuzzy -msgid "Enter name of e-mail project" -msgstr "Nhįŗp tĆŖn dį»± Ć”n thĘ°" +msgid "Enter e-mail project directory name" +msgstr "Duyį»t tƬm thĘ° mį»„c tįŗ”m" #. DESC_EMAIL_IMAGENAME #, fuzzy @@ -1518,6 +1751,11 @@ msgstr "Nhįŗp tĆŖn mį»i cho įŗ£nh trong thĘ°" msgid "Enter e-mail address" msgstr "Nhįŗp Äį»a chį» thĘ°" +#. DESC_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "Browse for email project directory" +msgstr "Duyį»t tƬm thĘ° mį»„c tįŗ”m" + #. DESC_EMAIL_SUBJECT #, fuzzy msgid "Enter subject of e-mail" @@ -1530,8 +1768,13 @@ msgstr "Chį»n loįŗ”i tįŗp tin cho įŗ£nh ÄĆnh kĆØm" #. DESC_MULTIPAGE_PROJECT #, fuzzy -msgid "Enter name of multipage project" -msgstr "Nhįŗp tĆŖn dį»± Ć”n thĘ°" +msgid "Enter multipage project directory name" +msgstr "Duyį»t tƬm thĘ° mį»„c tįŗ”m" + +#. DESC_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "Browse for multipage project directory" +msgstr "Duyį»t tƬm thĘ° mį»„c tįŗ”m" # DESC_MAIL_FILETYPE #. DESC_MULTIPAGE_FILETYPE @@ -1661,7 +1904,8 @@ msgstr "" " Äį» tĘ°Ę”ng phįŗ£n = 0" #. DESC_ENH_AUTO -msgid "Autoadjust gamma, brightness and contrast <Ctrl-e>" +#, fuzzy +msgid "Autoadjust gamma, brightness and contrast <Ctrl-a>" msgstr "Tį»± Äį»ng hiį»u chį»nh gamma, Äį» sĆ”ng vĆ Äį» tĘ°Ę”ng phįŗ£n <Ctrl-e>" #. DESC_ENH_DEFAULT @@ -1739,18 +1983,22 @@ msgid "Resolution with which color images are printed and saved in postscript" msgstr "Äį» phĆ¢n giįŗ£i Äį» in vĆ lĘ°u įŗ£nh mĆ u theo dįŗ”ng postscript" #. DESC_PRINTER_WIDTH +#. DESC_FAX_WIDTH msgid "Width of printable area" msgstr "Chiį»u rį»ng vĆ¹ng in ÄĘ°į»£c" #. DESC_PRINTER_HEIGHT +#. DESC_FAX_HEIGHT msgid "Height of printable area" msgstr "Chiį»u cao vĆ¹ng in ÄĘ°į»£c" #. DESC_PRINTER_LEFTOFFSET +#. DESC_FAX_LEFTOFFSET msgid "Left offset from the edge of the paper to the printable area" msgstr "Offset trĆ”i tį»« mĆ©p giįŗ„y Äįŗæn vĆ¹ng in ÄĘ°į»£c" #. DESC_PRINTER_BOTTOMOFFSET +#. DESC_FAX_BOTTOMOFFSET msgid "Bottom offset from the edge of the paper to the printable area" msgstr "Offset ÄĆ”y tį»« mĆ©p giįŗ„y Äįŗæn vĆ¹ng in ÄĘ°į»£c" @@ -1770,9 +2018,17 @@ msgstr "GiĆ” trį» gamma thĆŖm cho thĆ nh phįŗ§n mĆ u xanh lĆ” cĆ¢y cho photocop msgid "Additional gamma value for blue component for photocopy" msgstr "GiĆ” trį» gamma thĆŖm cho thĆ nh phįŗ§n mĆ u xanh da trį»i cho photocopy" -#. DESC_PRINTER_PS_FLATDECODED +#. DESC_PRINTER_EMBED_CSA +msgid "Creates a postsciptfile that contains the ICM profile of the scanner" +msgstr "" + +#. DESC_PRINTER_EMBED_CRD +msgid "Creates a postsciptfile that contains the ICM profile of the printer" +msgstr "" + +#. DESC_PRINTER_PS_FLATEDECODED msgid "" -"Create zlib compressed postscript image for printer (flatdecode).\n" +"Create zlib compressed postscript image for printer (flatedecode).\n" "The printer has to understand postscript level 3!" msgstr "" @@ -1830,14 +2086,14 @@ msgid "" "If filename counter is automatically increased, used numbers are skipped" msgstr "Nįŗæu bį» Äįŗæm tĆŖn tįŗp tin ÄĘ°į»£c tÄng tį»± Äį»ng, bį» qua cĆ”c sį» ÄĆ£ dĆ¹ng" -#. DESC_SAVE_PS_FLATDECODED +#. DESC_SAVE_PS_FLATEDECODED msgid "" -"compress postscript image with zlib algorithm (flatdecode). When you want to " -"print such a file your printer has to understand postscript level 3" +"compress postscript image with zlib algorithm (flatedecode). When you want " +"to print such a file your printer has to understand postscript level 3" msgstr "" -#. DESC_SAVE_PDF_FLATDECODED -msgid "compress PDF image with zlib algorithm (flatdecode)." +#. DESC_SAVE_PDF_FLATEDECODED +msgid "compress PDF image with zlib algorithm (flatedecode)." msgstr "" #. DESC_SAVE_PNM16_AS_ASCII @@ -1853,7 +2109,9 @@ msgstr "" "lįŗ”i tįŗ”o cĆ”c tįŗp tin įŗ£nh lį»n !!!" #. DESC_REDUCE_16BIT_TO_8BIT -msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +#, fuzzy +msgid "" +"If scanner sends image with 16 bits/channel save image with 8 bits/channel" msgstr "Nįŗæu mĆ”y quĆ©t gį»i įŗ£nh 16 bit/mĆ u thƬ lĘ°u thĆ nh 8 bit/mĆ u" #. DESC_PSFILE_WIDTH @@ -1882,7 +2140,8 @@ msgstr "" "DĆ¹ng cį»” cį»a sį» chĆnh cį» Äį»nh hoįŗ·c cį»a sį» chĆnh cuį»n ÄĘ°į»£c vĆ cĆ³ thį» Äį»i cį»”" #. DESC_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable preview gamma when XSane runs as gimp plugin" +#, fuzzy +msgid "Disable preview gamma when XSane runs as GIMP plugin" msgstr "TįŗÆt Xem trĘ°į»c gamma khi chįŗ”y XSane lĆ m plugin cį»§a GIMP" #. DESC_PREVIEW_COLORMAP @@ -1974,6 +2233,15 @@ msgstr "Chį»n vĆ¹ng quĆ©t sau khi kįŗæt thĆŗc viį»c quĆ©t xem trĘ°į»c" msgid "Do color correction after preview scan has finished" msgstr "Hiį»u chį»nh mĆ u sau khi kįŗæt thĆŗc viį»c quĆ©t xem trĘ°į»c" +#. DESC_RENDERING_INTENT +#, fuzzy +msgid "Select rendering intent for preview and saving" +msgstr "Chį»n vĆ¹ng quĆ©t sau khi kįŗæt thĆŗc viį»c quĆ©t xem trĘ°į»c" + +#. DESC_CMS_BPC +msgid "Apply black point compensation when color transformation is done" +msgstr "" + #. DESC_FAX_COMMAND msgid "Enter command to be executed in fax mode" msgstr "Nhįŗp lį»nh thį»±c thi trong chįŗæ Äį» Fax" @@ -2002,8 +2270,8 @@ msgstr "Nhįŗp lį»nh thį»±c thi Äį» xem Fax" msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" msgstr "Gį»i Fax cĆ³ Äį» phĆ¢n giįŗ£i dį»c cao (196 lpi thay vƬ 98 lpi)" -#. DESC_FAX_PS_FLATDECODED -msgid "Create zlib compressed postscript image for fax (flatdecode)" +#. DESC_FAX_PS_FLATEDECODED +msgid "Create zlib compressed postscript image for fax (flatedecode)" msgstr "" #. DESC_SMTP_SERVER @@ -2088,9 +2356,10 @@ msgstr "Äį»c" msgid "write" msgstr "ghi" -#. DESC_PERMISSION_EXECUTE -msgid "execute" -msgstr "thį»±c thi" +#. DESC_PERMISSION_SEARCH +#, fuzzy +msgid "search" +msgstr "ngĘ°į»i dĆ¹ng" #. DESC_ADD_BATCH msgid "Add selection for batch scan" @@ -2263,6 +2532,36 @@ msgstr "XĆ³a vĆ¹ng ÄĘ°į»£c chį»n khį»i danh sĆ”ch batch" msgid "Turns on automatic mode" msgstr "Bįŗt chįŗæ Äį» tį»± Äį»ng" +#. DESC_BUTTON_SCANNER_DEFAULT_COLOR_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default color ICM-profile" +msgstr "Duyį»t tĆŖn tįŗp tin įŗ£nh" + +#. DESC_BUTTON_SCANNER_DEFAULT_GRAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default gray ICM-profile" +msgstr "Duyį»t tĆŖn tįŗp tin įŗ£nh" + +#. DESC_BUTTON_DISPLAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for display ICM-profile" +msgstr "Duyį»t tĆŖn tįŗp tin įŗ£nh" + +#. DESC_BUTTON_PRINTER_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for printer ICM-profile" +msgstr "Duyį»t tĆŖn tįŗp tin įŗ£nh" + +#. DESC_BUTTON_CUSTOM_PROOFING_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for custom proofing ICM-profile" +msgstr "Duyį»t tĆŖn tįŗp tin įŗ£nh" + +#. DESC_BUTTON_WORKING_COLOR_SPACE_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for working color space ICM-profile" +msgstr "Duyį»t tĆŖn tįŗp tin įŗ£nh" + #. ERR_HOME_DIR msgid "Failed to determine home directory:" msgstr "KhĆ“ng xĆ”c Äį»nh ÄĘ°į»£c thĘ° mį»„c home:" @@ -2315,11 +2614,6 @@ msgstr "Lį»i khi lĘ°u:" msgid "Can't handle depth" msgstr "KhĆ“ng thį» xį» lĆ½ Äį» sĆ¢u" -#. ERR_GIMP_BAD_DEPTH -#, c-format -msgid "GIMP can't handle depth %d bits/color" -msgstr "GIMP khĆ“ng thį» xį» lĆ½ Äį» sĆ¢u %d bit/mĆ u" - #. ERR_UNKNOWN_SAVING_FORMAT msgid "Unknown file format for saving" msgstr "KhĆ“ng xĆ”c Äį»nh ÄĘ°į»£c Äį»nh dįŗ”ng tįŗp tin Äį» lĘ°u" @@ -2554,10 +2848,68 @@ msgstr "Tįŗp tin %s khĆ“ng phįŗ£i dįŗ”ng postscript" msgid "Unsupported %d-bit output format: %s" msgstr "KhĆ“ng hį» trį»£ Äį»nh dįŗ”ng Äįŗ§u ra %d-bit: %s" +#. ERR_CMS_CONVERSION +#, fuzzy +msgid "Error during CMS conversion:" +msgstr "Lį»i khi lĘ°u:" + +#. ERR_CMS_OPEN_ICM_FILE +#, fuzzy +msgid "Could not open" +msgstr "KhĆ“ng mį» ÄĘ°į»£c" + +#. CMS_SCANNER_ICM +#, fuzzy +msgid "scanner ICM profile" +msgstr "XĆ³a mĆ”y in" + +#. CMS_DISPLAY_ICM +#, fuzzy +msgid "display ICM profile" +msgstr "Duyį»t tĆŖn tįŗp tin įŗ£nh" + +#. CMS_PROOF_ICM +#, fuzzy +msgid "proofing ICM profile" +msgstr "XĆ³a mĆ”y in" + +#. ERR_CMS_CREATE_TRANSFORM +#, fuzzy +msgid "Could not create transform" +msgstr "KhĆ“ng tįŗ”o ÄĘ°į»£c tįŗp tin tįŗ”m thį»i" + #. WARN_VIEWER_IMAGE_NOT_SAVED msgid "viewer image is not saved" msgstr "įŗ¢nh į» trƬnh xem khĆ“ng ÄĘ°į»£c lĘ°u" +#. FILE_FILTER_ALL_FILES +msgid "All files" +msgstr "" + +#. FILE_FILTER_IMAGES +#, fuzzy +msgid "Images" +msgstr "įŗ¢nh" + +#. FILE_FILTER_XBL +#, fuzzy +msgid "XSane batch list" +msgstr "LĘ°u danh sĆ”ch batch" + +#. FILE_FILTER_ICM +msgid "ICC/ICM Profiles" +msgstr "" + +#. FILE_FILTER_DRC +#, fuzzy +msgid "XSane device preferences" +msgstr "LĘ°u cĆ”c sį» thĆch thiįŗæt bį» vĆ thoĆ”t ra" + +#. FILE_FILTER_RC +#, fuzzy +msgid "XSane preferences" +msgstr "Sį» thĆch" + #. TEXT_USAGE msgid "Usage:" msgstr "CĆ”ch dĆ¹ng:" @@ -2960,18 +3312,66 @@ msgstr "Hįŗæt bį» nhį»" msgid "Access to resource has been denied" msgstr "Truy cįŗp Äįŗæn nguį»n bį» tį»« chį»i" -#~ msgid "Could not create temporary file" -#~ msgstr "KhĆ“ng tįŗ”o ÄĘ°į»£c tįŗp tin tįŗ”m thį»i" +#, fuzzy +#~ msgid "select scanner transmissive ICM-profile" +#~ msgstr "XĆ³a mĆ”y in" + +#, fuzzy +#~ msgid "select scanner transmissive gray ICM-profile" +#~ msgstr "XĆ³a mĆ”y in" + +#, fuzzy +#~ msgid "Scanner reflective ICM-profile" +#~ msgstr "XĆ³a mĆ”y in" + +#, fuzzy +#~ msgid "Scanner reflective gray ICM-profile" +#~ msgstr "XĆ³a mĆ”y in" + +#, fuzzy +#~ msgid "Scanner transmissive gray ICM-profile" +#~ msgstr "XĆ³a mĆ”y in" + +#, fuzzy +#~ msgid "Scanner reflektive ICM-profile" +#~ msgstr "XĆ³a mĆ”y in" + +#, fuzzy +#~ msgid "Browse for scanner transmissive ICM-profile" +#~ msgstr "Duyį»t tĆŖn tįŗp tin įŗ£nh" + +#, fuzzy +#~ msgid "Browse for scanner transmissive gray ICM-profile" +#~ msgstr "Duyį»t tĆŖn tįŗp tin įŗ£nh" + +#~ msgid "GIMP can't handle depth %d bits/color" +#~ msgstr "GIMP khĆ“ng thį» xį» lĆ½ Äį» sĆ¢u %d bit/mĆ u" + +#, fuzzy +#~ msgid "scanner reflective ICM profile" +#~ msgstr "XĆ³a mĆ”y in" + +#, fuzzy +#~ msgid "Embed scanner/source ICM profile for GIMP" +#~ msgstr "XĆ³a mĆ”y in" -#~ msgid "Could not create temporary preview files" -#~ msgstr "KhĆ“ng thį» tįŗ”o tįŗp tin xem trĘ°į»c tįŗ”m thį»i" +#~ msgid "Enter name of fax project" +#~ msgstr "Nhįŗp tĆŖn cho dį»± Ć”n Fax" -#~ msgid "Could not create filenames for preview files" -#~ msgstr "KhĆ“ng thį» tįŗ”o tĆŖn cho tįŗp tin xem trĘ°į»c" +#, fuzzy +#~ msgid "Enter name of e-mail project" +#~ msgstr "Nhįŗp tĆŖn dį»± Ć”n thĘ°" #, fuzzy -#~ msgid "POP3 authentication" -#~ msgstr "Chį»©ng thį»±c POP3" +#~ msgid "Enter name of multipage project" +#~ msgstr "Nhįŗp tĆŖn dį»± Ć”n thĘ°" + +#~ msgid "" +#~ "Gimp does not support depth 16 bits/color.\n" +#~ "Do you want to reduce the depth to 8 bits/color?" +#~ msgstr "" +#~ "Gimp khĆ“ng hį» trį»£ Äį» sĆ¢u mĆ u 16 bit.\n" +#~ "CĆ³ muį»n hįŗ” xuį»ng 8 bit khĆ“ng ?" #~ msgid "XSane mode" #~ msgstr "Chįŗæ Äį» XSane" @@ -3036,9 +3436,6 @@ msgstr "Truy cįŗp Äįŗæn nguį»n bį» tį»« chį»i" #~ msgid "Multipage saving aborted" #~ msgstr "Mail project ÄĘ°į»£c tįŗ”o" -#~ msgid "Image" -#~ msgstr "įŗ¢nh" - #~ msgid "Viewer (png):" #~ msgstr "TrƬnh xem (png):" diff --git a/po/xsane.pot b/po/xsane.pot index 323832f..f7a2823 100644 --- a/po/xsane.pot +++ b/po/xsane.pot @@ -7,7 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2006-01-07 00:26+0100\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-25 23:44+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -34,6 +35,7 @@ msgid "About" msgstr "" #. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +#. MENU_ITEM_ABOUT_TRANSLATION msgid "About translation" msgstr "" @@ -73,6 +75,10 @@ msgstr "" msgid "fax project" msgstr "" +#. WINDOW_FAX_PROJECT_BROWSE +msgid "browse for fax project" +msgstr "" + #. WINDOW_FAX_RENAME msgid "rename fax page" msgstr "" @@ -85,6 +91,10 @@ msgstr "" msgid "E-mail project" msgstr "" +#. WINDOW_EMAIL_PROJECT_BROWSE +msgid "browse for email project" +msgstr "" + #. WINDOW_EMAIL_RENAME msgid "rename e-mail image" msgstr "" @@ -97,6 +107,10 @@ msgstr "" msgid "multipage project" msgstr "" +#. WINDOW_MULTIPAGE_PROJECT_BROWSE +msgid "browse for multipage project" +msgstr "" + #. WINDOW_PRESET_AREA_RENAME msgid "rename preset area" msgstr "" @@ -142,6 +156,7 @@ msgid "Preview" msgstr "" #. WINDOW_VIEWER +#. MENU_ITEM_VIEWER msgid "Viewer" msgstr "" @@ -174,14 +189,17 @@ msgid "select temporary directory" msgstr "" #. WINDOW_SCALE +#. DESC_VIEWER_SCALE msgid "Scale image" msgstr "" #. WINDOW_DESPECKLE +#. DESC_VIEWER_DESPECKLE msgid "Despeckle image" msgstr "" #. WINDOW_BLUR +#. DESC_VIEWER_BLUR msgid "Blur image" msgstr "" @@ -193,6 +211,30 @@ msgstr "" msgid "No devices available" msgstr "" +#. WINDOW_SCANNER_DEFAULT_COLOR_ICM_PROFILE +msgid "select scanner default color ICM-profile" +msgstr "" + +#. WINDOW_SCANNER_DEFAULT_GRAY_ICM_PROFILE +msgid "select scanner default gray ICM-profile" +msgstr "" + +#. WINDOW_DISPLAY_ICM_PROFILE +msgid "select display ICM-profile" +msgstr "" + +#. WINDOW_CUSTOM_PROOFING_ICM_PROFILE +msgid "select custom proofing ICM-profile" +msgstr "" + +#. WINDOW_WORKING_COLOR_SPACE_ICM_PROFILE +msgid "select working color space ICM-profile" +msgstr "" + +#. WINDOW_PRINTER_ICM_PROFILE +msgid "select printer ICM-profile" +msgstr "" + #. MENU_FILE msgid "File" msgstr "" @@ -210,6 +252,7 @@ msgid "Window" msgstr "" #. MENU_HELP +#. BUTTON_HELP msgid "Help" msgstr "" @@ -225,6 +268,11 @@ msgstr "" msgid "Geometry" msgstr "" +#. MENU_COLOR_MANAGEMENT +#. NOTEBOOK_COLOR_MANAGEMENT_OPTIONS +msgid "Color management" +msgstr "" + #. MENU_ITEM_ABOUT_XSANE msgid "About XSane" msgstr "" @@ -238,6 +286,7 @@ msgid "Quit" msgstr "" #. MENU_ITEM_SAVE_IMAGE +#. DESC_VIEWER_SAVE msgid "Save image" msgstr "" @@ -254,6 +303,7 @@ msgid "Scale" msgstr "" #. MENU_ITEM_CLOSE +#. BUTTON_CLOSE msgid "Close" msgstr "" @@ -445,11 +495,11 @@ msgstr "" msgid "Skip existing filenames" msgstr "" -#. RADIO_BUTTON_SAVE_PS_FLATDECODED +#. RADIO_BUTTON_SAVE_PS_FLATEDECODED msgid "Save postscript zlib compressed (ps level 3)" msgstr "" -#. RADIO_BUTTON_SAVE_PDF_FLATDECODED +#. RADIO_BUTTON_SAVE_PDF_FLATEDECODED msgid "Save PDF zlib compressed" msgstr "" @@ -466,7 +516,7 @@ msgid "Main window size fixed" msgstr "" #. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable gimp preview gamma" +msgid "Disable GIMP preview gamma" msgstr "" #. RADIO_BUTTON_PRIVATE_COLORMAP @@ -489,6 +539,11 @@ msgstr "" msgid "Use GUI progress pipe" msgstr "" +#. RADIO_BUTTON_CMS_BPC +#. MENU_ITEM_CMS_BLACK_POINT_COMPENSATION +msgid "Black point compensation" +msgstr "" + #. TEXT_SCANNING_DEVICES msgid "scanning for devices" msgstr "" @@ -505,6 +560,11 @@ msgstr "" msgid "Type" msgstr "" +#. TEXT_CMS_FUNCTION +#. DESC_CMS_FUNCTION +msgid "Color management function" +msgstr "" + #. TEXT_SCANNER_BACKEND msgid "Scanner and backend:" msgstr "" @@ -577,16 +637,10 @@ msgstr "" msgid "16 bit output formats:" msgstr "" -#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT -msgid "" -"Gimp does not support depth 16 bits/color.\n" -"Do you want to reduce the depth to 8 bits/color?" -msgstr "" - #. TEXT_REDUCE_16BIT_TO_8BIT msgid "" -"Bit depth 16 bits/color is not supported for this output format.\n" -"Do you want to reduce the depth to 8 bits/color?" +"Bit depth 16 bits/channel is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/channel?" msgstr "" #. TEXT_AUTHORIZATION_REQ @@ -621,6 +675,10 @@ msgstr "" msgid "package" msgstr "" +#. TEXT_WITH_CMS_FUNCTION +msgid "with color management function" +msgstr "" + #. TEXT_WITH_GIMP_SUPPORT msgid "with GIMP support" msgstr "" @@ -733,7 +791,8 @@ msgstr "" #. TEXT_VIEWER_IMAGE_INFO #, c-format msgid "" -"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +"Size %d x %d pixel, %d bits/channel, %d channels, %1.0f dpi x %1.0f dpi, %" +"1.1f %s" msgstr "" #. TEXT_DESPECKLE_RADIUS @@ -785,6 +844,7 @@ msgid "Name:" msgstr "" #. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +#. TEXT_SETUP_FAX_COMMAND msgid "Command:" msgstr "" @@ -805,18 +865,22 @@ msgid "Color resolution (dpi):" msgstr "" #. TEXT_SETUP_PRINTER_WIDTH +#. TEXT_SETUP_FAX_WIDTH msgid "Width" msgstr "" #. TEXT_SETUP_PRINTER_HEIGHT +#. TEXT_SETUP_FAX_HEIGHT msgid "Height" msgstr "" #. TEXT_SETUP_PRINTER_LEFT +#. TEXT_SETUP_FAX_LEFT msgid "Left offset" msgstr "" #. TEXT_SETUP_PRINTER_BOTTOM +#. TEXT_SETUP_FAX_BOTTOM msgid "Bottom offset" msgstr "" @@ -836,7 +900,15 @@ msgstr "" msgid "Printer gamma blue:" msgstr "" -#. TEXT_SETUP_PRINTER_PS_FLATDECODED +#. TEXT_SETUP_PRINTER_EMBED_CSA +msgid "Embed scanner ICM profile as CSA" +msgstr "" + +#. TEXT_SETUP_PRINTER_EMBED_CRD +msgid "Embed printer ICM profile as CRD" +msgstr "" + +#. TEXT_SETUP_PRINTER_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for printing" msgstr "" @@ -960,7 +1032,7 @@ msgstr "" msgid "Viewer (Postscript):" msgstr "" -#. TEXT_SETUP_FAX_PS_FLATDECODED +#. TEXT_SETUP_FAX_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for fax" msgstr "" @@ -1036,10 +1108,41 @@ msgstr "" msgid "all" msgstr "" +#. TEXT_SETUP_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_COLOR_ICM_PROFILE +msgid "Scanner default color ICM-profile" +msgstr "" + +#. TEXT_SETUP_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_GRAY_ICM_PROFILE +msgid "Scanner default gray ICM-profile" +msgstr "" + +#. TEXT_SETUP_DISPLAY_ICM_PROFILE +#. DESC_DISPLAY_ICM_PROFILE +msgid "Display ICM-profile" +msgstr "" + +#. TEXT_SETUP_CUSTOM_PROOFING_ICM_PROFILE +#. DESC_CUSTOM_PROOFING_ICM_PROFILE +msgid "Custom proofing ICM-profile" +msgstr "" + +#. TEXT_SETUP_WORKING_COLOR_SPACE_ICM_PROFILE +#. DESC_WORKING_COLOR_SPACE_ICM_PROFILE +msgid "Working color space ICM-profile" +msgstr "" + +#. TEXT_SETUP_PRINTER_ICM_PROFILE +#. DESC_PRINTER_ICM_PROFILE +msgid "Printer ICM-profile" +msgstr "" + msgid "new media" msgstr "" #. NOTEBOOK_SAVING_OPTIONS +#. MENU_ITEM_SAVE msgid "Save" msgstr "" @@ -1048,14 +1151,17 @@ msgid "Filetype" msgstr "" #. NOTEBOOK_COPY_OPTIONS +#. MENU_ITEM_COPY msgid "Copy" msgstr "" #. NOTEBOOK_FAX_OPTIONS +#. MENU_ITEM_FAX msgid "Fax" msgstr "" #. NOTEBOOK_EMAIL_OPTIONS +#. MENU_ITEM_EMAIL msgid "E-mail" msgstr "" @@ -1147,6 +1253,11 @@ msgstr "" msgid "Rotate postscript" msgstr "" +#. MENU_ITEM_ENABLE_COLOR_MANAGEMENT +#. MENU_ITEM_CMS_ENABLE_COLOR_MANAGEMENT +msgid "Enable color management" +msgstr "" + #. MENU_ITEM_EDIT_MEDIUM_DEF msgid "Edit medium definition" msgstr "" @@ -1191,6 +1302,78 @@ msgstr "" msgid "Problems?" msgstr "" +#. MENU_ITEM_CMS_PROOFING +msgid "Proofing" +msgstr "" + +#. SUBMENU_ITEM_CMS_PROOF_OFF +msgid "no proofing (Display)" +msgstr "" + +#. SUBMENU_ITEM_CMS_PROOF_PRINTER +msgid "Proof printer" +msgstr "" + +#. SUBMENU_ITEM_CMS_PROOF_CUSTOM +msgid "Proof custom device" +msgstr "" + +#. MENU_ITEM_CMS_RENDERING_INTENT +msgid "Rendering intent" +msgstr "" + +#. MENU_ITEM_CMS_PROOFING_INTENT +msgid "Proofing rendering intent" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_PERCEPTUAL +msgid "Perceptual" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_RELATIVE_COLORIMETRIC +msgid "Relative colorimetric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_ABSOLUTE_COLORIMETRIC +msgid "Absolute colorimentric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_SATURATION +msgid "Saturation" +msgstr "" + +#. MENU_ITEM_CMS_GAMUT_CHECK +msgid "Gamut check" +msgstr "" + +#. MENU_ITEM_CMS_GAMUT_ALARM_COLOR +msgid "Gamut alarm color" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLACK +msgid "Black" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_GRAY +msgid "Gray" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_WHITE +msgid "White" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_RED +msgid "Red" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_GREEN +msgid "Green" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLUE +msgid "Blue" +msgstr "" + #. MENU_ITEM_COUNTER_LEN_INACTIVE msgid "inactive" msgstr "" @@ -1307,6 +1490,18 @@ msgstr "" msgid "ASMTP CRAM-MD5" msgstr "" +#. MENU_ITEM_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE +msgid "Embed scanner ICM profile" +msgstr "" + +#. MENU_ITEM_CMS_FUNCTION_CONVERT_TO_SRGB +msgid "Convert to sRGB" +msgstr "" + +#. MENU_ITEM_FUNCTION_CONVERT_TO_WORKING_CS +msgid "Convert to working color space" +msgstr "" + #. PROGRESS_SCANNING msgid "Scanning" msgstr "" @@ -1364,6 +1559,10 @@ msgstr "" msgid "OCR in progress" msgstr "" +#. PROGRESS_ICM_CONVERSION +msgid "converting colors" +msgstr "" + #. DESC_SCAN_START msgid "Start scan <Ctrl-Enter>" msgstr "" @@ -1414,7 +1613,7 @@ msgid "" msgstr "" #. DESC_FAXPROJECT -msgid "Enter name of fax project" +msgid "Enter fax project directory name" msgstr "" #. DESC_FAXPAGENAME @@ -1425,8 +1624,12 @@ msgstr "" msgid "Enter receiver phone number or address" msgstr "" +#. DESC_FAX_PROJECT_BROWSE +msgid "Browse for fax project directory" +msgstr "" + #. DESC_EMAIL_PROJECT -msgid "Enter name of e-mail project" +msgid "Enter e-mail project directory name" msgstr "" #. DESC_EMAIL_IMAGENAME @@ -1437,6 +1640,10 @@ msgstr "" msgid "Enter e-mail address" msgstr "" +#. DESC_EMAIL_PROJECT_BROWSE +msgid "Browse for email project directory" +msgstr "" + #. DESC_EMAIL_SUBJECT msgid "Enter subject of e-mail" msgstr "" @@ -1446,7 +1653,11 @@ msgid "Select filetype for image attachments" msgstr "" #. DESC_MULTIPAGE_PROJECT -msgid "Enter name of multipage project" +msgid "Enter multipage project directory name" +msgstr "" + +#. DESC_MULTIPAGE_PROJECT_BROWSE +msgid "Browse for multipage project directory" msgstr "" #. DESC_MULTIPAGE_FILETYPE @@ -1567,7 +1778,7 @@ msgid "" msgstr "" #. DESC_ENH_AUTO -msgid "Autoadjust gamma, brightness and contrast <Ctrl-e>" +msgid "Autoadjust gamma, brightness and contrast <Ctrl-a>" msgstr "" #. DESC_ENH_DEFAULT @@ -1641,18 +1852,22 @@ msgid "Resolution with which color images are printed and saved in postscript" msgstr "" #. DESC_PRINTER_WIDTH +#. DESC_FAX_WIDTH msgid "Width of printable area" msgstr "" #. DESC_PRINTER_HEIGHT +#. DESC_FAX_HEIGHT msgid "Height of printable area" msgstr "" #. DESC_PRINTER_LEFTOFFSET +#. DESC_FAX_LEFTOFFSET msgid "Left offset from the edge of the paper to the printable area" msgstr "" #. DESC_PRINTER_BOTTOMOFFSET +#. DESC_FAX_BOTTOMOFFSET msgid "Bottom offset from the edge of the paper to the printable area" msgstr "" @@ -1672,9 +1887,17 @@ msgstr "" msgid "Additional gamma value for blue component for photocopy" msgstr "" -#. DESC_PRINTER_PS_FLATDECODED +#. DESC_PRINTER_EMBED_CSA +msgid "Creates a postsciptfile that contains the ICM profile of the scanner" +msgstr "" + +#. DESC_PRINTER_EMBED_CRD +msgid "Creates a postsciptfile that contains the ICM profile of the printer" +msgstr "" + +#. DESC_PRINTER_PS_FLATEDECODED msgid "" -"Create zlib compressed postscript image for printer (flatdecode).\n" +"Create zlib compressed postscript image for printer (flatedecode).\n" "The printer has to understand postscript level 3!" msgstr "" @@ -1728,14 +1951,14 @@ msgid "" "If filename counter is automatically increased, used numbers are skipped" msgstr "" -#. DESC_SAVE_PS_FLATDECODED +#. DESC_SAVE_PS_FLATEDECODED msgid "" -"compress postscript image with zlib algorithm (flatdecode). When you want to " -"print such a file your printer has to understand postscript level 3" +"compress postscript image with zlib algorithm (flatedecode). When you want " +"to print such a file your printer has to understand postscript level 3" msgstr "" -#. DESC_SAVE_PDF_FLATDECODED -msgid "compress PDF image with zlib algorithm (flatdecode)." +#. DESC_SAVE_PDF_FLATEDECODED +msgid "compress PDF image with zlib algorithm (flatedecode)." msgstr "" #. DESC_SAVE_PNM16_AS_ASCII @@ -1747,7 +1970,8 @@ msgid "" msgstr "" #. DESC_REDUCE_16BIT_TO_8BIT -msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +msgid "" +"If scanner sends image with 16 bits/channel save image with 8 bits/channel" msgstr "" #. DESC_PSFILE_WIDTH @@ -1775,7 +1999,7 @@ msgid "Use fixed main window size or scrolled, resizable main window" msgstr "" #. DESC_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable preview gamma when XSane runs as gimp plugin" +msgid "Disable preview gamma when XSane runs as GIMP plugin" msgstr "" #. DESC_PREVIEW_COLORMAP @@ -1861,6 +2085,14 @@ msgstr "" msgid "Do color correction after preview scan has finished" msgstr "" +#. DESC_RENDERING_INTENT +msgid "Select rendering intent for preview and saving" +msgstr "" + +#. DESC_CMS_BPC +msgid "Apply black point compensation when color transformation is done" +msgstr "" + #. DESC_FAX_COMMAND msgid "Enter command to be executed in fax mode" msgstr "" @@ -1889,8 +2121,8 @@ msgstr "" msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" msgstr "" -#. DESC_FAX_PS_FLATDECODED -msgid "Create zlib compressed postscript image for fax (flatdecode)" +#. DESC_FAX_PS_FLATEDECODED +msgid "Create zlib compressed postscript image for fax (flatedecode)" msgstr "" #. DESC_SMTP_SERVER @@ -1966,8 +2198,8 @@ msgstr "" msgid "write" msgstr "" -#. DESC_PERMISSION_EXECUTE -msgid "execute" +#. DESC_PERMISSION_SEARCH +msgid "search" msgstr "" #. DESC_ADD_BATCH @@ -2134,6 +2366,30 @@ msgstr "" msgid "Turns on automatic mode" msgstr "" +#. DESC_BUTTON_SCANNER_DEFAULT_COLOR_ICM_PROFILE_BROWSE +msgid "Browse for scanner default color ICM-profile" +msgstr "" + +#. DESC_BUTTON_SCANNER_DEFAULT_GRAY_ICM_PROFILE_BROWSE +msgid "Browse for scanner default gray ICM-profile" +msgstr "" + +#. DESC_BUTTON_DISPLAY_ICM_PROFILE_BROWSE +msgid "Browse for display ICM-profile" +msgstr "" + +#. DESC_BUTTON_PRINTER_ICM_PROFILE_BROWSE +msgid "Browse for printer ICM-profile" +msgstr "" + +#. DESC_BUTTON_CUSTOM_PROOFING_ICM_PROFILE_BROWSE +msgid "Browse for custom proofing ICM-profile" +msgstr "" + +#. DESC_BUTTON_WORKING_COLOR_SPACE_ICM_PROFILE_BROWSE +msgid "Browse for working color space ICM-profile" +msgstr "" + #. ERR_HOME_DIR msgid "Failed to determine home directory:" msgstr "" @@ -2186,11 +2442,6 @@ msgstr "" msgid "Can't handle depth" msgstr "" -#. ERR_GIMP_BAD_DEPTH -#, c-format -msgid "GIMP can't handle depth %d bits/color" -msgstr "" - #. ERR_UNKNOWN_SAVING_FORMAT msgid "Unknown file format for saving" msgstr "" @@ -2418,10 +2669,58 @@ msgstr "" msgid "Unsupported %d-bit output format: %s" msgstr "" +#. ERR_CMS_CONVERSION +msgid "Error during CMS conversion:" +msgstr "" + +#. ERR_CMS_OPEN_ICM_FILE +msgid "Could not open" +msgstr "" + +#. CMS_SCANNER_ICM +msgid "scanner ICM profile" +msgstr "" + +#. CMS_DISPLAY_ICM +msgid "display ICM profile" +msgstr "" + +#. CMS_PROOF_ICM +msgid "proofing ICM profile" +msgstr "" + +#. ERR_CMS_CREATE_TRANSFORM +msgid "Could not create transform" +msgstr "" + #. WARN_VIEWER_IMAGE_NOT_SAVED msgid "viewer image is not saved" msgstr "" +#. FILE_FILTER_ALL_FILES +msgid "All files" +msgstr "" + +#. FILE_FILTER_IMAGES +msgid "Images" +msgstr "" + +#. FILE_FILTER_XBL +msgid "XSane batch list" +msgstr "" + +#. FILE_FILTER_ICM +msgid "ICC/ICM Profiles" +msgstr "" + +#. FILE_FILTER_DRC +msgid "XSane device preferences" +msgstr "" + +#. FILE_FILTER_RC +msgid "XSane preferences" +msgstr "" + #. TEXT_USAGE msgid "Usage:" msgstr "" Binary files differ@@ -5,7 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: XSANE 0.96\n" -"POT-Creation-Date: 2006-01-07 00:26+0100\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-25 23:44+0100\n" "PO-Revision-Date: 2003-03-27 12:00+0100\n" "Last-Translator: Wang leolarrel <leolarrel@yahoo.com.tw>\n" "Language-Team: zh_TW<zh_TW@li.org>\n" @@ -32,6 +33,7 @@ msgid "About" msgstr "ęé" #. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +#. MENU_ITEM_ABOUT_TRANSLATION msgid "About translation" msgstr "éę¼ēæ»čÆ" @@ -71,6 +73,11 @@ msgstr "ę“åę¹ę¬”å" msgid "fax project" msgstr "å³ēå°ę”" +#. WINDOW_FAX_PROJECT_BROWSE +#, fuzzy +msgid "browse for fax project" +msgstr "č¼øå
„å³ēå°ę”ēåēر" + #. WINDOW_FAX_RENAME msgid "rename fax page" msgstr "ę“åå³ēå°ę”" @@ -84,6 +91,11 @@ msgstr "ęå
„psęŖę”å°å³ē" msgid "E-mail project" msgstr "é»åéµä»¶å°ę”" +#. WINDOW_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "browse for email project" +msgstr "č¼øå
„éµä»¶å°ę”ēåēر" + #. WINDOW_EMAIL_RENAME #, fuzzy msgid "rename e-mail image" @@ -99,6 +111,11 @@ msgstr "ęå
„ęŖę”å°é»åéµä»¶" msgid "multipage project" msgstr "åŖé¤å°ę”" +#. WINDOW_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "browse for multipage project" +msgstr "åŖé¤å°ę”" + #. WINDOW_PRESET_AREA_RENAME msgid "rename preset area" msgstr "ę“åé čØå" @@ -146,6 +163,7 @@ msgid "Preview" msgstr "é č¦½" #. WINDOW_VIEWER +#. MENU_ITEM_VIEWER msgid "Viewer" msgstr "ęŖ¢č¦åØ" @@ -178,14 +196,17 @@ msgid "select temporary directory" msgstr "éøęę«åē®é" #. WINDOW_SCALE +#. DESC_VIEWER_SCALE msgid "Scale image" msgstr "čŖæę“å½±å" #. WINDOW_DESPECKLE +#. DESC_VIEWER_DESPECKLE msgid "Despeckle image" msgstr "" #. WINDOW_BLUR +#. DESC_VIEWER_BLUR msgid "Blur image" msgstr "ęØ”ē³å½±å" @@ -197,6 +218,35 @@ msgstr "å²åē°å¢čØå®" msgid "No devices available" msgstr "ę²ęč£ē½®åÆ仄ä½æēØ" +#. WINDOW_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "select scanner default color ICM-profile" +msgstr "åŖé¤åč”Øę©" + +#. WINDOW_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "select scanner default gray ICM-profile" +msgstr "åŖé¤åč”Øę©" + +#. WINDOW_DISPLAY_ICM_PROFILE +msgid "select display ICM-profile" +msgstr "" + +#. WINDOW_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "select custom proofing ICM-profile" +msgstr "éøęč¼øåŗęŖå" + +#. WINDOW_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "select working color space ICM-profile" +msgstr "åŖé¤åč”Øę©" + +#. WINDOW_PRINTER_ICM_PROFILE +#, fuzzy +msgid "select printer ICM-profile" +msgstr "åŖé¤åč”Øę©" + #. MENU_FILE msgid "File" msgstr "ęŖę”" @@ -214,6 +264,7 @@ msgid "Window" msgstr "č¦ēŖ" #. MENU_HELP +#. BUTTON_HELP msgid "Help" msgstr "幫å©" @@ -229,6 +280,11 @@ msgstr "éęæ¾åØ" msgid "Geometry" msgstr "" +#. MENU_COLOR_MANAGEMENT +#. NOTEBOOK_COLOR_MANAGEMENT_OPTIONS +msgid "Color management" +msgstr "" + #. MENU_ITEM_ABOUT_XSANE msgid "About XSane" msgstr "ęéXsane" @@ -242,6 +298,7 @@ msgid "Quit" msgstr "é¢é" #. MENU_ITEM_SAVE_IMAGE +#. DESC_VIEWER_SAVE msgid "Save image" msgstr "å²åå½±å" @@ -258,6 +315,7 @@ msgid "Scale" msgstr "čŖæę“" #. MENU_ITEM_CLOSE +#. BUTTON_CLOSE msgid "Close" msgstr "éé" @@ -456,11 +514,11 @@ msgstr "č¦åÆ«č¦å" msgid "Skip existing filenames" msgstr "ēē„å·²ååØēęŖę”" -#. RADIO_BUTTON_SAVE_PS_FLATDECODED +#. RADIO_BUTTON_SAVE_PS_FLATEDECODED msgid "Save postscript zlib compressed (ps level 3)" msgstr "" -#. RADIO_BUTTON_SAVE_PDF_FLATDECODED +#. RADIO_BUTTON_SAVE_PDF_FLATEDECODED msgid "Save PDF zlib compressed" msgstr "" @@ -477,7 +535,8 @@ msgid "Main window size fixed" msgstr "äø»č¦ēŖ大å°åŗå®" #. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable gimp preview gamma" +#, fuzzy +msgid "Disable GIMP preview gamma" msgstr "åę¶gimpé č¦½gamma" #. RADIO_BUTTON_PRIVATE_COLORMAP @@ -500,6 +559,11 @@ msgstr "čŖåäæ®ę£é”č²" msgid "Use GUI progress pipe" msgstr "" +#. RADIO_BUTTON_CMS_BPC +#. MENU_ITEM_CMS_BLACK_POINT_COMPENSATION +msgid "Black point compensation" +msgstr "" + #. TEXT_SCANNING_DEVICES msgid "scanning for devices" msgstr "č£ē½®ęęäø" @@ -516,6 +580,12 @@ msgstr "XSane éøé
" msgid "Type" msgstr "åę
" +#. TEXT_CMS_FUNCTION +#. DESC_CMS_FUNCTION +#, fuzzy +msgid "Color management function" +msgstr "å
Øč²ēÆå" + #. TEXT_SCANNER_BACKEND msgid "Scanner and backend:" msgstr "ęęåØåå¾ē«Æé©
åēØå¼:" @@ -588,18 +658,11 @@ msgstr "8ä½å
č¼øåŗę ¼å¼" msgid "16 bit output formats:" msgstr "16ä½å
č¼øåŗę ¼å¼" -#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT -msgid "" -"Gimp does not support depth 16 bits/color.\n" -"Do you want to reduce the depth to 8 bits/color?" -msgstr "" -"Gimp äøęÆę“ 16ä½å
/č²å½© ę·±åŗ¦\n" -"ä½ ę³č¦ē°”åę8 ä½å
/č²å½© ę·±åŗ¦å?" - #. TEXT_REDUCE_16BIT_TO_8BIT +#, fuzzy msgid "" -"Bit depth 16 bits/color is not supported for this output format.\n" -"Do you want to reduce the depth to 8 bits/color?" +"Bit depth 16 bits/channel is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/channel?" msgstr "" "č¼øåŗę ¼å¼äøęÆę“16ä½å
/č²å½© ę·±åŗ¦\n" "ä½ ę³č¦ē°”åę8 ä½å
/č²å½© ę·±åŗ¦å?" @@ -636,6 +699,11 @@ msgstr "ēę¬" msgid "package" msgstr "å
č£" +#. TEXT_WITH_CMS_FUNCTION +#, fuzzy +msgid "with color management function" +msgstr "å
Øč²ēÆå" + #. TEXT_WITH_GIMP_SUPPORT msgid "with GIMP support" msgstr "ęGIMPęÆę“" @@ -755,9 +823,10 @@ msgid "Medium Name:" msgstr "ē°å¢åēر" #. TEXT_VIEWER_IMAGE_INFO -#, c-format +#, fuzzy, c-format msgid "" -"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +"Size %d x %d pixel, %d bits/channel, %d channels, %1.0f dpi x %1.0f dpi, %" +"1.1f %s" msgstr "" "å¤§å° %d x %d åē“ , %d bit/color, %d č², %1.0f dpi x %1.0f dpi, %1.1f %s" @@ -810,6 +879,7 @@ msgid "Name:" msgstr "åēر" #. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +#. TEXT_SETUP_FAX_COMMAND msgid "Command:" msgstr "å½ä»¤" @@ -830,18 +900,22 @@ msgid "Color resolution (dpi):" msgstr "č²å½©č§£ęåŗ¦ (dpi):" #. TEXT_SETUP_PRINTER_WIDTH +#. TEXT_SETUP_FAX_WIDTH msgid "Width" msgstr "åƬ" #. TEXT_SETUP_PRINTER_HEIGHT +#. TEXT_SETUP_FAX_HEIGHT msgid "Height" msgstr "é«" #. TEXT_SETUP_PRINTER_LEFT +#. TEXT_SETUP_FAX_LEFT msgid "Left offset" msgstr "å·¦éå·®č·" #. TEXT_SETUP_PRINTER_BOTTOM +#. TEXT_SETUP_FAX_BOTTOM msgid "Bottom offset" msgstr "äøéå·®č·" @@ -861,7 +935,17 @@ msgstr "åč”Øę© ē¶ č²gamma" msgid "Printer gamma blue:" msgstr "åč”Øę© čč²gamma" -#. TEXT_SETUP_PRINTER_PS_FLATDECODED +#. TEXT_SETUP_PRINTER_EMBED_CSA +#, fuzzy +msgid "Embed scanner ICM profile as CSA" +msgstr "åŖé¤åč”Øę©" + +#. TEXT_SETUP_PRINTER_EMBED_CRD +#, fuzzy +msgid "Embed printer ICM profile as CRD" +msgstr "åŖé¤åč”Øę©" + +#. TEXT_SETUP_PRINTER_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for printing" msgstr "" @@ -986,7 +1070,7 @@ msgstr "" msgid "Viewer (Postscript):" msgstr "ęŖ¢č¦åØ(Postscript)" -#. TEXT_SETUP_FAX_PS_FLATDECODED +#. TEXT_SETUP_FAX_PS_FLATEDECODED msgid "Create zlib compressed postscript image (ps level 3) for fax" msgstr "" @@ -1065,10 +1149,45 @@ msgstr "ē¾¤ēµ" msgid "all" msgstr "ęę" +#. TEXT_SETUP_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "Scanner default color ICM-profile" +msgstr "åŖé¤åč”Øę©" + +#. TEXT_SETUP_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "Scanner default gray ICM-profile" +msgstr "åŖé¤åč”Øę©" + +#. TEXT_SETUP_DISPLAY_ICM_PROFILE +#. DESC_DISPLAY_ICM_PROFILE +msgid "Display ICM-profile" +msgstr "" + +#. TEXT_SETUP_CUSTOM_PROOFING_ICM_PROFILE +#. DESC_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "Custom proofing ICM-profile" +msgstr "åŖé¤åč”Øę©" + +#. TEXT_SETUP_WORKING_COLOR_SPACE_ICM_PROFILE +#. DESC_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "Working color space ICM-profile" +msgstr "å½±åęŖę”ēč¦½" + +#. TEXT_SETUP_PRINTER_ICM_PROFILE +#. DESC_PRINTER_ICM_PROFILE +msgid "Printer ICM-profile" +msgstr "" + msgid "new media" msgstr "" #. NOTEBOOK_SAVING_OPTIONS +#. MENU_ITEM_SAVE msgid "Save" msgstr "å²å" @@ -1078,14 +1197,17 @@ msgid "Filetype" msgstr "ęŖę”" #. NOTEBOOK_COPY_OPTIONS +#. MENU_ITEM_COPY msgid "Copy" msgstr "č¤č£½" #. NOTEBOOK_FAX_OPTIONS +#. MENU_ITEM_FAX msgid "Fax" msgstr "å³ē" #. NOTEBOOK_EMAIL_OPTIONS +#. MENU_ITEM_EMAIL #, fuzzy msgid "E-mail" msgstr "é»åéµä»¶" @@ -1178,6 +1300,12 @@ msgstr "é”Æē¤ŗč§£ęåŗ¦åč”Ø" msgid "Rotate postscript" msgstr "" +#. MENU_ITEM_ENABLE_COLOR_MANAGEMENT +#. MENU_ITEM_CMS_ENABLE_COLOR_MANAGEMENT +#, fuzzy +msgid "Enable color management" +msgstr "å
Øč²ēÆå" + # #. MENU_ITEM_EDIT_MEDIUM_DEF msgid "Edit medium definition" @@ -1224,6 +1352,86 @@ msgstr "" msgid "Problems?" msgstr "åé”?" +#. MENU_ITEM_CMS_PROOFING +#, fuzzy +msgid "Proofing" +msgstr "å¢å åč”Øę©" + +#. SUBMENU_ITEM_CMS_PROOF_OFF +msgid "no proofing (Display)" +msgstr "" + +#. SUBMENU_ITEM_CMS_PROOF_PRINTER +#, fuzzy +msgid "Proof printer" +msgstr "å¢å åč”Øę©" + +#. SUBMENU_ITEM_CMS_PROOF_CUSTOM +msgid "Proof custom device" +msgstr "" + +#. MENU_ITEM_CMS_RENDERING_INTENT +#, fuzzy +msgid "Rendering intent" +msgstr "å¢å åč”Øę©" + +#. MENU_ITEM_CMS_PROOFING_INTENT +#, fuzzy +msgid "Proofing rendering intent" +msgstr "å¢å åč”Øę©" + +#. SUBMENU_ITEM_CMS_INTENT_PERCEPTUAL +msgid "Perceptual" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_RELATIVE_COLORIMETRIC +msgid "Relative colorimetric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_ABSOLUTE_COLORIMETRIC +msgid "Absolute colorimentric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_SATURATION +#, fuzzy +msgid "Saturation" +msgstr "ęę¬" + +#. MENU_ITEM_CMS_GAMUT_CHECK +msgid "Gamut check" +msgstr "" + +#. MENU_ITEM_CMS_GAMUT_ALARM_COLOR +msgid "Gamut alarm color" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLACK +msgid "Black" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_GRAY +msgid "Gray" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_WHITE +#, fuzzy +msgid "White" +msgstr "åÆ«å
„" + +#. SUBMENU_ITEM_CMS_COLOR_RED +#, fuzzy +msgid "Red" +msgstr "éå" + +#. SUBMENU_ITEM_CMS_COLOR_GREEN +msgid "Green" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLUE +#, fuzzy +msgid "Blue" +msgstr "ęØ”ē³" + #. MENU_ITEM_COUNTER_LEN_INACTIVE msgid "inactive" msgstr "失ę" @@ -1347,6 +1555,20 @@ msgstr "" msgid "ASMTP CRAM-MD5" msgstr "" +#. MENU_ITEM_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE +#, fuzzy +msgid "Embed scanner ICM profile" +msgstr "åŖé¤åč”Øę©" + +#. MENU_ITEM_CMS_FUNCTION_CONVERT_TO_SRGB +msgid "Convert to sRGB" +msgstr "" + +#. MENU_ITEM_FUNCTION_CONVERT_TO_WORKING_CS +#, fuzzy +msgid "Convert to working color space" +msgstr "čŖåäæ®ę£é”č²" + #. PROGRESS_SCANNING msgid "Scanning" msgstr "ęęäø" @@ -1405,6 +1627,11 @@ msgstr "ęØ”ē³å½±å" msgid "OCR in progress" msgstr "" +#. PROGRESS_ICM_CONVERSION +#, fuzzy +msgid "converting colors" +msgstr "čŖåäæ®ę£é”č²" + #. DESC_SCAN_START msgid "Start scan <Ctrl-Enter>" msgstr "éå§ęę<Ctrl-Enter>" @@ -1455,8 +1682,9 @@ msgid "" msgstr "" #. DESC_FAXPROJECT -msgid "Enter name of fax project" -msgstr "č¼øå
„å³ēå°ę”ēåēر" +#, fuzzy +msgid "Enter fax project directory name" +msgstr "ę«åē®éēč¦½" #. DESC_FAXPAGENAME msgid "Enter new name for faxpage" @@ -1466,10 +1694,15 @@ msgstr "č¼øå
„å³ēå°ę”ēę°åēر" msgid "Enter receiver phone number or address" msgstr "č¼øå
„ę„ę¶ēé»č©±čē¢¼ęä½å" +#. DESC_FAX_PROJECT_BROWSE +#, fuzzy +msgid "Browse for fax project directory" +msgstr "ę«åē®éēč¦½" + #. DESC_EMAIL_PROJECT #, fuzzy -msgid "Enter name of e-mail project" -msgstr "č¼øå
„éµä»¶å°ę”ēåēر" +msgid "Enter e-mail project directory name" +msgstr "ę«åē®éēč¦½" #. DESC_EMAIL_IMAGENAME #, fuzzy @@ -1481,6 +1714,11 @@ msgstr "č¼øå
„éµä»¶å°ę”ēę°åēر" msgid "Enter e-mail address" msgstr "č¼øå
„éµä»¶ä½å" +#. DESC_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "Browse for email project directory" +msgstr "ę«åē®éēč¦½" + #. DESC_EMAIL_SUBJECT #, fuzzy msgid "Enter subject of e-mail" @@ -1492,8 +1730,13 @@ msgstr "" #. DESC_MULTIPAGE_PROJECT #, fuzzy -msgid "Enter name of multipage project" -msgstr "č¼øå
„éµä»¶å°ę”ēåēر" +msgid "Enter multipage project directory name" +msgstr "ę«åē®éēč¦½" + +#. DESC_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "Browse for multipage project directory" +msgstr "ę«åē®éēč¦½" #. DESC_MULTIPAGE_FILETYPE #, fuzzy @@ -1618,7 +1861,8 @@ msgstr "" # #. DESC_ENH_AUTO -msgid "Autoadjust gamma, brightness and contrast <Ctrl-e>" +#, fuzzy +msgid "Autoadjust gamma, brightness and contrast <Ctrl-a>" msgstr "čŖåčŖæę“gamma,äŗ®åŗ¦ååå·®<Shift-e>" #. DESC_ENH_DEFAULT @@ -1692,18 +1936,22 @@ msgid "Resolution with which color images are printed and saved in postscript" msgstr "" #. DESC_PRINTER_WIDTH +#. DESC_FAX_WIDTH msgid "Width of printable area" msgstr "åå°ååƬåŗ¦" #. DESC_PRINTER_HEIGHT +#. DESC_FAX_HEIGHT msgid "Height of printable area" msgstr "åå°åé«åŗ¦" #. DESC_PRINTER_LEFTOFFSET +#. DESC_FAX_LEFTOFFSET msgid "Left offset from the edge of the paper to the printable area" msgstr "å¾é ēéē·£å°åå°åē左差č·" #. DESC_PRINTER_BOTTOMOFFSET +#. DESC_FAX_BOTTOMOFFSET msgid "Bottom offset from the edge of the paper to the printable area" msgstr "å¾é ēéē·£å°åå°åēäøå·®č·" @@ -1723,9 +1971,17 @@ msgstr "" msgid "Additional gamma value for blue component for photocopy" msgstr "" -#. DESC_PRINTER_PS_FLATDECODED +#. DESC_PRINTER_EMBED_CSA +msgid "Creates a postsciptfile that contains the ICM profile of the scanner" +msgstr "" + +#. DESC_PRINTER_EMBED_CRD +msgid "Creates a postsciptfile that contains the ICM profile of the printer" +msgstr "" + +#. DESC_PRINTER_PS_FLATEDECODED msgid "" -"Create zlib compressed postscript image for printer (flatdecode).\n" +"Create zlib compressed postscript image for printer (flatedecode).\n" "The printer has to understand postscript level 3!" msgstr "" @@ -1779,14 +2035,14 @@ msgid "" "If filename counter is automatically increased, used numbers are skipped" msgstr "" -#. DESC_SAVE_PS_FLATDECODED +#. DESC_SAVE_PS_FLATEDECODED msgid "" -"compress postscript image with zlib algorithm (flatdecode). When you want to " -"print such a file your printer has to understand postscript level 3" +"compress postscript image with zlib algorithm (flatedecode). When you want " +"to print such a file your printer has to understand postscript level 3" msgstr "" -#. DESC_SAVE_PDF_FLATDECODED -msgid "compress PDF image with zlib algorithm (flatdecode)." +#. DESC_SAVE_PDF_FLATEDECODED +msgid "compress PDF image with zlib algorithm (flatedecode)." msgstr "" #. DESC_SAVE_PNM16_AS_ASCII @@ -1798,7 +2054,8 @@ msgid "" msgstr "" #. DESC_REDUCE_16BIT_TO_8BIT -msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +msgid "" +"If scanner sends image with 16 bits/channel save image with 8 bits/channel" msgstr "" #. DESC_PSFILE_WIDTH @@ -1826,7 +2083,8 @@ msgid "Use fixed main window size or scrolled, resizable main window" msgstr "ä½æēØåŗå®äø»č¦ēŖ大å°,ęč
ę»å,ę“ę¹äø»č¦ēŖ大å°" #. DESC_DISABLE_GIMP_PREVIEW_GAMMA -msgid "Disable preview gamma when XSane runs as gimp plugin" +#, fuzzy +msgid "Disable preview gamma when XSane runs as GIMP plugin" msgstr "åę¶é č¦½gammaē¶XSaneč·åØgimp plugin ę" #. DESC_PREVIEW_COLORMAP @@ -1912,6 +2170,15 @@ msgstr "é č¦½ęęå¾éøęęęåå·²ē¶å®ęäŗ" msgid "Do color correction after preview scan has finished" msgstr "é č¦½ęęå¾ä½é”č²ę ”ę£å·²ē¶å®ęäŗ" +#. DESC_RENDERING_INTENT +#, fuzzy +msgid "Select rendering intent for preview and saving" +msgstr "é č¦½ęęå¾éøęęęåå·²ē¶å®ęäŗ" + +#. DESC_CMS_BPC +msgid "Apply black point compensation when color transformation is done" +msgstr "" + #. DESC_FAX_COMMAND msgid "Enter command to be executed in fax mode" msgstr "č¼øå
„åØå³ēęØ”å¼äøč¢«å·č”ēå½ä»¤" @@ -1940,8 +2207,8 @@ msgstr "č¼øå
„ęŖ¢č¦å³ēęč¦å·č”ēå½ä»¤" msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" msgstr "" -#. DESC_FAX_PS_FLATDECODED -msgid "Create zlib compressed postscript image for fax (flatdecode)" +#. DESC_FAX_PS_FLATEDECODED +msgid "Create zlib compressed postscript image for fax (flatedecode)" msgstr "" #. DESC_SMTP_SERVER @@ -2022,9 +2289,10 @@ msgstr "č®å" msgid "write" msgstr "åÆ«å
„" -#. DESC_PERMISSION_EXECUTE -msgid "execute" -msgstr "å·č”" +#. DESC_PERMISSION_SEARCH +#, fuzzy +msgid "search" +msgstr "ä½æēØč
" #. DESC_ADD_BATCH msgid "Add selection for batch scan" @@ -2190,6 +2458,36 @@ msgstr "å¾ę¹ę¬”åč”ØåŖé¤éøęēåå" msgid "Turns on automatic mode" msgstr "" +#. DESC_BUTTON_SCANNER_DEFAULT_COLOR_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default color ICM-profile" +msgstr "å½±åęŖę”ēč¦½" + +#. DESC_BUTTON_SCANNER_DEFAULT_GRAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default gray ICM-profile" +msgstr "å½±åęŖę”ēč¦½" + +#. DESC_BUTTON_DISPLAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for display ICM-profile" +msgstr "å½±åęŖę”ēč¦½" + +#. DESC_BUTTON_PRINTER_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for printer ICM-profile" +msgstr "å½±åęŖę”ēč¦½" + +#. DESC_BUTTON_CUSTOM_PROOFING_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for custom proofing ICM-profile" +msgstr "å½±åęŖę”ēč¦½" + +#. DESC_BUTTON_WORKING_COLOR_SPACE_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for working color space ICM-profile" +msgstr "å½±åęŖę”ēč¦½" + #. ERR_HOME_DIR msgid "Failed to determine home directory:" msgstr "ē”ę³ę±ŗå®Homeē®é" @@ -2242,11 +2540,6 @@ msgstr "å²åęéÆčŖ¤" msgid "Can't handle depth" msgstr "ē”ę³åå¾ę·±åŗ¦" -#. ERR_GIMP_BAD_DEPTH -#, c-format -msgid "GIMP can't handle depth %d bits/color" -msgstr "GIMPäøč½åå¾ę·±åŗ¦ %d bits/color" - #. ERR_UNKNOWN_SAVING_FORMAT msgid "Unknown file format for saving" msgstr "å²åęęŖē„ēęŖę”ę ¼å¼" @@ -2474,10 +2767,68 @@ msgstr "%s äøęÆäøåpostscript ęŖ" msgid "Unsupported %d-bit output format: %s" msgstr "äøęÆę“ %d -bit č¼øåŗę ¼å¼: %s" +#. ERR_CMS_CONVERSION +#, fuzzy +msgid "Error during CMS conversion:" +msgstr "å²åęéÆčŖ¤" + +#. ERR_CMS_OPEN_ICM_FILE +#, fuzzy +msgid "Could not open" +msgstr "éå失ę" + +#. CMS_SCANNER_ICM +#, fuzzy +msgid "scanner ICM profile" +msgstr "åŖé¤åč”Øę©" + +#. CMS_DISPLAY_ICM +#, fuzzy +msgid "display ICM profile" +msgstr "å½±åęŖę”ēč¦½" + +#. CMS_PROOF_ICM +#, fuzzy +msgid "proofing ICM profile" +msgstr "åŖé¤åč”Øę©" + +#. ERR_CMS_CREATE_TRANSFORM +#, fuzzy +msgid "Could not create transform" +msgstr "äøč½å»ŗē«ę«åęŖ" + #. WARN_VIEWER_IMAGE_NOT_SAVED msgid "viewer image is not saved" msgstr "ęŖ¢č¦åØå½±åę²ęå²å" +#. FILE_FILTER_ALL_FILES +msgid "All files" +msgstr "" + +#. FILE_FILTER_IMAGES +#, fuzzy +msgid "Images" +msgstr "ä½æēØ:" + +#. FILE_FILTER_XBL +#, fuzzy +msgid "XSane batch list" +msgstr "å²åę¹ę¬”åč”Ø" + +#. FILE_FILTER_ICM +msgid "ICC/ICM Profiles" +msgstr "" + +#. FILE_FILTER_DRC +#, fuzzy +msgid "XSane device preferences" +msgstr "é¢éęå²åč£ē½®å儽čØå®" + +#. FILE_FILTER_RC +#, fuzzy +msgid "XSane preferences" +msgstr "å儽čØå®" + #. TEXT_USAGE msgid "Usage:" msgstr "ä½æēØ:" @@ -2822,68 +3173,63 @@ msgstr "čØę¶é«äøč¶³" msgid "Access to resource has been denied" msgstr "č³ęŗååč¢«ē¦ę¢" -#~ msgid "Could not create temporary file" -#~ msgstr "äøč½å»ŗē«ę«åęŖ" - -#~ msgid "Could not create temporary preview files" -#~ msgstr "äøč½å»ŗē«ę«åé č¦½ęŖ" - -#~ msgid "Could not create filenames for preview files" -#~ msgstr "äøč½å»ŗē«é č¦½ęŖēęŖå" - #, fuzzy -#~ msgid "POP3 authentication" -#~ msgstr "ęę¬" - -#~ msgid "XSane mode" -#~ msgstr "XSane ęØ”å¼" - -#~ msgid "POP3 user:" -#~ msgstr "POP3 åø³č:" +#~ msgid "select scanner transmissive ICM-profile" +#~ msgstr "åŖé¤åč”Øę©" -#~ msgid "POP3 password:" -#~ msgstr "POP3åÆē¢¼:" +#, fuzzy +#~ msgid "select scanner transmissive gray ICM-profile" +#~ msgstr "åŖé¤åč”Øę©" -# #, fuzzy -#~ msgid "Multipage project not created" -#~ msgstr "äæ”件å°ę”ęŖå»ŗē«" +#~ msgid "Scanner reflective ICM-profile" +#~ msgstr "åŖé¤åč”Øę©" -# #, fuzzy -#~ msgid "Multipage project created" -#~ msgstr "äæ”件å°ę”å·²å»ŗē«" +#~ msgid "Scanner reflective gray ICM-profile" +#~ msgstr "åŖé¤åč”Øę©" -# #, fuzzy -#~ msgid "Multipage project changed" -#~ msgstr "äæ”件å°ę”ę“ę¹äŗ" +#~ msgid "Scanner transmissive gray ICM-profile" +#~ msgstr "åŖé¤åč”Øę©" #, fuzzy -#~ msgid "Saving multipage file" -#~ msgstr "å²åå½±å" +#~ msgid "Scanner reflektive ICM-profile" +#~ msgstr "åŖé¤åč”Øę©" -# #, fuzzy -#~ msgid "Multipage saving aborted" -#~ msgstr "äæ”件å°ę”å·²å»ŗē«" +#~ msgid "Browse for scanner transmissive ICM-profile" +#~ msgstr "å½±åęŖę”ēč¦½" -#~ msgid "Image" -#~ msgstr "å½±å" +#, fuzzy +#~ msgid "Browse for scanner transmissive gray ICM-profile" +#~ msgstr "å½±åęŖę”ēč¦½" -#~ msgid "Viewer (png):" -#~ msgstr "ęŖ¢č¦åØ(png)" +#~ msgid "GIMP can't handle depth %d bits/color" +#~ msgstr "GIMPäøč½åå¾ę·±åŗ¦ %d bits/color" #, fuzzy -#~ msgid "Enter command to be executed to view an e-mail image" -#~ msgstr "č¼øå
„ē¶ęŖ¢č¦äøåéµä»¶å½±åęč¦å·č”ēå½ä»¤" +#~ msgid "scanner reflective ICM profile" +#~ msgstr "åŖé¤åč”Øę©" #, fuzzy -#~ msgid "Failed to execute e-mail image viewer:" -#~ msgstr "äøč½å·č”éµä»¶å½±åęŖ¢č¦åØ" +#~ msgid "Embed scanner/source ICM profile for GIMP" +#~ msgstr "åŖé¤åč”Øę©" -#~ msgid "Step" -#~ msgstr "ę„é©" +#~ msgid "Enter name of fax project" +#~ msgstr "č¼øå
„å³ēå°ę”ēåēر" -#~ msgid "Mail" -#~ msgstr "é»åéµä»¶" +#, fuzzy +#~ msgid "Enter name of e-mail project" +#~ msgstr "č¼øå
„éµä»¶å°ę”ēåēر" + +#, fuzzy +#~ msgid "Enter name of multipage project" +#~ msgstr "č¼øå
„éµä»¶å°ę”ēåēر" + +#~ msgid "" +#~ "Gimp does not support depth 16 bits/color.\n" +#~ "Do you want to reduce the depth to 8 bits/color?" +#~ msgstr "" +#~ "Gimp äøęÆę“ 16ä½å
/č²å½© ę·±åŗ¦\n" +#~ "ä½ ę³č¦ē°”åę8 ä½å
/č²å½© ę·±åŗ¦å?" diff --git a/po/zh_CN.gmo b/po/zh_CN.gmo Binary files differnew file mode 100644 index 0000000..71d1b5f --- /dev/null +++ b/po/zh_CN.gmo diff --git a/po/zh_CN.po b/po/zh_CN.po new file mode 100644 index 0000000..1729b47 --- /dev/null +++ b/po/zh_CN.po @@ -0,0 +1,3203 @@ +# chines translation for xsane +# Copyright (C) 2004 +# leolarrel <leolarrel@yahoo.com.tw> +# +msgid "" +msgstr "" +"Project-Id-Version: XSANE 0.991\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-25 23:44+0100\n" +"PO-Revision-Date: 2003-03-27 12:00+0100\n" +"Last-Translator: gnome-cn@gmail.com\n" +"Language-Team: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 16bit\n" + +#. Please translate this to the correct directory name (eg. german=>de) +#. XSANE_LANGUAGE_DIR +msgid "language_dir" +msgstr "zh_CN" + +#. XSANE_COPYRIGHT_SIGN +msgid "(c)" +msgstr "(c)" + +#. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "" + +#. WINDOW_ABOUT_XSANE +msgid "About" +msgstr "ęå
³" + +#. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +#. MENU_ITEM_ABOUT_TRANSLATION +msgid "About translation" +msgstr "å
³äŗēæ»čÆ" + +#. WINDOW_AUTHORIZE +msgid "authorization" +msgstr "ęę" + +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "ē»ē«Æä½æēØč
ę”ēŗ¦" + +#. WINDOW_INFO +msgid "info" +msgstr "čµč®Æ" + +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "č½½å
„ę¹ę¬”åč”Ø" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "åØåę¹ę¬”åč”Ø" + +#. WINDOW_BATCH_SCAN +msgid "batch scan" +msgstr "ę¹ę¬”ę«ę" + +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "ę“åę¹ę¬”åŗ" + +#. WINDOW_FAX_PROJECT +msgid "fax project" +msgstr "ä¼ ēäøę”" + +#. WINDOW_FAX_PROJECT_BROWSE +#, fuzzy +msgid "browse for fax project" +msgstr "č¾å
„ä¼ ēäøę”ēåē§°" + +#. WINDOW_FAX_RENAME +msgid "rename fax page" +msgstr "ę“åä¼ ēäøę”" + +#. WINDOW_FAX_INSERT +msgid "insert ps-file into fax" +msgstr "ęå
„psę”£ę”å°ä¼ ē" + +#. WINDOW_EMAIL_PROJECT +msgid "E-mail project" +msgstr "ēµåé®ä»¶å·„ēØ" + +#. WINDOW_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "browse for email project" +msgstr "č¾å
„é®ä»¶äøę”ēåē§°" + +#. WINDOW_EMAIL_RENAME +msgid "rename e-mail image" +msgstr "ę“åēµåé®ä»¶å¾å" + +#. WINDOW_EMAIL_INSERT +msgid "insert file into e-mail" +msgstr "ęå
„ę件å°ēµåé®ä»¶" + +#. WINDOW_MULTIPAGE_PROJECT +msgid "multipage project" +msgstr "å¤é”µå·„ēØ" + +#. WINDOW_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "browse for multipage project" +msgstr "å¤é”µå·„ēØ" + +#. WINDOW_PRESET_AREA_RENAME +msgid "rename preset area" +msgstr "ę“åé¢č®¾åŗ" + +# +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr "ę“åé¢č®¾åŗ" + +# +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr "ę“åēµåé®ä»¶äøę”" + +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "ę·»å ę°åŖä½" + +#. WINDOW_SETUP +msgid "setup" +msgstr "č®¾å®" + +#. WINDOW_HISTOGRAM +msgid "Histogram" +msgstr "ē©å½¢å¾" + +#. WINDOW_GAMMA +msgid "Gamma curve" +msgstr "Gamma ę²ēŗæ" + +#. WINDOW_STANDARD_OPTIONS +msgid "Standard options" +msgstr "åŗę¬é锹" + +#. WINDOW_ADVANCED_OPTIONS +msgid "Advanced options" +msgstr "čæé¶é锹" + +#. WINDOW_DEVICE_SELECTION +msgid "device selection" +msgstr "č£
ē½®éę©" + +#. WINDOW_PREVIEW +msgid "Preview" +msgstr "é¢č§" + +#. WINDOW_VIEWER +#. MENU_ITEM_VIEWER +msgid "Viewer" +msgstr "ę£č§åØ" + +#. WINDOW_VIEWER_OUTPUT_FILENAME +msgid "Viewer: select output filename" +msgstr "ę£č§åØ:éę©č¾åŗę”£å" + +#. WINDOW_OCR_OUTPUT_FILENAME +msgid "Select output filename for OCR text file" +msgstr "äøŗOCRęåę”£éę©č¾åŗę”£å" + +#. WINDOW_OUTPUT_FILENAME +msgid "select output filename" +msgstr "éę©č¾åŗę”£å" + +#. WINDOW_SAVE_SETTINGS +msgid "save device settings" +msgstr "åØåč£
ē½®é锹" + +#. WINDOW_LOAD_SETTINGS +msgid "load device settings" +msgstr "č½½å
„č£
ē½®é锹" + +#. WINDOW_CHANGE_WORKING_DIR +msgid "change working directory" +msgstr "ę“ę¹å·„ä½ē®å½" + +#. WINDOW_TMP_PATH +msgid "select temporary directory" +msgstr "éę©ęåē®å½" + +#. WINDOW_SCALE +#. DESC_VIEWER_SCALE +msgid "Scale image" +msgstr "č°ę“å½±å" + +#. WINDOW_DESPECKLE +#. DESC_VIEWER_DESPECKLE +msgid "Despeckle image" +msgstr "å»ę" + +#. WINDOW_BLUR +#. DESC_VIEWER_BLUR +msgid "Blur image" +msgstr "ęØ”ē³å½±å" + +#. WINDOW_STORE_MEDIUM +msgid "Store medium definition" +msgstr "åØåēÆå¢č®¾å®" + +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "ę²”ęč£
ē½®åÆ仄ä½æēØ" + +#. WINDOW_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "select scanner default color ICM-profile" +msgstr "å é¤åč”Øęŗ" + +#. WINDOW_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "select scanner default gray ICM-profile" +msgstr "å é¤åč”Øęŗ" + +#. WINDOW_DISPLAY_ICM_PROFILE +msgid "select display ICM-profile" +msgstr "" + +#. WINDOW_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "select custom proofing ICM-profile" +msgstr "éę©č¾åŗę”£å" + +#. WINDOW_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "select working color space ICM-profile" +msgstr "å é¤åč”Øęŗ" + +#. WINDOW_PRINTER_ICM_PROFILE +#, fuzzy +msgid "select printer ICM-profile" +msgstr "å é¤åč”Øęŗ" + +#. MENU_FILE +msgid "File" +msgstr "ę”£ę”" + +#. MENU_PREFERENCES +msgid "Preferences" +msgstr "åå„½č®¾å®" + +#. MENU_VIEW +msgid "View" +msgstr "ę£č§" + +#. MENU_WINDOW +msgid "Window" +msgstr "č§ēŖ" + +#. MENU_HELP +#. BUTTON_HELP +msgid "Help" +msgstr "åø®å©" + +#. MENU_EDIT +msgid "Edit" +msgstr "ē¼č¾" + +#. MENU_FILTERS +msgid "Filters" +msgstr "čæ껤åØ" + +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "大å°" + +#. MENU_COLOR_MANAGEMENT +#. NOTEBOOK_COLOR_MANAGEMENT_OPTIONS +msgid "Color management" +msgstr "" + +#. MENU_ITEM_ABOUT_XSANE +msgid "About XSane" +msgstr "ęå
³Xsane" + +#. MENU_ITEM_INFO +msgid "Info" +msgstr "čµč®Æ" + +#. MENU_ITEM_QUIT +msgid "Quit" +msgstr "ē¦»å¼" + +#. MENU_ITEM_SAVE_IMAGE +#. DESC_VIEWER_SAVE +msgid "Save image" +msgstr "åØåå½±å" + +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "OCR - åęęåę”£" + +#. MENU_ITEM_CLONE +msgid "Clone" +msgstr "å¤å¶" + +#. MENU_ITEM_SCALE +msgid "Scale" +msgstr "č°ę“" + +#. MENU_ITEM_CLOSE +#. BUTTON_CLOSE +msgid "Close" +msgstr "å
³é" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "åč¦" + +#. MENU_ITEM_DESPECKLE +msgid "Despeckle" +msgstr "å»ę" + +#. MENU_ITEM_BLUR +msgid "Blur" +msgstr "ęØ”ē³" + +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "ęč½¬ 90åŗ¦" + +# +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr "ęč½¬180åŗ¦" + +# +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr "ęč½¬270åŗ¦" + +# +#. MENU_ITEM_MIRROR_X +msgid "Mirror |" +msgstr "ę°“å¹³éå |" + +# +#. MENU_ITEM_MIRROR_Y +msgid "Mirror -" +msgstr "åē“éå -" + +#. FRAME_RAW_IMAGE +msgid "Raw image" +msgstr "å®é
å½±å" + +#. FRAME_ENHANCED_IMAGE +msgid "Enhanced image" +msgstr "å¢å¼ŗå½±å" + +#. BUTTON_SCAN +msgid "Scan" +msgstr "ę«ę" + +#. BUTTON_OK +msgid "Ok" +msgstr "ē”®å®" + +#. BUTTON_ACCEPT +msgid "Accept" +msgstr "ę„å" + +#. BUTTON_NOT_ACCEPT +msgid "Not accept" +msgstr "äøę„å" + +#. BUTTON_APPLY +msgid "Apply" +msgstr "åŗēØ" + +#. BUTTON_CANCEL +msgid "Cancel" +msgstr "åę¶" + +#. BUTTON_REDUCE +msgid "Reduce" +msgstr "čæå" + +#. BUTTON_CONT_AT_OWN_RISK +msgid "Continue at your own risk" +msgstr "ē»§ē»ä½ čŖå·±ēåé©" + +#. BUTTON_BROWSE +msgid "Browse" +msgstr "ęµč§" + +#. BUTTON_OVERWRITE +msgid "Overwrite" +msgstr "č¦å" + +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "ę«ęę¹ę¬”åč”Ø" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "ę«ęéę©ēåŗå" + +#. BUTTON_PAGE_DELETE +msgid "Delete page" +msgstr "å é¤é”µ" + +#. BUTTON_PAGE_SHOW +msgid "Show page" +msgstr "ę¾ē¤ŗ锵" + +#. BUTTON_PAGE_RENAME +msgid "Rename page" +msgstr "ę“å锵" + +#. BUTTON_IMAGE_DELETE +msgid "Delete image" +msgstr "å é¤å½±å" + +#. BUTTON_IMAGE_SHOW +msgid "Show image" +msgstr "ę¾ē¤ŗå½±å" + +# +#. BUTTON_IMAGE_EDIT +msgid "Edit image" +msgstr "ē¼č¾å½±å" + +#. BUTTON_IMAGE_RENAME +msgid "Rename image" +msgstr "ę“åå½±å" + +#. BUTTON_FILE_INSERT +msgid "Insert file" +msgstr "ęå
„ę”£ę”" + +#. BUTTON_CREATE_PROJECT +msgid "Create project" +msgstr "å»ŗē«äøę”" + +#. BUTTON_SEND_PROJECT +msgid "Send project" +msgstr "ä¼ éäøę”" + +#. BUTTON_SAVE_MULTIPAGE +msgid "Save multipage file" +msgstr "äæåå¤é”µę件" + +#. BUTTON_DELETE_PROJECT +msgid "Delete project" +msgstr "å é¤äøę”" + +#. BUTTON_ADD_PRINTER +msgid "Add printer" +msgstr "å¢å åč”Øęŗ" + +#. BUTTON_DELETE_PRINTER +msgid "Delete printer" +msgstr "å é¤åč”Øęŗ" + +#. BUTTON_PREVIEW_ACQUIRE +msgid "Acquire preview" +msgstr "č·å¾é¢č§" + +#. BUTTON_PREVIEW_CANCEL +msgid "Cancel preview" +msgstr "å é¤é¢č§" + +#. BUTTON_DISCARD_IMAGE +msgid "Discard image" +msgstr "ęå¼é¢č§" + +#. BUTTON_DISCARD_ALL_IMAGES +msgid "Discard all images" +msgstr "ęå¼ęęå½±å" + +#. BUTTON_DO_NOT_CLOSE +msgid "Do not close" +msgstr "äøč¦å
³é" + +#. BUTTON_SCALE_BIND +msgid "Bind scale" +msgstr "" + +#. RADIO_BUTTON_FINE_MODE +msgid "Fine mode" +msgstr "" + +#. RADIO_BUTTON_HTML_EMAIL +msgid "HTML e-mail" +msgstr "HTMLé®ä»¶" + +#. RADIO_BUTTON_SAVE_DEVPREFS_AT_EXIT +msgid "Save device preferences at exit" +msgstr "ē¦»å¼ę¶åØåč£
ē½®åå„½č®¾å®" + +#. RADIO_BUTTON_OVERWRITE_WARNING +msgid "Overwrite warning" +msgstr "č¦åč¦å" + +#. RADIO_BUTTON_SKIP_EXISTING_NRS +msgid "Skip existing filenames" +msgstr "ēē„å·²ååØēę”£ę”" + +#. RADIO_BUTTON_SAVE_PS_FLATEDECODED +msgid "Save postscript zlib compressed (ps level 3)" +msgstr "" + +#. RADIO_BUTTON_SAVE_PDF_FLATEDECODED +msgid "Save PDF zlib compressed" +msgstr "" + +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "åØå16ä½å
pnmåØasciię ¼å¼" + +#. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT +msgid "Reduce 16 bit image to 8 bit" +msgstr "ē®å16ä½å
å½±åå°8ä½å
" + +#. RADIO_BUTTON_WINDOW_FIXED +msgid "Main window size fixed" +msgstr "äø»č§ēŖ大å°åŗå®" + +#. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA +#, fuzzy +msgid "Disable GIMP preview gamma" +msgstr "åę¶gimpé¢č§gamma" + +#. RADIO_BUTTON_PRIVATE_COLORMAP +msgid "Use private colormap" +msgstr "ä½æēØå
åēcolormap" + +#. RADIO_BUTTON_AUTOENHANCE_GAMMA +msgid "Autoenhance gamma" +msgstr "čŖåØå¢å¼ŗgamma" + +#. RADIO_BUTTON_PRESELECT_SCANAREA +msgid "Preselect scanarea" +msgstr "é¢å
éę©ę«ęåŗ" + +#. RADIO_BUTTON_AUTOCORRECT_COLORS +msgid "Autocorrect colors" +msgstr "čŖåØäæ®ę£é¢č²" + +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "" + +#. RADIO_BUTTON_CMS_BPC +#. MENU_ITEM_CMS_BLACK_POINT_COMPENSATION +msgid "Black point compensation" +msgstr "" + +#. TEXT_SCANNING_DEVICES +msgid "scanning for devices" +msgstr "č£
ē½®ę«ęäø" + +#. TEXT_AVAILABLE_DEVICES +msgid "Available devices:" +msgstr "åÆēØēč£
ē½®ę:" + +#. TEXT_XSANE_OPTIONS +msgid "XSane options" +msgstr "XSane é锹" + +#. TEXT_FILETYPE +msgid "Type" +msgstr "ē±»å" + +#. TEXT_CMS_FUNCTION +#. DESC_CMS_FUNCTION +#, fuzzy +msgid "Color management function" +msgstr "å
Øč²čå“" + +#. TEXT_SCANNER_BACKEND +msgid "Scanner and backend:" +msgstr "ę«ęåØååē«Æ驱åØēØå¼:" + +#. TEXT_VENDOR +msgid "Vendor:" +msgstr "ęä¾č
:" + +#. TEXT_MODEL +msgid "Model:" +msgstr "ę ·å¼:" + +#. TEXT_TYPE +msgid "Type:" +msgstr "åę:" + +#. TEXT_DEVICE +msgid "Device:" +msgstr "č£
ē½®:" + +#. TEXT_LOADED_BACKEND +msgid "Loaded backend:" +msgstr "č½½å
„ēåē«Æ驱åØēØå¼:" + +#. TEXT_SANE_VERSION +msgid "Sane version:" +msgstr "Saneēę¬:" + +#. TEXT_RECENT_VALUES +msgid "Recent values:" +msgstr "ęčæēå¼:" + +#. TEXT_GAMMA_CORR_BY +msgid "Gamma correction by:" +msgstr "Gammaę ”ę£ē±:" + +#. TEXT_SCANNER +msgid "scanner" +msgstr "ę«ęåØ" + +#. TEXT_SOFTWARE_XSANE +msgid "software (XSane)" +msgstr "č½Æä½(XSane)" + +#. TEXT_NONE +msgid "none" +msgstr "ę " + +#. TEXT_GAMMA_INPUT_DEPTH +msgid "Gamma input depth:" +msgstr "Gammač¾å
„ę·±åŗ¦" + +#. TEXT_GAMMA_OUTPUT_DEPTH +msgid "Gamma output depth:" +msgstr "Gammač¾åŗę·±åŗ¦" + +#. TEXT_SCANNER_OUTPUT_DEPTH +msgid "Scanner output depth:" +msgstr "ę«ęåØč¾åŗę·±åŗ¦" + +#. TEXT_OUTPUT_FORMATS +msgid "XSane output formats:" +msgstr "XSaneč¾åŗę ¼å¼" + +#. TEXT_8BIT_FORMATS +msgid "8 bit output formats:" +msgstr "8ä½å
č¾åŗę ¼å¼" + +#. TEXT_16BIT_FORMATS +msgid "16 bit output formats:" +msgstr "16ä½å
č¾åŗę ¼å¼" + +#. TEXT_REDUCE_16BIT_TO_8BIT +#, fuzzy +msgid "" +"Bit depth 16 bits/channel is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/channel?" +msgstr "" +"č¾åŗę ¼å¼äøęÆę“16ä½å
/č²å½© ę·±åŗ¦\n" +"ä½ ę³č¦ē®åę8 ä½å
/č²å½© ę·±åŗ¦å?" + +#. TEXT_AUTHORIZATION_REQ +msgid "Authorization required for" +msgstr "" + +#. TEXT_AUTHORIZATION_SECURE +msgid "Password transmission is secure" +msgstr "åÆē åéęÆå®å
Øē" + +#. TEXT_AUTHORIZATION_INSECURE +msgid "Backend requests plain-text password" +msgstr "åē«Æ驱åØēØå¼éč¦ēŗÆęååÆē " + +#. TEXT_USERNAME +msgid "Username :" +msgstr "ä½æēØč
åē§°" + +#. TEXT_PASSWORD +msgid "Password :" +msgstr "åÆē " + +#. TEXT_INVALID_PARAMS +msgid "Invalid parameters." +msgstr "ę ęēåę°" + +#. TEXT_VERSION +msgid "version:" +msgstr "ēę¬" + +#. TEXT_PACKAGE +msgid "package" +msgstr "å
č£
" + +#. TEXT_WITH_CMS_FUNCTION +#, fuzzy +msgid "with color management function" +msgstr "å
Øč²čå“" + +#. TEXT_WITH_GIMP_SUPPORT +msgid "with GIMP support" +msgstr "ęGIMPęÆę“" + +#. TEXT_WITHOUT_GIMP_SUPPORT +msgid "without GIMP support" +msgstr "ę²”ęGIMPęÆę“" + +#. TEXT_GTK_VERSION +msgid "compiled with GTK-" +msgstr "" + +#. TEXT_GIMP_VERSION +msgid "compiled with GIMP-" +msgstr "" + +#. TEXT_UNKNOWN +msgid "unknown" +msgstr "ęŖē„ē" + +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" + +#. TEXT_GPL +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +msgstr "" + +#. TEXT_EMAIL_ADR +msgid "E-mail:" +msgstr "ēµåé®ä»¶:" + +#. TEXT_HOMEPAGE +msgid "Homepage:" +msgstr "é¦é”µ" + +#. TEXT_FILE +msgid "File:" +msgstr "ę”£ę”" + +#. TEXT_TRANSLATION +msgid "Translation:" +msgstr "ēæ»čÆ" + +#. Please translate this to something like +#. translation to YOUR LANGUAGE\n +#. by YOUR NAME\n +#. E-mail: your.name@yourdomain.com\n +#. TEXT_TRANSLATION_INFO +msgid "" +"untranslated original english text\n" +"by Oliver Rauch\n" +"E-mail: Oliver.Rauch@rauch-domain.de\n" +msgstr "" +"ēæ»čÆ: ęØēŗ¢\n" +"å¦ęä»»ä½ēæ»čÆēé®é¢,ęč
ęØęę“č““åēēæ»ę³,čÆ·ē±äøå e-mail čē»\n" +"gnome-cn@gmail.com\n" + +#. TEXT_INFO_BOX +msgid "0x0: 0KB" +msgstr "" + +#. TEXT_ADF_PAGES_SCANNED +msgid "Scanned pages: " +msgstr "ę«ęē锵é¢" + +#. TEXT_EMAIL_TEXT +msgid "E-mail text:" +msgstr "é®ä»¶ēå
容:" + +#. TEXT_ATTACHMENTS +msgid "Attachments:" +msgstr "é件" + +#. TEXT_EMAIL_STATUS +msgid "Project status:" +msgstr "äøę”ē¶ę" + +#. TEXT_EMAIL_FILETYPE +msgid "E-mail image filetype:" +msgstr "é®ä»¶å¾åē±»å:" + +#. TEXT_PAGES +msgid "Pages:" +msgstr "锵ę°:" + +#. TEXT_MULTIPAGE_FILETYPE +msgid "Multipage document filetype:" +msgstr "å¤é”µęę”£ē±»å:" + +#. TEXT_MEDIUM_DEFINITION_NAME +msgid "Medium Name:" +msgstr "ēÆå¢åē§°" + +#. TEXT_VIEWER_IMAGE_INFO +#, fuzzy, c-format +msgid "" +"Size %d x %d pixel, %d bits/channel, %d channels, %1.0f dpi x %1.0f dpi, %" +"1.1f %s" +msgstr "" +"å¤§å° %d x %d åē“ , %d bit/color, %d č², %1.0f dpi x %1.0f dpi, %1.1f %s" + +#. TEXT_DESPECKLE_RADIUS +msgid "Despeckle radius:" +msgstr "" + +#. TEXT_BLUR_RADIUS +msgid "Blur radius:" +msgstr "ęØ”ē³åå¾" + +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "åŗååē§°" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "ę«ęęØ”å¼" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "å·¦äøč§" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "大å°" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "č§£ęåŗ¦" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "ä½å
ę·±åŗ¦" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "" + +#. TEXT_SETUP_PRINTER_SEL +msgid "Printer selection:" +msgstr "åč”Øęŗéę©" + +#. TEXT_SETUP_PRINTER_NAME +msgid "Name:" +msgstr "åē§°" + +#. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +#. TEXT_SETUP_FAX_COMMAND +msgid "Command:" +msgstr "å½ä»¤" + +#. TEXT_SETUP_COPY_NR_OPT +msgid "Copy number option:" +msgstr "" + +#. TEXT_SETUP_PRINTER_LINEART_RES +msgid "Lineart resolution (dpi):" +msgstr "" + +#. TEXT_SETUP_PRINTER_GRAYSCALE_RES +msgid "Grayscale resolution (dpi):" +msgstr "" + +#. TEXT_SETUP_PRINTER_COLOR_RES +msgid "Color resolution (dpi):" +msgstr "č²å½©č§£ęåŗ¦ (dpi):" + +#. TEXT_SETUP_PRINTER_WIDTH +#. TEXT_SETUP_FAX_WIDTH +msgid "Width" +msgstr "宽" + +#. TEXT_SETUP_PRINTER_HEIGHT +#. TEXT_SETUP_FAX_HEIGHT +msgid "Height" +msgstr "é«" + +#. TEXT_SETUP_PRINTER_LEFT +#. TEXT_SETUP_FAX_LEFT +msgid "Left offset" +msgstr "å·¦č¾¹å·®č·" + +#. TEXT_SETUP_PRINTER_BOTTOM +#. TEXT_SETUP_FAX_BOTTOM +msgid "Bottom offset" +msgstr "äøč¾¹å·®č·" + +#. TEXT_SETUP_PRINTER_GAMMA +msgid "Printer gamma value:" +msgstr "åč”Øęŗgammaå¼" + +#. TEXT_SETUP_PRINTER_GAMMA_RED +msgid "Printer gamma red:" +msgstr "åč”Øęŗ ēŗ¢č²gamma" + +#. TEXT_SETUP_PRINTER_GAMMA_GREEN +msgid "Printer gamma green:" +msgstr "åč”Øęŗ ē»æč²gamma" + +#. TEXT_SETUP_PRINTER_GAMMA_BLUE +msgid "Printer gamma blue:" +msgstr "åč”Øęŗ čč²gamma" + +#. TEXT_SETUP_PRINTER_EMBED_CSA +#, fuzzy +msgid "Embed scanner ICM profile as CSA" +msgstr "å é¤åč”Øęŗ" + +#. TEXT_SETUP_PRINTER_EMBED_CRD +#, fuzzy +msgid "Embed printer ICM profile as CRD" +msgstr "å é¤åč”Øęŗ" + +#. TEXT_SETUP_PRINTER_PS_FLATEDECODED +msgid "Create zlib compressed postscript image (ps level 3) for printing" +msgstr "" + +#. TEXT_SETUP_TMP_PATH +msgid "Temporary directory" +msgstr "ęåē®å½" + +#. TEXT_SETUP_IMAGE_PERMISSION +msgid "Image-file permissions" +msgstr "å½±åę”£ę”ęé" + +#. TEXT_SETUP_DIR_PERMISSION +msgid "Directory permissions" +msgstr "ē®å½ęé" + +#. TEXT_SETUP_JPEG_QUALITY +msgid "JPEG image quality" +msgstr "JPEGå½±ååč“Ø" + +#. TEXT_SETUP_PNG_COMPRESSION +msgid "PNG image compression" +msgstr "PNGå½±ååē¼©" + +#. TEXT_SETUP_FILENAME_COUNTER_LEN +msgid "Filename counter length" +msgstr "ę”£åč®”ę°éæåŗ¦" + +#. TEXT_SETUP_TIFF_ZIP_COMPRESSION +msgid "TIFF zip compression rate" +msgstr "TIFF zip åē¼©ē" + +#. TEXT_SETUP_TIFF_COMPRESSION_16 +msgid "TIFF 16 bit image compression" +msgstr "TIFF 16 ä½å
å½±ååē¼©" + +#. TEXT_SETUP_TIFF_COMPRESSION_8 +msgid "TIFF 8 bit image compression" +msgstr "TIFF 8 ä½å
å½±ååē¼©" + +#. TEXT_SETUP_TIFF_COMPRESSION_1 +msgid "TIFF lineart image compression" +msgstr "" + +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "ę¾ē¤ŗčå“åØ" + +#. TEXT_SETUP_PREVIEW_OVERSAMPLING +msgid "Preview oversampling:" +msgstr "" + +#. TEXT_SETUP_PREVIEW_GAMMA +msgid "Preview gamma:" +msgstr "é¢č§gamma" + +#. TEXT_SETUP_PREVIEW_GAMMA_RED +msgid "Preview gamma red:" +msgstr "é¢č§ ēŗ¢č²gamma" + +#. TEXT_SETUP_PREVIEW_GAMMA_GREEN +msgid "Preview gamma green:" +msgstr "é¢č§ ē»æč²gamma" + +#. TEXT_SETUP_PREVIEW_GAMMA_BLUE +msgid "Preview gamma blue:" +msgstr "é¢č§ čč²gamma" + +#. TEXT_SETUP_LINEART_MODE +msgid "Threshold option:" +msgstr "č¾¹ēé锹:" + +#. TEXT_SETUP_PREVIEW_PIPETTE_RANGE +msgid "Preview pipette range" +msgstr "é¢č§åøåčå“" + +#. TEXT_SETUP_THRESHOLD_MIN +msgid "Threshold minimum:" +msgstr "ęå°č¾¹ē" + +#. TEXT_SETUP_THRESHOLD_MAX +msgid "Threshold maximum:" +msgstr "ęå¤§č¾¹ē" + +#. TEXT_SETUP_THRESHOLD_MUL +msgid "Threshold multiplier:" +msgstr "" + +#. TEXT_SETUP_THRESHOLD_OFF +msgid "Threshold offset:" +msgstr "č¾¹ēå·®č·" + +#. TEXT_SETUP_GRAYSCALE_SCANMODE +msgid "Name of grayscale scanmode:" +msgstr "ē°ę„č°ę“ę«ęęØ”å¼ēåē§°" + +#. TEXT_SETUP_HELPFILE_VIEWER +msgid "Helpfile viewer (HTML):" +msgstr "ęå©ę”£ę£č§åØ(HTML)" + +#. TEXT_SETUP_FAX_RECEIVER_OPTION +msgid "Receiver option:" +msgstr "ę„ę¶é锹" + +#. TEXT_SETUP_FAX_POSTSCRIPT_OPT +msgid "Postscriptfile option:" +msgstr "Postscriptę”£ę”é锹" + +#. TEXT_SETUP_FAX_NORMAL_MODE_OPT +msgid "Normal mode option:" +msgstr "ę£åøøęØ”å¼é锹" + +#. TEXT_SETUP_FAX_FINE_MODE_OPT +msgid "Fine mode option:" +msgstr "" + +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "" + +#. TEXT_SETUP_FAX_VIEWER +msgid "Viewer (Postscript):" +msgstr "ę£č§åØ(Postscript)" + +#. TEXT_SETUP_FAX_PS_FLATEDECODED +msgid "Create zlib compressed postscript image (ps level 3) for fax" +msgstr "" + +#. TEXT_SETUP_SMTP_SERVER +msgid "SMTP server:" +msgstr "SMTPä¼ŗęåØ:" + +#. TEXT_SETUP_SMTP_PORT +msgid "SMTP port:" +msgstr "SMTPéč®Æå :" + +#. TEXT_SETUP_EMAIL_FROM +msgid "From:" +msgstr "ä»" + +#. TEXT_SETUP_EMAIL_REPLY_TO +msgid "Reply to:" +msgstr "åč¦å°" + +#. TEXT_SETUP_EMAIL_AUTHENTICATION +msgid "E-mail authentication" +msgstr "é®ä»¶č®¤čÆ" + +#. TEXT_SETUP_EMAIL_AUTH_USER +msgid "User:" +msgstr "ēØę·:" + +#. TEXT_SETUP_EMAIL_AUTH_PASS +msgid "Password:" +msgstr "åÆē " + +#. TEXT_SETUP_POP3_SERVER +msgid "POP3 server:" +msgstr "POP3 ęå”åØ:" + +#. TEXT_SETUP_POP3_PORT +msgid "POP3 port:" +msgstr "POP3éč®Æå :" + +#. TEXT_SETUP_OCR_COMMAND +msgid "OCR Command:" +msgstr "OCR å½ä»¤" + +#. TEXT_SETUP_OCR_INPUTFILE_OPT +msgid "Inputfile option:" +msgstr "č¾å
„ę”£é锹" + +#. TEXT_SETUP_OCR_OUTPUTFILE_OPT +msgid "Outputfile option:" +msgstr "č¾åŗę”£é锹" + +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "" + +#. TEXT_SETUP_PERMISSION_USER +msgid "user" +msgstr "ä½æēØč
" + +#. TEXT_SETUP_PERMISSION_GROUP +msgid "group" +msgstr "ē¾¤ē»" + +#. TEXT_SETUP_PERMISSION_ALL +msgid "all" +msgstr "ęę" + +#. TEXT_SETUP_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_COLOR_ICM_PROFILE +#, fuzzy +msgid "Scanner default color ICM-profile" +msgstr "å é¤åč”Øęŗ" + +#. TEXT_SETUP_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#. DESC_SCANNER_DEFAULT_GRAY_ICM_PROFILE +#, fuzzy +msgid "Scanner default gray ICM-profile" +msgstr "å é¤åč”Øęŗ" + +#. TEXT_SETUP_DISPLAY_ICM_PROFILE +#. DESC_DISPLAY_ICM_PROFILE +msgid "Display ICM-profile" +msgstr "" + +#. TEXT_SETUP_CUSTOM_PROOFING_ICM_PROFILE +#. DESC_CUSTOM_PROOFING_ICM_PROFILE +#, fuzzy +msgid "Custom proofing ICM-profile" +msgstr "å é¤åč”Øęŗ" + +#. TEXT_SETUP_WORKING_COLOR_SPACE_ICM_PROFILE +#. DESC_WORKING_COLOR_SPACE_ICM_PROFILE +#, fuzzy +msgid "Working color space ICM-profile" +msgstr "å½±åę”£ę”ęµč§" + +#. TEXT_SETUP_PRINTER_ICM_PROFILE +#. DESC_PRINTER_ICM_PROFILE +msgid "Printer ICM-profile" +msgstr "" + +msgid "new media" +msgstr "" + +#. NOTEBOOK_SAVING_OPTIONS +#. MENU_ITEM_SAVE +msgid "Save" +msgstr "åØå" + +#. NOTEBOOK_FILETYPE_OPTIONS +msgid "Filetype" +msgstr "ę件ē±»å" + +#. NOTEBOOK_COPY_OPTIONS +#. MENU_ITEM_COPY +msgid "Copy" +msgstr "å¤å¶" + +#. NOTEBOOK_FAX_OPTIONS +#. MENU_ITEM_FAX +msgid "Fax" +msgstr "ä¼ ē" + +#. NOTEBOOK_EMAIL_OPTIONS +#. MENU_ITEM_EMAIL +msgid "E-mail" +msgstr "ēµåé®ä»¶" + +#. NOTEBOOK_OCR_OPTIONS +msgid "OCR" +msgstr "OCR" + +#. NOTEBOOK_DISPLAY_OPTIONS +msgid "Display" +msgstr "ę¾ē¤ŗ" + +#. NOTEBOOK_ENHANCE_OPTIONS +msgid "Enhancement" +msgstr "å¢å¼ŗ" + +#. MENU_ITEM_MULTIPAGE +msgid "Multipage" +msgstr "" + +#. MENU_ITEM_SHOW_TOOLTIPS +msgid "Show tooltips" +msgstr "ę¾ē¤ŗåæ«éęē¤ŗ" + +#. MENU_ITEM_SHOW_PREVIEW +msgid "Show preview" +msgstr "ę¾ē¤ŗé¢č§" + +#. MENU_ITEM_SHOW_HISTOGRAM +msgid "Show histogram" +msgstr "ę¾ē¤ŗē©å½¢å¾" + +#. MENU_ITEM_SHOW_GAMMA +msgid "Show gamma curve" +msgstr "ę¾ē¤ŗgammaę²ēŗæ" + +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "ę¾ē¤ŗę¹ę¬”ę«ę" + +#. MENU_ITEM_SHOW_STANDARDOPTIONS +msgid "Show standard options" +msgstr "ę¾ē¤ŗåŗę¬é锹" + +#. MENU_ITEM_SHOW_ADVANCEDOPTIONS +msgid "Show advanced options" +msgstr "ę¾ē¤ŗčæé¶é锹" + +#. MENU_ITEM_SETUP +msgid "Setup" +msgstr "č®¾å®" + +#. MENU_ITEM_LENGTH_UNIT +msgid "Length unit" +msgstr "éæåŗ¦åä½" + +#. SUBMENU_ITEM_LENGTH_MILLIMETERS +msgid "millimeters" +msgstr "å
¬å" + +#. SUBMENU_ITEM_LENGTH_CENTIMETERS +msgid "centimeters" +msgstr "å
¬å" + +#. SUBMENU_ITEM_LENGTH_INCHES +msgid "inches" +msgstr "č±åÆø" + +#. MENU_ITEM_UPDATE_POLICY +msgid "Update policy" +msgstr "ę“ę°ęæē" + +#. SUBMENU_ITEM_POLICY_CONTINUOUS +msgid "continuous" +msgstr "ē»§ē»" + +#. SUBMENU_ITEM_POLICY_DISCONTINU +msgid "discontinuous" +msgstr "äøē»§ē»" + +#. SUBMENU_ITEM_POLICY_DELAYED +msgid "delayed" +msgstr "延čæ" + +#. MENU_ITEM_SHOW_RESOLUTIONLIST +msgid "Show resolution list" +msgstr "ę¾ē¤ŗč§£ęåŗ¦åč”Ø" + +#. MENU_ITEM_PAGE_ROTATE +msgid "Rotate postscript" +msgstr "" + +#. MENU_ITEM_ENABLE_COLOR_MANAGEMENT +#. MENU_ITEM_CMS_ENABLE_COLOR_MANAGEMENT +#, fuzzy +msgid "Enable color management" +msgstr "å
Øč²čå“" + +# +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "åØåēÆå¢č®¾å®" + +#. MENU_ITEM_SAVE_DEVICE_SETTINGS +msgid "Save device settings" +msgstr "åØåč£
ē½®č®¾å®" + +#. MENU_ITEM_LOAD_DEVICE_SETTINGS +msgid "Load device settings" +msgstr "č½½å
„č£
ē½®č®¾å®" + +#. MENU_ITEM_CHANGE_WORKING_DIR +msgid "Change directory" +msgstr "ę“ę¹ē®å½" + +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "" + +#. MENU_ITEM_XSANE_DOC +msgid "XSane doc" +msgstr "Xsaneę件" + +#. MENU_ITEM_BACKEND_DOC +msgid "Backend doc" +msgstr "åē«Æ驱åØēØå¼ę件" + +#. MENU_ITEM_AVAILABLE_BACKENDS +msgid "Available backends" +msgstr "åÆēØēåē«Æ驱åØēØå¼" + +# +#. MENU_ITEM_SCANTIPS +msgid "Scantips" +msgstr "" + +#. MENU_ITEM_PROBLEMS +msgid "Problems?" +msgstr "é®é¢?" + +#. MENU_ITEM_CMS_PROOFING +#, fuzzy +msgid "Proofing" +msgstr "å¢å åč”Øęŗ" + +#. SUBMENU_ITEM_CMS_PROOF_OFF +msgid "no proofing (Display)" +msgstr "" + +#. SUBMENU_ITEM_CMS_PROOF_PRINTER +#, fuzzy +msgid "Proof printer" +msgstr "å¢å åč”Øęŗ" + +#. SUBMENU_ITEM_CMS_PROOF_CUSTOM +msgid "Proof custom device" +msgstr "" + +#. MENU_ITEM_CMS_RENDERING_INTENT +#, fuzzy +msgid "Rendering intent" +msgstr "å¢å åč”Øęŗ" + +#. MENU_ITEM_CMS_PROOFING_INTENT +#, fuzzy +msgid "Proofing rendering intent" +msgstr "å¢å åč”Øęŗ" + +#. SUBMENU_ITEM_CMS_INTENT_PERCEPTUAL +msgid "Perceptual" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_RELATIVE_COLORIMETRIC +msgid "Relative colorimetric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_ABSOLUTE_COLORIMETRIC +msgid "Absolute colorimentric" +msgstr "" + +#. SUBMENU_ITEM_CMS_INTENT_SATURATION +#, fuzzy +msgid "Saturation" +msgstr "ęę" + +#. MENU_ITEM_CMS_GAMUT_CHECK +msgid "Gamut check" +msgstr "" + +#. MENU_ITEM_CMS_GAMUT_ALARM_COLOR +msgid "Gamut alarm color" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLACK +msgid "Black" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_GRAY +msgid "Gray" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_WHITE +#, fuzzy +msgid "White" +msgstr "åå
„" + +#. SUBMENU_ITEM_CMS_COLOR_RED +#, fuzzy +msgid "Red" +msgstr "čæå" + +#. SUBMENU_ITEM_CMS_COLOR_GREEN +msgid "Green" +msgstr "" + +#. SUBMENU_ITEM_CMS_COLOR_BLUE +#, fuzzy +msgid "Blue" +msgstr "ęØ”ē³" + +#. MENU_ITEM_COUNTER_LEN_INACTIVE +msgid "inactive" +msgstr "失ę" + +#. MENU_ITEM_TIFF_COMP_NONE +msgid "no compression" +msgstr "äøåē¼©" + +#. MENU_ITEM_TIFF_COMP_CCITTRLE +msgid "CCITT 1D Huffman compression" +msgstr "" + +#. MENU_ITEM_TIFF_COMP_CCITFAX3 +msgid "CCITT Group 3 Fax compression" +msgstr "" + +#. MENU_ITEM_TIFF_COMP_CCITFAX4 +msgid "CCITT Group 4 Fax compression" +msgstr "" + +#. MENU_ITEM_TIFF_COMP_JPEG +msgid "JPEG DCT compression" +msgstr "" + +#. MENU_ITEM_TIFF_COMP_PACKBITS +msgid "pack bits" +msgstr "" + +#. MENU_ITEM_TIFF_COMP_DEFLATE +msgid "deflate" +msgstr "ē¼©å°" + +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "ę»ę£(Scale)" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "ę»ę£(Scrollbar)" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "å¾®č°ęé®" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "ę»ę£äøå¾®č°ęé®" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "å·č½“äøå¾®č°ęé®" + +#. MENU_ITEM_LINEART_MODE_STANDARD +msgid "Standard options window (lineart)" +msgstr "åŗę¬é锹č§ēŖ(lineart)" + +#. MENU_ITEM_LINEART_MODE_XSANE +msgid "XSane main window (lineart)" +msgstr "XSane äø»č§ēŖ(lineart)" + +#. MENU_ITEM_LINEART_MODE_GRAY +msgid "XSane main window (grayscale->lineart)" +msgstr "XSane äø»č§ēŖ(grayscale->lineart)" + +#. MENU_ITEM_SELECTION_NONE +msgid "(none)" +msgstr "ę " + +#. MENU_ITEM_FILETYPE_BY_EXT +msgid "by ext" +msgstr "" + +#. MENU_ITEM_PRESET_AREA_ADD_SEL +msgid "Add selection to list" +msgstr "å¢å éę©å°åč”Ø" + +# +#. MENU_ITEM_MEDIUM_ADD +msgid "Add medium definition" +msgstr "åØåēÆå¢č®¾å®" + +# +#. MENU_ITEM_RENAME +msgid "Rename item" +msgstr "ę“åå½±å" + +# +#. MENU_ITEM_DELETE +msgid "Delete item" +msgstr "å é¤åč”Øęŗ" + +# +#. MENU_ITEM_MOVE_UP +msgid "Move item up" +msgstr "å¾äøē§»åØ" + +# +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" +msgstr "å¾äøē§»åØ" + +#. MENU_ITEM_AUTH_NONE +msgid "no authentication" +msgstr "ę²”ęęę" + +#. MENU_ITEM_AUTH_POP3 +msgid "POP3 before SMTP" +msgstr "" + +#. MENU_ITEM_AUTH_ASMTP_PLAIN +msgid "ASMTP Plain" +msgstr "" + +#. MENU_ITEM_AUTH_ASMTP_LOGIN +msgid "ASMTP Login" +msgstr "" + +#. MENU_ITEM_AUTH_ASMTP_CRAM_MD5 +msgid "ASMTP CRAM-MD5" +msgstr "" + +#. MENU_ITEM_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE +#, fuzzy +msgid "Embed scanner ICM profile" +msgstr "å é¤åč”Øęŗ" + +#. MENU_ITEM_CMS_FUNCTION_CONVERT_TO_SRGB +msgid "Convert to sRGB" +msgstr "" + +#. MENU_ITEM_FUNCTION_CONVERT_TO_WORKING_CS +#, fuzzy +msgid "Convert to working color space" +msgstr "čŖåØäæ®ę£é¢č²" + +#. PROGRESS_SCANNING +msgid "Scanning" +msgstr "ę«ęäø" + +#. PROGRESS_RECEIVING_FRAME_DATA +#, c-format +msgid "Receiving %s data" +msgstr "ę„ę¶%sčµę" + +#. PROGRESS_PAGE +msgid "page" +msgstr "锵" + +#. PROGRESS_TRANSFERING_DATA +msgid "Transfering image" +msgstr "ä¼ č¾å½±åäø" + +#. PROGRESS_ROTATING_DATA +msgid "Rotating image" +msgstr "č½¬åØå½±å" + +#. PROGRESS_MIRRORING_DATA +msgid "Mirroring image" +msgstr "ę å°å½±å" + +#. PROGRESS_PACKING_DATA +msgid "Packing image" +msgstr "ęå
å½±å" + +#. PROGRESS_CONVERTING_DATA +msgid "Converting image" +msgstr "" + +#. PROGRESS_SAVING_DATA +msgid "Saving image" +msgstr "åØåå½±å" + +#. PROGRESS_CLONING_DATA +msgid "Cloning image" +msgstr "å¤å¶å½±å" + +#. PROGRESS_SCALING_DATA +msgid "Scaling image" +msgstr "č°ę“å½±å" + +#. PROGRESS_DESPECKLING_DATA +msgid "Despeckling image" +msgstr "" + +#. PROGRESS_BLURING_DATA +msgid "Bluring image" +msgstr "ęØ”ē³å½±å" + +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "" + +#. PROGRESS_ICM_CONVERSION +#, fuzzy +msgid "converting colors" +msgstr "čŖåØäæ®ę£é¢č²" + +#. DESC_SCAN_START +msgid "Start scan <Ctrl-Enter>" +msgstr "å¼å§ę«ę<Ctrl-Enter>" + +#. DESC_SCAN_CANCEL +msgid "Cancel scan <ESC>" +msgstr "åę¶ę«ę<ESC>" + +#. DESC_PREVIEW_ACQUIRE +msgid "Acquire preview scan <Alt-p>" +msgstr "č·å¾é¢č§å½±å<Alt-p>" + +#. DESC_PREVIEW_CANCEL +msgid "Cancel preview scan <Alt-ESC>" +msgstr "åę¶é¢č§å½±å<Alt-ESC>" + +#. DESC_XSANE_MODE +msgid "" +"viewer-<Ctrl-v>, save-<Ctrl-s>, photocopy-<Ctrl-c>, multipage-<Ctrl-m>, fax-" +"<Ctrl-f> or e-mail-<Ctrl-e>" +msgstr "" + +#. DESC_XSANE_MEDIUM +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" + +#. DESC_FILENAME_COUNTER_STEP +msgid "Value that is added to filenamecounter after scan" +msgstr "" + +#. DESC_BROWSE_FILENAME +msgid "Browse for image filename" +msgstr "å½±åę”£ę”ęµč§" + +#. DESC_FILENAME +msgid "Filename for scanned image" +msgstr "ę«ēčæēå½±åēę”£ę”åē§°" + +#. DESC_FILETYPE +msgid "" +"Type of image format, the suitable filename extension is automatically added " +"to the filename" +msgstr "" + +#. DESC_FAXPROJECT +#, fuzzy +msgid "Enter fax project directory name" +msgstr "ęåē®å½ęµč§" + +#. DESC_FAXPAGENAME +msgid "Enter new name for faxpage" +msgstr "č¾å
„ä¼ ēäøę”ēę°åē§°" + +#. DESC_FAXRECEIVER +msgid "Enter receiver phone number or address" +msgstr "č¾å
„ę„ę¶ēēµčÆå·ē ęä½å" + +#. DESC_FAX_PROJECT_BROWSE +#, fuzzy +msgid "Browse for fax project directory" +msgstr "ęåē®å½ęµč§" + +#. DESC_EMAIL_PROJECT +#, fuzzy +msgid "Enter e-mail project directory name" +msgstr "ęåē®å½ęµč§" + +#. DESC_EMAIL_IMAGENAME +msgid "Enter new name for e-mail image" +msgstr "č¾å
„é®ä»¶å¾åēę°åē§°" + +#. DESC_EMAIL_RECEIVER +msgid "Enter e-mail address" +msgstr "č¾å
„é®ä»¶ä½å" + +#. DESC_EMAIL_PROJECT_BROWSE +#, fuzzy +msgid "Browse for email project directory" +msgstr "ęåē®å½ęµč§" + +#. DESC_EMAIL_SUBJECT +msgid "Enter subject of e-mail" +msgstr "č¾å
„é®ä»¶ēę é¢" + +#. DESC_EMAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "éę©å¾åé件ēē±»å" + +#. DESC_MULTIPAGE_PROJECT +#, fuzzy +msgid "Enter multipage project directory name" +msgstr "ęåē®å½ęµč§" + +#. DESC_MULTIPAGE_PROJECT_BROWSE +#, fuzzy +msgid "Browse for multipage project directory" +msgstr "ęåē®å½ęµč§" + +#. DESC_MULTIPAGE_FILETYPE +msgid "Select filetype for multipage file" +msgstr "äøŗå¤é”µę件éę©ę件ē±»å" + +#. DESC_PRESET_AREA_RENAME +msgid "Enter new name for preset area" +msgstr "č¾å
„é¢č®¾åŗēę°åē§°" + +# +#. DESC_PRESET_AREA_ADD +msgid "Enter name for new preset area" +msgstr "č¾å
„é¢č®¾åŗēę°åē§°" + +# +#. DESC_MEDIUM_RENAME +msgid "Enter new name for medium definition" +msgstr "äøŗēÆå¢č®¾å®č¾å
„ę°ēåå" + +# +#. DESC_MEDIUM_ADD +msgid "Enter name for new medium definition" +msgstr "äøŗę°ēēÆå¢č®¾å®č¾å
„åå" + +#. DESC_PRINTER_SELECT +msgid "Select printerdefinition <Shift-F1/F2/...>" +msgstr "" + +#. DESC_RESOLUTION +msgid "Set scan resolution" +msgstr "č®¾å®ę«ęč§£ęåŗ¦" + +#. DESC_RESOLUTION_X +msgid "Set scan resolution for x direction" +msgstr "" + +#. DESC_RESOLUTION_Y +msgid "Set scan resolution for y direction" +msgstr "" + +#. DESC_ZOOM +msgid "Set zoomfactor" +msgstr "" + +#. DESC_ZOOM_X +msgid "Set zoomfactor for x direction" +msgstr "" + +#. DESC_ZOOM_Y +msgid "Set zoomfactor for y direction" +msgstr "" + +#. DESC_COPY_NUMBER +msgid "Set number of copies" +msgstr "" + +#. DESC_NEGATIVE +msgid "Negative: Invert colors for scanning negatives <Ctrl-n>" +msgstr "" + +#. DESC_GAMMA +msgid "Set gamma value" +msgstr "č®¾å®Gammaå¼" + +#. DESC_GAMMA_R +msgid "Set gamma value for red component" +msgstr "č®¾å®ēŗ¢č²ęåēGammaå¼" + +#. DESC_GAMMA_G +msgid "Set gamma value for green component" +msgstr "č®¾å®ē»æč²ęåēGammaå¼" + +#. DESC_GAMMA_B +msgid "Set gamma value for blue component" +msgstr "č®¾å®čč²ęåēGammaå¼" + +#. DESC_BRIGHTNESS +msgid "Set brightness" +msgstr "č®¾å®äŗ®åŗ¦" + +#. DESC_BRIGHTNESS_R +msgid "Set brightness for red component" +msgstr "č®¾å®ēŗ¢č²ę份ēäŗ®åŗ¦å¼" + +#. DESC_BRIGHTNESS_G +msgid "Set brightness for green component" +msgstr "č®¾å®ē»æč²ę份ēäŗ®åŗ¦å¼" + +#. DESC_BRIGHTNESS_B +msgid "Set brightness for blue component" +msgstr "č®¾å®čč²ę份ēäŗ®åŗ¦å¼" + +#. DESC_CONTRAST +msgid "Set contrast" +msgstr "č®¾å®åå·®" + +#. DESC_CONTRAST_R +msgid "Set contrast for red component" +msgstr "č®¾å®ēŗ¢č²ęåēåå·®" + +#. DESC_CONTRAST_G +msgid "Set contrast for green component" +msgstr "č®¾å®ē»æč²ęåēåå·®" + +#. DESC_CONTRAST_B +msgid "Set contrast for blue component" +msgstr "č®¾å®čč²ęåēåå·®" + +#. DESC_THRESHOLD +msgid "Set threshold" +msgstr "č®¾å®č¾¹ē" + +#. DESC_RGB_DEFAULT +msgid "" +"RGB default: Set enhancement values for red, green and blue to default " +"values <Ctrl-b>:\n" +" gamma = 1.0\n" +" brightness = 0\n" +" contrast = 0" +msgstr "" + +# +#. DESC_ENH_AUTO +#, fuzzy +msgid "Autoadjust gamma, brightness and contrast <Ctrl-a>" +msgstr "čŖåØč°ę“gamma,äŗ®åŗ¦ååå·®<Shift-e>" + +#. DESC_ENH_DEFAULT +msgid "" +"Set default enhancement values <Ctrl-0>:\n" +"gamma = 1.0\n" +"brightness = 0\n" +"contrast = 0" +msgstr "" + +#. DESC_ENH_RESTORE +msgid "Restore enhancement values from preferences <Ctrl-r>" +msgstr "" + +#. DESC_ENH_STORE +msgid "Store active enhancement values to preferences <Ctrl-+>" +msgstr "" + +#. DESC_HIST_INTENSITY +msgid "Show histogram of intensity/gray <Alt-i>" +msgstr "" + +#. DESC_HIST_RED +msgid "Show histogram of red component <Alt-r>" +msgstr "" + +#. DESC_HIST_GREEN +msgid "Show histogram of green component <Alt-g>" +msgstr "" + +#. DESC_HIST_BLUE +msgid "Show histogram of blue component <Alt-b>" +msgstr "" + +#. DESC_HIST_PIXEL +msgid "Display mode: show histogram with lines instead of pixels <Alt-m>" +msgstr "ę¾ē¤ŗęØ”å¼:ēØēŗæå代ē¹ę„ę¾ē¤ŗē©å½¢å¾" + +#. DESC_HIST_LOG +msgid "Show logarithm of pixelcount <Alt-l>" +msgstr "" + +#. DESC_PRINTER_SETUP +msgid "Select definition to change" +msgstr "" + +#. DESC_PRINTER_NAME +msgid "Define a name for the selection of this definition" +msgstr "äøŗéę©ēå®ä¹å®ä¹äøäøŖåē§°" + +#. DESC_PRINTER_COMMAND +msgid "Enter command to be executed in copy mode (e.g. \"lpr\")" +msgstr "č¾å
„åØå¤å¶ęØ”å¼äøå°č¢«ę§č”ēå½ä»¤(e.g. \"lpr\")" + +#. DESC_COPY_NUMBER_OPTION +msgid "Enter option for copy numbers" +msgstr "" + +#. DESC_PRINTER_LINEART_RESOLUTION +msgid "" +"Resolution with which lineart images are printed and saved in postscript" +msgstr "" + +#. DESC_PRINTER_GRAYSCALE_RESOLUTION +msgid "" +"Resolution with which grayscale images are printed and saved in postscript" +msgstr "" + +#. DESC_PRINTER_COLOR_RESOLUTION +msgid "Resolution with which color images are printed and saved in postscript" +msgstr "" + +#. DESC_PRINTER_WIDTH +#. DESC_FAX_WIDTH +msgid "Width of printable area" +msgstr "åå°åŗ宽åŗ¦" + +#. DESC_PRINTER_HEIGHT +#. DESC_FAX_HEIGHT +msgid "Height of printable area" +msgstr "åå°åŗé«åŗ¦" + +#. DESC_PRINTER_LEFTOFFSET +#. DESC_FAX_LEFTOFFSET +msgid "Left offset from the edge of the paper to the printable area" +msgstr "ä»é”µēč¾¹ē¼å°åå°åŗē左差č·" + +#. DESC_PRINTER_BOTTOMOFFSET +#. DESC_FAX_BOTTOMOFFSET +msgid "Bottom offset from the edge of the paper to the printable area" +msgstr "ä»é”µēč¾¹ē¼å°åå°åŗēäøå·®č·" + +#. DESC_PRINTER_GAMMA +msgid "Additional gamma value for photocopy" +msgstr "" + +#. DESC_PRINTER_GAMMA_RED +msgid "Additional gamma value for red component for photocopy" +msgstr "" + +#. DESC_PRINTER_GAMMA_GREEN +msgid "Additional gamma value for green component for photocopy" +msgstr "" + +#. DESC_PRINTER_GAMMA_BLUE +msgid "Additional gamma value for blue component for photocopy" +msgstr "" + +#. DESC_PRINTER_EMBED_CSA +msgid "Creates a postsciptfile that contains the ICM profile of the scanner" +msgstr "" + +#. DESC_PRINTER_EMBED_CRD +msgid "Creates a postsciptfile that contains the ICM profile of the printer" +msgstr "" + +#. DESC_PRINTER_PS_FLATEDECODED +msgid "" +"Create zlib compressed postscript image for printer (flatedecode).\n" +"The printer has to understand postscript level 3!" +msgstr "" + +#. DESC_TMP_PATH +msgid "Path to temp directory" +msgstr "ęåē®å½ēč·Æå¾" + +#. DESC_BUTTON_TMP_PATH_BROWSE +msgid "Browse for temporary directory" +msgstr "ęåē®å½ęµč§" + +#. DESC_JPEG_QUALITY +msgid "" +"Quality in percent if image is saved as jpeg or tiff with jpeg compression" +msgstr "" + +#. DESC_PNG_COMPRESSION +msgid "Compression if image is saved as png" +msgstr "å¦ęåępngę”£ēčÆ,å°±åē¼©" + +#. DESC_FILENAME_COUNTER_LEN +msgid "Minimum length of counter in filename" +msgstr "" + +#. DESC_TIFF_ZIP_COMPRESSION +msgid "Compression rate for zip compressed tiff (deflate)" +msgstr "" + +#. DESC_TIFF_COMPRESSION_16 +msgid "Compression type if 16 bit image is saved as tiff" +msgstr "" + +#. DESC_TIFF_COMPRESSION_8 +msgid "Compression type if 8 bit image is saved as tiff" +msgstr "" + +#. DESC_TIFF_COMPRESSION_1 +msgid "Compression type if lineart image is saved as tiff" +msgstr "" + +#. DESC_SAVE_DEVPREFS_AT_EXIT +msgid "Save device dependant preferences in default file at exit of xsane" +msgstr "" + +#. DESC_OVERWRITE_WARNING +msgid "Warn before overwriting an existing file" +msgstr "č¦åäøäøŖå·²ē»ååØēę”£ę”ä¹åč¦č¦å" + +#. DESC_SKIP_EXISTING +msgid "" +"If filename counter is automatically increased, used numbers are skipped" +msgstr "" + +#. DESC_SAVE_PS_FLATEDECODED +msgid "" +"compress postscript image with zlib algorithm (flatedecode). When you want " +"to print such a file your printer has to understand postscript level 3" +msgstr "" + +#. DESC_SAVE_PDF_FLATEDECODED +msgid "compress PDF image with zlib algorithm (flatedecode)." +msgstr "" + +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" + +#. DESC_REDUCE_16BIT_TO_8BIT +msgid "" +"If scanner sends image with 16 bits/channel save image with 8 bits/channel" +msgstr "" + +#. DESC_PSFILE_WIDTH +msgid "Width of paper for postscript files" +msgstr "" + +#. DESC_PSFILE_HEIGHT +msgid "Height of paper for postscript files" +msgstr "" + +#. DESC_PSFILE_LEFTOFFSET +msgid "" +"Left offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" + +#. DESC_PSFILE_BOTTOMOFFSET +msgid "" +"Bottom offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" + +#. DESC_MAIN_WINDOW_FIXED +msgid "Use fixed main window size or scrolled, resizable main window" +msgstr "ä½æēØåŗå®äø»č§ēŖ大å°,ęč
ę»åØ,ę“ę¹äø»č§ēŖ大å°" + +#. DESC_DISABLE_GIMP_PREVIEW_GAMMA +#, fuzzy +msgid "Disable preview gamma when XSane runs as GIMP plugin" +msgstr "åę¶é¢č§gammaå½XSaneč·åØgimp plugin ę¶" + +#. DESC_PREVIEW_COLORMAP +msgid "Use an own colormap for preview if display depth is 8 bpp" +msgstr "åå¦ę¾ē¤ŗ8bppę·±åŗ¦ę¶,ä½æēØäøäøŖčŖå·±ēcolormap" + +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "éę©äøäøŖåŗåå¦ä½č¢«ę¾ē¤ŗ" + +#. DESC_PREVIEW_OVERSAMPLING +msgid "Value with that the calculated preview resolution is multiplied" +msgstr "" + +#. DESC_PREVIEW_GAMMA +msgid "Set gamma correction value for preview image" +msgstr "äøŗé¢č§å½±åč®¾å®gammaę ”ę£å¼" + +#. DESC_PREVIEW_GAMMA_RED +msgid "Set gamma correction value for red component of preview image" +msgstr "äøŗé¢č§å½±åēēŗ¢č²ęåč®¾å®gammaę ”ę£å¼" + +#. DESC_PREVIEW_GAMMA_GREEN +msgid "Set gamma correction value for green component of preview image" +msgstr "äøŗé¢č§å½±åēē»æč²ęåč®¾å®gammaę ”ę£å¼" + +#. DESC_PREVIEW_GAMMA_BLUE +msgid "Set gamma correction value for blue component of preview image" +msgstr "äøŗé¢č§å½±åēčč²ęåč®¾å®gammaę ”ę£å¼" + +#. DESC_LINEART_MODE +msgid "Define the way XSane shall handle the threshold option" +msgstr "" + +#. DESC_GRAYSCALE_SCANMODE +msgid "" +"Select grayscale scanmode. This scanmode is used for lineart preview scan " +"when transformation from grayscale to lineart is enabled" +msgstr "" + +#. DESC_PREVIEW_THRESHOLD_MIN +#, no-c-format +msgid "The scanner's minimum threshold level in %" +msgstr "" + +#. DESC_PREVIEW_THRESHOLD_MAX +#, no-c-format +msgid "The scanner's maximum threshold level in %" +msgstr "" + +#. DESC_PREVIEW_THRESHOLD_MUL +msgid "" +"Multiplier to make XSane threshold range and scanner threshold range the same" +msgstr "" + +#. DESC_PREVIEW_THRESHOLD_OFF +msgid "" +"Offset to make XSane threshold range and scanner threshold range the same" +msgstr "" + +#. DESC_ADF_PAGES_MAX +msgid "Number of pages to scan" +msgstr "" + +#. DESC_PREVIEW_PIPETTE_RANGE +msgid "dimension of square that is used to average color for pipette function" +msgstr "" + +#. DESC_DOC_VIEWER +msgid "" +"Enter command to be executed to display helpfiles, must be a html-viewer!" +msgstr "č¾å
„ę¾ē¤ŗęå©ę”£ę¶č¦č¢«ę§č”ēå½ä»¤,åæ
é”»ęÆäøäøŖhtmlę£č§åØ" + +#. DESC_AUTOENHANCE_GAMMA +msgid "Change gamma value when autoenhancement button is pressed" +msgstr "ę“ę¹gammaå¼å¦ęčŖåØå¢å¼ŗęé®č¢«ęäøę¶" + +#. DESC_PRESELECT_SCANAREA +msgid "Select scanarea after preview scan has finished" +msgstr "é¢č§ę«ęåéę©ę«ęåŗå·²ē»å®ęäŗ" + +#. DESC_AUTOCORRECT_COLORS +msgid "Do color correction after preview scan has finished" +msgstr "é¢č§ę«ęåä½é¢č²ę ”ę£å·²ē»å®ęäŗ" + +#. DESC_RENDERING_INTENT +#, fuzzy +msgid "Select rendering intent for preview and saving" +msgstr "é¢č§ę«ęåéę©ę«ęåŗå·²ē»å®ęäŗ" + +#. DESC_CMS_BPC +msgid "Apply black point compensation when color transformation is done" +msgstr "" + +#. DESC_FAX_COMMAND +msgid "Enter command to be executed in fax mode" +msgstr "č¾å
„åØä¼ ēęØ”å¼äøč¢«ę§č”ēå½ä»¤" + +#. DESC_FAX_RECEIVER_OPT +msgid "Enter option to specify receiver" +msgstr "č¾å
„é锹ē»ęå®ēę„ę¶åØ" + +#. DESC_FAX_POSTSCRIPT_OPT +msgid "Enter option to specify postscript files following" +msgstr "" + +#. DESC_FAX_NORMAL_OPT +msgid "Enter option to specify normal mode (low resolution)" +msgstr "" + +#. DESC_FAX_FINE_OPT +msgid "Enter option to specify fine mode (high resolution)" +msgstr "" + +#. DESC_FAX_VIEWER +msgid "Enter command to be executed to view a fax" +msgstr "č¾å
„ę£č§ä¼ ēę¶č¦ę§č”ēå½ä»¤" + +#. DESC_FAX_FINE_MODE +msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" +msgstr "" + +#. DESC_FAX_PS_FLATEDECODED +msgid "Create zlib compressed postscript image for fax (flatedecode)" +msgstr "" + +#. DESC_SMTP_SERVER +msgid "IP Address or Domain name of SMTP server" +msgstr "IP ä½åęSMTPä¼ŗęåØēäø»ęŗåē§°" + +#. DESC_SMTP_PORT +msgid "port to connect to SMTP server" +msgstr "" + +#. DESC_EMAIL_FROM +#, fuzzy +msgid "enter your e-mail address" +msgstr "č¾å
„ä½ ēäæ”件ä½å" + +#. DESC_EMAIL_REPLY_TO +#, fuzzy +msgid "enter e-mail address for replied e-mails" +msgstr "č¾å
„é®ä»¶ä½å" + +#. DESC_EMAIL_AUTHENTICATION +msgid "Type of authentication before sending e-mail" +msgstr "" + +#. DESC_EMAIL_AUTH_USER +#, fuzzy +msgid "user name for e-mail server" +msgstr "č¾å
„é®ä»¶äøę”ēåē§°" + +#. DESC_EMAIL_AUTH_PASS +msgid "password for e-mail server" +msgstr "" + +#. DESC_POP3_SERVER +msgid "IP Address or Domain name of POP3 server" +msgstr "" + +#. DESC_POP3_PORT +msgid "port to connect to POP3 server" +msgstr "" + +# +#. DESC_HTML_EMAIL +#, fuzzy +msgid "E-mail is sent in html mode, place image with: <IMAGE>" +msgstr "é®ä»¶ä»„HTMLä¼ é,å½±åē“ę„ę¾ē¤ŗ" + +#. DESC_OCR_COMMAND +msgid "Enter command to start ocr program" +msgstr "č¾å
„å¼å§OCRēØå¼č¦ę§č”ēę令" + +#. DESC_OCR_INPUTFILE_OPT +msgid "Enter option of the ocr program to define input file" +msgstr "č¾å
„OCRēØå¼ēé锹ē»å®ä¹ēč¾å
„ę”£" + +#. DESC_OCR_OUTPUTFILE_OPT +msgid "Enter option of the ocr program to define output file" +msgstr "č¾å
„OCRēØå¼ēé锹ē»å®ä¹ēč¾åŗę”£" + +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "" + +#. DESC_PERMISSION_READ +msgid "read" +msgstr "čÆ»å" + +#. DESC_PERMISSION_WRITE +msgid "write" +msgstr "åå
„" + +#. DESC_PERMISSION_SEARCH +#, fuzzy +msgid "search" +msgstr "ä½æēØč
" + +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "äøŗę¹ę¬”ę«ęå¢å éę©" + +#. DESC_PIPETTE_WHITE +msgid "Pick white point" +msgstr "" + +#. DESC_PIPETTE_GRAY +msgid "Pick gray point" +msgstr "" + +#. DESC_PIPETTE_BLACK +msgid "Pick black point" +msgstr "" + +#. DESC_ZOOM_FULL +msgid "Use full scanarea" +msgstr "ä½æēØå
ØéØę«ęåŗ" + +#. DESC_ZOOM_OUT +#, no-c-format +msgid "Zoom 20% out" +msgstr "" + +#. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "" + +#. DESC_ZOOM_AREA +msgid "Zoom into selected area" +msgstr "" + +#. DESC_ZOOM_UNDO +msgid "Undo last zoom" +msgstr "" + +#. DESC_FULL_PREVIEW_AREA +msgid "Select visible area" +msgstr "éę©ę¾ē¤ŗåŗ" + +#. DESC_AUTOSELECT_SCANAREA +msgid "Autoselect scanarea" +msgstr "čŖåØéę«ęåŗ" + +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "čŖåØę“ę¹ę«ęåŗ大å°" + +#. DESC_DELETE_IMAGES +msgid "Delete preview image cache" +msgstr "å é¤é¢č§å½±ååæ«å" + +#. DESC_PRESET_AREA +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" + +#. DESC_ROTATION +msgid "Rotate preview and scan" +msgstr "ēæ»č½¬é¢č§åę«ę" + +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "" + +#. DESC_VIEWER_OCR +msgid "Optical Character Recognition" +msgstr "" + +#. DESC_VIEWER_UNDO +msgid "Undo last change" +msgstr "" + +#. DESC_VIEWER_CLONE +msgid "Clone image" +msgstr "å¤å¶å½±å" + +#. DESC_ROTATE90 +msgid "Rotate image 90 degree" +msgstr "ēæ»č½¬å½±å90åŗ¦" + +#. DESC_ROTATE180 +msgid "Rotate image 180 degree" +msgstr "ēæ»č½¬å½±å180åŗ¦" + +#. DESC_ROTATE270 +msgid "Rotate image 270 degree" +msgstr "ēæ»č½¬å½±å270åŗ¦" + +#. DESC_MIRROR_X +msgid "Mirror image at vertical axis" +msgstr "" + +#. DESC_MIRROR_Y +msgid "Mirror image at horizontal axis" +msgstr "" + +#. DESC_VIEWER_ZOOM +msgid "Zoom image" +msgstr "ä¼øē¼©å½±å" + +#. DESC_STORE_MEDIUM +msgid "Store medium" +msgstr "" + +#. DESC_DELETE_MEDIUM +msgid "Delete active medium" +msgstr "å é¤ę“»åØēēÆå¢" + +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "ē©ŗēę¹ę¬”åč”Ø" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "åØåę¹ę¬”åč”Ø" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "č½½å
„ę¹ę¬”åč”Ø" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "ę“ååŗå" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "å¢å éę©ēé¢č§åŗåå°ę¹ę¬”åč”Ø" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "ä»ę¹ę¬”åč”Øå é¤éę©ēåŗå" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "" + +#. DESC_BUTTON_SCANNER_DEFAULT_COLOR_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default color ICM-profile" +msgstr "å½±åę”£ę”ęµč§" + +#. DESC_BUTTON_SCANNER_DEFAULT_GRAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for scanner default gray ICM-profile" +msgstr "å½±åę”£ę”ęµč§" + +#. DESC_BUTTON_DISPLAY_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for display ICM-profile" +msgstr "å½±åę”£ę”ęµč§" + +#. DESC_BUTTON_PRINTER_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for printer ICM-profile" +msgstr "å½±åę”£ę”ęµč§" + +#. DESC_BUTTON_CUSTOM_PROOFING_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for custom proofing ICM-profile" +msgstr "å½±åę”£ę”ęµč§" + +#. DESC_BUTTON_WORKING_COLOR_SPACE_ICM_PROFILE_BROWSE +#, fuzzy +msgid "Browse for working color space ICM-profile" +msgstr "å½±åę”£ę”ęµč§" + +#. ERR_HOME_DIR +msgid "Failed to determine home directory:" +msgstr "ę ę³å³å®Homeē®å½" + +#. ERR_CHANGE_WORKING_DIR +msgid "Failed to change working directory to" +msgstr "äøč½å»ę“ę¹å·„ä½ē®å½å°" + +#. ERR_FILENAME_TOO_LONG +msgid "Filename too long" +msgstr "ę”£åå¤Ŗéæ" + +#. ERR_CREATE_TEMP_FILE +msgid "" +"Could not create temporary file.\n" +"Open Menue Preferences->Setup Tab Save and\n" +"select a temporary directory where you have\n" +"write permissions." +msgstr "" + +#. ERR_SET_OPTION +msgid "Failed to set value of option" +msgstr "äøč½å»č®¾å®é锹ēå¼" + +#. ERR_GET_OPTION +msgid "Failed to obtain value of option" +msgstr "" + +#. ERR_OPTION_COUNT +msgid "Error obtaining option count" +msgstr "" + +#. ERR_DEVICE_OPEN_FAILED +msgid "Failed to open device" +msgstr "å¼åÆč£
ē½®å¤±č“„" + +#. ERR_NO_DEVICES +msgid "no devices available" +msgstr "ę²”ęč£
ē½®åÆ仄ä½æēØ" + +#. ERR_DURING_READ +msgid "Error during read:" +msgstr "čÆ»åę¶éčÆÆ" + +#. ERR_DURING_SAVE +msgid "Error during save:" +msgstr "åØåę¶éčÆÆ" + +#. ERR_BAD_DEPTH +msgid "Can't handle depth" +msgstr "ę ę³åå¾ę·±åŗ¦" + +#. ERR_UNKNOWN_SAVING_FORMAT +msgid "Unknown file format for saving" +msgstr "åØåęęŖē„ēę”£ę”ę ¼å¼" + +#. ERR_OPEN_FAILED +msgid "Failed to open" +msgstr "å¼åÆå¤±č“„" + +#. ERR_CREATE_SECURE_FILE +msgid "Could not create secure file (may be a link does exist):" +msgstr "äøč½å»ŗē«å®å
Øę”£(åÆč½čæē»å·²ē»ååØ)" + +#. ERR_FAILED_PRINTER_PIPE +msgid "Failed to open pipe for executing printercommand" +msgstr "äøč½å¼åÆē®”ēŗæäøŗäŗę§č”åå°å½ä»¤" + +#. ERR_FAILED_EXEC_PRINTER_CMD +msgid "Failed to execute printercommand:" +msgstr "äøč½ę§č”åå°å½ä»¤" + +#. ERR_FAILED_START_SCANNER +msgid "Failed to start scanner:" +msgstr "äøč½å¼å§ę«ęåØ" + +#. ERR_FAILED_GET_PARAMS +msgid "Failed to get parameters:" +msgstr "ęæäøå°åę°" + +#. ERR_NO_OUTPUT_FORMAT +msgid "No output format given" +msgstr "ę²”ęå¾å°č¾åŗę ¼å¼" + +#. ERR_NO_MEM +msgid "out of memory" +msgstr "č®°åæä½äøč¶³" + +#. ERR_TOO_MUCH_DATA +msgid "Backend sends more image data than it defined in parameters" +msgstr "" + +#. ERR_LIBTIFF +msgid "LIBTIFF reports error" +msgstr "" + +#. ERR_LIBPNG +msgid "LIBPNG reports error" +msgstr "" + +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "" + +#. ERR_ZLIB +msgid "ZLIB error or memory allocation problem" +msgstr "" + +#. ERR_UNKNOWN_TYPE +msgid "unknown type" +msgstr "ęŖē„ēåę" + +#. ERR_UNKNOWN_CONSTRAINT_TYPE +msgid "unknown constraint type" +msgstr "" + +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "" + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "" + +#. ERR_FAILED_EXEC_DOC_VIEWER +msgid "Failed to execute documentation viewer:" +msgstr "äøč½ę§č”ę件ę£č§åØ" + +#. ERR_FAILED_EXEC_FAX_VIEWER +msgid "Failed to execute fax viewer:" +msgstr "äøč½ę§č”ä¼ ēę£č§åØ" + +#. ERR_FAILED_EXEC_FAX_CMD +msgid "Failed to execute fax command:" +msgstr "äøč½ę§č”ä¼ ēå½ä»¤" + +#. ERR_FAILED_EXEC_OCR_CMD +msgid "Failed to execute ocr command:" +msgstr "äøč½ę§č”ocrå½ä»¤" + +#. ERR_BAD_FRAME_FORMAT +msgid "bad frame format" +msgstr "ēēę”ę¶ę ¼å¼" + +#. ERR_FAILED_SET_RESOLUTION +msgid "unable to set resolution" +msgstr "äøč½éę©č§£ęåŗ¦" + +#. ERR_PASSWORD_FILE_INSECURE +#, c-format +msgid "Password file (%s) is insecure, use permission x00\n" +msgstr "åÆē ę”£(%s)äøå®å
Ø,ä½æēØx00ęé\n" + +#. ERR_ERROR +msgid "error" +msgstr "éčÆÆ" + +#. ERR_MAJOR_VERSION_NR_CONFLICT +msgid "Sane major version number mismatch!" +msgstr "" + +#. ERR_XSANE_MAJOR_VERSION +msgid "XSane major version =" +msgstr "" + +#. ERR_BACKEND_MAJOR_VERSION +msgid "backend major version =" +msgstr "" + +#. ERR_PROGRAM_ABORTED +msgid "*** PROGRAM ABORTED ***" +msgstr "" + +#. ERR_FAILED_ALLOCATE_IMAGE +msgid "Failed to allocate image memory:" +msgstr "äøč½å»é
ē½®å½±åč®°åæä½" + +#. ERR_PREVIEW_BAD_DEPTH +msgid "Preview cannot handle bit depth" +msgstr "é¢č§äøč½åå¾ä½å
ę·±åŗ¦" + +#. ERR_GIMP_SUPPORT_MISSING +msgid "GIMP support missing" +msgstr "GIMPęÆę“é失" + +#. ERR_CREATE_FAX_PROJECT +msgid "Could not create faxproject" +msgstr "äøč½å»ŗē«ä¼ ēäøę”" + +#. WARN_COUNTER_UNDERRUN +msgid "Filename counter underrun" +msgstr "" + +#. WARN_NO_VALUE_CONSTRAINT +msgid "warning: option has no value constraint" +msgstr "" + +#. WARN_XSANE_AS_ROOT +msgid "" +"You try to run XSane as ROOT, that really is DANGEROUS!\n" +"\n" +"Do not send any bug reports when you\n" +"have any problem while running XSane as root:\n" +"YOU ARE ALONE!" +msgstr "" +"ä½ čÆå¾ä»„ ROOT čŗ«ä»½čæč” XSane, čæę ·åå°ä¼ååå±é©ļ¼\n" +"\n" +"å¦ęä½ ä»„ root čŗ«ä»½čæč” XSane, čÆ·äøč¦čÆå¾ęäŗ¤ä»»ä½ bug ę„åć" + +#. ERR_HEADER_ERROR +msgid "Error" +msgstr "éčÆÆ" + +#. ERR_HEADER_WARNING +msgid "Warning" +msgstr "č¦å" + +#. ERR_HEADER_INFO +msgid "Information" +msgstr "čµč®Æ" + +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "åč”ēØéčÆÆ" + +#. ERR_FAILED_CREATE_FILE +msgid "Failed to create file:" +msgstr "äøč½å»ŗē«ę”£ę”:" + +#. ERR_LOAD_DEVICE_SETTINGS +msgid "Error while loading device settings:" +msgstr "č½½å
„č£
ē½®č®¾å®ę¶éčÆÆ" + +#. ERR_NO_DRC_FILE +msgid "is not a device-rc-file !!!" +msgstr "äøęÆäøäøŖč£
ē½®rc file" + +#. ERR_NETSCAPE_EXECUTE_FAIL +msgid "Failed to execute netscape!" +msgstr "äøč½ę§č”netscape!" + +#. ERR_SENDFAX_RECEIVER_MISSING +msgid "Send fax: no receiver defined" +msgstr "ä¼ éä¼ ē: ę²”ęå®ä¹ę„ę¶č
" + +#. ERR_CREATED_FOR_DEVICE +msgid "has been created for device" +msgstr "" + +#. ERR_USED_FOR_DEVICE +msgid "you want to use it for device" +msgstr "" + +#. ERR_MAY_CAUSE_PROBLEMS +msgid "this may cause problems!" +msgstr "" + +#. WARN_UNSAVED_IMAGES +#, c-format +msgid "There are %d unsaved images" +msgstr "ę %d ęŖåØåēę”£ę”" + +#. WARN_FILE_EXISTS +#, c-format +msgid "File %s already exists" +msgstr "ę”£ę” %s å·²ē»ååØ" + +#. ERR_FILE_NOT_EXISTS +#, c-format +msgid "File %s does not exist" +msgstr "ę”£ę” %s äøååØ" + +#. ERR_FILE_NOT_POSTSCRIPT +#, c-format +msgid "File %s is not a postscript file" +msgstr "%s äøęÆäøäøŖpostscript ę”£" + +#. ERR_UNSUPPORTED_OUTPUT_FORMAT +#, c-format +msgid "Unsupported %d-bit output format: %s" +msgstr "äøęÆę“ %d -bit č¾åŗę ¼å¼: %s" + +#. ERR_CMS_CONVERSION +#, fuzzy +msgid "Error during CMS conversion:" +msgstr "åØåę¶éčÆÆ" + +#. ERR_CMS_OPEN_ICM_FILE +#, fuzzy +msgid "Could not open" +msgstr "å¼åÆå¤±č“„" + +#. CMS_SCANNER_ICM +#, fuzzy +msgid "scanner ICM profile" +msgstr "å é¤åč”Øęŗ" + +#. CMS_DISPLAY_ICM +#, fuzzy +msgid "display ICM profile" +msgstr "å½±åę”£ę”ęµč§" + +#. CMS_PROOF_ICM +#, fuzzy +msgid "proofing ICM profile" +msgstr "å é¤åč”Øęŗ" + +#. ERR_CMS_CREATE_TRANSFORM +#, fuzzy +msgid "Could not create transform" +msgstr "äøč½å»ŗē«ä¼ ēäøę”" + +#. WARN_VIEWER_IMAGE_NOT_SAVED +msgid "viewer image is not saved" +msgstr "ę£č§åØå½±åę²”ęåØå" + +#. FILE_FILTER_ALL_FILES +msgid "All files" +msgstr "" + +#. FILE_FILTER_IMAGES +#, fuzzy +msgid "Images" +msgstr "锵ę°:" + +#. FILE_FILTER_XBL +#, fuzzy +msgid "XSane batch list" +msgstr "åØåę¹ę¬”åč”Ø" + +#. FILE_FILTER_ICM +msgid "ICC/ICM Profiles" +msgstr "" + +#. FILE_FILTER_DRC +#, fuzzy +msgid "XSane device preferences" +msgstr "ē¦»å¼ę¶åØåč£
ē½®åå„½č®¾å®" + +#. FILE_FILTER_RC +#, fuzzy +msgid "XSane preferences" +msgstr "åå„½č®¾å®" + +#. TEXT_USAGE +msgid "Usage:" +msgstr "ä½æēØ:" + +#. TEXT_USAGE_OPTIONS +msgid "[OPTION]... [DEVICE]" +msgstr "" + +#. TEXT_HELP +msgid "" +"Start up graphical user interface to access SANE (Scanner Access Now Easy) " +"devices.\n" +"\n" +"The format of [DEVICE] is backendname:devicefile (e.g. umax:/dev/scanner).\n" +"[OPTION]... can be a combination of the following items:\n" +" -h, --help display this help message and exit\n" +" -v, --version print version information\n" +" -l, --license print license information\n" +"\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" +"\n" +" -V, --viewer start with viewer-mode active (default)\n" +" -s, --save start with save-mode active\n" +" -c, --copy start with copy-mode active\n" +" -m, --multipage start with multipage-mode active\n" +" -f, --fax start with fax-mode active\n" +" -e, --email start with e-mail-mode active\n" +" -n, --no-mode-selection disable menu for XSane mode selection\n" +"\n" +" -F, --Fixed fixed main window size (overwrite preferences " +"value)\n" +" -R, --Resizeable resizable, scrolled main window (overwrite " +"preferences value)\n" +"\n" +" -p, --print-filenames print image filenames created by XSane\n" +" -N, --force-filename name force filename and disable user filename " +"selection\n" +"\n" +" --display X11-display redirect output to X11-display\n" +" --no-xshm do not use shared memory images\n" +" --sync request a synchronous connection with the X11 " +"server" +msgstr "" + +#. strings for gimp plugin +#. XSANE_GIMP_INSTALL_BLURB +msgid "Front-end to the SANE interface" +msgstr "" + +#. XSANE_GIMP_INSTALL_HELP +msgid "" +"This function provides access to scanners and other image acquisition " +"devices through the SANE (Scanner Access Now Easy) interface." +msgstr "" + +#. Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" +#. XSANE_GIMP_MENU_DIALOG +msgid "<Toolbox>/File/Acquire/XSane: Device dialog..." +msgstr "" + +#. XSANE_GIMP_MENU +msgid "<Toolbox>/File/Acquire/XSane: " +msgstr "" + +#. XSANE_GIMP_MENU_DIALOG_OLD +msgid "<Toolbox>/Xtns/XSane/Device dialog..." +msgstr "" + +#. XSANE_GIMP_MENU_OLD +msgid "<Toolbox>/Xtns/XSane/" +msgstr "" + +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" + +#. strings that are used in structures, so it is not allowed to use _()/gettext() here +#. gettext_noop does mark these texts but does not change the string +#. MENU_ITEM_SURFACE_FULL_SIZE +msgid "full size" +msgstr "å®å
Ø大å°" + +#. MENU_ITEM_SURFACE_DIN_A3P +msgid "DIN A3 port." +msgstr "" + +#. MENU_ITEM_SURFACE_DIN_A3L +msgid "DIN A3 land." +msgstr "" + +#. MENU_ITEM_SURFACE_DIN_A4P +msgid "DIN A4 port." +msgstr "" + +#. MENU_ITEM_SURFACE_DIN_A4L +msgid "DIN A4 land." +msgstr "" + +#. MENU_ITEM_SURFACE_DIN_A5P +msgid "DIN A5 port." +msgstr "" + +#. MENU_ITEM_SURFACE_DIN_A5L +msgid "DIN A5 land." +msgstr "" + +#. MENU_ITEM_SURFACE_13cmx18cm +msgid "13cm x 18cm" +msgstr "" + +#. MENU_ITEM_SURFACE_18cmx13cm +msgid "18cm x 13cm" +msgstr "" + +#. MENU_ITEM_SURFACE_10cmx15cm +msgid "10cm x 15cm" +msgstr "" + +#. MENU_ITEM_SURFACE_15cmx10cm +msgid "15cm x 10cm" +msgstr "" + +#. MENU_ITEM_SURFACE_9cmx13cm +msgid "9cm x 13cm" +msgstr "" + +#. MENU_ITEM_SURFACE_13cmx9cm +msgid "13cm x 9cm" +msgstr "" + +#. MENU_ITEM_SURFACE_legal_P +msgid "legal port." +msgstr "" + +#. MENU_ITEM_SURFACE_legal_L +msgid "legal land." +msgstr "" + +#. MENU_ITEM_SURFACE_letter_P +msgid "letter port." +msgstr "" + +#. MENU_ITEM_SURFACE_letter_L +msgid "letter land." +msgstr "" + +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "å
Øč²čå“" + +#. MENU_ITEM_MEDIUM_SLIDE +msgid "Slide" +msgstr "å¹»ēÆē(ę£ē)" + +#. MENU_ITEM_MEDIUM_STANDARD_NEG +msgid "Standard negative" +msgstr "ę åč“ē" + +#. MENU_ITEM_MEDIUM_AGFA_NEG +msgid "Agfa negative" +msgstr "Agfa č“ē" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_XRG200_4 +msgid "Agfa negative XRG 200-4" +msgstr "Agfa č“ēXRG 200-4 " + +#. MENU_ITEM_MEDIUM_AGFA_NEG_HDC_100 +msgid "Agfa negative HDC 100" +msgstr "Agfa č“ēHDC 100" + +#. MENU_ITEM_MEDIUM_FUJI_NEG +msgid "Fuji negative" +msgstr "åÆ士(Fuji)č“ē" + +#. MENU_ITEM_MEDIUM_KODAK_NEG +msgid "Kodak negative" +msgstr "ęÆč¾¾(Kodak)č“ē" + +#. MENU_ITEM_MEDIUM_KONICA_NEG +msgid "Konica negative" +msgstr "ęÆå°¼å”(Konica)č“ē" + +#. MENU_ITEM_MEDIUM_KONICA_NEG_VX_100 +msgid "Konica negative VX 100" +msgstr "ęÆå°¼å”(Konica)č“ē VX 100" + +#. MENU_ITEM_MEDIUM_ROSSMANN_NEG_HR_100 +msgid "Rossmann negative HR 100" +msgstr "" + +# +#. TEXT_PROJECT_STATUS_NOT_CREATED +msgid "Project not created" +msgstr "å·„ēØęŖå»ŗē«" + +# +#. TEXT_PROJECT_STATUS_CREATED +msgid "Project created" +msgstr "å·„ēØå·²å»ŗē«" + +# +#. TEXT_PROJECT_STATUS_CHANGED +msgid "Project changed" +msgstr "å·„ēØå·²ę“ę¹" + +#. TEXT_PROJECT_STATUS_ERR_READ_PROJECT +msgid "Error reading project" +msgstr "čÆ»åå·„ēØęÆåŗé" + +#. TEXT_PROJECT_STATUS_FILE_SAVING_ERROR +msgid "Error saving file" +msgstr "äæåå·„ēØę¶åŗé" + +#. TEXT_PROJECT_STATUS_FILE_SAVING +msgid "Saving file" +msgstr "ę£åØäæåę件" + +#. TEXT_PROJECT_STATUS_FILE_SAVING_ABORTED +msgid "Aborted saving file" +msgstr "å·²åę¶äæåę件" + +#. TEXT_PROJECT_STATUS_FILE_SAVED +msgid "File has been saved" +msgstr "ę件已äæå" + +#. TEXT_EMAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "POP3 čæę„å¤±č“„" + +#. TEXT_EMAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "POP3 ē»å½å¤±č“„" + +#. TEXT_EMAIL_STATUS_ASMTP_AUTH_FAILED +msgid "ASMTP authentication failed" +msgstr "ASMTP 认čÆå¤±č“„" + +#. TEXT_EMAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "SMTP čæę„å¤±č“„" + +# +#. TEXT_EMAIL_STATUS_SMTP_ERR_FROM +msgid "From entry not accepted" +msgstr "å件å°åäøę£ē”®" + +# +#. TEXT_EMAIL_STATUS_SMTP_ERR_RCPT +msgid "Receiver entry not accepted" +msgstr "ę„ę¶å°åäøę£ē”®" + +# +#. TEXT_EMAIL_STATUS_SMTP_ERR_DATA +msgid "E-mail data not accepted" +msgstr "é®ä»¶ę°ę®äøę£ē”®" + +#. TEXT_EMAIL_STATUS_SENDING +msgid "Sending e-mail" +msgstr "ę£åØåéé®ä»¶" + +#. TEXT_EMAIL_STATUS_SENT +msgid "E-mail has been sent" +msgstr "é®ä»¶å·²åé" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "ę£åØēå¾
ä¼ ēåé" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "ä¼ ēå·²čæå
„åé" + +#. Sane backend messages +msgid "flatbed scanner" +msgstr "å¹³å°ę«ęåØ" + +msgid "frame grabber" +msgstr "č¾¹ę”ęååØ" + +msgid "handheld scanner" +msgstr "ęęå¼ę«ęåØ" + +msgid "still camera" +msgstr "éé³ęåęŗ" + +msgid "video camera" +msgstr "č§é¢ęåęŗ" + +msgid "virtual device" +msgstr "čęč£
ē½®" + +msgid "Success" +msgstr "å®ę" + +msgid "Operation not supported" +msgstr "å¹³å°ęŖęÆę“" + +msgid "Operation was cancelled" +msgstr "å¹³å°å·²ē»åę¶" + +msgid "Device busy" +msgstr "č£
ē½®åæē¢" + +msgid "Invalid argument" +msgstr "ę ęēåę°" + +msgid "End of file reached" +msgstr "å·²å°č¾¾ę件尾" + +msgid "Document feeder jammed" +msgstr "ęę”£č·ååØé»å”" + +msgid "Document feeder out of documents" +msgstr "" + +msgid "Scanner cover is open" +msgstr "ę«ęä»Ŗēåå·²ęå¼" + +msgid "Error during device I/O" +msgstr "č£
ē½®I/Oę¶éčÆÆ" + +msgid "Out of memory" +msgstr "å
åäøč¶³" + +msgid "Access to resource has been denied" +msgstr "čµęŗååč¢«ē¦ę¢" + +#, fuzzy +#~ msgid "select scanner transmissive ICM-profile" +#~ msgstr "å é¤åč”Øęŗ" + +#, fuzzy +#~ msgid "select scanner transmissive gray ICM-profile" +#~ msgstr "å é¤åč”Øęŗ" + +#, fuzzy +#~ msgid "Scanner reflective ICM-profile" +#~ msgstr "å é¤åč”Øęŗ" + +#, fuzzy +#~ msgid "Scanner reflective gray ICM-profile" +#~ msgstr "å é¤åč”Øęŗ" + +#, fuzzy +#~ msgid "Scanner transmissive gray ICM-profile" +#~ msgstr "å é¤åč”Øęŗ" + +#, fuzzy +#~ msgid "Scanner reflektive ICM-profile" +#~ msgstr "å é¤åč”Øęŗ" + +#, fuzzy +#~ msgid "Browse for scanner transmissive ICM-profile" +#~ msgstr "å½±åę”£ę”ęµč§" + +#, fuzzy +#~ msgid "Browse for scanner transmissive gray ICM-profile" +#~ msgstr "å½±åę”£ę”ęµč§" + +#~ msgid "GIMP can't handle depth %d bits/color" +#~ msgstr "GIMPäøč½åå¾ę·±åŗ¦ %d bits/color" + +#, fuzzy +#~ msgid "scanner reflective ICM profile" +#~ msgstr "å é¤åč”Øęŗ" + +#, fuzzy +#~ msgid "Embed scanner/source ICM profile for GIMP" +#~ msgstr "å é¤åč”Øęŗ" + +#~ msgid "Enter name of fax project" +#~ msgstr "č¾å
„ä¼ ēäøę”ēåē§°" + +#~ msgid "Enter name of e-mail project" +#~ msgstr "č¾å
„é®ä»¶äøę”ēåē§°" + +#~ msgid "Enter name of multipage project" +#~ msgstr "č¾å
„å¤é”µå·„ēØēåē§°" + +#~ msgid "" +#~ "Gimp does not support depth 16 bits/color.\n" +#~ "Do you want to reduce the depth to 8 bits/color?" +#~ msgstr "" +#~ "Gimp äøęÆę“ 16ä½å
/č²å½© ę·±åŗ¦\n" +#~ "ä½ ę³č¦ē®åę8 ä½å
/č²å½© ę·±åŗ¦å?" diff --git a/src/Makefile.in b/src/Makefile.in index 5debbbb..4ea7a66 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -108,7 +108,7 @@ clean: rm -rf .libs distclean: clean - rm -f Makefile $(PROGRAMS) + rm -f Makefile $(PROGRAMS) depend: makedepend $(INCLUDES) *.c @@ -232,6 +232,7 @@ xsane-multipage-project.o: xsane-front-gtk.h xsane-multipage-project.o: xsane-preferences.h xsane-multipage-project.o: xsane-multipage-project.h xsane-multipage-project.o: xsane-text.h +xsane-multipage-project.o: xsane-save.h xsane-fax-project.o: xsane.h xsane-fax-project.o: xsane-back-gtk.h diff --git a/src/xsane-back-gtk.c b/src/xsane-back-gtk.c index 10ac0b3..6ed24a4 100644 --- a/src/xsane-back-gtk.c +++ b/src/xsane-back-gtk.c @@ -3,7 +3,7 @@ xsane-back-gtk.c Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 1998-2005 Oliver Rauch + Copyright (C) 1998-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -470,7 +470,7 @@ void xsane_back_gtk_set_option(int opt_num, void *val, SANE_Action action) SANE_Status status; SANE_Int info; char buf[TEXTBUFSIZE]; - int old_colors = xsane.xsane_colors; + int old_channels = xsane.xsane_channels; int update_gamma = FALSE; DBG(DBG_proc, "xsane_back_gtk_set_option\n"); @@ -505,7 +505,7 @@ void xsane_back_gtk_set_option(int opt_num, void *val, SANE_Action action) /* XXXXXXXXXXXXXX this also has to be handled XXXXXXXXXXXXXXX */ } - if (xsane.xsane_colors != old_colors) + if (xsane.xsane_channels != old_channels) { /* we have to update gamma tables and histogram because medium settings */ /* may have changed */ @@ -734,7 +734,7 @@ gint xsane_back_gtk_decision(gchar *title, gchar **xpm_d, gchar *message, gchar button = gtk_button_new_with_label(oktext); GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT); g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_back_gtk_decision_ok_callback, (void *) decision_flag_ptr); - gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 5); + gtk_box_pack_end(GTK_BOX(hbox), button, TRUE, TRUE, 5); gtk_widget_grab_default(button); gtk_widget_show(button); @@ -743,7 +743,7 @@ gint xsane_back_gtk_decision(gchar *title, gchar **xpm_d, gchar *message, gchar { button = gtk_button_new_with_label(rejecttext); g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_back_gtk_decision_reject_callback, (void *) decision_flag_ptr); - gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 5); + gtk_box_pack_end(GTK_BOX(hbox), button, TRUE, TRUE, 5); gtk_widget_show(button); } @@ -871,59 +871,6 @@ void xsane_back_gtk_info(gchar *info, int wait) /* ---------------------------------------------------------------------------------------------------------------------- */ -GtkWidget *fileselection; -char *fileselection_filetype = NULL; - -static void xsane_back_gtk_filetype_callback(GtkWidget *widget, gpointer data) -{ - char *extension, *filename; - char buffer[PATH_MAX]; - char *new_filetype = (char *) data; - - DBG(DBG_proc, "xsane_filetype_callback\n"); - - filename = strdup(gtk_file_selection_get_filename(GTK_FILE_SELECTION(fileselection))); - - if ((new_filetype) && (*new_filetype)) - { - extension = strrchr(filename, '.'); - - if ((extension) && (extension != filename)) - { - if ( (!strcasecmp(extension, ".pnm")) || (!strcasecmp(extension, ".raw")) - || (!strcasecmp(extension, ".png")) || (!strcasecmp(extension, ".ps")) - || (!strcasecmp(extension, ".pdf")) || (!strcasecmp(extension, ".rgba")) - || (!strcasecmp(extension, ".tiff")) || (!strcasecmp(extension, ".tif")) - || (!strcasecmp(extension, ".text")) || (!strcasecmp(extension, ".txt")) - || (!strcasecmp(extension, ".jpg")) || (!strcasecmp(extension, ".jpeg")) - ) /* remove filetype extension */ - { - *extension = 0; /* remove extension */ - } - } - snprintf(buffer, sizeof(buffer), "%s%s", filename, new_filetype); - free(filename); - filename = strdup(buffer); - } - - if (fileselection_filetype) - { - free(fileselection_filetype); - fileselection_filetype = NULL; - } - - if (data) - { - fileselection_filetype = strdup(new_filetype); - } - - gtk_file_selection_set_filename(GTK_FILE_SELECTION(fileselection), filename); - - free(filename); -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - void xsane_back_gtk_filetype_menu_set_history(GtkWidget *xsane_filetype_option_menu, char *filetype) { int filetype_nr; @@ -940,6 +887,13 @@ void xsane_back_gtk_filetype_menu_set_history(GtkWidget *xsane_filetype_option_m } #endif + filetype_nr++; + if ( (filetype) && (!strcasecmp(filetype, XSANE_FILETYPE_PDF)) ) + { + select_item = filetype_nr; + } + + #ifdef HAVE_LIBPNG #ifdef HAVE_LIBZ filetype_nr++; @@ -962,12 +916,6 @@ void xsane_back_gtk_filetype_menu_set_history(GtkWidget *xsane_filetype_option_m select_item = filetype_nr; } - filetype_nr++; - if ( (filetype) && (!strcasecmp(filetype, XSANE_FILETYPE_PDF)) ) - { - select_item = filetype_nr; - } - #ifdef SUPPORT_RGBA filetype_nr++; if ( (filetype) && (!strcasecmp(filetype, XSANE_FILETYPE_RGBA)) ) @@ -1112,6 +1060,475 @@ GtkWidget *xsane_back_gtk_filetype_menu_new(char *filetype, GtkSignalFunc filety /* ----------------------------------------------------------------------------------------------------------------- */ +GtkWidget *xsane_back_gtk_cms_function_menu_new(int select_cms_function, GtkSignalFunc cms_function_menu_callback) +{ + GtkWidget *xsane_cms_function_menu, *xsane_cms_function_item; + GtkWidget *xsane_cms_function_option_menu; + + xsane_cms_function_menu = gtk_menu_new(); + + xsane_cms_function_item = gtk_menu_item_new_with_label(MENU_ITEM_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE); + if (cms_function_menu_callback) + { + g_signal_connect(GTK_OBJECT(xsane_cms_function_item), "activate", (GtkSignalFunc) cms_function_menu_callback, (void *) XSANE_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE); + } + gtk_container_add(GTK_CONTAINER(xsane_cms_function_menu), xsane_cms_function_item); + gtk_widget_show(xsane_cms_function_item); + + xsane_cms_function_item = gtk_menu_item_new_with_label(MENU_ITEM_CMS_FUNCTION_CONVERT_TO_SRGB); + if (cms_function_menu_callback) + { + g_signal_connect(GTK_OBJECT(xsane_cms_function_item), "activate", (GtkSignalFunc) cms_function_menu_callback, (void *) XSANE_CMS_FUNCTION_CONVERT_TO_SRGB); + } + gtk_container_add(GTK_CONTAINER(xsane_cms_function_menu), xsane_cms_function_item); + gtk_widget_show(xsane_cms_function_item); + + xsane_cms_function_item = gtk_menu_item_new_with_label(MENU_ITEM_FUNCTION_CONVERT_TO_WORKING_CS); + if (cms_function_menu_callback) + { + g_signal_connect(GTK_OBJECT(xsane_cms_function_item), "activate", (GtkSignalFunc) cms_function_menu_callback, (void *) XSANE_CMS_FUNCTION_CONVERT_TO_WORKING_CS); + } + gtk_container_add(GTK_CONTAINER(xsane_cms_function_menu), xsane_cms_function_item); + gtk_widget_show(xsane_cms_function_item); + + xsane_cms_function_option_menu = gtk_option_menu_new(); + xsane_back_gtk_set_tooltip(xsane.tooltips, xsane_cms_function_option_menu, DESC_CMS_FUNCTION); + gtk_option_menu_set_menu(GTK_OPTION_MENU(xsane_cms_function_option_menu), xsane_cms_function_menu); + gtk_option_menu_set_history(GTK_OPTION_MENU(xsane_cms_function_option_menu), select_cms_function); + + return (xsane_cms_function_option_menu); +} + +/* ----------------------------------------------------------------------------------------------------------------- */ + +#ifdef __GTK_FILE_CHOOSER_H__ + +GtkWidget *filechooser; +char *filechooser_filetype = NULL; + +static void xsane_back_gtk_filetype2_callback(GtkWidget *widget, gpointer data) +{ + char *extension, *chooser_filename; + char filename[PATH_MAX]; + char *basename; + char *new_filetype = (char *) data; + int pos; + + DBG(DBG_proc, "xsane_filetype2_callback\n"); + + chooser_filename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(filechooser)); + + if ((new_filetype) && (*new_filetype)) + { + extension = strrchr(chooser_filename, '.'); + + if ((extension) && (extension != chooser_filename)) + { + if ( (!strcasecmp(extension, ".pnm")) || (!strcasecmp(extension, ".raw")) + || (!strcasecmp(extension, ".png")) || (!strcasecmp(extension, ".ps")) + || (!strcasecmp(extension, ".pdf")) || (!strcasecmp(extension, ".rgba")) + || (!strcasecmp(extension, ".tiff")) || (!strcasecmp(extension, ".tif")) + || (!strcasecmp(extension, ".text")) || (!strcasecmp(extension, ".txt")) + || (!strcasecmp(extension, ".jpg")) || (!strcasecmp(extension, ".jpeg")) + ) /* remove filetype extension */ + { + *extension = 0; /* remove extension */ + } + } + snprintf(filename, sizeof(filename), "%s%s", chooser_filename, new_filetype); + } + + if (filechooser_filetype) + { + free(filechooser_filetype); + filechooser_filetype = NULL; + } + + if (data) + { + filechooser_filetype = strdup(new_filetype); + } + + + basename = filename; + + for (pos = strlen(filename) - 1; pos > 0; pos--) + { + if (filename[pos] == '/') + { + filename[pos]=0; + + basename = filename+pos+1; + break; + } + } + + gtk_file_chooser_set_current_name(GTK_FILE_CHOOSER(filechooser), basename); + + g_free(chooser_filename); +} + +/* ----------------------------------------------------------------------------------------------------------------- */ + +int xsane_back_gtk_get_filename(const char *label, const char *default_name, size_t max_len, char *filename, char **filetype, int *cms_function, + XsaneFileChooserAction action, int show_extra_widgets, int enable_filters, int activate_filter) +{ + int ok = 0; + GtkWidget *xsane_filetype_option_menu; + GtkWidget *xsane_cms_function_option_menu = xsane_cms_function_option_menu; + gint result; + const gchar *accept_text = NULL; + const gchar *reject_text = NULL; + GtkFileChooserAction chooser_action = GTK_FILE_CHOOSER_ACTION_OPEN; + GtkResponseType accept_code; + GtkResponseType reject_code; + char buf[PATH_MAX]; + + + DBG(DBG_proc, "xsane_back_gtk_get_filename\n"); + + if (filechooser) + { + gdk_beep(); + return -1; /* cancel => do not allow to open more than one filechooser dialog */ + } + + switch (action) + { + default: + case XSANE_FILE_CHOOSER_ACTION_OPEN: + chooser_action = GTK_FILE_CHOOSER_ACTION_OPEN; + accept_text = GTK_STOCK_OPEN; + accept_code = GTK_RESPONSE_ACCEPT; + reject_text = GTK_STOCK_CANCEL; + reject_code = GTK_RESPONSE_CANCEL; + break; + + case XSANE_FILE_CHOOSER_ACTION_SELECT_OPEN: + chooser_action = GTK_FILE_CHOOSER_ACTION_OPEN; + accept_text = GTK_STOCK_OK; + accept_code = GTK_RESPONSE_ACCEPT; + reject_text = GTK_STOCK_CANCEL; + reject_code = GTK_RESPONSE_CANCEL; + break; + + case XSANE_FILE_CHOOSER_ACTION_SAVE: + chooser_action = GTK_FILE_CHOOSER_ACTION_SAVE; + accept_text = GTK_STOCK_SAVE; + accept_code = GTK_RESPONSE_ACCEPT; + reject_text = GTK_STOCK_CANCEL; + reject_code = GTK_RESPONSE_CANCEL; + break; + + case XSANE_FILE_CHOOSER_ACTION_SELECT_SAVE: + chooser_action = GTK_FILE_CHOOSER_ACTION_SAVE; + accept_text = GTK_STOCK_OK; + accept_code = GTK_RESPONSE_ACCEPT; + reject_text = GTK_STOCK_CANCEL; + reject_code = GTK_RESPONSE_CANCEL; + break; + + case XSANE_FILE_CHOOSER_ACTION_SELECT_FOLDER: + chooser_action = GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER; + accept_text = GTK_STOCK_OK; + accept_code = GTK_RESPONSE_ACCEPT; + reject_text = GTK_STOCK_CANCEL; + reject_code = GTK_RESPONSE_CANCEL; + break; + + case XSANE_FILE_CHOOSER_ACTION_SELECT_PROJECT: + chooser_action = GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER; + accept_text = GTK_STOCK_OK; + accept_code = GTK_RESPONSE_NO; /* when we would use ACCEPT, OK, YES or APPLY then the filechooser_dialog would create non existant directories */ + reject_text = GTK_STOCK_CANCEL; + reject_code = GTK_RESPONSE_CANCEL; + break; + } + + filechooser = gtk_file_chooser_dialog_new (label, + NULL, + chooser_action, + reject_text, reject_code, + accept_text, accept_code, + NULL); + + xsane_set_window_icon(filechooser, 0); + + gtk_file_chooser_set_local_only(GTK_FILE_CHOOSER(filechooser), TRUE); + + + /* add paths to filechooser */ + if (getenv(STRINGIFY(ENVIRONMENT_HOME_DIR_NAME)) != NULL) + { + snprintf(buf, sizeof(buf)-2, "%s", getenv(STRINGIFY(ENVIRONMENT_HOME_DIR_NAME))); + gtk_file_chooser_add_shortcut_folder(GTK_FILE_CHOOSER(filechooser), buf, NULL); + } + + if (getcwd(buf, sizeof(buf))) + { + gtk_file_chooser_add_shortcut_folder(GTK_FILE_CHOOSER(filechooser), buf, NULL); + } + + + if (enable_filters & XSANE_FILE_FILTER_ALL) /* filter: all files */ + { + GtkFileFilter *filter; + + filter = gtk_file_filter_new(); + gtk_file_filter_add_pattern(filter, "*"); + + gtk_file_filter_set_name(filter, FILE_FILTER_ALL_FILES); + gtk_file_chooser_add_filter(GTK_FILE_CHOOSER(filechooser), filter); + + if (activate_filter == XSANE_FILE_FILTER_ALL) + { + gtk_file_chooser_set_filter(GTK_FILE_CHOOSER(filechooser), filter); + } + } + + if (enable_filters & XSANE_FILE_FILTER_DRC) /* filter: device rc */ + { + GtkFileFilter *filter; + + filter = gtk_file_filter_new(); + gtk_file_filter_add_pattern(filter, "*.[dD][rR][cC]"); + + gtk_file_filter_set_name(filter, FILE_FILTER_DRC); + gtk_file_chooser_add_filter(GTK_FILE_CHOOSER(filechooser), filter); + + if (activate_filter == XSANE_FILE_FILTER_DRC) + { + gtk_file_chooser_set_filter(GTK_FILE_CHOOSER(filechooser), filter); + } + + /* add path to filechooser */ + if (getenv(STRINGIFY(ENVIRONMENT_HOME_DIR_NAME)) != NULL) + { + gtk_file_chooser_add_shortcut_folder(GTK_FILE_CHOOSER(filechooser), getenv(STRINGIFY(ENVIRONMENT_HOME_DIR_NAME)), NULL); + } + } + + if (enable_filters & XSANE_FILE_FILTER_ICM) /* filter: color management profiles */ + { + GtkFileFilter *filter; + + filter = gtk_file_filter_new(); + gtk_file_filter_add_pattern(filter, "*.[iI][cC][cCmM]"); + + gtk_file_filter_set_name(filter, FILE_FILTER_ICM); + gtk_file_chooser_add_filter(GTK_FILE_CHOOSER(filechooser), filter); + + if (activate_filter == XSANE_FILE_FILTER_ICM) + { + gtk_file_chooser_set_filter(GTK_FILE_CHOOSER(filechooser), filter); + } + + /* add path to filechooser */ + if (getenv(STRINGIFY(ENVIRONMENT_HOME_DIR_NAME)) != NULL) + { + snprintf(buf, sizeof(buf)-2, "%s%c.color%cicc", getenv(STRINGIFY(ENVIRONMENT_HOME_DIR_NAME)), SLASH, SLASH); + gtk_file_chooser_add_shortcut_folder(GTK_FILE_CHOOSER(filechooser), buf, NULL); + } + gtk_file_chooser_add_shortcut_folder(GTK_FILE_CHOOSER(filechooser), "/usr/share/color/icc", NULL); + } + + if (enable_filters & XSANE_FILE_FILTER_IMAGES) /* filter: images */ + { + GtkFileFilter *filter; + + filter = gtk_file_filter_new(); + gtk_file_filter_add_pattern(filter, "*.[jJ][pP][gG]"); + gtk_file_filter_add_pattern(filter, "*.[jJ][pP][eE][gG]"); + gtk_file_filter_add_pattern(filter, "*.[pP][nN][gG]"); + gtk_file_filter_add_pattern(filter, "*.[tT][iI][fF]"); + gtk_file_filter_add_pattern(filter, "*.[tT][iI][fF][fF]"); + gtk_file_filter_add_pattern(filter, "*.[pP][sS]"); + gtk_file_filter_add_pattern(filter, "*.[pP][dD][fF]"); + gtk_file_filter_add_pattern(filter, "*.[pP][nN][mM]"); + gtk_file_filter_add_pattern(filter, "*.[pP][bB][mM]"); + gtk_file_filter_add_pattern(filter, "*.[pP][gG][mM]"); + gtk_file_filter_add_pattern(filter, "*.[pP][pP][mM]"); + + gtk_file_filter_set_name(filter, FILE_FILTER_IMAGES); + gtk_file_chooser_add_filter(GTK_FILE_CHOOSER(filechooser), filter); + + if (activate_filter == XSANE_FILE_FILTER_IMAGES) + { + gtk_file_chooser_set_filter(GTK_FILE_CHOOSER(filechooser), filter); + } + } + + if (enable_filters & XSANE_FILE_FILTER_BATCHLIST) /* filter: color management profiles */ + { + GtkFileFilter *filter; + + filter = gtk_file_filter_new(); + gtk_file_filter_add_pattern(filter, "*.[xX][bV][lL]"); + + gtk_file_filter_set_name(filter, FILE_FILTER_XBL); + gtk_file_chooser_add_filter(GTK_FILE_CHOOSER(filechooser), filter); + + if (activate_filter == XSANE_FILE_FILTER_BATCHLIST) + { + gtk_file_chooser_set_filter(GTK_FILE_CHOOSER(filechooser), filter); + } + } + + /* set default filename */ + if (default_name) /* select file */ + { + const char *basename = default_name; + char *path; + int pos; + + DBG(DBG_info, "xsane_back_gtk_get_filename: default_name =%s\n", default_name); + + path = strdup(default_name); + for (pos = strlen(path)-1; pos > 0; pos--) + { + if (path[pos] == '/') + { + path[pos]=0; + + basename = path+pos+1; + break; + } + } + + if (pos) + { + gtk_file_chooser_set_current_folder(GTK_FILE_CHOOSER(filechooser), path); + } + + if ((action == XSANE_FILE_CHOOSER_ACTION_SAVE) || (action == XSANE_FILE_CHOOSER_ACTION_SELECT_SAVE)) + { + gtk_file_chooser_set_current_name(GTK_FILE_CHOOSER(filechooser), (char *) basename); + } + else + { + gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(filechooser), (char *) default_name); + } + } + + + /* add filetype menu */ + + if (show_extra_widgets) + { + GtkWidget *vbox; + GtkWidget *hbox; + GtkWidget *label; + + vbox = gtk_vbox_new(FALSE, 15); + gtk_widget_show(vbox); + + if (show_extra_widgets & XSANE_GET_FILENAME_SHOW_FILETYPE) + { + DBG(DBG_info, "xsane_back_gtk_get_filename: showing filetype menu\n"); + + if (filechooser_filetype) + { + free(filechooser_filetype); + } + + if ((filetype) && (*filetype)) + { + filechooser_filetype = strdup(*filetype); + } + else + { + filechooser_filetype = NULL; + } + + hbox = gtk_hbox_new(FALSE, 2); + gtk_widget_show(hbox); + gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); + + label = gtk_label_new(TEXT_FILETYPE); + gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0); + gtk_widget_show(label); + + xsane_filetype_option_menu = xsane_back_gtk_filetype_menu_new(filechooser_filetype, (GtkSignalFunc) xsane_back_gtk_filetype2_callback); + gtk_box_pack_start(GTK_BOX(hbox), xsane_filetype_option_menu, TRUE, TRUE, 2); + gtk_widget_show(xsane_filetype_option_menu); + } + +#ifdef HAVE_LIBLCMS + if ((cms_function) && (show_extra_widgets & XSANE_GET_FILENAME_SHOW_CMS_FUNCTION)) + { + hbox = gtk_hbox_new(FALSE, 2); + gtk_widget_show(hbox); + gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); + + label = gtk_label_new(TEXT_CMS_FUNCTION); + gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0); + gtk_widget_show(label); + + xsane_cms_function_option_menu = xsane_back_gtk_cms_function_menu_new(*cms_function, NULL); + gtk_box_pack_start(GTK_BOX(hbox), xsane_cms_function_option_menu, TRUE, TRUE, 2); + gtk_widget_show(xsane_cms_function_option_menu); + } +#endif + + gtk_file_chooser_set_extra_widget(GTK_FILE_CHOOSER(filechooser), vbox); + } + + + gtk_widget_show(filechooser); + + result = gtk_dialog_run(GTK_DIALOG(filechooser)); + + DBG(DBG_info, "xsane_back_gtk_get_filename: gtk_dialog_run() returned with result=%d\n", result); + + if (result == accept_code) + { + char *chooser_filename; + + if ((filetype) && (*filetype)) + { + free(*filetype); + *filetype = NULL; + } + + if (filechooser_filetype) + { + if (filetype) + { + *filetype = strdup(filechooser_filetype); + } + } + +#ifdef HAVE_LIBLCMS + if ((cms_function) && (show_extra_widgets & XSANE_GET_FILENAME_SHOW_CMS_FUNCTION)) + { + *cms_function = gtk_option_menu_get_history(GTK_OPTION_MENU(xsane_cms_function_option_menu)); + + DBG(DBG_info, "selected cms_function = %d\n", *cms_function); + } +#endif + + chooser_filename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(filechooser)); + strncpy(filename, chooser_filename, max_len - 1); + g_free(chooser_filename); + + filename[max_len - 1] = '\0'; + + ok = TRUE; + } + + gtk_widget_destroy(filechooser); + filechooser = NULL; + + return ok ? 0 : -1; +} + +#else + +GtkWidget *fileselection; +char *fileselection_filetype = NULL; + +/* ----------------------------------------------------------------------------------------------------------------- */ + static void xsane_back_gtk_get_filename_button_clicked(GtkWidget *w, gpointer data) { int *clicked = data; @@ -1122,12 +1539,73 @@ static void xsane_back_gtk_get_filename_button_clicked(GtkWidget *w, gpointer da /* ----------------------------------------------------------------------------------------------------------------- */ -int xsane_back_gtk_get_filename(const char *label, const char *default_name, size_t max_len, char *filename, char **filetype, - int show_fileopts, int shorten_path, int select_directory, int show_filetype_menu) +static void xsane_back_gtk_filetype_callback(GtkWidget *widget, gpointer data) +{ + char *extension, *filename; + char buffer[PATH_MAX]; + char *new_filetype = (char *) data; + + DBG(DBG_proc, "xsane_filetype_callback\n"); + + filename = strdup(gtk_file_selection_get_filename(GTK_FILE_SELECTION(fileselection))); + + if ((new_filetype) && (*new_filetype)) + { + extension = strrchr(filename, '.'); + + if ((extension) && (extension != filename)) + { + if ( (!strcasecmp(extension, ".pnm")) || (!strcasecmp(extension, ".raw")) + || (!strcasecmp(extension, ".png")) || (!strcasecmp(extension, ".ps")) + || (!strcasecmp(extension, ".pdf")) || (!strcasecmp(extension, ".rgba")) + || (!strcasecmp(extension, ".tiff")) || (!strcasecmp(extension, ".tif")) + || (!strcasecmp(extension, ".text")) || (!strcasecmp(extension, ".txt")) + || (!strcasecmp(extension, ".jpg")) || (!strcasecmp(extension, ".jpeg")) + ) /* remove filetype extension */ + { + *extension = 0; /* remove extension */ + } + } + snprintf(buffer, sizeof(buffer), "%s%s", filename, new_filetype); + free(filename); + filename = strdup(buffer); + } + + if (fileselection_filetype) + { + free(fileselection_filetype); + fileselection_filetype = NULL; + } + + if (data) + { + fileselection_filetype = strdup(new_filetype); + } + + gtk_file_selection_set_filename(GTK_FILE_SELECTION(fileselection), filename); + + free(filename); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +int xsane_back_gtk_get_filename(const char *label, const char *default_name, size_t max_len, char *filename, char **filetype, int *cms_function, + XsaneFileChooserAction action, int show_filetype_menu, int enable_filters, int activate_filter) { int cancel = 0, ok = 0, destroy = 0; GtkAccelGroup *accelerator_group; GtkWidget *xsane_filetype_option_menu; + int show_fileopts = 0; + int select_directory = 0; + + if (action == XSANE_FILE_CHOOSER_ACTION_SELECT_FOLDER) + { + select_directory = TRUE; + } + else + { + show_fileopts = TRUE; + } DBG(DBG_proc, "xsane_back_gtk_get_filename\n"); @@ -1277,11 +1755,6 @@ int xsane_back_gtk_get_filename(const char *label, const char *default_name, siz cwd[cwd_len] = '\0'; DBG(DBG_info, "xsane_back_gtk_get_filename: full path filename = %s\n", filename); - if (shorten_path && (strncmp(filename, cwd, cwd_len) == 0)) - { - memcpy(filename, filename + cwd_len, len - cwd_len + 1); - DBG(DBG_info, "xsane_back_gtk_get_filename: short path filename = %s\n", filename); - } } if (!destroy) @@ -1293,6 +1766,7 @@ int xsane_back_gtk_get_filename(const char *label, const char *default_name, siz return ok ? 0 : -1; } +#endif /* ----------------------------------------------------------------------------------------------------------------- */ diff --git a/src/xsane-back-gtk.h b/src/xsane-back-gtk.h index 584e6d5..a1a49bf 100644 --- a/src/xsane-back-gtk.h +++ b/src/xsane-back-gtk.h @@ -3,7 +3,7 @@ xsane-back-gtk.h Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 1998-2005 Oliver Rauch + Copyright (C) 1998-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -43,6 +43,30 @@ CornerCoordinates; /* ---------------------------------------------------------------------------------------------------------------------- */ +#define XSANE_FILE_FILTER_ALL 1 +#define XSANE_FILE_FILTER_IMAGES 2 +#define XSANE_FILE_FILTER_DRC 4 +#define XSANE_FILE_FILTER_BATCHLIST 8 +#define XSANE_FILE_FILTER_ICM 16 + +#define XSANE_GET_FILENAME_SHOW_NOTHING 0 +#define XSANE_GET_FILENAME_SHOW_FILETYPE 1 +#define XSANE_GET_FILENAME_SHOW_CMS_FUNCTION 2 + + +typedef enum + { + XSANE_FILE_CHOOSER_ACTION_OPEN = 1, + XSANE_FILE_CHOOSER_ACTION_SELECT_OPEN, + XSANE_FILE_CHOOSER_ACTION_SAVE, + XSANE_FILE_CHOOSER_ACTION_SELECT_SAVE, + XSANE_FILE_CHOOSER_ACTION_SELECT_FOLDER, + XSANE_FILE_CHOOSER_ACTION_SELECT_PROJECT + } +XsaneFileChooserAction; + +/* ---------------------------------------------------------------------------------------------------------------------- */ + extern int xsane_back_gtk_message_dialog_active; /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -63,8 +87,9 @@ extern void xsane_back_gtk_warning(gchar *warning_message, int wait); extern void xsane_back_gtk_info(gchar *info_message, int wait); extern void xsane_back_gtk_filetype_menu_set_history(GtkWidget *xsane_filetype_option_menu, char *filetype); extern GtkWidget *xsane_back_gtk_filetype_menu_new(char *filetype, GtkSignalFunc filetype_callback); -extern int xsane_back_gtk_get_filename(const char *label, const char *default_name, size_t max_len, char *filename, char **filetype, - int show_fileopts, int shorten_path, int hide_file_list, int show_filetype_menu); +extern GtkWidget *xsane_back_gtk_cms_function_menu_new(int cms_select_function, GtkSignalFunc cms_function_menu_callback); +extern int xsane_back_gtk_get_filename(const char *label, const char *default_name, size_t max_len, char *filename, char **filetype, int *cms_function, + XsaneFileChooserAction action, int show_filetype_menu, int enable_filters, int activate_filter); extern void xsane_back_gtk_update_vector(int opt_num, SANE_Int *vector); extern void xsane_back_gtk_refresh_dialog(void); diff --git a/src/xsane-batch-scan.c b/src/xsane-batch-scan.c index 604e052..ff07e0c 100644 --- a/src/xsane-batch-scan.c +++ b/src/xsane-batch-scan.c @@ -3,7 +3,7 @@ xsane-batch-scan.c Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 1998-2005 Oliver Rauch + Copyright (C) 1998-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -345,7 +345,7 @@ static void xsane_batch_scan_load_list(void) sprintf(windowname, "%s %s %s", xsane.prog_name, WINDOW_LOAD_BATCH_LIST, xsane.device_text); xsane_back_gtk_make_path(sizeof(filename), filename, "xsane", "batch-lists", 0, "default", ".xbl", XSANE_PATH_LOCAL_SANE); - if (!xsane_back_gtk_get_filename(windowname, filename, sizeof(filename), filename, NULL, FALSE, FALSE, FALSE, FALSE)) + if (!xsane_back_gtk_get_filename(windowname, filename, sizeof(filename), filename, NULL, NULL, XSANE_FILE_CHOOSER_ACTION_OPEN, XSANE_GET_FILENAME_SHOW_NOTHING, XSANE_FILE_FILTER_ALL | XSANE_FILE_FILTER_BATCHLIST, XSANE_FILE_FILTER_BATCHLIST)) { if (xsane_batch_scan_load_list_from_file(filename)) /* error while loading file ? */ { @@ -396,7 +396,7 @@ static void xsane_batch_scan_save_list(void) sprintf(windowname, "%s %s %s", xsane.prog_name, WINDOW_SAVE_BATCH_LIST, xsane.device_text); xsane_back_gtk_make_path(sizeof(filename), filename, "xsane", "batch-lists", 0, "default", ".xbl", XSANE_PATH_LOCAL_SANE); - if (!xsane_back_gtk_get_filename(windowname, filename, sizeof(filename), filename, NULL, FALSE, FALSE, FALSE, FALSE)) + if (!xsane_back_gtk_get_filename(windowname, filename, sizeof(filename), filename, NULL, NULL, XSANE_FILE_CHOOSER_ACTION_SAVE, XSANE_GET_FILENAME_SHOW_NOTHING, XSANE_FILE_FILTER_ALL | XSANE_FILE_FILTER_BATCHLIST, XSANE_FILE_FILTER_BATCHLIST)); { fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0600); @@ -893,27 +893,29 @@ static void xsane_batch_scan_rename_callback(GtkWidget *widget, gpointer data) gtk_box_pack_start(GTK_BOX(vbox), text, TRUE, TRUE, 4); gtk_widget_show(text); + #ifdef HAVE_GTK2 - button = gtk_button_new_from_stock(GTK_STOCK_OK); + button = gtk_button_new_from_stock(GTK_STOCK_CANCEL); #else - button = gtk_button_new_with_label(BUTTON_OK); + button = gtk_button_new_with_label(BUTTON_CANCEL); #endif - GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT); - g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_batch_scan_rename_button_callback, (void *) 1); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_batch_scan_rename_button_callback, (void *) -1); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); - gtk_widget_grab_default(button); gtk_widget_show(button); #ifdef HAVE_GTK2 - button = gtk_button_new_from_stock(GTK_STOCK_CANCEL); + button = gtk_button_new_from_stock(GTK_STOCK_OK); #else - button = gtk_button_new_with_label(BUTTON_CANCEL); + button = gtk_button_new_with_label(BUTTON_OK); #endif - g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_batch_scan_rename_button_callback, (void *) -1); + GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_batch_scan_rename_button_callback, (void *) 1); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); + gtk_widget_grab_default(button); gtk_widget_show(button); + xsane_batch_scan_rename = 0; while (xsane_batch_scan_rename == 0) diff --git a/src/xsane-batch-scan.h b/src/xsane-batch-scan.h index 03b018d..82aad85 100644 --- a/src/xsane-batch-scan.h +++ b/src/xsane-batch-scan.h @@ -3,7 +3,7 @@ xsane-batch-scan.h Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 1998-2005 Oliver Rauch + Copyright (C) 1998-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify diff --git a/src/xsane-device-preferences.c b/src/xsane-device-preferences.c index 003cb77..41293e6 100644 --- a/src/xsane-device-preferences.c +++ b/src/xsane-device-preferences.c @@ -3,7 +3,7 @@ xsane-device-preferences.c Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 1998-2005 Oliver Rauch + Copyright (C) 1998-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -102,6 +102,10 @@ desc_xsane_device[] = {"xsane-enhancement-rgb-default", xsane_rc_pref_int, DPOFFSET(enhancement_rgb_default)}, {"xsane-negative", xsane_rc_pref_int, DPOFFSET(negative)}, {"xsane-show-preview", xsane_rc_pref_int, DPOFFSET(show_preview)}, + + {"xsane-enable-color-management", xsane_rc_pref_int, DPOFFSET(enable_color_management)}, + {"xsane-scanner-default-color-icm-profile", xsane_rc_pref_string, DPOFFSET(scanner_default_color_icm_profile)}, + {"xsane-scanner-default-gray-icm-profile", xsane_rc_pref_string, DPOFFSET(scanner_default_gray_icm_profile)}, }; /* ---------------------------------------------------------------------------------------------------------------- */ @@ -109,7 +113,7 @@ desc_xsane_device[] = static int xsane_device_preferences_load_values(Wire *w, SANE_Handle device) { const SANE_Option_Descriptor *opt; - SANE_Word *word_array; + char *word_array; SANE_String name, str; u_long *caused_reload; SANE_Int num_options; @@ -193,12 +197,12 @@ static int xsane_device_preferences_load_values(Wire *w, SANE_Handle device) } else /* array */ { - SANE_Int len; + SANE_Int len; - xsane_rc_io_w_array(w, &len, (void **) &word_array, (WireCodecFunc) xsane_rc_io_w_word, sizeof(SANE_Word)); + xsane_rc_io_w_array(w, &len, &word_array, (WireCodecFunc) xsane_rc_io_w_word, sizeof(SANE_Word)); status = xsane_control_option(device, i, SANE_ACTION_SET_VALUE, word_array, &info); w->direction = WIRE_FREE; - xsane_rc_io_w_array(w, &len, (void **) &word_array, (WireCodecFunc) xsane_rc_io_w_word, sizeof(SANE_Word)); + xsane_rc_io_w_array(w, &len, &word_array, (WireCodecFunc) xsane_rc_io_w_word, sizeof(SANE_Word)); w->direction = WIRE_DECODE; } break; @@ -239,7 +243,7 @@ static int xsane_device_preferences_save_values(Wire *w, SANE_Handle device) { const SANE_Option_Descriptor *opt; size_t word_array_size = 0; - SANE_Word *word_array = 0; + char *word_array = 0; size_t str_size = 0; SANE_String str = 0; SANE_Word word; @@ -308,7 +312,7 @@ static int xsane_device_preferences_save_values(Wire *w, SANE_Handle device) } xsane_rc_io_w_string(w, (SANE_String *) &opt->name); - xsane_rc_io_w_array(w, &len, (void **) &word_array, (WireCodecFunc) xsane_rc_io_w_word, sizeof(SANE_Word)); + xsane_rc_io_w_array(w, &len, &word_array, (WireCodecFunc) xsane_rc_io_w_word, sizeof(SANE_Word)); } break; @@ -580,6 +584,10 @@ void xsane_device_preferences_load_file(char *filename) gtk_window_set_default_size(GTK_WINDOW(xsane.preview->top), xsane.preview_dialog_width, xsane.preview_dialog_height); #endif +#ifdef HAVE_LIBLCMS + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(xsane.enable_color_management_widget), xsane.enable_color_management); +#endif + xsane_update_param(0); xsane_refresh_dialog(); xsane_enhancement_by_gamma(); @@ -621,7 +629,7 @@ void xsane_device_preferences_load(void) sprintf(windowname, "%s %s %s", xsane.prog_name, WINDOW_LOAD_SETTINGS, xsane.device_text); xsane_back_gtk_make_path(sizeof(filename), filename, "xsane", 0, 0, xsane.device_set_filename, ".drc", XSANE_PATH_LOCAL_SANE); - if (!xsane_back_gtk_get_filename(windowname, filename, sizeof(filename), filename, NULL, FALSE, FALSE, FALSE, FALSE)) + if (!xsane_back_gtk_get_filename(windowname, filename, sizeof(filename), filename, NULL, NULL, XSANE_FILE_CHOOSER_ACTION_OPEN, FALSE, XSANE_FILE_FILTER_ALL | XSANE_FILE_FILTER_DRC, XSANE_FILE_FILTER_DRC)) { xsane_device_preferences_load_file(filename); } @@ -772,7 +780,7 @@ void xsane_device_preferences_save(void) sprintf(windowname, "%s %s %s", xsane.prog_name, WINDOW_SAVE_SETTINGS, xsane.device_text); xsane_back_gtk_make_path(sizeof(filename), filename, "xsane", 0, 0, xsane.device_set_filename, ".drc", XSANE_PATH_LOCAL_SANE); - if (!xsane_back_gtk_get_filename(windowname, filename, sizeof(filename), filename, NULL, FALSE, FALSE, FALSE, FALSE)) + if (!xsane_back_gtk_get_filename(windowname, filename, sizeof(filename), filename, NULL, NULL, XSANE_FILE_CHOOSER_ACTION_SAVE, FALSE, XSANE_FILE_FILTER_ALL | XSANE_FILE_FILTER_DRC, XSANE_FILE_FILTER_DRC)) { xsane_device_preferences_save_file(filename); } diff --git a/src/xsane-device-preferences.h b/src/xsane-device-preferences.h index e980d47..ab705c0 100644 --- a/src/xsane-device-preferences.h +++ b/src/xsane-device-preferences.h @@ -3,7 +3,7 @@ xsane-device-preferences.h Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 1998-2005 Oliver Rauch + Copyright (C) 1998-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify diff --git a/src/xsane-email-project.c b/src/xsane-email-project.c index 79df15b..b36dd59 100644 --- a/src/xsane-email-project.c +++ b/src/xsane-email-project.c @@ -3,7 +3,7 @@ xsane-email-project.c Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 1998-2005 Oliver Rauch + Copyright (C) 1998-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -64,6 +64,7 @@ static gint xsane_email_dialog_delete(); static void xsane_email_filetype_callback(GtkWidget *filetype_option_menu, char *filetype); static void xsane_email_receiver_changed_callback(GtkWidget *widget, gpointer data); static void xsane_email_subject_changed_callback(GtkWidget *widget, gpointer data); +static void xsane_email_project_browse_filename_callback(GtkWidget *widget, gpointer data); static void xsane_email_project_changed_callback(GtkWidget *widget, gpointer data); static void xsane_email_html_mode_callback(GtkWidget *widget); static void xsane_email_project_display_status(void); @@ -150,10 +151,14 @@ void xsane_email_dialog() gtk_container_set_border_width(GTK_CONTAINER(hbox), 2); gtk_box_pack_start(GTK_BOX(email_scan_vbox), hbox, FALSE, FALSE, 1); +#if 0 pixmap = gdk_pixmap_create_from_xpm_d(xsane.dialog->window, &mask, xsane.bg_trans, (gchar **) email_xpm); pixmapwidget = gtk_image_new_from_pixmap(pixmap, mask); gtk_box_pack_start(GTK_BOX(hbox), pixmapwidget, FALSE, FALSE, 2); gdk_drawable_unref(pixmap); +#endif + button = xsane_button_new_with_pixmap(xsane.dialog->window, hbox, email_xpm, DESC_EMAIL_PROJECT_BROWSE, + (GtkSignalFunc) xsane_email_project_browse_filename_callback, NULL); text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_EMAIL_PROJECT); @@ -165,7 +170,7 @@ void xsane_email_dialog() xsane.project_entry = text; xsane.project_entry_box = hbox; - gtk_widget_show(pixmapwidget); +// gtk_widget_show(pixmapwidget); gtk_widget_show(text); gtk_widget_show(hbox); @@ -1073,6 +1078,64 @@ static void xsane_email_subject_changed_callback(GtkWidget *widget, gpointer dat /* ---------------------------------------------------------------------------------------------------------------------- */ +void xsane_email_project_set_filename(gchar *filename) +{ + g_signal_handlers_block_by_func(GTK_OBJECT(xsane.project_entry), (GtkSignalFunc) xsane_email_project_changed_callback, NULL); + gtk_entry_set_text(GTK_ENTRY(xsane.project_entry), (char *) filename); /* update filename in entry */ + gtk_entry_set_position(GTK_ENTRY(xsane.project_entry), strlen(filename)); /* set cursor to right position of filename */ + + g_signal_handlers_unblock_by_func(GTK_OBJECT(xsane.project_entry), (GtkSignalFunc) xsane_email_project_changed_callback, NULL); +} + +/* ----------------------------------------------------------------------------------------------------------------- */ + +static void xsane_email_project_browse_filename_callback(GtkWidget *widget, gpointer data) +{ + char filename[PATH_MAX]; + char windowname[TEXTBUFSIZE]; + + DBG(DBG_proc, "xsane_email_project_browse_filename_callback\n"); + + xsane_set_sensitivity(FALSE); + + if (preferences.email_project) /* make sure a correct filename is defined */ + { + strncpy(filename, preferences.email_project, sizeof(filename)); + filename[sizeof(filename) - 1] = '\0'; + } + else /* no filename given, take standard filename */ + { + strcpy(filename, OUT_FILENAME); + } + + snprintf(windowname, sizeof(windowname), "%s %s %s", xsane.prog_name, WINDOW_EMAIL_PROJECT_BROWSE, xsane.device_text); + + umask((mode_t) preferences.directory_umask); /* define new file permissions */ + if (!xsane_back_gtk_get_filename(windowname, filename, sizeof(filename), filename, NULL, NULL, XSANE_FILE_CHOOSER_ACTION_SELECT_PROJECT, XSANE_GET_FILENAME_SHOW_NOTHING, 0, 0)) + { + + if (preferences.email_project) + { + free((void *) preferences.email_project); + } + + preferences.email_project = strdup(filename); + + xsane_set_sensitivity(TRUE); + xsane_email_project_set_filename(filename); + + xsane_email_project_load(); + } + else + { + xsane_set_sensitivity(TRUE); + } + umask(XSANE_DEFAULT_UMASK); /* define new file permissions */ + +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + static void xsane_email_project_changed_callback(GtkWidget *widget, gpointer data) { DBG(DBG_proc, "xsane_email_project_changed_callback\n"); @@ -1277,20 +1340,20 @@ static void xsane_email_entry_rename_callback(GtkWidget *widget, gpointer list) #ifdef HAVE_GTK2 - button = gtk_button_new_from_stock(GTK_STOCK_OK); + button = gtk_button_new_from_stock(GTK_STOCK_CANCEL); #else - button = gtk_button_new_with_label(BUTTON_OK); + button = gtk_button_new_with_label(BUTTON_CANCEL); #endif - g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_email_entry_rename_button_callback, (void *) 1); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_email_entry_rename_button_callback,(void *) -1); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); gtk_widget_show(button); #ifdef HAVE_GTK2 - button = gtk_button_new_from_stock(GTK_STOCK_CANCEL); + button = gtk_button_new_from_stock(GTK_STOCK_OK); #else - button = gtk_button_new_with_label(BUTTON_CANCEL); + button = gtk_button_new_with_label(BUTTON_OK); #endif - g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_email_entry_rename_button_callback,(void *) -1); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_email_entry_rename_button_callback, (void *) 1); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); gtk_widget_show(button); @@ -1595,7 +1658,7 @@ static void xsane_create_email(int fd) /* doc files like ps and pdf can not be displayed inline in html email */ if (display_images_inline) { - snprintf(buf, sizeof(buf), "<p><img SRC=\"cid:%s\">\n", content_id); + snprintf(buf, sizeof(buf), "<p><img SRC=\"cid:%s\">\r\n", content_id); } write(fd, buf, strlen(buf)); } @@ -1605,7 +1668,7 @@ static void xsane_create_email(int fd) } else if (*email_text_pos == 10) /* new line */ { - snprintf(buf, sizeof(buf), "<br>\n"); + snprintf(buf, sizeof(buf), "<br>\r\n"); write(fd, buf, strlen(buf)); } else @@ -1624,12 +1687,12 @@ static void xsane_create_email(int fd) /* doc files like ps and pdf can not be displayed inline in html email */ if (display_images_inline) { - snprintf(buf, sizeof(buf), "<p><img SRC=\"cid:%s\">\n", content_id); + snprintf(buf, sizeof(buf), "<p><img SRC=\"cid:%s\">\r\n", content_id); } write(fd, buf, strlen(buf)); } - snprintf(buf, sizeof(buf), "</html>\n"); + snprintf(buf, sizeof(buf), "</html>\r\n"); write(fd, buf, strlen(buf)); @@ -1666,7 +1729,7 @@ static void xsane_create_email(int fd) write_email_mime_ascii(fd, boundary); write(fd, email_text, strlen(email_text)); - write(fd, "\n\n", 2); + write(fd, "\r\n\r\n", 4); for (i=0; i<attachments; i++) { @@ -1856,7 +1919,7 @@ static void xsane_email_send() free(type); DBG(DBG_info, "converting %s to %s\n", source_filename, email_filename); output_format = xsane_identify_output_format(email_filename, NULL, NULL); - xsane_save_image_as(email_filename, source_filename, output_format, xsane.project_progress_bar, &cancel_save); + xsane_save_image_as(email_filename, source_filename, output_format, xsane.enable_color_management, preferences.cms_function, preferences.cms_intent, preferences.cms_bpc, xsane.project_progress_bar, &cancel_save); list = list->next; xsane.email_progress_size += xsane_get_filesize(email_filename); } diff --git a/src/xsane-email-project.h b/src/xsane-email-project.h index 2148ef2..8bc44b8 100644 --- a/src/xsane-email-project.h +++ b/src/xsane-email-project.h @@ -3,7 +3,7 @@ xsane-email-project.h Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 1998-2005 Oliver Rauch + Copyright (C) 1998-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify diff --git a/src/xsane-fax-project.c b/src/xsane-fax-project.c index 8f23bf2..4b7b770 100644 --- a/src/xsane-fax-project.c +++ b/src/xsane-fax-project.c @@ -3,7 +3,7 @@ xsane-fax-project.c Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 1998-2005 Oliver Rauch + Copyright (C) 1998-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -57,6 +57,7 @@ void xsane_fax_dialog(void); void xsane_fax_project_save(void); static gint xsane_fax_dialog_delete(); +static void xsane_fax_project_browse_filename_callback(GtkWidget *widget, gpointer data); static void xsane_fax_receiver_changed_callback(GtkWidget *widget, gpointer data); static void xsane_fax_project_changed_callback(GtkWidget *widget, gpointer data); static void xsane_fax_fine_mode_callback(GtkWidget *widget); @@ -86,8 +87,9 @@ void xsane_fax_dialog() GtkWidget *fax_dialog, *fax_scan_vbox, *fax_project_vbox, *hbox, *fax_project_exists_hbox, *button; GtkWidget *scrolled_window, *list; char buf[64]; - GtkWidget *pixmapwidget, *text; + GtkWidget *text; GtkWidget *pages_frame; + GtkWidget *pixmapwidget; GdkBitmap *mask; GdkPixmap *pixmap; @@ -119,10 +121,8 @@ void xsane_fax_dialog() gtk_container_set_border_width(GTK_CONTAINER(hbox), 2); gtk_box_pack_start(GTK_BOX(fax_scan_vbox), hbox, FALSE, FALSE, 1); - pixmap = gdk_pixmap_create_from_xpm_d(xsane.dialog->window, &mask, xsane.bg_trans, (gchar **) fax_xpm); - pixmapwidget = gtk_image_new_from_pixmap(pixmap, mask); - gtk_box_pack_start(GTK_BOX(hbox), pixmapwidget, FALSE, FALSE, 2); - gdk_drawable_unref(pixmap); + button = xsane_button_new_with_pixmap(xsane.dialog->window, hbox, fax_xpm, DESC_FAX_PROJECT_BROWSE, + (GtkSignalFunc) xsane_fax_project_browse_filename_callback, NULL); text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_FAXPROJECT); @@ -134,7 +134,6 @@ void xsane_fax_dialog() xsane.project_entry = text; xsane.project_entry_box = hbox; - gtk_widget_show(pixmapwidget); gtk_widget_show(text); gtk_widget_show(hbox); @@ -582,6 +581,64 @@ static void xsane_fax_receiver_changed_callback(GtkWidget *widget, gpointer data gtk_progress_bar_update(GTK_PROGRESS_BAR(xsane.project_progress_bar), 0.0); } +/* ----------------------------------------------------------------------------------------------------------------- */ + +void xsane_fax_project_set_filename(gchar *filename) +{ + g_signal_handlers_block_by_func(GTK_OBJECT(xsane.project_entry), (GtkSignalFunc) xsane_fax_project_changed_callback, NULL); + gtk_entry_set_text(GTK_ENTRY(xsane.project_entry), (char *) filename); /* update filename in entry */ + gtk_entry_set_position(GTK_ENTRY(xsane.project_entry), strlen(filename)); /* set cursor to right position of filename */ + + g_signal_handlers_unblock_by_func(GTK_OBJECT(xsane.project_entry), (GtkSignalFunc) xsane_fax_project_changed_callback, NULL); +} + +/* ----------------------------------------------------------------------------------------------------------------- */ + +static void xsane_fax_project_browse_filename_callback(GtkWidget *widget, gpointer data) +{ + char filename[PATH_MAX]; + char windowname[TEXTBUFSIZE]; + + DBG(DBG_proc, "xsane_fax_project_browse_filename_callback\n"); + + xsane_set_sensitivity(FALSE); + + if (preferences.fax_project) /* make sure a correct filename is defined */ + { + strncpy(filename, preferences.fax_project, sizeof(filename)); + filename[sizeof(filename) - 1] = '\0'; + } + else /* no filename given, take standard filename */ + { + strcpy(filename, OUT_FILENAME); + } + + snprintf(windowname, sizeof(windowname), "%s %s %s", xsane.prog_name, WINDOW_FAX_PROJECT_BROWSE, xsane.device_text); + + umask((mode_t) preferences.directory_umask); /* define new file permissions */ + if (!xsane_back_gtk_get_filename(windowname, filename, sizeof(filename), filename, NULL, NULL, XSANE_FILE_CHOOSER_ACTION_SELECT_PROJECT, FALSE, 0, 0)) + { + + if (preferences.fax_project) + { + free((void *) preferences.fax_project); + } + + preferences.fax_project = strdup(filename); + + xsane_set_sensitivity(TRUE); + xsane_fax_project_set_filename(filename); + + xsane_fax_project_load(); + } + else + { + xsane_set_sensitivity(TRUE); + } + umask(XSANE_DEFAULT_UMASK); /* define new file permissions */ + +} + /* ---------------------------------------------------------------------------------------------------------------------- */ static void xsane_fax_project_changed_callback(GtkWidget *widget, gpointer data) @@ -761,20 +818,21 @@ static void xsane_fax_entry_rename_callback(GtkWidget *widget, gpointer list) #ifdef HAVE_GTK2 - button = gtk_button_new_from_stock(GTK_STOCK_OK); + button = gtk_button_new_from_stock(GTK_STOCK_CANCEL); #else - button = gtk_button_new_with_label(BUTTON_OK); + button = gtk_button_new_with_label(BUTTON_CANCEL); #endif - g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_fax_entry_rename_button_callback, (void *) 1); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_fax_entry_rename_button_callback, (void *) -1); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); gtk_widget_show(button); + #ifdef HAVE_GTK2 - button = gtk_button_new_from_stock(GTK_STOCK_CANCEL); + button = gtk_button_new_from_stock(GTK_STOCK_OK); #else - button = gtk_button_new_with_label(BUTTON_CANCEL); + button = gtk_button_new_with_label(BUTTON_OK); #endif - g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_fax_entry_rename_button_callback, (void *) -1); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_fax_entry_rename_button_callback, (void *) 1); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); gtk_widget_show(button); @@ -833,7 +891,7 @@ static void xsane_fax_entry_insert_callback(GtkWidget *widget, gpointer list) umask((mode_t) preferences.directory_umask); /* define new file permissions */ - if (!xsane_back_gtk_get_filename(windowname, filename, sizeof(filename), filename, NULL, TRUE, FALSE, FALSE, FALSE)) /* filename is selected */ + if (!xsane_back_gtk_get_filename(windowname, filename, sizeof(filename), filename, NULL, NULL, XSANE_FILE_CHOOSER_ACTION_OPEN, FALSE, XSANE_FILE_FILTER_ALL | XSANE_FILE_FILTER_IMAGES, XSANE_FILE_FILTER_IMAGES)) /* filename is selected */ { FILE *sourcefile; @@ -1082,7 +1140,12 @@ static int xsane_fax_convert_pnm_to_ps(char *source_filename, char *fax_filename preferences.fax_width * 72.0/MM_PER_INCH, /* paper_width */ preferences.fax_height * 72.0/MM_PER_INCH, /* paper_height */ 0 /* portrait top left */, - preferences.fax_ps_flatdecoded, /* use ps level 3 zlib compression */ + preferences.fax_ps_flatedecoded, /* use ps level 3 zlib compression */ + NULL, /* hTransform */ + 0 /* do not apply ICM profile */, + 0, NULL, /* no CSA */ + 0, NULL, 0, /* no CRD */ + 0, /* intent */ xsane.project_progress_bar, &cancel_save); fclose(outfile); diff --git a/src/xsane-fax-project.h b/src/xsane-fax-project.h index 775aafc..cca541e 100644 --- a/src/xsane-fax-project.h +++ b/src/xsane-fax-project.h @@ -3,7 +3,7 @@ xsane-fax-project.h Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 1998-2005 Oliver Rauch + Copyright (C) 1998-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify diff --git a/src/xsane-fixedtext.h b/src/xsane-fixedtext.h index d655d34..d207450 100644 --- a/src/xsane-fixedtext.h +++ b/src/xsane-fixedtext.h @@ -3,7 +3,7 @@ xsane-fixedtext.h Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 1998-2005 Oliver Rauch + Copyright (C) 1998-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify diff --git a/src/xsane-front-gtk.c b/src/xsane-front-gtk.c index a11779e..3d98a5b 100644 --- a/src/xsane-front-gtk.c +++ b/src/xsane-front-gtk.c @@ -3,7 +3,7 @@ xsane-front-gtk.c Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 1998-2005 Oliver Rauch + Copyright (C) 1998-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -67,14 +67,14 @@ void xsane_option_menu_new(GtkWidget *parent, char *str_list[], const char *val, void *option_menu_callback, SANE_Int settable, const gchar *widget_name); void xsane_option_menu_new_with_pixmap(GdkWindow *window, GtkBox *parent, const char *xpm_d[], const char *desc, char *str_list[], const char *val, - GtkObject **data, int option, + GtkWidget **data, int option, void *option_menu_callback, SANE_Int settable, const gchar *widget_name); void xsane_range_new(GtkBox *parent, char *labeltext, const char *desc, float min, float max, float quant, float page_step, - int digits, double *val, GtkObject **data, void *xsane_range_callback, SANE_Int settable); + int digits, double *val, GtkWidget **data, void *xsane_range_callback, SANE_Int settable); void xsane_range_new_with_pixmap(GdkWindow *window, GtkBox *parent, const char *xpm_d[], const char *desc, float min, float max, float quant, float page_step, int digits, - double *val, GtkObject **data, int option, void *xsane_range_callback, SANE_Int settable); + double *val, GtkWidget **data, int option, void *xsane_range_callback, SANE_Int settable); static void xsane_outputfilename_changed_callback(GtkWidget *widget, gpointer data); void xsane_set_filename(gchar *filename); void xsane_separator_new(GtkWidget *xsane_parent, int dist); @@ -411,7 +411,7 @@ void xsane_define_maximum_output_size() if ( (opt) && (opt->unit== SANE_UNIT_MM) ) { - switch(preferences.xsane_mode) + switch(xsane.xsane_mode) { case XSANE_SAVE: @@ -662,6 +662,15 @@ gint xsane_authorization_callback(SANE_String_Const resource, gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 10); /* y-space around buttons */ #ifdef HAVE_GTK2 + button = gtk_button_new_from_stock(GTK_STOCK_CANCEL); +#else + button = gtk_button_new_with_label(BUTTON_CANCEL); +#endif + g_signal_connect(GTK_OBJECT(button), "clicked", GTK_SIGNAL_FUNC(xsane_authorization_button_callback), (void *) -1); + gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 10); /* x-space around cancel-button */ + gtk_widget_show(button); + +#ifdef HAVE_GTK2 button = gtk_button_new_from_stock(GTK_STOCK_OK); #else button = gtk_button_new_with_label(BUTTON_OK); @@ -672,15 +681,6 @@ gint xsane_authorization_callback(SANE_String_Const resource, gtk_widget_grab_default(button); gtk_widget_show(button); -#ifdef HAVE_GTK2 - button = gtk_button_new_from_stock(GTK_STOCK_CANCEL); -#else - button = gtk_button_new_with_label(BUTTON_CANCEL); -#endif - g_signal_connect(GTK_OBJECT(button), "clicked", GTK_SIGNAL_FUNC(xsane_authorization_button_callback), (void *) -1); - gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 10); /* x-space around cancel-button */ - gtk_widget_show(button); - gtk_widget_show(hbox); gtk_widget_show(authorize_dialog); @@ -1032,7 +1032,7 @@ void xsane_option_menu_new(GtkWidget *parent, char *str_list[], const char *val, void xsane_option_menu_new_with_pixmap(GdkWindow *window, GtkBox *parent, const char *xpm_d[], const char *desc, char *str_list[], const char *val, - GtkObject **data, int option, + GtkWidget **data, int option, void *option_menu_callback, SANE_Int settable, const gchar *widget_name) { GtkWidget *hbox; @@ -1071,7 +1071,7 @@ static void xsane_range_display_value_right_callback(GtkAdjustment *adjust, gpoi void xsane_range_new(GtkBox *parent, char *labeltext, const char *desc, float min, float max, float quant, float page_step, - int digits, double *val, GtkObject **data, void *xsane_range_callback, SANE_Int settable) + int digits, double *val, GtkWidget **data, void *xsane_range_callback, SANE_Int settable) { GtkWidget *hbox; GtkWidget *label; @@ -1087,7 +1087,7 @@ void xsane_range_new(GtkBox *parent, char *labeltext, const char *desc, label = gtk_label_new(labeltext); gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 1); - *data = gtk_adjustment_new(*val, min, max, quant, page_step, (max-min) * 1e-30); + *data = (GtkWidget *) gtk_adjustment_new(*val, min, max, quant, page_step, (max-min) * 1e-30); /* 1e-30 => hscrollbar has an unwanted side effect: the maximum is not the maximum */ /* of the given range, it is reduced by the page_size, so it has to be very small */ @@ -1159,7 +1159,7 @@ void xsane_range_new(GtkBox *parent, char *labeltext, const char *desc, void xsane_range_new_with_pixmap(GdkWindow *window, GtkBox *parent, const char *xpm_d[], const char *desc, float min, float max, float quant, float page_step, - int digits, double *val, GtkObject **data, int option, void *xsane_range_callback, SANE_Int settable) + int digits, double *val, GtkWidget **data, int option, void *xsane_range_callback, SANE_Int settable) { GtkWidget *hbox; GtkWidget *slider = NULL; @@ -1180,7 +1180,7 @@ void xsane_range_new_with_pixmap(GdkWindow *window, GtkBox *parent, const char * gtk_widget_show(pixmapwidget); gdk_drawable_unref(pixmap); - *data = gtk_adjustment_new(*val, min, max, quant, page_step, (max-min) * 1e-30); + *data = (GtkWidget *) gtk_adjustment_new(*val, min, max, quant, page_step, (max-min) * 1e-30); /* 1e-30 => hscrollbar has an unwanted side effect: the maximum is not the maximum */ /* of the given range, it is reduced by the page_size, so it has to be very small */ @@ -1251,7 +1251,7 @@ void xsane_range_new_with_pixmap(GdkWindow *window, GtkBox *parent, const char * DialogElement *elem; elem=xsane.element + option; - elem->data = *data; + elem->data = (GtkObject *) *data; elem->widget = slider; } } @@ -1262,6 +1262,7 @@ static void xsane_browse_filename_callback(GtkWidget *widget, gpointer data) { char filename[PATH_MAX]; char windowname[TEXTBUFSIZE]; + int show_extra_widgets; DBG(DBG_proc, "xsane_browse_filename_callback\n"); @@ -1277,10 +1278,17 @@ static void xsane_browse_filename_callback(GtkWidget *widget, gpointer data) strcpy(filename, OUT_FILENAME); } + show_extra_widgets = XSANE_GET_FILENAME_SHOW_FILETYPE; + if (xsane.enable_color_management) + { + show_extra_widgets |= XSANE_GET_FILENAME_SHOW_CMS_FUNCTION; + } + + snprintf(windowname, sizeof(windowname), "%s %s %s", xsane.prog_name, WINDOW_OUTPUT_FILENAME, xsane.device_text); umask((mode_t) preferences.directory_umask); /* define new file permissions */ - xsane_back_gtk_get_filename(windowname, filename, sizeof(filename), filename, &preferences.filetype, TRUE, TRUE, FALSE, TRUE); + xsane_back_gtk_get_filename(windowname, filename, sizeof(filename), filename, &preferences.filetype, &preferences.cms_function, XSANE_FILE_CHOOSER_ACTION_SELECT_SAVE, show_extra_widgets, XSANE_FILE_FILTER_ALL | XSANE_FILE_FILTER_IMAGES, XSANE_FILE_FILTER_IMAGES); umask(XSANE_DEFAULT_UMASK); /* define new file permissions */ if (preferences.filename) @@ -1294,6 +1302,10 @@ static void xsane_browse_filename_callback(GtkWidget *widget, gpointer data) xsane_back_gtk_filetype_menu_set_history(xsane.filetype_option_menu, preferences.filetype); +#ifdef HAVE_LIBLCMS + gtk_option_menu_set_history(GTK_OPTION_MENU(xsane.cms_function_option_menu), preferences.cms_function); +#endif + /* correct length of filename counter if it is shorter than minimum length */ xsane_update_counter_in_filename(&preferences.filename, FALSE, 0, preferences.filename_counter_len); @@ -1629,17 +1641,17 @@ void xsane_update_param(void *arg) if (xsane.param.format == SANE_FRAME_GRAY) { - xsane.xsane_colors = 1; + xsane.xsane_channels = 1; } #ifdef SUPPORT_RGBA else if (xsane.param.format == SANE_FRAME_RGBA) { - xsane.xsane_colors = 4; + xsane.xsane_channels = 4; } #endif else /* RGB */ { - xsane.xsane_colors = 3; + xsane.xsane_channels = 3; } } else @@ -1785,6 +1797,7 @@ int xsane_identify_output_format(char *filename, char *filetype, char **ext) /* ---------------------------------------------------------------------------------------------------------------------- */ +#if 0 void xsane_change_working_directory(void) { char filename[PATH_MAX]; @@ -1797,7 +1810,7 @@ void xsane_change_working_directory(void) sprintf(windowname, "%s %s %s", xsane.prog_name, WINDOW_CHANGE_WORKING_DIR, xsane.device_text); if (getcwd(filename, sizeof(filename))) { - xsane_back_gtk_get_filename(windowname, filename, sizeof(filename), filename, NULL, TRUE, FALSE, TRUE, FALSE); +// xsane_back_gtk_get_filename(windowname, filename, sizeof(filename), filename, NULL, TRUE, FALSE, TRUE, FALSE); if (chdir(filename)) { char buf[TEXTBUFSIZE]; @@ -1819,6 +1832,7 @@ void xsane_change_working_directory(void) xsane_set_sensitivity(TRUE); } +#endif /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -2019,11 +2033,6 @@ int xsane_display_eula(int ask_for_accept) if (ask_for_accept) /* show accept + not accept buttons */ { - button = gtk_button_new_with_label(BUTTON_ACCEPT); - g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_eula_button_callback, (void *) 0 /* accept */); - gtk_container_add(GTK_CONTAINER(hbox), button); - gtk_widget_show(button); - button = gtk_button_new_with_label(BUTTON_NOT_ACCEPT); gtk_widget_add_accelerator(button, "clicked", accelerator_group, GDK_Escape, 0, DEF_GTK_ACCEL_LOCKED); GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT); @@ -2031,6 +2040,11 @@ int xsane_display_eula(int ask_for_accept) gtk_container_add(GTK_CONTAINER(hbox), button); gtk_widget_grab_default(button); gtk_widget_show(button); + + button = gtk_button_new_with_label(BUTTON_ACCEPT); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_eula_button_callback, (void *) 0 /* accept */); + gtk_container_add(GTK_CONTAINER(hbox), button); + gtk_widget_show(button); } else /* show close button */ { @@ -2397,22 +2411,22 @@ int xsane_front_gtk_getname_dialog(const char *dialog_title, const char *desc_te gtk_window_add_accel_group(GTK_WINDOW(getname_dialog), accelerator_group); #ifdef HAVE_GTK2 - button = gtk_button_new_from_stock(GTK_STOCK_OK); + button = gtk_button_new_from_stock(GTK_STOCK_CANCEL); #else - button = gtk_button_new_with_label(BUTTON_OK); + button = gtk_button_new_with_label(BUTTON_CANCEL); #endif - g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_front_gtk_getname_button_callback, (void *) 1); - GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_front_gtk_getname_button_callback, (void *) -1); + gtk_widget_add_accelerator(button, "clicked", accelerator_group, GDK_Escape, 0, DEF_GTK_ACCEL_LOCKED); /* ESC */ gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); gtk_widget_show(button); #ifdef HAVE_GTK2 - button = gtk_button_new_from_stock(GTK_STOCK_CANCEL); + button = gtk_button_new_from_stock(GTK_STOCK_OK); #else - button = gtk_button_new_with_label(BUTTON_CANCEL); + button = gtk_button_new_with_label(BUTTON_OK); #endif - g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_front_gtk_getname_button_callback, (void *) -1); - gtk_widget_add_accelerator(button, "clicked", accelerator_group, GDK_Escape, 0, DEF_GTK_ACCEL_LOCKED); /* ESC */ + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_front_gtk_getname_button_callback, (void *) 1); + GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); gtk_widget_show(button); diff --git a/src/xsane-front-gtk.h b/src/xsane-front-gtk.h index 1db2b7b..b7752bf 100644 --- a/src/xsane-front-gtk.h +++ b/src/xsane-front-gtk.h @@ -3,7 +3,7 @@ xsane-front-gtk.h Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 1998-2005 Oliver Rauch + Copyright (C) 1998-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -57,14 +57,14 @@ extern void xsane_option_menu_new(GtkWidget *parent, char *str_list[], const cha void *option_menu_callback, SANE_Int settable, const gchar *widget_name); extern void xsane_option_menu_new_with_pixmap(GdkWindow *window, GtkBox *parent, const char *xpm_d[], const char *desc, char *str_list[], const char *val, - GtkObject **data, int option, + GtkWidget **data, int option, void *option_menu_callback, SANE_Int settable, const gchar *widget_name); extern void xsane_range_new(GtkBox *parent, char *labeltext, const char *desc, float min, float max, float quant, float page_step, - int digits, double *val, GtkObject **data, void *xsane_range_callback, SANE_Int settable); + int digits, double *val, GtkWidget **data, void *xsane_range_callback, SANE_Int settable); extern void xsane_range_new_with_pixmap(GdkWindow *window, GtkBox *parent, const char *xpm_d[], const char *desc, float min, float max, float quant, float page_step, int digits, - double *val, GtkObject **data, int option, void *xsane_range_callback, SANE_Int settable); + double *val, GtkWidget **data, int option, void *xsane_range_callback, SANE_Int settable); extern void xsane_set_filename(gchar *filename); extern void xsane_outputfilename_new(GtkWidget *vbox); extern void xsane_separator_new(GtkWidget *xsane_parent, int dist); diff --git a/src/xsane-gamma.c b/src/xsane-gamma.c index 40fe835..8304f07 100644 --- a/src/xsane-gamma.c +++ b/src/xsane-gamma.c @@ -3,7 +3,7 @@ xsane-gamma.c Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 1998-2005 Oliver Rauch + Copyright (C) 1998-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -132,7 +132,7 @@ static void xsane_draw_histogram_with_points(XsanePixmap *hist, { inten = show_inten * count[i] * scale; - if (xsane.xsane_colors > 1) + if (xsane.xsane_channels > 1) { red = show_red * count_red[i] * scale; green = show_green * count_green[i] * scale; @@ -208,7 +208,7 @@ static void xsane_draw_histogram_with_lines(XsanePixmap *hist, { inten = show_inten * count[i] * scale; - if (xsane.xsane_colors > 1) + if (xsane.xsane_channels > 1) { red = show_red * count_red[i] * scale; green = show_green * count_green[i] * scale; @@ -518,7 +518,7 @@ void xsane_update_sliders() xsane_update_slider(&xsane.slider_gray); - if ( (xsane.xsane_colors > 1) && (!xsane.enhancement_rgb_default) ) + if ( (xsane.xsane_channels > 1) && (!xsane.enhancement_rgb_default) && (!xsane.enable_color_management)) { xsane_update_slider(&xsane.slider_red); xsane_update_slider(&xsane.slider_green); @@ -539,7 +539,7 @@ void xsane_update_sliders() xsane.slider_green.active = XSANE_SLIDER_INACTIVE; /* mark slider inactive */ xsane.slider_blue.active = XSANE_SLIDER_INACTIVE; /* mark slider inactive */ - if (xsane.param.depth == 1) + if ((xsane.param.depth == 1) || (xsane.enable_color_management)) { xsane_draw_slider_level(&xsane.slider_gray); /* remove slider */ xsane.slider_gray.active = XSANE_SLIDER_INACTIVE; /* mark slider inactive */ @@ -1599,7 +1599,7 @@ void xsane_update_gamma_curve(int update_raw) xsane.brightness + xsane.brightness_blue, xsane.contrast + xsane.contrast_blue , xsane.preview_gamma_size, 255); #else - if ( ( ( (xsane.xsane_colors > 1) && xsane.scanner_gamma_color ) || /* color scan and gamma table for red, green and blue available */ + if ( ( ( (xsane.xsane_channels > 1) && xsane.scanner_gamma_color ) || /* color scan and gamma table for red, green and blue available */ xsane.scanner_gamma_gray ) && /* grayscale scan and gamma table for gray available */ (!xsane.no_preview_medium_gamma) ) /* do not use gamma table when disabled */ { @@ -1663,7 +1663,7 @@ void xsane_update_gamma_curve(int update_raw) xsane.preview_gamma_size); } } - else if (xsane.xsane_colors > 1) /* color scan, no color scanner gamma tables available */ + else if (xsane.xsane_channels > 1) /* color scan, no color scanner gamma tables available */ { DBG(DBG_info, "creating preview gamma tables with medium correction\n"); @@ -1826,13 +1826,18 @@ static void xsane_enhancement_update(void) return; } + if (xsane.enable_color_management) /* color management? no gamma */ + { + return; + } + xsane.block_enhancement_update = TRUE; gtk_adjustment_set_value(GTK_ADJUSTMENT(xsane.gamma_widget), xsane.gamma); gtk_adjustment_set_value(GTK_ADJUSTMENT(xsane.brightness_widget), xsane.brightness); gtk_adjustment_set_value(GTK_ADJUSTMENT(xsane.contrast_widget), xsane.contrast); - if ( (xsane.xsane_colors > 1) && (!xsane.enhancement_rgb_default) ) + if ( (xsane.xsane_channels > 1) && (!xsane.enhancement_rgb_default) ) { gtk_adjustment_set_value(GTK_ADJUSTMENT(xsane.gamma_red_widget), xsane.gamma_red); gtk_adjustment_set_value(GTK_ADJUSTMENT(xsane.brightness_red_widget), xsane.brightness_red); @@ -2107,7 +2112,7 @@ void xsane_enhancement_by_histogram(int update_gamma) xsane.contrast = gray_contrast; } - if ( (xsane.xsane_colors > 1) && (!xsane.enhancement_rgb_default) ) /* rgb sliders active */ + if ( (xsane.xsane_channels > 1) && (!xsane.enhancement_rgb_default) ) /* rgb sliders active */ { if ((xsane.slider_gray.active == XSANE_SLIDER_ACTIVE) || (xsane.slider_gray.active == XSANE_SLIDER_INACTIVE)) /* gray slider not moved */ diff --git a/src/xsane-gamma.h b/src/xsane-gamma.h index e948a92..b40249f 100644 --- a/src/xsane-gamma.h +++ b/src/xsane-gamma.h @@ -3,7 +3,7 @@ xsane-gamma.h Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 1998-2005 Oliver Rauch + Copyright (C) 1998-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify diff --git a/src/xsane-gimp-1_0-compat.h b/src/xsane-gimp-1_0-compat.h index 1bdc758..141bd42 100644 --- a/src/xsane-gimp-1_0-compat.h +++ b/src/xsane-gimp-1_0-compat.h @@ -3,7 +3,7 @@ xsane-gimp-1_0-compat.h Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 2000-2005 Oliver Rauch + Copyright (C) 2000-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify diff --git a/src/xsane-gtk-1_x-compat.h b/src/xsane-gtk-1_x-compat.h index 1653c33..fea9c18 100644 --- a/src/xsane-gtk-1_x-compat.h +++ b/src/xsane-gtk-1_x-compat.h @@ -3,7 +3,7 @@ xsane-gtk-1_x-compat.h Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 2002-2005 Oliver Rauch + Copyright (C) 2002-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -64,5 +64,5 @@ gtk_window_set_policy(widget, FALSE, resizable, FALSE) # define gtk_image_new_from_pixmap(pixmap, mask) \ gtk_pixmap_new(pixmap, mask) - +# define gtk_progress_bar_set_ellipsize() /* empty */ #endif diff --git a/src/xsane-icons.c b/src/xsane-icons.c index f06e3cd..ba76144 100644 --- a/src/xsane-icons.c +++ b/src/xsane-icons.c @@ -3,7 +3,7 @@ xsane-icons.c Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 1998-2005 Oliver Rauch + Copyright (C) 1998-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -2910,6 +2910,42 @@ const char *resolution_y_xpm[] = /* --------------------------------------------------- */ +const char *cms_xpm[] = +{ +/* width height num_colors chars_per_pixel */ +" 20 20 6 1", +/* colors */ +". c #000000", +" none", +"w c #ffffff", +"r c #ff0000", +"g c #00ff00", +"b c #0000ff", +/* pixels */ +" ", +" ", +" ", +" ", +" ", +" ", +" rrrr g g bbbb ", +"rrrrrr gg gg bbbbbb", +"rr r gggggg bb b", +"rr gggggg bb ", +"rr gg gg bbbbb ", +"rr gg gg bbbb ", +"rr gg gg bb", +"rr r gg gg b bb", +"rrrrrr gg gg bbbbbb", +" rrrr gg gg bbbb ", +" ", +" ", +" ", +" ", +}; + +/* --------------------------------------------------- */ + const char *scanner_xpm[] = { /* width height num_colors chars_per_pixel */ diff --git a/src/xsane-icons.h b/src/xsane-icons.h index 1e4e1a1..6f38cfb 100644 --- a/src/xsane-icons.h +++ b/src/xsane-icons.h @@ -3,7 +3,7 @@ xsane-icons.h Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 1998-2005 Oliver Rauch + Copyright (C) 1998-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -119,6 +119,7 @@ extern const char *zoom_y_xpm[]; extern const char *resolution_xpm[]; extern const char *resolution_x_xpm[]; extern const char *resolution_y_xpm[]; +extern const char *cms_xpm[]; extern const char *scanner_xpm[]; extern const char *intensity_xpm[]; extern const char *red_xpm[]; diff --git a/src/xsane-multipage-project.c b/src/xsane-multipage-project.c index 20a1cc3..3721faa 100644 --- a/src/xsane-multipage-project.c +++ b/src/xsane-multipage-project.c @@ -3,7 +3,7 @@ xsane-multipage-project.c Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 2005 Oliver Rauch + Copyright (C) 2005-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -55,6 +55,7 @@ void xsane_multipage_dialog_close(void); void xsane_multipage_project_save(void); static gint xsane_multipage_dialog_delete(); static void xsane_multipage_filetype_callback(GtkWidget *filetype_option_menu, char *filetype); +static void xsane_multipage_project_browse_filename_callback(GtkWidget *widget, gpointer data); static void xsane_multipage_project_changed_callback(GtkWidget *widget, gpointer data); static void xsane_multipage_project_load(void); static void xsane_multipage_project_delete(void); @@ -94,13 +95,11 @@ void xsane_multipage_dialog() GtkWidget *multipage_project_exists_hbox, *button; GtkWidget *hbox; GtkWidget *scrolled_window, *list; - GtkWidget *pixmapwidget, *text; + GtkWidget *text; GtkWidget *pages_frame; GtkWidget *label; GtkWidget *filetype_menu, *filetype_item; GtkWidget *filetype_option_menu; - GdkPixmap *pixmap; - GdkBitmap *mask; char buf[64]; int filetype_nr; int select_item; @@ -133,10 +132,8 @@ void xsane_multipage_dialog() gtk_container_set_border_width(GTK_CONTAINER(hbox), 2); gtk_box_pack_start(GTK_BOX(multipage_scan_vbox), hbox, FALSE, FALSE, 1); - pixmap = gdk_pixmap_create_from_xpm_d(xsane.dialog->window, &mask, xsane.bg_trans, (gchar **) multipage_xpm); - pixmapwidget = gtk_image_new_from_pixmap(pixmap, mask); - gtk_box_pack_start(GTK_BOX(hbox), pixmapwidget, FALSE, FALSE, 2); - gdk_drawable_unref(pixmap); + button = xsane_button_new_with_pixmap(xsane.dialog->window, hbox, multipage_xpm, DESC_MULTIPAGE_PROJECT_BROWSE, + (GtkSignalFunc) xsane_multipage_project_browse_filename_callback, NULL); text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_MULTIPAGE_PROJECT); @@ -148,7 +145,6 @@ void xsane_multipage_dialog() xsane.project_entry = text; xsane.project_entry_box = hbox; - gtk_widget_show(pixmapwidget); gtk_widget_show(text); gtk_widget_show(hbox); @@ -579,6 +575,65 @@ static void xsane_multipage_project_create() /* ---------------------------------------------------------------------------------------------------------------------- */ +void xsane_multipage_project_set_filename(gchar *filename) +{ + g_signal_handlers_block_by_func(GTK_OBJECT(xsane.project_entry), (GtkSignalFunc) xsane_multipage_project_changed_callback, NULL); + gtk_entry_set_text(GTK_ENTRY(xsane.project_entry), (char *) filename); /* update filename in entry */ + gtk_entry_set_position(GTK_ENTRY(xsane.project_entry), strlen(filename)); /* set cursor to right position of filename */ + + g_signal_handlers_unblock_by_func(GTK_OBJECT(xsane.project_entry), (GtkSignalFunc) xsane_multipage_project_changed_callback, NULL); +} + +/* ----------------------------------------------------------------------------------------------------------------- */ + +static void xsane_multipage_project_browse_filename_callback(GtkWidget *widget, gpointer data) +{ + char filename[PATH_MAX]; + char windowname[TEXTBUFSIZE]; + + DBG(DBG_proc, "xsane_multipage_project_browse_filename_callback\n"); + + xsane_set_sensitivity(FALSE); + + if (preferences.multipage_project) /* make sure a correct filename is defined */ + { + strncpy(filename, preferences.multipage_project, sizeof(filename)); + filename[sizeof(filename) - 1] = '\0'; + } + else /* no filename given, take standard filename */ + { + strcpy(filename, OUT_FILENAME); + } + + snprintf(windowname, sizeof(windowname), "%s %s %s", xsane.prog_name, WINDOW_MULTIPAGE_PROJECT_BROWSE, xsane.device_text); + + umask((mode_t) preferences.directory_umask); /* define new file permissions */ + if (!xsane_back_gtk_get_filename(windowname, filename, sizeof(filename), filename, NULL, NULL, XSANE_FILE_CHOOSER_ACTION_SELECT_PROJECT, XSANE_GET_FILENAME_SHOW_NOTHING, 0, 0)) + { + + if (preferences.multipage_project) + { + free((void *) preferences.multipage_project); + } + + preferences.multipage_project = strdup(filename); + + xsane_set_sensitivity(TRUE); + xsane_multipage_project_set_filename(filename); + + xsane_multipage_project_load(); + } + else + { + xsane_set_sensitivity(TRUE); + } + umask(XSANE_DEFAULT_UMASK); /* define new file permissions */ + +} + + +/* ---------------------------------------------------------------------------------------------------------------------- */ + static void xsane_multipage_project_changed_callback(GtkWidget *widget, gpointer data) { DBG(DBG_proc, "xsane_multipage_project_changed_callback\n"); @@ -913,11 +968,11 @@ static void xsane_multipage_save_file() if (output_format == XSANE_PS) { - xsane_save_ps_create_document_header(outfile, pages, preferences.save_ps_flatdecoded); + xsane_save_ps_create_document_header(outfile, pages, preferences.save_ps_flatedecoded); } else if (output_format == XSANE_PDF) { - xsane_save_pdf_create_document_header(outfile, &xref, pages, preferences.save_pdf_flatdecoded); + xsane_save_pdf_create_document_header(outfile, &xref, pages, preferences.save_pdf_flatedecoded); } } #ifdef HAVE_LIBTIFF @@ -1032,7 +1087,8 @@ static void xsane_multipage_save_file() xsane_save_ps_page(outfile, page, imagefile, &image_info, imagewidth, imageheight, 0, 0, imagewidth, imageheight, 0 /* portrait top left */, - preferences.save_ps_flatdecoded, + preferences.save_ps_flatedecoded, + NULL /* hTransform */, 0 /* embed_scanner_icm_profile */, xsane.project_progress_bar, &cancel_save); } else if (output_format == XSANE_PDF) @@ -1043,14 +1099,31 @@ static void xsane_multipage_save_file() xsane_save_pdf_page(outfile, &xref, page, imagefile, &image_info, imagewidth, imageheight, 0, 0, imagewidth, imageheight, 0 /* portrait top left */, - preferences.save_pdf_flatdecoded, + preferences.save_pdf_flatedecoded, + NULL /* hTransform */, 0 /* embed_scanner_icm_profile */, 0 /* icc_object */, xsane.project_progress_bar, &cancel_save); } #ifdef HAVE_LIBTIFF else if (output_format == XSANE_TIFF) { - xsane_save_tiff_page(tiffile, page, pages, imagefile, &image_info, preferences.jpeg_quality, + cmsHTRANSFORM hTransform = NULL; + +#ifdef HAVE_LIBLCMS + if ( (preferences.cms_function != XSANE_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE) && xsane.enable_color_management ) + { + hTransform = xsane_create_cms_transform(&image_info, preferences.cms_function, preferences.cms_intent, preferences.cms_bpc); + } +#endif + + xsane_save_tiff_page(tiffile, page, pages, preferences.jpeg_quality, imagefile, &image_info, + hTransform, xsane.enable_color_management, preferences.cms_function, xsane.project_progress_bar, &cancel_save); +#ifdef HAVE_LIBLCMS + if (hTransform != NULL) + { + cmsDeleteTransform(hTransform); + } +#endif } #endif diff --git a/src/xsane-multipage-project.h b/src/xsane-multipage-project.h index 5f945eb..090ebc3 100644 --- a/src/xsane-multipage-project.h +++ b/src/xsane-multipage-project.h @@ -3,7 +3,7 @@ xsane-multipage-project.h Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 2005 Oliver Rauch + Copyright (C) 2005-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify diff --git a/src/xsane-preferences.c b/src/xsane-preferences.c index 011e802..2705477 100644 --- a/src/xsane-preferences.c +++ b/src/xsane-preferences.c @@ -3,7 +3,7 @@ xsane-preferences.c Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 1998-2005 Oliver Rauch + Copyright (C) 1998-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -55,6 +55,9 @@ Preferences preferences = 0, /* default working_directory */ 0, /* no default filename */ 0, /* no default filetype */ + 0, /* default cms_function: embed scanner profile */ + 0, /* default cms_intent: perceptual */ + 0, /* default cms_bpc (black point compensation) off */ 0137, /* image umask (permission mask for -rw-r------) */ 0027, /* directory umask (permission mask for -rwxr-x----) */ 0, /* no fax project */ @@ -69,7 +72,7 @@ Preferences preferences = 0.0, /* fax_leftoffset */ 0.0, /* fax_bottomoffset */ 1, /* fax_fine_mode */ - 1, /* fax_ps_flatdecoded */ + 1, /* fax_ps_flatedecoded */ #ifdef XSANE_ACTIVATE_EMAIL 0, /* no default from email address */ 0, /* no default reply to email address */ @@ -101,8 +104,8 @@ Preferences preferences = 1, /* save_devprefs_at_exit */ 1, /* overwrite_warning */ 1, /* skip_existing_numbers */ - 1, /* save_ps_flatdecoded */ - 1, /* save_pdf_flatdecoded */ + 1, /* save_ps_flatedecoded */ + 1, /* save_pdf_flatedecoded */ 0, /* save_pnm16_as_ascii */ 0, /* reduce_16bit_to_8bit */ 1, /* filename_counter_step */ @@ -168,6 +171,9 @@ desc[] = {"working-directory", xsane_rc_pref_string, POFFSET(working_directory)}, {"filename", xsane_rc_pref_string, POFFSET(filename)}, {"filetype", xsane_rc_pref_string, POFFSET(filetype)}, + {"cms-function", xsane_rc_pref_int, POFFSET(cms_function)}, + {"cms-intent", xsane_rc_pref_int, POFFSET(cms_intent)}, + {"cms-bpc", xsane_rc_pref_int, POFFSET(cms_bpc)}, {"image-umask", xsane_rc_pref_int, POFFSET(image_umask)}, {"directory-umask", xsane_rc_pref_int, POFFSET(directory_umask)}, {"fax-project", xsane_rc_pref_string, POFFSET(fax_project)}, @@ -182,7 +188,7 @@ desc[] = {"fax-left-offset", xsane_rc_pref_double, POFFSET(fax_leftoffset)}, {"fax-bottom-offset", xsane_rc_pref_double, POFFSET(fax_bottomoffset)}, {"fax-fine-mode", xsane_rc_pref_int, POFFSET(fax_fine_mode)}, - {"fax-ps-flatdecoded", xsane_rc_pref_int, POFFSET(fax_ps_flatdecoded)}, + {"fax-ps-flatedecoded", xsane_rc_pref_int, POFFSET(fax_ps_flatedecoded)}, #ifdef XSANE_ACTIVATE_EMAIL {"e-mail-from", xsane_rc_pref_string, POFFSET(email_from)}, {"e-mail-reply-to", xsane_rc_pref_string, POFFSET(email_reply_to)}, @@ -214,8 +220,8 @@ desc[] = {"save-devprefs-at-exit", xsane_rc_pref_int, POFFSET(save_devprefs_at_exit)}, {"overwrite-warning", xsane_rc_pref_int, POFFSET(overwrite_warning)}, {"skip-existing-numbers", xsane_rc_pref_int, POFFSET(skip_existing_numbers)}, - {"save-ps-flatdecoded", xsane_rc_pref_int, POFFSET(save_ps_flatdecoded)}, - {"save-pdf-flatdecoded", xsane_rc_pref_int, POFFSET(save_pdf_flatdecoded)}, + {"save-ps-flatedecoded", xsane_rc_pref_int, POFFSET(save_ps_flatedecoded)}, + {"save-pdf-flatedecoded", xsane_rc_pref_int, POFFSET(save_pdf_flatedecoded)}, {"save-pnm16-as-ascii", xsane_rc_pref_int, POFFSET( save_pnm16_as_ascii)}, {"reduce-16bit-to8bit", xsane_rc_pref_int, POFFSET(reduce_16bit_to_8bit)}, {"filename-counter-step", xsane_rc_pref_int, POFFSET(filename_counter_step)}, @@ -231,6 +237,9 @@ desc[] = {"show-resolution-list", xsane_rc_pref_int, POFFSET(show_resolution_list)}, {"length-unit", xsane_rc_pref_double, POFFSET(length_unit)}, {"main-window-fixed", xsane_rc_pref_int, POFFSET(main_window_fixed)}, + {"display-icm-profile", xsane_rc_pref_string, POFFSET(display_icm_profile)}, + {"custom-proofing-icm-profile", xsane_rc_pref_string, POFFSET(custom_proofing_icm_profile)}, + {"working-color-space-icm-profile", xsane_rc_pref_string, POFFSET(working_color_space_icm_profile)}, {"preview-own-cmap", xsane_rc_pref_int, POFFSET(preview_own_cmap)}, {"preview-oversampling", xsane_rc_pref_double, POFFSET(preview_oversampling)}, {"preview-gamma", xsane_rc_pref_double, POFFSET(preview_gamma)}, @@ -289,7 +298,11 @@ desc_printer[] = {"printer-gamma-red", xsane_rc_pref_double, PRTOFFSET(gamma_red)}, {"printer-gamma-green", xsane_rc_pref_double, PRTOFFSET(gamma_green)}, {"printer-gamma-blue", xsane_rc_pref_double, PRTOFFSET(gamma_blue)}, - {"printer-ps-flatdecoded", xsane_rc_pref_int, PRTOFFSET(ps_flatdecoded)} + {"printer-icm-profile", xsane_rc_pref_string, PRTOFFSET(icm_profile)}, + {"printer-ps-flatedecoded", xsane_rc_pref_int, PRTOFFSET(ps_flatedecoded)}, + {"printer-embed-csa", xsane_rc_pref_int, PRTOFFSET(embed_csa)}, + {"printer-embed-crd", xsane_rc_pref_int, PRTOFFSET(embed_crd)}, + {"printer-bpc", xsane_rc_pref_int, PRTOFFSET(blackpointcompensation)} }; /* --------------------------------------------------------------------- */ diff --git a/src/xsane-preferences.h b/src/xsane-preferences.h index 9f0e442..916df37 100644 --- a/src/xsane-preferences.h +++ b/src/xsane-preferences.h @@ -3,7 +3,7 @@ xsane-preferences.h Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 1998-2005 Oliver Rauch + Copyright (C) 1998-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -48,7 +48,11 @@ typedef struct double gamma_red; /* printer gamma red */ double gamma_green; /* printer gamma green */ double gamma_blue; /* printer gamma blue */ - int ps_flatdecoded; /* flatdecode (zlib compression), ps level 3 */ + char *icm_profile; /* printer ICM profile */ + int ps_flatedecoded; /* flatedecode (zlib compression), ps level 3 */ + int embed_csa; /* CSA = scanner ICM profile for postscript files */ + int embed_crd; /* CRD = printer ICM profile for postscript files */ + int blackpointcompensation; /* bpc */ } Preferences_printer_t; @@ -93,6 +97,9 @@ typedef struct char *working_directory; /* directory where xsane saves images etc */ char *filename; /* default filename */ char *filetype; /* default filetype */ + int cms_function; /* cms function (embed/srgb/working cs) */ + int cms_intent; /* cms rendering intent */ + int cms_bpc; /* cms black point compensation */ int image_umask; /* image umask (permisson mask) */ int directory_umask; /* directory umask (permisson mask) */ @@ -108,7 +115,7 @@ typedef struct double fax_leftoffset; /* left offset of fax paper in mm */ double fax_bottomoffset; /* bottom offset of fax paper in mm */ int fax_fine_mode; /* use fine or normal mode */ - int fax_ps_flatdecoded; /* use postscript level 3 zlib compression */ + int fax_ps_flatedecoded; /* use postscript level 3 zlib compression */ #ifdef XSANE_ACTIVATE_EMAIL char *email_from; /* email address of sender */ @@ -144,8 +151,8 @@ typedef struct int save_devprefs_at_exit; /* save device preferences at exit */ int overwrite_warning; /* warn if file exists */ int skip_existing_numbers; /* skip used filenames when automatically increase counter */ - int save_ps_flatdecoded; /* use zlib to for postscript compression (flatdecode) */ - int save_pdf_flatdecoded; /* use zlib to for pdf compression (flatdecode) */ + int save_ps_flatedecoded; /* use zlib to for postscript compression (flatedecode) */ + int save_pdf_flatedecoded; /* use zlib to for pdf compression (flatedecode) */ int save_pnm16_as_ascii; /* selection if pnm 16 bit is saved as ascii or binary file */ int reduce_16bit_to_8bit; /* reduce images with 16 bits/color to 8 bits/color */ int filename_counter_step; /* filename_counter += filename_counter_step; */ @@ -192,6 +199,10 @@ typedef struct int gtk_update_policy; int medium_nr; + char *display_icm_profile; + char *custom_proofing_icm_profile; + char *working_color_space_icm_profile; + int paper_orientation; /* image position on printer and page orientation */ int printernr; /* number of printers */ int printerdefinitions; diff --git a/src/xsane-preview.c b/src/xsane-preview.c index 46d8611..45679f1 100644 --- a/src/xsane-preview.c +++ b/src/xsane-preview.c @@ -3,7 +3,7 @@ xsane-preview.c Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 1998-2005 Oliver Rauch + Copyright (C) 1998-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -196,7 +196,9 @@ static void preview_establish_ratio(Preview *p); static void preview_ratio_callback(GtkWidget *widget, gpointer data); static void preview_autoselect_scanarea_callback(GtkWidget *window, gpointer data); +void preview_display_with_correction(Preview *p); void preview_do_gamma_correction(Preview *p); +int preview_do_color_correction(Preview *p); void preview_calculate_raw_histogram(Preview *p, SANE_Int *count_raw, SANE_Int *count_raw_red, SANE_Int *count_raw_green, SANE_Int *count_raw_blue); void preview_calculate_enh_histogram(Preview *p, SANE_Int *count, SANE_Int *count_red, SANE_Int *count_green, SANE_Int *count_blue); void preview_gamma_correction(Preview *p, int gamma_input_bits, @@ -1276,7 +1278,7 @@ static void preview_display_image(Preview *p) assert(p->image_data_enh); } - preview_do_gamma_correction(p); + preview_display_with_correction(p); } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -1452,8 +1454,9 @@ static void preview_read_image_data(gpointer data, gint source, GdkInputConditio { SANE_Status status; Preview *p = data; - u_char buf[8192]; - guint16 *buf16 = (guint16 *) buf; + char buf[TEXTBUFSIZE]; + u_char imagebuf8[8192]; + guint16 *imagebuf16 = (guint16 *) imagebuf8; SANE_Handle dev; SANE_Int len; int i, j; @@ -1465,26 +1468,26 @@ static void preview_read_image_data(gpointer data, gint source, GdkInputConditio { if ((p->params.depth == 1) || (p->params.depth == 8)) { - status = sane_read(dev, buf, sizeof(buf), &len); + status = sane_read(dev, imagebuf8, sizeof(imagebuf8), &len); } else if (p->params.depth == 16) { if (p->read_offset_16) { - buf[0] = p->last_offset_16_byte; - /* use buf and sizeof(buf) here because sizeof(buf16) returns the size of a pointer */ - status = sane_read(dev, buf+1, sizeof(buf) - 1, &len); + imagebuf8[0] = p->last_offset_16_byte; + /* use imagebuf8 and sizeof(imagebuf8) here because sizeof(imagebuf16) returns the size of a pointer */ + status = sane_read(dev, imagebuf8+1, sizeof(imagebuf8) - 1, &len); len++; } else { - status = sane_read(dev, (SANE_Byte *) buf16, sizeof(buf), &len); + status = sane_read(dev, (SANE_Byte *) imagebuf16, sizeof(imagebuf8), &len); } if (len % 2) /* odd number of bytes */ { len--; - p->last_offset_16_byte = buf16[len]; + p->last_offset_16_byte = imagebuf16[len]; p->read_offset_16 = 1; } else /* even number of bytes */ @@ -1576,8 +1579,8 @@ static void preview_read_image_data(gpointer data, gint source, GdkInputConditio return; /* backend sends too much image data */ } - p->image_data_raw[p->image_offset] = buf[i] * 256; - p->image_data_enh[p->image_offset++] = buf[i]; + p->image_data_raw[p->image_offset] = imagebuf8[i] * 256; + p->image_data_enh[p->image_offset++] = imagebuf8[i]; if (p->image_offset%3 == 0) { @@ -1599,8 +1602,8 @@ static void preview_read_image_data(gpointer data, gint source, GdkInputConditio return; /* backend sends too much image data */ } - p->image_data_raw[p->image_offset] = buf16[i]; - p->image_data_enh[p->image_offset++] = (u_char) (buf16[i]/256); + p->image_data_raw[p->image_offset] = imagebuf16[i]; + p->image_data_enh[p->image_offset++] = (u_char) (imagebuf16[i]/256); if (p->image_offset%3 == 0) { @@ -1627,7 +1630,7 @@ static void preview_read_image_data(gpointer data, gint source, GdkInputConditio case 1: for (i = 0; i < len; ++i) { - u_char mask = buf[i]; + u_char mask = imagebuf8[i]; if (preview_test_image_y(p)) { @@ -1662,7 +1665,7 @@ static void preview_read_image_data(gpointer data, gint source, GdkInputConditio case 8: for (i = 0; i < len; ++i) { - u_char gray = buf[i]; + u_char gray = imagebuf8[i]; if (preview_test_image_y(p)) { @@ -1687,20 +1690,20 @@ static void preview_read_image_data(gpointer data, gint source, GdkInputConditio case 16: for (i = 0; i < len/2; ++i) { - u_char gray = buf16[i]/256; + u_char gray = imagebuf16[i]/256; if (preview_test_image_y(p)) { return; /* backend sends too much image data */ } - p->image_data_raw[p->image_offset] = buf16[i]; + p->image_data_raw[p->image_offset] = imagebuf16[i]; p->image_data_enh[p->image_offset++] = gray; - p->image_data_raw[p->image_offset] = buf16[i]; + p->image_data_raw[p->image_offset] = imagebuf16[i]; p->image_data_enh[p->image_offset++] = gray; - p->image_data_raw[p->image_offset] = buf16[i]; + p->image_data_raw[p->image_offset] = imagebuf16[i]; p->image_data_enh[p->image_offset++] = gray; if (++p->image_x >= p->image_width && preview_increment_image_y(p) < 0) @@ -1726,7 +1729,7 @@ static void preview_read_image_data(gpointer data, gint source, GdkInputConditio case 1: for (i = 0; i < len; ++i) { - u_char mask = buf[i]; + u_char mask = imagebuf8[i]; if (preview_test_image_y(p)) { @@ -1758,8 +1761,8 @@ static void preview_read_image_data(gpointer data, gint source, GdkInputConditio return; /* backend sends too much image data */ } - p->image_data_raw[p->image_offset] = buf[i] * 256; - p->image_data_enh[p->image_offset] = buf[i]; + p->image_data_raw[p->image_offset] = imagebuf8[i] * 256; + p->image_data_enh[p->image_offset] = imagebuf8[i]; p->image_offset += 3; if (++p->image_x >= p->image_width && preview_increment_image_y(p) < 0) @@ -1777,8 +1780,8 @@ static void preview_read_image_data(gpointer data, gint source, GdkInputConditio return; /* backend sends too much image data */ } - p->image_data_raw[p->image_offset] = buf16[i]; - p->image_data_enh[p->image_offset] = (u_char) (buf16[i]/256); + p->image_data_raw[p->image_offset] = imagebuf16[i]; + p->image_data_enh[p->image_offset] = (u_char) (imagebuf16[i]/256); p->image_offset += 3; if (++p->image_x >= p->image_width && preview_increment_image_y(p) < 0) @@ -1880,7 +1883,7 @@ static void preview_scan_done(Preview *p, int save_image) xsane_update_histogram(TRUE /* update_raw */); /* update histogram (necessary because overwritten by preview_update_surface) */ } - if ((preferences.auto_correct_colors) && (!xsane.medium_calibration)) + if ((preferences.auto_correct_colors) && (!xsane.medium_calibration) && (!xsane.enable_color_management)) { xsane_calculate_raw_histogram(); xsane_set_auto_enhancement(); @@ -2418,6 +2421,7 @@ void preview_create_batch_icon(Preview *p, Batch_Scan_Parameters *parameters) if (in) { quality = preview_create_batch_icon_from_file(xsane.preview, in, parameters, quality, &time); + fclose(in); } } } @@ -2426,19 +2430,14 @@ void preview_create_batch_icon(Preview *p, Batch_Scan_Parameters *parameters) { char filename[PATH_MAX]; - if (in) - { - fclose(in); - } - xsane_back_gtk_make_path(sizeof(filename), filename, "xsane", 0, "xsane-startimage", 0, ".pnm", XSANE_PATH_SYSTEM); in = fopen(filename, "rb"); /* read binary (b for win32) */ if (in) { preview_create_batch_icon_from_file(xsane.preview, in, parameters, -1, &time); + fclose(in); } } - fclose(in); } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -2767,7 +2766,7 @@ static void preview_display_zoom(Preview *p, int x, int y, int zoom) int r, g, b; int px, py; int i; - char *row; + u_char *row; DBG(DBG_proc, "preview_display_zoom"); @@ -4241,7 +4240,7 @@ Preview *preview_new(void) p->maximum_output_height = INF; /* full output height */ p->block_update_maximum_output_size_clipping = FALSE; - p->preview_colors = -1; + p->preview_channels = -1; p->invalid = TRUE; /* no valid preview */ p->ratio = 0.0; @@ -4563,7 +4562,6 @@ Preview *preview_new(void) gtk_widget_show(p->invalid_pixmap); gdk_drawable_unref(pixmap); - /* Start button */ p->start = gtk_button_new_with_label(BUTTON_PREVIEW_ACQUIRE); xsane_back_gtk_set_tooltip(xsane.tooltips, p->start, DESC_PREVIEW_ACQUIRE); @@ -4853,7 +4851,7 @@ void preview_update_surface(Preview *p, int surface_changed) DBG(DBG_info, "preview_update_surface: establish new surface\n"); preview_area_correct(p); /* calculate preview_width and height */ preview_area_resize(p); /* correct rulers */ - preview_do_gamma_correction(p); /* draw preview */ + preview_display_with_correction(p); /* draw preview */ xsane_update_histogram(TRUE /* update raw */); p->previous_selection.active = FALSE; @@ -5013,7 +5011,7 @@ void preview_scan(Preview *p) gamma_data = malloc(gamma_gray_size * sizeof(SANE_Int)); - if ((xsane.xsane_colors > 1) || (xsane.no_preview_medium_gamma)) /* color scan or medium preview gamma disabled */ + if ((xsane.xsane_channels > 1) || (xsane.no_preview_medium_gamma)) /* color scan or medium preview gamma disabled */ { xsane_create_gamma_curve(gamma_data, 0, 1.0, 0.0, 0.0, 0.0, 100.0, 1.0, gamma_gray_size, gamma_gray_max); } @@ -5089,7 +5087,7 @@ void preview_scan(Preview *p) xsane.block_update_param = FALSE; - p->preview_colors = xsane.xsane_colors; + p->preview_channels = xsane.xsane_channels; p->scan_incomplete = FALSE; p->invalid = TRUE; /* no valid preview */ p->scanning = TRUE; @@ -6204,6 +6202,29 @@ static void preview_autoselect_scanarea_callback(GtkWidget *window, gpointer dat /* ---------------------------------------------------------------------------------------------------------------------- */ +void preview_display_with_correction(Preview *p) +{ +#ifdef HAVE_LIBLCMS + if (xsane.enable_color_management) + { + preview_do_color_correction(p); + gtk_widget_set_sensitive(p->pipette_white, FALSE); /* disable pipette buttons */ + gtk_widget_set_sensitive(p->pipette_gray, FALSE); /* disable pipette buttons */ + gtk_widget_set_sensitive(p->pipette_black, FALSE); /* disable pipette buttons */ + + } + else +#endif + { + preview_do_gamma_correction(p); + gtk_widget_set_sensitive(p->pipette_white, TRUE); /* enable pipette buttons */ + gtk_widget_set_sensitive(p->pipette_gray, TRUE); /* enable pipette buttons */ + gtk_widget_set_sensitive(p->pipette_black, TRUE); /* enable pipette buttons */ + } +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + void preview_do_gamma_correction(Preview *p) { int x,y; @@ -6212,7 +6233,7 @@ void preview_do_gamma_correction(Preview *p) guint16 *image_data_rawp = NULL; int rotate = 16 - preview_gamma_input_bits; - DBG(DBG_proc, "preview_do_gamma_correction\n"); + DBG(DBG_proc, "preview_display_with_correction\n"); if ((p->image_data_raw) && (p->params.depth > 1) && (preview_gamma_data_red)) { @@ -6239,7 +6260,7 @@ void preview_do_gamma_correction(Preview *p) { while (gtk_events_pending()) { - DBG(DBG_info, "preview_do_gamma_correction: calling gtk_main_iteration\n"); + DBG(DBG_info, "preview_display_with_correction: calling gtk_main_iteration\n"); gtk_main_iteration(); } } @@ -6288,6 +6309,167 @@ void preview_do_gamma_correction(Preview *p) /* ---------------------------------------------------------------------------------------------------------------------- */ +#ifdef HAVE_LIBLCMS +int preview_do_color_correction(Preview *p) +{ + int y; + u_char *image_data_enhp = NULL; + guint16 *image_data_rawp = NULL; + cmsHPROFILE hInProfile = NULL; + cmsHPROFILE hOutProfile = NULL; + cmsHPROFILE hProofProfile = NULL; + cmsHTRANSFORM hTransform = NULL; + DWORD input_format, output_format; + DWORD cms_flags = 0; + int proof = 0; + char *cms_proof_icm_profile = NULL; + int linesize = 0; + + + DBG(DBG_proc, "preview_do_color_correction\n"); + + cmsErrorAction(LCMS_ERROR_SHOW); + + if (preferences.cms_bpc) + { + cms_flags |= cmsFLAGS_BLACKPOINTCOMPENSATION; + } + + switch (p->cms_proofing) + { + default: + case 0: /* display */ + proof = 0; + break; + + case 1: /* proof printer */ + cms_proof_icm_profile = preferences.printer[preferences.printernr]->icm_profile; + proof = 1; + break; + + case 2: /* proof custom proofing */ + cms_proof_icm_profile = preferences.custom_proofing_icm_profile; + proof = 1; + break; + } + + if ( (xsane.param.format == SANE_FRAME_RGB) || /* color preview */ + (xsane.param.format == SANE_FRAME_RED) || + (xsane.param.format == SANE_FRAME_GREEN) || + (xsane.param.format == SANE_FRAME_BLUE) ) + { + input_format = TYPE_RGB_16; + output_format = TYPE_RGB_8; + linesize = p->image_width * 3; + } + else + { + input_format = TYPE_GRAY_16; + output_format = TYPE_GRAY_8; + linesize = p->image_width; + } + + hInProfile = cmsOpenProfileFromFile(xsane.scanner_default_color_icm_profile, "r"); + if (!hInProfile) + { + char buf[TEXTBUFSIZE]; + + snprintf(buf, sizeof(buf), "%s\n%s %s: %s\n", ERR_CMS_CONVERSION, ERR_CMS_OPEN_ICM_FILE, CMS_SCANNER_ICM, xsane.scanner_default_color_icm_profile); + xsane_back_gtk_error(buf, TRUE); + return -1; + } + + hOutProfile = cmsOpenProfileFromFile(preferences.display_icm_profile, "r"); + if (!hOutProfile) + { + char buf[TEXTBUFSIZE]; + + cmsCloseProfile(hInProfile); + + snprintf(buf, sizeof(buf), "%s\n%s %s: %s\n", ERR_CMS_CONVERSION, ERR_CMS_OPEN_ICM_FILE, CMS_DISPLAY_ICM, preferences.display_icm_profile); + xsane_back_gtk_error(buf, TRUE); + return -1; + } + + if (proof == 0) + { + hTransform = cmsCreateTransform(hInProfile, input_format, + hOutProfile, output_format, + preferences.cms_intent, cms_flags); + } + else /* proof */ + { + cms_flags |= cmsFLAGS_SOFTPROOFING; + + if (p->cms_gamut_check) + { + cms_flags |= cmsFLAGS_GAMUTCHECK; + } + + hProofProfile = cmsOpenProfileFromFile(cms_proof_icm_profile, "r"); + if (!hProofProfile) + { + char buf[TEXTBUFSIZE]; + + cmsCloseProfile(hInProfile); + cmsCloseProfile(hOutProfile); + + snprintf(buf, sizeof(buf), "%s\n%s %s: %s\n", ERR_CMS_CONVERSION, ERR_CMS_OPEN_ICM_FILE, CMS_PROOF_ICM, cms_proof_icm_profile); + xsane_back_gtk_error(buf, TRUE); + return -1; + } + + hTransform = cmsCreateProofingTransform(hInProfile, input_format, + hOutProfile, output_format, + hProofProfile, + preferences.cms_intent, p->cms_proofing_intent, cms_flags); + } + + if (!hTransform) + { + char buf[TEXTBUFSIZE]; + + cmsCloseProfile(hInProfile); + cmsCloseProfile(hOutProfile); + if (proof) + { + cmsCloseProfile(hProofProfile); + } + + snprintf(buf, sizeof(buf), "%s\n%s\n", ERR_CMS_CONVERSION, ERR_CMS_CREATE_TRANSFORM); + xsane_back_gtk_error(buf, TRUE); + return -1; + } + + + for (y=0; y < p->image_height; y++) + { + image_data_rawp = p->image_data_raw + linesize * y; + image_data_enhp = p->image_data_enh + linesize * y; + + cmsDoTransform(hTransform, image_data_rawp, image_data_enhp, p->image_width); + + if (p->gamma_functions_interruptable) + { + while (gtk_events_pending()) + { + DBG(DBG_info, "preview_do_color_correction: calling gtk_main_iteration\n"); + gtk_main_iteration(); + } + } + } + + if (p->image_data_enh) + { + preview_display_partial_image(p); + } + + return 0; +} +#endif + +/* ---------------------------------------------------------------------------------------------------------------------- */ + void preview_calculate_raw_histogram(Preview *p, SANE_Int *count_raw, SANE_Int *count_raw_red, SANE_Int *count_raw_green, SANE_Int *count_raw_blue) { int x, y; @@ -6625,7 +6807,7 @@ void preview_gamma_correction(Preview *p, int gamma_input_bits, preview_gamma_input_bits = gamma_input_bits; - preview_do_gamma_correction(p); + preview_display_with_correction(p); preview_draw_selection(p); } @@ -7363,7 +7545,7 @@ void preview_display_valid(Preview *p) gtk_widget_hide(p->valid_pixmap); gtk_widget_hide(p->invalid_pixmap); } - else if ((xsane.medium_changed) || (xsane.xsane_colors != p->preview_colors) || (p->invalid) ) /* preview is not valid */ + else if ((xsane.medium_changed) || (xsane.xsane_channels != p->preview_channels) || (p->invalid) ) /* preview is not valid */ { DBG(DBG_info, "preview not vaild\n"); diff --git a/src/xsane-preview.h b/src/xsane-preview.h index d57870e..a488ce2 100644 --- a/src/xsane-preview.h +++ b/src/xsane-preview.h @@ -3,7 +3,7 @@ xsane-preview.h Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 1998-2005 Oliver Rauch + Copyright (C) 1998-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -122,7 +122,7 @@ typedef struct char last_offset_16_byte; int scan_incomplete; int invalid; - int preview_colors; + int preview_channels; time_t image_last_time_updated; gint input_tag; SANE_Parameters params; @@ -153,6 +153,13 @@ typedef struct int show_selection; +#ifdef HAVE_LIBLCMS + int cms_enable; + int cms_proofing; + int cms_proofing_intent; + int cms_gamut_check; +#endif + #if 0 Batch_selection *batch_selection; #endif diff --git a/src/xsane-rc-io.c b/src/xsane-rc-io.c index 4a0af86..39a29ef 100644 --- a/src/xsane-rc-io.c +++ b/src/xsane-rc-io.c @@ -3,7 +3,7 @@ xsane-rc-io.c Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 1998-2005 Oliver Rauch + Copyright (C) 1998-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -119,7 +119,7 @@ void xsane_rc_io_w_void(Wire *w) /* ---------------------------------------------------------------------------------------------------------------- */ -void xsane_rc_io_w_array(Wire *w, SANE_Word *len_ptr, void **v, WireCodecFunc w_element, size_t element_size) +void xsane_rc_io_w_array(Wire *w, SANE_Word *len_ptr, char **v, WireCodecFunc w_element, size_t element_size) { SANE_Word len; char *val; @@ -180,7 +180,7 @@ void xsane_rc_io_w_array(Wire *w, SANE_Word *len_ptr, void **v, WireCodecFunc w_ /* ---------------------------------------------------------------------------------------------------------------- */ -void xsane_rc_io_w_ptr(Wire *w, void **v, WireCodecFunc w_value, size_t value_size) +void xsane_rc_io_w_ptr(Wire *w, char **v, WireCodecFunc w_value, size_t value_size) { SANE_Word is_null; @@ -352,7 +352,7 @@ void xsane_rc_io_w_device_ptr(Wire *w, SANE_Device **v) { DBG(DBG_wire, "xsane_rc_io_w_device_ptr\n"); - xsane_rc_io_w_ptr(w, (void **) v, (WireCodecFunc) xsane_rc_io_w_device, sizeof (**v)); + xsane_rc_io_w_ptr(w, (char **) v, (WireCodecFunc) xsane_rc_io_w_device, sizeof (**v)); } /* ---------------------------------------------------------------------------------------------------------------- */ @@ -360,6 +360,7 @@ void xsane_rc_io_w_device_ptr(Wire *w, SANE_Device **v) void xsane_rc_io_w_option_descriptor(Wire *w, SANE_Option_Descriptor *v) { SANE_Word len; + char *data_ptr = NULL; DBG(DBG_wire, "xsane_rc_io_w_option_descriptor\n"); @@ -378,7 +379,8 @@ void xsane_rc_io_w_option_descriptor(Wire *w, SANE_Option_Descriptor *v) break; case SANE_CONSTRAINT_RANGE: - xsane_rc_io_w_ptr(w, (void **) &v->constraint.range, (WireCodecFunc) xsane_rc_io_w_range, sizeof (SANE_Range)); + data_ptr = (char *) v->constraint.range; + xsane_rc_io_w_ptr(w, &data_ptr, (WireCodecFunc) xsane_rc_io_w_range, sizeof (SANE_Range)); break; case SANE_CONSTRAINT_WORD_LIST: @@ -386,16 +388,18 @@ void xsane_rc_io_w_option_descriptor(Wire *w, SANE_Option_Descriptor *v) { len = v->constraint.word_list[0] + 1; } - xsane_rc_io_w_array(w, &len, (void **) &v->constraint.word_list, w->codec.w_word, sizeof(SANE_Word)); + data_ptr = (char *) v->constraint.word_list; + xsane_rc_io_w_array(w, &len, &data_ptr, w->codec.w_word, sizeof(SANE_Word)); break; case SANE_CONSTRAINT_STRING_LIST: if (w->direction != WIRE_DECODE) - { - for (len = 0; v->constraint.string_list[len]; ++len); - ++len; /* send NULL string, too */ - } - xsane_rc_io_w_array(w, &len, (void **) &v->constraint.string_list, w->codec.w_string, sizeof(SANE_String)); + { + for (len = 0; v->constraint.string_list[len]; ++len); + ++len; /* send NULL string, too */ + } + data_ptr = (char *) v->constraint.string_list; + xsane_rc_io_w_array(w, &len, &data_ptr, w->codec.w_string, sizeof(SANE_String)); break; } } @@ -406,7 +410,7 @@ void xsane_rc_io_w_option_descriptor_ptr(Wire *w, SANE_Option_Descriptor **v) { DBG(DBG_wire, "xsane_rc_io_w_option_descriptor_ptr\n"); - xsane_rc_io_w_ptr(w, (void **) v, (WireCodecFunc) xsane_rc_io_w_option_descriptor, sizeof (**v)); + xsane_rc_io_w_ptr(w, (char **) v, (WireCodecFunc) xsane_rc_io_w_option_descriptor, sizeof (**v)); } /* ---------------------------------------------------------------------------------------------------------------- */ diff --git a/src/xsane-rc-io.h b/src/xsane-rc-io.h index dab2555..bfd7a3c 100644 --- a/src/xsane-rc-io.h +++ b/src/xsane-rc-io.h @@ -3,7 +3,7 @@ xsane-rc-io.h Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 1998-2005 Oliver Rauch + Copyright (C) 1998-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -108,7 +108,7 @@ extern void xsane_rc_io_w_device_ptr(Wire *w, SANE_Device **v); extern void xsane_rc_io_w_option_descriptor(Wire *w, SANE_Option_Descriptor *v); extern void xsane_rc_io_w_option_descriptor_ptr(Wire *w, SANE_Option_Descriptor **v); extern void xsane_rc_io_w_parameters(Wire *w, SANE_Parameters *v); -extern void xsane_rc_io_w_array(Wire *w, SANE_Word *len, void **v, WireCodecFunc w_element, size_t element_size); +extern void xsane_rc_io_w_array(Wire *w, SANE_Word *len, char **v, WireCodecFunc w_element, size_t element_size); extern void xsane_rc_io_w_flush(Wire *w); extern void xsane_rc_io_w_set_dir(Wire *w, WireDirection dir); extern void xsane_rc_io_w_call(Wire *w, SANE_Word proc_num, WireCodecFunc w_arg, void *arg, WireCodecFunc w_reply, void *reply); diff --git a/src/xsane-save.c b/src/xsane-save.c index a56e2ce..cc5f934 100644 --- a/src/xsane-save.c +++ b/src/xsane-save.c @@ -3,7 +3,7 @@ xsane-save.c Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 1998-2005 Oliver Rauch + Copyright (C) 1998-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -430,6 +430,7 @@ void xsane_read_pnm_header(FILE *file, Image_info *image_info) image_info->resolution_x = 72.0; image_info->resolution_y = 72.0; image_info->reduce_to_lineart = FALSE; + image_info->enable_color_management = FALSE; while (strcmp(buf, "# XSANE data follows\n")) { @@ -483,6 +484,26 @@ void xsane_read_pnm_header(FILE *file, Image_info *image_info) &image_info->contrast_green, &image_info->contrast_blue); } + else if (!strncmp(buf, "# color-management=", 20)) + { + sscanf(buf+20, "%d", &image_info->enable_color_management); + } + else if (!strncmp(buf, "# cms-function =", 20)) + { + sscanf(buf+20, "%d", &image_info->cms_function); + } + else if (!strncmp(buf, "# cms-intent =", 20)) + { + sscanf(buf+20, "%d", &image_info->cms_intent); + } + else if (!strncmp(buf, "# cms-bpc =", 20)) + { + sscanf(buf+20, "%d", &image_info->cms_bpc); + } + else if (!strncmp(buf, "# icm-profile =", 20)) + { + sscanf(buf+20, "%s", image_info->icm_profile); + } else if (!strncmp(buf, "# reduce to lineart", 20)) { image_info->reduce_to_lineart = TRUE; @@ -510,11 +531,11 @@ void xsane_read_pnm_header(FILE *file, Image_info *image_info) fgetc(file); /* read exactly one newline character */ - image_info->colors = 1; + image_info->channels = 1; if (filetype_nr == 6) /* ppm RGB */ { - image_info->colors = 3; + image_info->channels = 3; } } #ifdef SUPPORT_RGBA @@ -534,12 +555,12 @@ void xsane_read_pnm_header(FILE *file, Image_info *image_info) image_info->depth = 16; } - image_info->colors = 4; + image_info->channels = 4; } #endif DBG(DBG_info, "xsane_read_pnm_header: width=%d, height=%d, depth=%d, colors=%d, resolution_x=%f, resolution_y=%f\n", - image_info->image_width, image_info->image_height, image_info->depth, image_info->colors, + image_info->image_width, image_info->image_height, image_info->depth, image_info->channels, image_info->resolution_x, image_info->resolution_y); } @@ -573,7 +594,7 @@ void xsane_write_pnm_header(FILE *file, Image_info *image_info, int save_pnm16_a } - if (image_info->colors == 1) + if (image_info->channels == 1) { if (image_info->depth == 1) { @@ -618,6 +639,11 @@ void xsane_write_pnm_header(FILE *file, Image_info *image_info, int save_pnm16_a "# gamma = %3.2f\n" "# brightness = %4.1f\n" "# contrast = %4.1f\n" + "# color-management= %d\n" + "# cms-function = %d\n" + "# cms-intent = %d\n" + "# cms-bpc = %d\n" + "# icm-profile = %s\n" "# XSANE data follows\n" "%05d %05d\n" "%d\n", @@ -627,11 +653,16 @@ void xsane_write_pnm_header(FILE *file, Image_info *image_info, int save_pnm16_a image_info->gamma, image_info->brightness, image_info->contrast, + image_info->enable_color_management, + image_info->cms_function, + image_info->cms_intent, + image_info->cms_bpc, + image_info->icm_profile, image_info->image_width, image_info->image_height, maxval); } } - else if (image_info->colors == 3) + else if (image_info->channels == 3) { fprintf(file, "P%d\n" "# XSane settings:\n" @@ -640,6 +671,11 @@ void xsane_write_pnm_header(FILE *file, Image_info *image_info, int save_pnm16_a "# gamma IRGB = %3.2f %3.2f %3.2f %3.2f\n" "# brightness IRGB = %4.1f %4.1f %4.1f %4.1f\n" "# contrast IRGB = %4.1f %4.1f %4.1f %4.1f\n" + "# color-management= %d\n" + "# cms-function = %d\n" + "# cms-intent = %d\n" + "# cms-bpc = %d\n" + "# icm-profile = %s\n" "# XSANE data follows\n" "%05d %05d\n" \ "%d\n", @@ -649,11 +685,16 @@ void xsane_write_pnm_header(FILE *file, Image_info *image_info, int save_pnm16_a image_info->gamma, image_info->gamma_red, image_info->gamma_green, image_info->gamma_blue, image_info->brightness, image_info->brightness_red, image_info->brightness_green, image_info->brightness_blue, image_info->contrast, image_info->contrast_red, image_info->contrast_green, image_info->contrast_blue, + image_info->enable_color_management, + image_info->cms_function, + image_info->cms_intent, + image_info->cms_bpc, + image_info->icm_profile, image_info->image_width, image_info->image_height, maxval); } #ifdef SUPPORT_RGBA - else if (image_info->colors == 4) + else if (image_info->channels == 4) { fprintf(file, "SANE_RGBA\n" \ "%d %d\n" \ @@ -793,6 +834,121 @@ int xsane_copy_file_by_name(char *output_filename, char *input_filename, GtkProg /* ---------------------------------------------------------------------------------------------------------------------- */ +#ifdef HAVE_LIBLCMS +cmsHTRANSFORM xsane_create_cms_transform(Image_info *image_info, int cms_function, int cms_intent, int cms_bpc) +{ + cmsHPROFILE hInProfile = NULL; + cmsHPROFILE hOutProfile = NULL; + cmsHTRANSFORM hTransform = NULL; + DWORD cms_input_format; + DWORD cms_output_format; + DWORD cms_flags = 0; + + if (cms_function == XSANE_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE) + { + return NULL; + } + + DBG(DBG_info, "Prepare CMS transform\n"); + + cmsErrorAction(LCMS_ERROR_SHOW); + + if (cms_bpc) + { + cms_flags |= cmsFLAGS_BLACKPOINTCOMPENSATION; + } + + if (image_info->channels == 1) /* == 1 (grayscale) */ + { + if (image_info->depth == 8) + { + cms_input_format = TYPE_GRAY_8; + cms_output_format = TYPE_GRAY_8; + } + else + { + cms_input_format = TYPE_GRAY_16; + cms_output_format = TYPE_GRAY_16; + } + } + else /* color */ + { + if (image_info->depth == 8) + { + cms_input_format = TYPE_RGB_8; + cms_output_format = TYPE_RGB_8; + } + else + { + cms_input_format = TYPE_RGB_16; + cms_output_format = TYPE_RGB_16; + } + } + + hInProfile = cmsOpenProfileFromFile(image_info->icm_profile, "r"); + if (!hInProfile) + { + char buf[TEXTBUFSIZE]; + + snprintf(buf, sizeof(buf), "%s\n%s %s: %s\n", ERR_CMS_CONVERSION, ERR_CMS_OPEN_ICM_FILE, CMS_SCANNER_ICM, image_info->icm_profile); + xsane_back_gtk_error(buf, TRUE); + } +#if 0 +{ + LPGAMMATABLE Gamma = cmsBuildGamma(256, 3.0); + hOutProfile = cmsCreateGrayProfile(cmsD50_xyY(), Gamma); + cmsFreeGamma(Gamma); +} +#endif + if (cms_function == XSANE_CMS_FUNCTION_CONVERT_TO_SRGB) + { + hOutProfile = cmsCreate_sRGBProfile(); + } + else + { + hOutProfile = cmsOpenProfileFromFile(preferences.working_color_space_icm_profile, "r"); + if (!hOutProfile) + { + char buf[TEXTBUFSIZE]; + + cmsCloseProfile(hInProfile); + + snprintf(buf, sizeof(buf), "%s\n%s %s: %s\n", ERR_CMS_CONVERSION, ERR_CMS_OPEN_ICM_FILE, CMS_DISPLAY_ICM, preferences.display_icm_profile); + xsane_back_gtk_error(buf, TRUE); + } + } + + if (!hOutProfile) + { + char buf[TEXTBUFSIZE]; + + cmsCloseProfile(hInProfile); + + snprintf(buf, sizeof(buf), "%s\n", ERR_CMS_CONVERSION); + xsane_back_gtk_error(buf, TRUE); + } + + hTransform = cmsCreateTransform(hInProfile, cms_input_format, + hOutProfile, cms_output_format, + cms_intent, cms_flags); + + cmsCloseProfile(hInProfile); + cmsCloseProfile(hOutProfile); + + if (!hTransform) + { + char buf[TEXTBUFSIZE]; + + snprintf(buf, sizeof(buf), "%s\n%s\n", ERR_CMS_CONVERSION, ERR_CMS_CREATE_TRANSFORM); + xsane_back_gtk_error(buf, TRUE); + } + + return hTransform; +} +#endif + +/* ---------------------------------------------------------------------------------------------------------------------- */ + int xsane_save_grayscale_image_as_lineart(FILE *outfile, FILE *imagefile, Image_info *image_info, GtkProgressBar *progress_bar, int *cancel_save) { int x, y, bit; @@ -901,14 +1057,14 @@ int xsane_save_scaled_image(FILE *outfile, FILE *imagefile, Image_info *image_in image_info->resolution_x *= x_scale; image_info->resolution_y *= y_scale; - original_line = malloc(original_image_width * image_info->colors * bytespp); + original_line = malloc(original_image_width * image_info->channels * bytespp); if (!original_line) { DBG(DBG_error, "xsane_save_scaled_image: out of memory\n"); return -1; } - new_line = malloc(new_image_width * image_info->colors * bytespp); + new_line = malloc(new_image_width * image_info->channels * bytespp); if (!new_line) { free(original_line); @@ -916,7 +1072,7 @@ int xsane_save_scaled_image(FILE *outfile, FILE *imagefile, Image_info *image_in return -1; } - pixel_val = malloc(new_image_width * image_info->colors * sizeof(float)); + pixel_val = malloc(new_image_width * image_info->channels * sizeof(float)); if (!pixel_val) { free(original_line); @@ -925,7 +1081,7 @@ int xsane_save_scaled_image(FILE *outfile, FILE *imagefile, Image_info *image_in return -1; } - pixel_norm = malloc(new_image_width * image_info->colors * sizeof(float)); + pixel_norm = malloc(new_image_width * image_info->channels * sizeof(float)); if (!pixel_norm) { free(original_line); @@ -939,8 +1095,8 @@ int xsane_save_scaled_image(FILE *outfile, FILE *imagefile, Image_info *image_in read_line = TRUE; - memset(pixel_val, 0, new_image_width * image_info->colors * sizeof(float)); - memset(pixel_norm, 0, new_image_width * image_info->colors * sizeof(float)); + memset(pixel_val, 0, new_image_width * image_info->channels * sizeof(float)); + memset(pixel_norm, 0, new_image_width * image_info->channels * sizeof(float)); y_new = 0; y_go = 1.0 / y_scale; @@ -960,7 +1116,7 @@ int xsane_save_scaled_image(FILE *outfile, FILE *imagefile, Image_info *image_in if (read_line) { DBG(DBG_info, "xsane_save_scaled_image: reading original line %d\n", (int) y); - fread(original_line, original_image_width, image_info->colors * bytespp, imagefile); /* read one line */ + fread(original_line, original_image_width, image_info->channels * bytespp, imagefile); /* read one line */ original_line16 = (guint16 *) original_line; } @@ -970,23 +1126,22 @@ int xsane_save_scaled_image(FILE *outfile, FILE *imagefile, Image_info *image_in x_factor = 1.0; while ( (x < original_image_width) && (x_new < new_image_width) ) /* add this line to anti aliasing buffer */ - { factor = x_factor * y_factor; - for (c = 0; c < image_info->colors; c++) + for (c = 0; c < image_info->channels; c++) { if (bytespp == 1) { - color = original_line[((int) x) * image_info->colors + c]; + color = original_line[((int) x) * image_info->channels + c]; } else /* bytespp == 2 */ { - color = original_line16[((int) x) * image_info->colors + c]; + color = original_line16[((int) x) * image_info->channels + c]; } - pixel_val [x_new * image_info->colors + c] += factor * color; - pixel_norm[x_new * image_info->colors + c] += factor; + pixel_val [x_new * image_info->channels + c] += factor * color; + pixel_norm[x_new * image_info->channels + c] += factor; } x_go -= x_factor; @@ -1023,7 +1178,7 @@ int xsane_save_scaled_image(FILE *outfile, FILE *imagefile, Image_info *image_in if (bytespp == 1) { - for (x_new = 0; x_new < new_image_width * image_info->colors; x_new++) + for (x_new = 0; x_new < new_image_width * image_info->channels; x_new++) { new_line[x_new] = (int) (pixel_val[x_new] / pixel_norm[x_new]); } @@ -1032,13 +1187,13 @@ int xsane_save_scaled_image(FILE *outfile, FILE *imagefile, Image_info *image_in { guint16 *new_line16 = (guint16 *) new_line; - for (x_new = 0; x_new < new_image_width * image_info->colors; x_new++) + for (x_new = 0; x_new < new_image_width * image_info->channels; x_new++) { new_line16[x_new] = (int) (pixel_val[x_new] / pixel_norm[x_new]); } } - fwrite(new_line, new_image_width, image_info->colors * bytespp, outfile); /* write one line */ + fwrite(new_line, new_image_width, image_info->channels * bytespp, outfile); /* write one line */ if (ferror(outfile)) { @@ -1052,8 +1207,8 @@ int xsane_save_scaled_image(FILE *outfile, FILE *imagefile, Image_info *image_in } /* reset values and norm factors */ - memset(pixel_val, 0, new_image_width * image_info->colors * sizeof(float)); - memset(pixel_norm, 0, new_image_width * image_info->colors * sizeof(float)); + memset(pixel_val, 0, new_image_width * image_info->channels * sizeof(float)); + memset(pixel_norm, 0, new_image_width * image_info->channels * sizeof(float)); y_new++; y_go = 1.0 / y_scale; @@ -1079,6 +1234,11 @@ int xsane_save_scaled_image(FILE *outfile, FILE *imagefile, Image_info *image_in read_line = (oldy != (int) y); } + if (read_line) /* we have to write one more line */ + { + fwrite(new_line, new_image_width, image_info->channels * bytespp, outfile); /* write one line */ + } + free(original_line); free(new_line); free(pixel_val); @@ -1113,14 +1273,14 @@ int xsane_save_scaled_image(FILE *outfile, FILE *imagefile, Image_info *image_in image_info->resolution_x *= x_scale; image_info->resolution_y *= y_scale; - original_line = malloc(original_image_width * image_info->colors * bytespp); + original_line = malloc(original_image_width * image_info->channels * bytespp); if (!original_line) { DBG(DBG_error, "xsane_save_scaled_image: out of memory\n"); return -1; } - new_line = malloc(new_image_width * image_info->colors * bytespp); + new_line = malloc(new_image_width * image_info->channels * bytespp); if (!new_line) { free(original_line); @@ -1143,18 +1303,18 @@ int xsane_save_scaled_image(FILE *outfile, FILE *imagefile, Image_info *image_in for (; ((int) original_y) - old_original_y; old_original_y += 1) { - fread(original_line, original_image_width, image_info->colors * bytespp, imagefile); /* read one line */ + fread(original_line, original_image_width, image_info->channels * bytespp, imagefile); /* read one line */ } for (x = 0; x < new_image_width; x++) { - for (i = 0; i < image_info->colors * bytespp; i++) + for (i = 0; i < image_info->channels * bytespp; i++) { - new_line[x * image_info->colors * bytespp + i] = original_line[((int) (x / x_scale)) * image_info->colors * bytespp + i]; + new_line[x * image_info->channels * bytespp + i] = original_line[((int) (x / x_scale)) * image_info->channels * bytespp + i]; } } - fwrite(new_line, new_image_width, image_info->colors * bytespp, outfile); /* write one line */ + fwrite(new_line, new_image_width, image_info->channels * bytespp, outfile); /* write one line */ original_y += 1/y_scale; @@ -1187,7 +1347,7 @@ int xsane_save_despeckle_image(FILE *outfile, FILE *imagefile, Image_info *image guint16 *color_cache_ptr; int bytespp = 1; int color_radius; - int color_width = image_info->image_width * image_info->colors; + int color_width = image_info->image_width * image_info->channels; radius--; /* correct radius : 1 means nothing happens */ @@ -1196,7 +1356,7 @@ int xsane_save_despeckle_image(FILE *outfile, FILE *imagefile, Image_info *image radius = 1; } - color_radius = radius * image_info->colors; + color_radius = radius * image_info->channels; if (image_info->depth > 8) { @@ -1252,7 +1412,7 @@ int xsane_save_despeckle_image(FILE *outfile, FILE *imagefile, Image_info *image if (xmin < 0) { - xmin = x % image_info->colors; + xmin = x % image_info->channels; } if (xmax > color_width) @@ -1271,11 +1431,11 @@ int xsane_save_despeckle_image(FILE *outfile, FILE *imagefile, Image_info *image { line_cache_ptr = line_cache + (sy-ymin) * color_width + xmin; - for (sx = xmin; sx <= xmax; sx+=image_info->colors) /* x part */ + for (sx = xmin; sx <= xmax; sx+=image_info->channels) /* x part */ { *color_cache_ptr = *line_cache_ptr; color_cache_ptr++; - line_cache_ptr += image_info->colors; + line_cache_ptr += image_info->channels; } } @@ -1314,11 +1474,11 @@ int xsane_save_despeckle_image(FILE *outfile, FILE *imagefile, Image_info *image { line_cache16_ptr = line_cache16 + (sy-ymin) * color_width + xmin; - for (sx = xmin; sx <= xmax; sx+=image_info->colors) + for (sx = xmin; sx <= xmax; sx+=image_info->channels) { *color_cache_ptr = *line_cache16_ptr; color_cache_ptr++; - line_cache16_ptr += image_info->colors; + line_cache16_ptr += image_info->channels; } } @@ -1407,14 +1567,14 @@ int xsane_save_blur_image(FILE *outfile, FILE *imagefile, Image_info *image_info xsane_write_pnm_header(outfile, image_info, 0); - line_cache = malloc(image_info->image_width * image_info->colors * bytespp * (2 * intradius + 1)); + line_cache = malloc(image_info->image_width * image_info->channels * bytespp * (2 * intradius + 1)); if (!line_cache) { DBG(DBG_error, "xsane_blur_image: out of memory\n"); return -1; } - fread(line_cache, image_info->image_width * image_info->colors * bytespp, (2 * intradius + 1), imagefile); + fread(line_cache, image_info->image_width * image_info->channels * bytespp, (2 * intradius + 1), imagefile); for (y = 0; y < image_info->image_height; y++) { @@ -1424,22 +1584,22 @@ int xsane_save_blur_image(FILE *outfile, FILE *imagefile, Image_info *image_info gtk_main_iteration(); } - for (x = 0; x < image_info->image_width * image_info->colors; x++) + for (x = 0; x < image_info->image_width * image_info->channels; x++) { xmin_flag = xmax_flag = ymin_flag = ymax_flag = TRUE; - xmin = x - intradius * image_info->colors; - xmax = x + intradius * image_info->colors; + xmin = x - intradius * image_info->channels; + xmax = x + intradius * image_info->channels; if (xmin < 0) { - xmin = x % image_info->colors; + xmin = x % image_info->channels; xmin_flag = FALSE; } - if (xmax > image_info->image_width * image_info->colors) + if (xmax > image_info->image_width * image_info->channels) { - xmax = image_info->image_width * image_info->colors; + xmax = image_info->image_width * image_info->channels; xmax_flag = FALSE; } @@ -1467,7 +1627,7 @@ int xsane_save_blur_image(FILE *outfile, FILE *imagefile, Image_info *image_info { for (sy = ymin+1; sy <= ymax-1 ; sy++) { - val += outer_factor * line_cache[(sy-ymin) * image_info->image_width * image_info->colors + xmin]; + val += outer_factor * line_cache[(sy-ymin) * image_info->image_width * image_info->channels + xmin]; norm += outer_factor; } } @@ -1476,14 +1636,14 @@ int xsane_save_blur_image(FILE *outfile, FILE *imagefile, Image_info *image_info { for (sy = ymin+1; sy <= ymax-1 ; sy++) { - val += outer_factor * line_cache[(sy-ymin) * image_info->image_width * image_info->colors + xmax]; + val += outer_factor * line_cache[(sy-ymin) * image_info->image_width * image_info->channels + xmax]; norm += outer_factor; } } if (ymin_flag) /* integrate over top margin */ { - for (sx = xmin+image_info->colors; sx <= xmax-image_info->colors ; sx += image_info->colors) + for (sx = xmin+image_info->channels; sx <= xmax-image_info->channels ; sx += image_info->channels) { val += outer_factor * line_cache[sx]; norm += outer_factor; @@ -1492,18 +1652,18 @@ int xsane_save_blur_image(FILE *outfile, FILE *imagefile, Image_info *image_info if (ymax_flag) /* integrate over bottom margin */ { - for (sx = xmin+image_info->colors; sx <= xmax-image_info->colors ; sx += image_info->colors) + for (sx = xmin+image_info->channels; sx <= xmax-image_info->channels ; sx += image_info->channels) { - val += outer_factor * line_cache[(ymax-ymin) * image_info->image_width * image_info->colors + sx]; + val += outer_factor * line_cache[(ymax-ymin) * image_info->image_width * image_info->channels + sx]; norm += outer_factor; } } for (sy = ymin+1; sy <= ymax-1; sy++) /* integrate internal square */ { - for (sx = xmin+image_info->colors; sx <= xmax-image_info->colors; sx+=image_info->colors) + for (sx = xmin+image_info->channels; sx <= xmax-image_info->channels; sx+=image_info->channels) { - val += line_cache[(sy-ymin) * image_info->image_width * image_info->colors + sx]; + val += line_cache[(sy-ymin) * image_info->image_width * image_info->channels + sx]; norm += 1.0; } } @@ -1519,7 +1679,7 @@ int xsane_save_blur_image(FILE *outfile, FILE *imagefile, Image_info *image_info { for (sy = ymin+1; sy <= ymax-1 ; sy++) { - val += outer_factor * line_cache16[(sy-ymin) * image_info->image_width * image_info->colors + xmin]; + val += outer_factor * line_cache16[(sy-ymin) * image_info->image_width * image_info->channels + xmin]; norm += outer_factor; } } @@ -1528,14 +1688,14 @@ int xsane_save_blur_image(FILE *outfile, FILE *imagefile, Image_info *image_info { for (sy = ymin+1; sy <= ymax-1 ; sy++) { - val += outer_factor * line_cache16[(sy-ymin) * image_info->image_width * image_info->colors + xmax]; + val += outer_factor * line_cache16[(sy-ymin) * image_info->image_width * image_info->channels + xmax]; norm += outer_factor; } } if (ymin_flag) /* integrate over top margin */ { - for (sx = xmin+image_info->colors; sx <= xmax-image_info->colors ; sx += image_info->colors) + for (sx = xmin+image_info->channels; sx <= xmax-image_info->channels ; sx += image_info->channels) { val += outer_factor * line_cache16[sx]; norm += outer_factor; @@ -1544,18 +1704,18 @@ int xsane_save_blur_image(FILE *outfile, FILE *imagefile, Image_info *image_info if (ymax_flag) /* integrate over bottom margin */ { - for (sx = xmin+image_info->colors; sx <= xmax-image_info->colors ; sx += image_info->colors) + for (sx = xmin+image_info->channels; sx <= xmax-image_info->channels ; sx += image_info->channels) { - val += outer_factor * line_cache16[(ymax-ymin) * image_info->image_width * image_info->colors + sx]; + val += outer_factor * line_cache16[(ymax-ymin) * image_info->image_width * image_info->channels + sx]; norm += outer_factor; } } for (sy = ymin; sy <= ymax; sy++) /* integrate internal square */ { - for (sx = xmin; sx <= xmax; sx+=image_info->colors) + for (sx = xmin; sx <= xmax; sx+=image_info->channels) { - val += line_cache16[(sy-ymin) * image_info->image_width * image_info->colors + sx]; + val += line_cache16[(sy-ymin) * image_info->image_width * image_info->channels + sx]; norm += 1.0; } } @@ -1581,10 +1741,10 @@ int xsane_save_blur_image(FILE *outfile, FILE *imagefile, Image_info *image_info if ((y > intradius) && (y < image_info->image_height - intradius)) { - memcpy(line_cache, line_cache + image_info->image_width * image_info->colors * bytespp, - image_info->image_width * image_info->colors * bytespp * 2 * intradius); - fread(line_cache + image_info->image_width * image_info->colors * bytespp * 2 * intradius, - image_info->image_width * image_info->colors * bytespp, 1, imagefile); + memcpy(line_cache, line_cache + image_info->image_width * image_info->channels * bytespp, + image_info->image_width * image_info->channels * bytespp * 2 * intradius); + fread(line_cache + image_info->image_width * image_info->channels * bytespp * 2 * intradius, + image_info->image_width * image_info->channels * bytespp, 1, imagefile); } } @@ -1616,14 +1776,14 @@ int xsane_save_blur_image(FILE *outfile, FILE *imagefile, Image_info *image_info xsane_write_pnm_header(outfile, image_info, 0); - line_cache = malloc(image_info->image_width * image_info->colors * bytespp * (2 * radius + 1)); + line_cache = malloc(image_info->image_width * image_info->channels * bytespp * (2 * radius + 1)); if (!line_cache) { DBG(DBG_error, "xsane_blur_image: out of memory\n"); return -1; } - fread(line_cache, image_info->image_width * image_info->colors * bytespp, (2 * radius + 1), imagefile); + fread(line_cache, image_info->image_width * image_info->channels * bytespp, (2 * radius + 1), imagefile); for (y = 0; y < image_info->image_height; y++) { @@ -1633,19 +1793,19 @@ int xsane_save_blur_image(FILE *outfile, FILE *imagefile, Image_info *image_info gtk_main_iteration(); } - for (x = 0; x < image_info->image_width * image_info->colors; x++) + for (x = 0; x < image_info->image_width * image_info->channels; x++) { - xmin = x - radius * image_info->colors; - xmax = x + radius * image_info->colors; + xmin = x - radius * image_info->channels; + xmax = x + radius * image_info->channels; if (xmin < 0) { - xmin = x % image_info->colors; + xmin = x % image_info->channels; } - if (xmax > image_info->image_width * image_info->colors) + if (xmax > image_info->image_width * image_info->channels) { - xmax = image_info->image_width * image_info->colors; + xmax = image_info->image_width * image_info->channels; } ymin = y - radius; @@ -1668,9 +1828,9 @@ int xsane_save_blur_image(FILE *outfile, FILE *imagefile, Image_info *image_info { for (sy = ymin; sy <= ymax; sy++) { - for (sx = xmin; sx <= xmax; sx+=image_info->colors) + for (sx = xmin; sx <= xmax; sx+=image_info->channels) { - val += line_cache[(sy-ymin) * image_info->image_width * image_info->colors + sx]; + val += line_cache[(sy-ymin) * image_info->image_width * image_info->channels + sx]; count++; } } @@ -1684,9 +1844,9 @@ int xsane_save_blur_image(FILE *outfile, FILE *imagefile, Image_info *image_info for (sy = ymin; sy <= ymax; sy++) { - for (sx = xmin; sx <= xmax; sx+=image_info->colors) + for (sx = xmin; sx <= xmax; sx+=image_info->channels) { - val += line_cache16[(sy-ymin) * image_info->image_width * image_info->colors + sx]; + val += line_cache16[(sy-ymin) * image_info->image_width * image_info->channels + sx]; count++; } } @@ -1699,10 +1859,10 @@ int xsane_save_blur_image(FILE *outfile, FILE *imagefile, Image_info *image_info if ((y > radius) && (y < image_info->image_height - radius)) { - memcpy(line_cache, line_cache + image_info->image_width * image_info->colors * bytespp, - image_info->image_width * image_info->colors * bytespp * 2 * radius); - fread(line_cache + image_info->image_width * image_info->colors * bytespp * 2 * radius, - image_info->image_width * image_info->colors * bytespp, 1, imagefile); + memcpy(line_cache, line_cache + image_info->image_width * image_info->channels * bytespp, + image_info->image_width * image_info->channels * bytespp * 2 * radius); + fread(line_cache + image_info->image_width * image_info->channels * bytespp * 2 * radius, + image_info->image_width * image_info->channels * bytespp, 1, imagefile); } } @@ -1734,7 +1894,7 @@ int xsane_save_rotate_image(FILE *outfile, FILE *imagefile, Image_info *image_in pos0 = ftell(imagefile); /* mark position to skip header */ - bytespp = image_info->colors; + bytespp = image_info->channels; if (image_info->depth > 8) { @@ -2227,7 +2387,7 @@ int xsane_save_rotate_image(FILE *outfile, FILE *imagefile, Image_info *image_in /* ---------------------------------------------------------------------------------------------------------------------- */ -void xsane_save_ps_create_document_header(FILE *outfile, int pages, int flatdecode) +void xsane_save_ps_create_document_header(FILE *outfile, int pages, int flatedecode) { DBG(DBG_proc, "xsane_save_ps_create_document_header\n"); @@ -2236,7 +2396,7 @@ void xsane_save_ps_create_document_header(FILE *outfile, int pages, int flatdeco SANE_VERSION_MAJOR(xsane.sane_backend_versioncode), SANE_VERSION_MINOR(xsane.sane_backend_versioncode)); fprintf(outfile, "%%%%DocumentData: Clean7Bit\n"); - if (flatdecode) + if (flatedecode) { fprintf(outfile, "%%%%LanguageLevel: 3\n"); } @@ -2288,7 +2448,7 @@ static void xsane_save_ps_create_page_header(FILE *outfile, int page, float width, float height, int paper_left_margin, int paper_bottom_margin, int paper_width, int paper_height, - int paper_orientation, int flatdecode, + int paper_orientation, int flatedecode, GtkProgressBar *progress_bar) { int degree, position_left, position_bottom, box_left, box_bottom, box_right, box_top, depth; @@ -2377,7 +2537,7 @@ static void xsane_save_ps_create_page_header(FILE *outfile, int page, if (depth > 8) { - depth = 8; + depth = 12; } fprintf(outfile, "\n"); @@ -2394,23 +2554,22 @@ static void xsane_save_ps_create_page_header(FILE *outfile, int page, fprintf(outfile, "%d rotate\n", degree); fprintf(outfile, "%d %d translate\n", position_left, position_bottom); fprintf(outfile, "%f %f scale\n", width, height); - fprintf(outfile, "%d %d %d\n", image_info->image_width, image_info->image_height, depth); - fprintf(outfile, "[%d %d %d %d %d %d]\n", image_info->image_width, 0, 0, -image_info->image_height, 0, image_info->image_height); - fprintf(outfile, "currentfile\n"); - fprintf(outfile, "/ASCII85Decode filter\n"); + fprintf(outfile, "<<\n"); + fprintf(outfile, " /ImageType 1\n"); + fprintf(outfile, " /Width %d\n", image_info->image_width); + fprintf(outfile, " /Height %d\n", image_info->image_height); + fprintf(outfile, " /BitsPerComponent %d\n", depth); + fprintf(outfile, " /Decode [0 1 0 1 0 1]\n"); + fprintf(outfile, " /ImageMatrix [%d %d %d %d %d %d]\n", image_info->image_width, 0, 0, -image_info->image_height, 0, image_info->image_height); + fprintf(outfile, " /DataSource currentfile /ASCII85Decode filter"); #ifdef HAVE_LIBZ - if (flatdecode) + if (flatedecode) { - fprintf(outfile, "/FlateDecode filter\n"); + fprintf(outfile, " /FlateDecode filter"); } #endif - - if (image_info->colors == 3) /* what about RGBA here ? */ - { - fprintf(outfile, "false 3 colorimage\n"); - fprintf(outfile, "\n"); - } - else + fprintf(outfile, "\n"); + fprintf(outfile, ">>\n"); { fprintf(outfile, "image\n"); fprintf(outfile, "\n"); @@ -2429,8 +2588,102 @@ static void xsane_save_ps_create_page_trailer(FILE *outfile) /* ---------------------------------------------------------------------------------------------------------------------- */ #ifdef HAVE_LIBZ +/* Utility function for the PDF output */ +static int xsane_write_flatedecode(FILE *outfile, unsigned char *line, int len, int finish) +{ + static unsigned char *cbuf = NULL; + static int cbuflen = 0; + static int linelen = 0; + int outlen; + static int init = 0; + static z_stream s; + int ret; + int flush; + static int count = 0; + + DBG(DBG_proc, "xsane_write_flatedecode\n"); + + if (linelen != len) + { + linelen = len; + if (cbuf != NULL) + { + free(cbuf); + } + /* buffer length = length + 0.1 * length + 12 (mandatory) */ + cbuflen = len + len / 10 + 12; + cbuf = malloc(cbuflen); + } + + if (cbuf == NULL) + { + DBG(DBG_error, "cbuf allocation failed\n"); + return 1; + } + + if (!init) + { + s.zalloc = Z_NULL; + s.zfree = Z_NULL; + s.opaque = Z_NULL; + + ret = deflateInit(&s, Z_DEFAULT_COMPRESSION); + + if (ret != Z_OK) + { + DBG(DBG_error, "deflateInit failed\n"); + free(cbuf); + return 1; + } + + init = 1; + } + + s.avail_in = len; + s.next_in = line; + + do + { + s.avail_out = cbuflen; + s.next_out = cbuf; + + flush = (finish) ? Z_FINISH : Z_NO_FLUSH; + + ret = deflate(&s, flush); + + if (ret == Z_STREAM_ERROR) + { + DBG(DBG_error, "deflate failed\n"); + free(cbuf); + return 1; + } + + outlen = cbuflen - s.avail_out; + + fwrite(cbuf, outlen, 1, outfile); + } while (s.avail_out == 0); + + if (finish) + { + DBG(DBG_info, "xsane_write_flatedecode finished\n"); + deflateEnd(&s); + free(cbuf); + cbuf = NULL; + init = 0; + cbuflen = 0; + linelen = 0; + count = 0; + } + + return 0; +} +#endif + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +#ifdef HAVE_LIBZ /* Utility function for the PostScript output */ -static int xsane_write_compressed_a85_flatdecode(FILE *outfile, unsigned char *line, int len, int finish) +static int xsane_write_compressed_a85_flatedecode(FILE *outfile, unsigned char *line, int len, int finish) { static unsigned char *cbuf = NULL; static int cbuflen = 0; @@ -2446,7 +2699,7 @@ static int xsane_write_compressed_a85_flatdecode(FILE *outfile, unsigned char *l static unsigned char a85block[6] = {0, 0, 0, 0, 0, 0}; static int count = 0; - DBG(DBG_proc, "xsane_write_compressed_a85_flatdecode\n"); + DBG(DBG_proc, "xsane_write_compressed_a85_flatedecode\n"); if (linelen != len) { @@ -2741,7 +2994,91 @@ static int xsane_write_compressed_a85(FILE *outfile, unsigned char *line, int le /* ---------------------------------------------------------------------------------------------------------------------- */ -static int xsane_save_ps_pdf_bw(FILE *outfile, FILE *imagefile, Image_info *image_info, int flatdecode, GtkProgressBar *progress_bar, int *cancel_save) +#ifdef HAVE_LIBLCMS +static int xsane_write_CSA(FILE *outfile, char *input_profile, int intent) +{ + cmsHPROFILE hProfile; + size_t n; + char* buffer; + + hProfile = cmsOpenProfileFromFile(input_profile, "r"); + if (!hProfile) + { + return -1; + } + + n = cmsGetPostScriptCSA(hProfile, intent, NULL, 0); + if (n == 0) + { + return -2; + } + + buffer = (char*) malloc(n + 1); + if (!buffer) + { + return -3; + } + + cmsGetPostScriptCSA(hProfile, intent, buffer, n); + buffer[n] = 0; + + fprintf(outfile, "%s", buffer); + fprintf(outfile, "setcolorspace\n"); + + free(buffer); + cmsCloseProfile(hProfile); + + return 0; +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static int xsane_write_CRD(FILE *outfile, char *output_profile, int intent, int blackpointcompensation) +{ + cmsHPROFILE hProfile; + size_t n; + char* buffer; + DWORD flags = cmsFLAGS_NODEFAULTRESOURCEDEF; + + hProfile = cmsOpenProfileFromFile(output_profile, "r"); + if (!hProfile) + { + return -1; + } + + if (blackpointcompensation) + { + flags |= cmsFLAGS_BLACKPOINTCOMPENSATION; + } + + n = cmsGetPostScriptCRDEx(hProfile, intent, flags, NULL, 0); + if (n == 0) + { + return -2; + } + + buffer = (char*) malloc(n + 1); + if (!buffer) + { + return -3; + } + + cmsGetPostScriptCRDEx(hProfile, intent, flags, buffer, n); + buffer[n] = 0; + + fprintf(outfile, "%s", buffer); + fprintf(outfile, "setcolorrendering\n"); + + free(buffer); + cmsCloseProfile(hProfile); + + return 0; +} +#endif + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static int xsane_save_ps_pdf_bw(FILE *outfile, FILE *imagefile, Image_info *image_info, int ascii85decode, int flatedecode, GtkProgressBar *progress_bar, int *cancel_save) { int x, y; int bytes_per_line = (image_info->image_width+7)/8; @@ -2778,15 +3115,26 @@ static int xsane_save_ps_pdf_bw(FILE *outfile, FILE *imagefile, Image_info *imag line[x] = fgetc(imagefile) ^ 255; } + if (ascii85decode) + { #ifdef HAVE_LIBZ - if (flatdecode) + if (flatedecode) + { + ret = xsane_write_compressed_a85_flatedecode(outfile, line, bytes_per_line, (y == image_info->image_height - 1)); + } + else +#endif + { + ret = xsane_write_compressed_a85(outfile, line, bytes_per_line, (y == image_info->image_height - 1)); + } + } + else if (flatedecode) { - ret = xsane_write_compressed_a85_flatdecode(outfile, line, bytes_per_line, (y == image_info->image_height - 1)); + ret = xsane_write_flatedecode(outfile, line, bytes_per_line, (y == image_info->image_height - 1)); } else -#endif { - ret = xsane_write_compressed_a85(outfile, line, bytes_per_line, (y == image_info->image_height - 1)); + fwrite(line, bytes_per_line, 1, outfile); } if ((ret != 0) || (ferror(outfile))) @@ -2822,11 +3170,15 @@ static int xsane_save_ps_pdf_bw(FILE *outfile, FILE *imagefile, Image_info *imag /* ---------------------------------------------------------------------------------------------------------------------- */ -static int xsane_save_ps_pdf_gray(FILE *outfile, FILE *imagefile, Image_info *image_info, int flatdecode, GtkProgressBar *progress_bar, int *cancel_save) +static int xsane_save_ps_pdf_gray(FILE *outfile, FILE *imagefile, Image_info *image_info, int ascii85decode, int flatedecode, cmsHTRANSFORM hTransform, int embed_scanner_icm_profile, GtkProgressBar *progress_bar, int *cancel_save) { - int x, y; - int ret; - unsigned char *line; + int x, y; + int ret; + unsigned char *line; +#ifdef HAVE_LIBLCMS + unsigned char *line_raw = NULL; +#endif + DBG(DBG_proc, "xsane_save_ps_pdf_gray\n"); @@ -2865,15 +3217,26 @@ static int xsane_save_ps_pdf_gray(FILE *outfile, FILE *imagefile, Image_info *im } } + if (ascii85decode) + { #ifdef HAVE_LIBZ - if (flatdecode) + if (flatedecode) + { + ret = xsane_write_compressed_a85_flatedecode(outfile, line, image_info->image_width, (y == image_info->image_height - 1)); + } + else +#endif + { + ret = xsane_write_compressed_a85(outfile, line, image_info->image_width, (y == image_info->image_height - 1)); + } + } + else if (flatedecode) { - ret = xsane_write_compressed_a85_flatdecode(outfile, line, image_info->image_width, (y == image_info->image_height - 1)); + ret = xsane_write_flatedecode(outfile, line, image_info->image_width, (y == image_info->image_height - 1)); } else -#endif { - ret = xsane_write_compressed_a85(outfile, line, image_info->image_width, (y == image_info->image_height - 1)); + fwrite(line, image_info->image_width, 1, outfile); } if ((ret != 0) || (ferror(outfile))) @@ -2915,28 +3278,106 @@ static int xsane_save_ps_pdf_gray(FILE *outfile, FILE *imagefile, Image_info *im /* ---------------------------------------------------------------------------------------------------------------------- */ -static int xsane_save_ps_pdf_color(FILE *outfile, FILE *imagefile, Image_info *image_info, int flatdecode, GtkProgressBar *progress_bar, int *cancel_save) +static int xsane_save_ps_pdf_color(FILE *outfile, FILE *imagefile, Image_info *image_info, int ascii85decode, int flatedecode, + cmsHTRANSFORM hTransform, int do_transform, + GtkProgressBar *progress_bar, int *cancel_save) { int x, y; int ret; - unsigned char *line, *linep; + unsigned char *line = NULL, *linep = NULL, *line16 = NULL; + int bytes_per_line; + int bytes_per_line16 = 0; +#ifdef HAVE_LIBLCMS + unsigned char *line_raw = NULL; +#endif DBG(DBG_proc, "xsane_save_ps_pdf_color\n"); *cancel_save = 0; - line = (unsigned char *) malloc(image_info->image_width * 3); + if (image_info->depth > 8) /* reduce 16 bit images to 12 bit */ + { + bytes_per_line16 = image_info->image_width * 3 * 2; + + bytes_per_line = (image_info->image_width/2) * 3 * 3; + if (image_info->image_width & 1) + { + bytes_per_line += 5; + } + + DBG(DBG_info, "bytes_per_line16 = %d\n", bytes_per_line16); + DBG(DBG_info, "bytes_per_line = %d\n", bytes_per_line); + + line16 = (unsigned char *) malloc(bytes_per_line16); + + if (line16 == NULL) + { + char buf[TEXTBUFSIZE]; + + snprintf(buf, sizeof(buf), "%s malloc for line16 failed", ERR_DURING_SAVE); + DBG(DBG_error, "%s\n", buf); + xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); + *cancel_save = 1; + return (*cancel_save); + } + DBG(DBG_info, "line16 allocated\n"); + } + else + { + bytes_per_line = image_info->image_width * 3; + bytes_per_line16 = image_info->image_width * 3; + DBG(DBG_info, "bytes_per_line = %d\n", bytes_per_line); + } + + line = (unsigned char *) malloc(bytes_per_line); if (line == NULL) { char buf[TEXTBUFSIZE]; - snprintf(buf, sizeof(buf), "%s malloc failed", ERR_DURING_SAVE); + snprintf(buf, sizeof(buf), "%s malloc for line failed", ERR_DURING_SAVE); DBG(DBG_error, "%s\n", buf); xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); + + if (line16) + { + free(line16); + } + *cancel_save = 1; return (*cancel_save); } + DBG(DBG_info, "line allocated\n"); + +#ifdef HAVE_LIBLCMS + if (do_transform && (hTransform != NULL)) + { + DBG(DBG_info, "Doing CMS color conversion\n"); + + line_raw = (unsigned char *) malloc(bytes_per_line16); + + if (line_raw == NULL) + { + char buf[TEXTBUFSIZE]; + + snprintf(buf, sizeof(buf), "%s malloc for line_raw failed", ERR_DURING_SAVE); + DBG(DBG_error, "%s\n", buf); + xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); + + free(line); + + if (line16) + { + free(line16); + } + + *cancel_save = 1; + return (*cancel_save); + } + + DBG(DBG_info, "line_raw allocated\n"); + } +#endif for (y = 0; y < image_info->image_height; y++) { @@ -2948,39 +3389,101 @@ static int xsane_save_ps_pdf_color(FILE *outfile, FILE *imagefile, Image_info *i linep = line; - if (image_info->depth > 8) /* reduce 16 bit images */ + if (image_info->depth > 8) /* reduce 16 bit images to 12 bit */ { - guint16 val; +#ifdef HAVE_LIBLCMS + if (do_transform && (hTransform != NULL)) + { + fread(line_raw, 6, image_info->image_width, imagefile); + cmsDoTransform(hTransform, line_raw, line16, image_info->image_width); + } + else +#endif + { + fread(line16, 6, image_info->image_width, imagefile); + } - for (x = 0; x < image_info->image_width; x++) +#if __BYTE_ORDER == __LITTLE_ENDIAN + for (x = 0; x < image_info->image_width; x=x+2) { - fread(&val, 2, 1, imagefile); - *linep++ = val/256; - fread(&val, 2, 1, imagefile); - *linep++ = val/256; - fread(&val, 2, 1, imagefile); - *linep++ = val/256; + *linep++ = line16[6*x+1]; /* red high+middle */ + *linep++ = (line16[6*x+0] & 240) | (line16[6*x+3] >> 4); /* red low | green high */ + *linep++ = ((line16[6*x+3] & 15) << 4) | ((line16[6*x+2] & 240) >> 4); /* green middle | green low */ + + *linep++ = line16[6*x+5]; /* blue high+middle */ + + if (x == image_info->image_width-1) + { + *linep++ = (line16[6*x+4] & 240); /* blue low */ + break; + } + + *linep++ = (line16[6*x+4] & 240) | (line16[6*x+7] >> 4); /* blue low | red high */ + *linep++ = ((line16[6*x+7] & 15) << 4) | ((line16[6*x+6] & 240) >> 4); /* red middle | red low */ + + *linep++ = line16[6*x+9]; /* green high+middle */ + *linep++ = (line16[6*x+8] & 240) | (line16[6*x+11] >> 4); /* green low | blue high */ + *linep++ = ((line16[6*x+11] & 15) << 4) | ((line16[6*x+10] & 240) >> 4); /* blue middle | blue low */ } +#else + for (x = 0; x < image_info->image_width; x=x+2) + { + *linep++ = line16[6*x+0]; /* red high+middle */ + *linep++ = (line16[6*x+1] & 240) | (line16[6*x+2] >> 4); /* red low | green high */ + *linep++ = ((line16[6*x+2] & 15) << 4) | ((line16[6*x+3] & 240) >> 4); /* green middle | green low */ + + *linep++ = line16[6*x+4]; /* blue high+middle */ + + if (x == image_info->image_width-1) + { + *linep++ = (line16[6*x+5] & 240); /* blue low */ + break; + } + + *linep++ = (line16[6*x+5] & 240) | (line16[6*x+6] >> 4); /* blue low | red high */ + *linep++ = ((line16[6*x+6] & 15) << 4) | ((line16[6*x+7] & 240) >> 4); /* red middle | red low */ + + *linep++ = line16[6*x+8]; /* green high+middle */ + *linep++ = (line16[6*x+9] & 240) | (line16[6*x+10] >> 4); /* green low | blue high */ + *linep++ = ((line16[6*x+10] & 15) << 4) | ((line16[6*x+11] & 240) >> 4); /* blue middle | blue low */ + } +#endif } else /* 8 bits/sample */ { - for (x = 0; x < image_info->image_width; x++) +#ifdef HAVE_LIBLCMS + if (do_transform && (hTransform != NULL)) { - *linep++ = fgetc(imagefile); - *linep++ = fgetc(imagefile); - *linep++ = fgetc(imagefile); + fread(line_raw, 3, image_info->image_width, imagefile); + cmsDoTransform(hTransform, line_raw, line, image_info->image_width); + } + else +#endif + { + fread(line, 3, image_info->image_width, imagefile); } } + if (ascii85decode) + { #ifdef HAVE_LIBZ - if (flatdecode) + if (flatedecode) + { + ret = xsane_write_compressed_a85_flatedecode(outfile, line, bytes_per_line, (y == image_info->image_height - 1)); + } + else +#endif + { + ret = xsane_write_compressed_a85(outfile, line, bytes_per_line, (y == image_info->image_height - 1)); + } + } + else if (flatedecode) { - ret = xsane_write_compressed_a85_flatdecode(outfile, line, (image_info->image_width * 3), (y == image_info->image_height - 1)); + ret = xsane_write_flatedecode(outfile, line, bytes_per_line, (y == image_info->image_height - 1)); } else -#endif { - ret = xsane_write_compressed_a85(outfile, line, (image_info->image_width * 3), (y == image_info->image_height - 1)); + fwrite(line, bytes_per_line, 1, outfile); } if ((ret != 0) || (ferror(outfile))) @@ -3009,6 +3512,18 @@ static int xsane_save_ps_pdf_color(FILE *outfile, FILE *imagefile, Image_info *i } } +#ifdef HAVE_LIBLCMS + if (line_raw) + { + free(line_raw); + } +#endif + + if (line16) + { + free(line16); + } + free(line); return (*cancel_save); @@ -3019,7 +3534,8 @@ static int xsane_save_ps_pdf_color(FILE *outfile, FILE *imagefile, Image_info *i int xsane_save_ps_page(FILE *outfile, int page, FILE *imagefile, Image_info *image_info, float width, float height, int paper_left_margin, int paper_bottom_margin, int paperwidth, int paperheight, int paper_orientation, - int flatdecode, + int flatedecode, + cmsHTRANSFORM hTransform, int do_transform, GtkProgressBar *progress_bar, int *cancel_save) { DBG(DBG_proc, "xsane_save_ps_page\n"); @@ -3027,23 +3543,23 @@ int xsane_save_ps_page(FILE *outfile, int page, xsane_save_ps_create_page_header(outfile, page, image_info, width, height, paper_left_margin, paper_bottom_margin, paperwidth, paperheight, paper_orientation, - flatdecode, + flatedecode, progress_bar); - if (image_info->colors == 1) /* lineart, halftone, grayscale */ + if (image_info->channels == 1) /* lineart, halftone, grayscale */ { if (image_info->depth == 1) /* lineart, halftone */ { - xsane_save_ps_pdf_bw(outfile, imagefile, image_info, flatdecode, progress_bar, cancel_save); + xsane_save_ps_pdf_bw(outfile, imagefile, image_info, TRUE, flatedecode, progress_bar, cancel_save); } else /* grayscale */ { - xsane_save_ps_pdf_gray(outfile, imagefile, image_info, flatdecode, progress_bar, cancel_save); + xsane_save_ps_pdf_gray(outfile, imagefile, image_info, TRUE, flatedecode, hTransform, do_transform, progress_bar, cancel_save); } } else /* color RGB */ { - xsane_save_ps_pdf_color(outfile, imagefile, image_info, flatdecode, progress_bar, cancel_save); + xsane_save_ps_pdf_color(outfile, imagefile, image_info, TRUE, flatedecode, hTransform, do_transform, progress_bar, cancel_save); } xsane_save_ps_create_page_trailer(outfile); @@ -3065,19 +3581,46 @@ int xsane_save_ps_page(FILE *outfile, int page, int xsane_save_ps(FILE *outfile, FILE *imagefile, Image_info *image_info, float width, float height, int paper_left_margin, int paper_bottom_margin, int paperwidth, int paperheight, int paper_orientation, - int flatdecode, + int flatedecode, + cmsHTRANSFORM hTransform, int apply_ICM_profile, int embed_CSA, char *CSA_profile, + int embed_CRD, char *CRD_profile, int blackpointcompensation, int intent, GtkProgressBar *progress_bar, int *cancel_save) { DBG(DBG_proc, "xsane_save_ps\n"); *cancel_save = 0; - xsane_save_ps_create_document_header(outfile, 1 /* pages */, flatdecode); + xsane_save_ps_create_document_header(outfile, 1 /* pages */, flatedecode); + +#ifdef HAVE_LIBLCMS + if ((apply_ICM_profile) && (embed_CRD)) + { + xsane_write_CRD(outfile, CRD_profile, intent, blackpointcompensation); /* write printer profile to ps file */ + } + + + if ((apply_ICM_profile) && (embed_CSA)) + { + xsane_write_CSA(outfile, CSA_profile, intent); /* write scanner profile to ps file */ + } + else +#endif + { + if (image_info->channels == 1) /* lineart, halftone, grayscale */ + { + fprintf(outfile, "/DeviceGray setcolorspace\n"); + } + else + { + fprintf(outfile, "/DeviceRGB setcolorspace\n"); + } + } xsane_save_ps_page(outfile, 1 /* page */, imagefile, image_info, width, height, paper_left_margin, paper_bottom_margin, paperwidth, paperheight, paper_orientation, - flatdecode, + flatedecode, + hTransform, (apply_ICM_profile && (!embed_CSA) && (!embed_CRD)) /* do_transform */, progress_bar, cancel_save); xsane_save_ps_create_document_trailer(outfile, 0 /* we defined pages at beginning */); @@ -3097,7 +3640,93 @@ int xsane_save_ps(FILE *outfile, FILE *imagefile, Image_info *image_info, float /* ---------------------------------------------------------------------------------------------------------------------- */ -void xsane_save_pdf_create_document_header(FILE *outfile, struct pdf_xref *xref, int pages, int flatdecode) +static int xsane_embed_pdf_icm_profile(FILE *outfile, struct pdf_xref *xref, char *icm_filename, int flatedecode, int icc_object) +{ + FILE *icm_profile; + size_t size, embed_len; + unsigned char *embed_buffer; + int ret; + + DBG(DBG_proc, "xsane_embed_pdf_icm_profile(%s)\n", icm_filename); + + icm_profile = fopen(icm_filename, "rb"); + if (icm_profile == NULL) + { + DBG(DBG_error, "Could not open ICM profile \"%s\" for reading\n", icm_filename); + return -1; + } + + fseek(icm_profile, 0, SEEK_END); + size = ftell(icm_profile); + fseek(icm_profile, 0, SEEK_SET); + + embed_buffer = malloc(size + 1); + if (embed_buffer) + { + xref->obj[icc_object] = ftell(outfile); + fprintf(outfile, "%d 0 obj\n", icc_object); + fprintf(outfile, " << /N 3\n"); /* 3 channels */ + fprintf(outfile, " /Alternate /DeviceRGB\n"); +#ifdef HAVE_LIBZ + if (flatedecode) + { + fprintf(outfile, " /Filter /FlateDecode\n"); + } +#endif + + fprintf(outfile, " /Length >>\n"); + + /* Position of the stream length, to be written later on */ + xref->slenp = ftell(outfile) - 15; + + fprintf(outfile, "stream\n"); + + /* Start of the stream data */ + xref->slen = ftell(outfile); + + embed_len = fread(embed_buffer, 1, size, icm_profile); + embed_buffer[embed_len] = 0; + fclose(icm_profile); + +#ifdef HAVE_LIBZ + if (flatedecode) + { + ret = xsane_write_flatedecode(outfile, embed_buffer, size, TRUE); + } + else +#endif + { + fwrite(embed_buffer, size, 1, outfile); + ret = 0; + } + + /* Go back and write the length of the stream */ + xref->slen = ftell(outfile) - xref->slen; + fseek(outfile, xref->slenp, SEEK_SET); + fprintf(outfile, "%lu", xref->slen); + fseek(outfile, 0L, SEEK_END); + + fprintf(outfile, "endstream\n"); + fprintf(outfile, "endobj\n"); + fprintf(outfile, "\n"); + + free(embed_buffer); + } + else + { + DBG(DBG_info, "Embedding ICM profile \"%s\" to PDF: no mem\n", icm_filename); + fclose(icm_profile); + return -2; + } + + + DBG(DBG_info, "Embedding ICM profile \"%s\" to PDF file retuned with status %d\n", icm_filename, ret); + return ret; +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +void xsane_save_pdf_create_document_header(FILE *outfile, struct pdf_xref *xref, int pages, int flatedecode) { int i; @@ -3126,7 +3755,7 @@ void xsane_save_pdf_create_document_header(FILE *outfile, struct pdf_xref *xref, fprintf(outfile, " /Kids [\n"); for (i=0; i < pages; i++) { - fprintf(outfile, " %d 0 R\n", i * 2 + 4); + fprintf(outfile, " %d 0 R\n", i * 2 + 6); } fprintf(outfile, " ]\n"); fprintf(outfile, " /Count %d\n", pages); @@ -3143,7 +3772,8 @@ static void xsane_save_pdf_create_page_header(FILE *outfile, struct pdf_xref *xr float width, float height, int paper_left_margin, int paper_bottom_margin, int paper_width, int paper_height, - int paper_orientation, int flatdecode, + int paper_orientation, + int flatedecode, int icc_object, GtkProgressBar *progress_bar) { int position_left, position_bottom, box_left, box_bottom, box_right, box_top, depth; @@ -3231,26 +3861,26 @@ static void xsane_save_pdf_create_page_header(FILE *outfile, struct pdf_xref *xr depth = image_info->depth; - if (depth > 8) + if (depth > 8) /* PDF does not support 16bits/sample in a standard image */ { depth = 8; } - xref->obj[page * 2 + 2] = ftell(outfile); - fprintf(outfile, "%d 0 obj\n", page * 2 + 2); + xref->obj[page * 2 + 4] = ftell(outfile); + fprintf(outfile, "%d 0 obj\n", page * 2 + 4); fprintf(outfile, " << /Type /Page\n"); fprintf(outfile, " /Parent 3 0 R\n"); fprintf(outfile, " /MediaBox [%d %d %d %d]\n", box_left, box_bottom, box_right, box_top); - fprintf(outfile, " /Contents %d 0 R\n", page * 2 + 3); - fprintf(outfile, " /Resources << /ProcSet %d 0 R >>\n", page * 2 + 4); + fprintf(outfile, " /Contents %d 0 R\n", page * 2 + 5); + fprintf(outfile, " /Resources << /ProcSet %d 0 R >>\n", page * 2 + 6); fprintf(outfile, " >>\n"); fprintf(outfile, "endobj\n"); fprintf(outfile, "\n"); /* Offset of object 5, for xref */ - xref->obj[page * 2 + 3] = ftell(outfile); + xref->obj[page * 2 + 5] = ftell(outfile); - fprintf(outfile, "%d 0 obj\n", page * 2 + 3); + fprintf(outfile, "%d 0 obj\n", page * 2 + 5); fprintf(outfile, " << /Length >>\n"); /* Position of the stream length, to be written later on */ @@ -3269,9 +3899,17 @@ static void xsane_save_pdf_create_page_header(FILE *outfile, struct pdf_xref *xr fprintf(outfile, " /W %d\n", image_info->image_width); fprintf(outfile, " /H %d\n", image_info->image_height); - if (image_info->colors == 3) /* what about RGBA here ? */ + if ((icc_object) && (image_info->depth != 1)) + { + fprintf(outfile, " /ColorSpace [/ICCBased %d 0 R]\n", icc_object); + } + + if (image_info->channels == 3) /* what about RGBA here ? */ { - fprintf(outfile, " /CS /RGB\n"); + if (icc_object == 0) + { + fprintf(outfile, " /CS /RGB\n"); + } fprintf(outfile, " /BPC %d\n", depth); } else if (image_info->depth == 1) /* BW */ @@ -3281,22 +3919,20 @@ static void xsane_save_pdf_create_page_header(FILE *outfile, struct pdf_xref *xr } else /* gray */ { - fprintf(outfile, " /CS /G\n"); - fprintf(outfile, " /BPC 8\n"); + if (icc_object == 0) + { + fprintf(outfile, " /CS /G\n"); + } + fprintf(outfile, " /BPC %d\n", depth); } #ifdef HAVE_LIBZ - if (flatdecode) - { - fprintf(outfile, " /F [/A85 /FlateDecode]\n"); - } - else + if (flatedecode) { - fprintf(outfile, " /F /A85\n"); + fprintf(outfile, " /F /FlateDecode\n"); } -#else - fprintf(outfile, " /F /A85\n"); #endif + fprintf(outfile, "ID\n"); } @@ -3311,17 +3947,17 @@ void xsane_save_pdf_create_document_trailer(FILE *outfile, struct pdf_xref *xref /* PDF document trailer */ /* Offset of object 6, for xref */ - xref->obj[pages * 2 + 4] = ftell(outfile); + xref->obj[pages * 2 + 6] = ftell(outfile); - fprintf(outfile, "%d 0 obj\n", pages * 2 + 4); + fprintf(outfile, "%d 0 obj\n", pages * 2 + 6); fprintf(outfile, " [/PDF]\n"); fprintf(outfile, "endobj\n"); fprintf(outfile, "\n"); /* Offset of object 7, for xref */ - xref->obj[pages * 2 + 5] = ftell(outfile); + xref->obj[pages * 2 + 7] = ftell(outfile); - fprintf(outfile, "%d 0 obj\n", pages * 2 + 5); + fprintf(outfile, "%d 0 obj\n", pages * 2 + 7); fprintf(outfile, " << /Title (XSane scanned image)\n"); fprintf(outfile, " /Creator (XSane version %s (sane %d.%d) - by Oliver Rauch)\n", VERSION, @@ -3342,19 +3978,19 @@ void xsane_save_pdf_create_document_trailer(FILE *outfile, struct pdf_xref *xref xref->xref = ftell(outfile); fprintf(outfile, "xref\n"); - fprintf(outfile, "0 %d\n", pages * 2 + 6); + fprintf(outfile, "0 %d\n", pages * 2 + 8); fprintf(outfile, "0000000000 65535 f \n"); - for (i=1; i <= pages * 2 + 5; i++) + for (i=1; i <= pages * 2 + 7; i++) { fprintf(outfile, "%010lu 00000 n \n", xref->obj[i]); } fprintf(outfile, "\n"); fprintf(outfile, "trailer\n"); - fprintf(outfile, " << /Size %d\n", pages * 2 + 6); + fprintf(outfile, " << /Size %d\n", pages * 2 + 8); fprintf(outfile, " /Root 1 0 R\n"); - fprintf(outfile, " /Info %d 0 R\n", pages * 2 + 5); + fprintf(outfile, " /Info %d 0 R\n", pages * 2 + 7); fprintf(outfile, " >>\n"); fprintf(outfile, "startxref\n"); fprintf(outfile, "%lu\n", xref->xref); @@ -3370,7 +4006,7 @@ static void xsane_save_pdf_create_page_trailer(FILE *outfile, struct pdf_xref *x fprintf(outfile, "Q\n"); /* Go back and write the length of the stream */ - xref->slen = ftell(outfile) - xref->slen - 1; + xref->slen = ftell(outfile) - xref->slen; /* we had a "-1" at the end but I do not understand the reason for -1, without looks better */ fseek(outfile, xref->slenp, SEEK_SET); fprintf(outfile, "%lu", xref->slen); fseek(outfile, 0L, SEEK_END); @@ -3385,7 +4021,8 @@ static void xsane_save_pdf_create_page_trailer(FILE *outfile, struct pdf_xref *x int xsane_save_pdf_page(FILE *outfile, struct pdf_xref *xref, int page, FILE *imagefile, Image_info *image_info, float width, float height, int paper_left_margin, int paper_bottom_margin, int paperwidth, int paperheight, int paper_orientation, - int flatdecode, + int flatedecode, + cmsHTRANSFORM hTransform, int do_transform, int icc_object, GtkProgressBar *progress_bar, int *cancel_save) { @@ -3394,23 +4031,23 @@ int xsane_save_pdf_page(FILE *outfile, struct pdf_xref *xref, int page, xsane_save_pdf_create_page_header(outfile, xref, page, image_info, width, height, paper_left_margin, paper_bottom_margin, paperwidth, paperheight, paper_orientation, - flatdecode, + flatedecode, icc_object, progress_bar); - if (image_info->colors == 1) /* lineart, halftone, grayscale */ + if (image_info->channels == 1) /* lineart, halftone, grayscale */ { if (image_info->depth == 1) /* lineart, halftone */ { - xsane_save_ps_pdf_bw(outfile, imagefile, image_info, flatdecode, progress_bar, cancel_save); + xsane_save_ps_pdf_bw(outfile, imagefile, image_info, FALSE, flatedecode, progress_bar, cancel_save); } else /* grayscale */ { - xsane_save_ps_pdf_gray(outfile, imagefile, image_info, flatdecode, progress_bar, cancel_save); + xsane_save_ps_pdf_gray(outfile, imagefile, image_info, FALSE, flatedecode, hTransform, do_transform, progress_bar, cancel_save); } } else /* color RGB */ { - xsane_save_ps_pdf_color(outfile, imagefile, image_info, flatdecode, progress_bar, cancel_save); + xsane_save_ps_pdf_color(outfile, imagefile, image_info, FALSE, flatedecode, hTransform, do_transform, progress_bar, cancel_save); } xsane_save_pdf_create_page_trailer(outfile, xref); @@ -3432,21 +4069,33 @@ int xsane_save_pdf_page(FILE *outfile, struct pdf_xref *xref, int page, int xsane_save_pdf(FILE *outfile, FILE *imagefile, Image_info *image_info, float width, float height, int paper_left_margin, int paper_bottom_margin, int paperwidth, int paperheight, int paper_orientation, - int flatdecode, + int flatedecode, + cmsHTRANSFORM hTransform, int apply_ICM_profile, int cms_function, GtkProgressBar *progress_bar, int *cancel_save) { - struct pdf_xref xref; + struct pdf_xref xref; + int icc_object = 0; DBG(DBG_proc, "xsane_save_pdf\n"); *cancel_save = 0; - xsane_save_pdf_create_document_header(outfile, &xref, 1, flatdecode); + xsane_save_pdf_create_document_header(outfile, &xref, 1, flatedecode); + + xref.obj[4] = ftell(outfile); + xref.obj[5] = ftell(outfile); + + if (apply_ICM_profile && (cms_function == XSANE_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE)) + { + icc_object = 4; + xsane_embed_pdf_icm_profile(outfile, &xref, image_info->icm_profile, flatedecode, icc_object); + } xsane_save_pdf_page(outfile, &xref, 1, imagefile, image_info, width, height, paper_left_margin, paper_bottom_margin, paperwidth, paperheight, paper_orientation, - flatdecode, + flatedecode, + hTransform, apply_ICM_profile && ((cms_function != XSANE_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE)) /* do_transform */, icc_object, progress_bar, cancel_save); xsane_save_pdf_create_document_trailer(outfile, &xref, 1); @@ -3465,8 +4114,8 @@ int xsane_save_pdf(FILE *outfile, FILE *imagefile, Image_info *image_info, float } /* ---------------------------------------------------------------------------------------------------------------------- */ -#ifdef HAVE_LIBJPEG +#ifdef HAVE_LIBJPEG typedef struct { struct jpeg_error_mgr pub;/* "public" fields */ @@ -3494,7 +4143,110 @@ static void xsane_jpeg_error_exit(j_common_ptr cinfo) *xsane_jpeg_error_mgr_data->cancel_save = 1; } -int xsane_save_jpeg(FILE *outfile, FILE *imagefile, Image_info *image_info, int quality, GtkProgressBar *progress_bar, int *cancel_save) +/* ---------------------------------------------------------- */ + +#ifdef HAVE_LIBLCMS +static void xsane_jpeg_write_icm_profile(j_compress_ptr cinfo_ptr, const JOCTET *icm_data_ptr, unsigned int icm_data_len) +{ +#define ICM_MARKER (JPEG_APP0 + 2) /* JPEG marker code for ICM */ +#define ICM_OVERHEAD_LEN 14 /* size of non-profile data in APP2 */ +#define MAX_BYTES_IN_MARKER 65533 /* maximum data len of a JPEG marker */ +#define MAX_DATA_BYTES_IN_MARKER (MAX_BYTES_IN_MARKER - ICM_OVERHEAD_LEN) + + unsigned int num_markers; /* total number of markers we'll write */ + int cur_marker = 1; /* per spec, counting starts at 1 */ + unsigned int length; /* number of bytes to write in this marker */ + + /* Calculate the number of markers we'll need, rounding up of course */ + num_markers = icm_data_len / MAX_DATA_BYTES_IN_MARKER; + if (num_markers * MAX_DATA_BYTES_IN_MARKER != icm_data_len) + { + num_markers++; + } + + while (icm_data_len > 0) + { + length = icm_data_len; /* length of profile to put in this marker */ + if (length > MAX_DATA_BYTES_IN_MARKER) + { + length = MAX_DATA_BYTES_IN_MARKER; + } + icm_data_len -= length; + + /* Write the JPEG marker header (APP2 code and marker length) */ + jpeg_write_m_header(cinfo_ptr, ICM_MARKER, (unsigned int) (length + ICM_OVERHEAD_LEN)); + + /* Write the marker identifying string "ICC_PROFILE" (null-terminated). + * We code it in this less-than-transparent way so that the code works + * even if the local character set is not ASCII. + */ + jpeg_write_m_byte(cinfo_ptr, 0x49); + jpeg_write_m_byte(cinfo_ptr, 0x43); + jpeg_write_m_byte(cinfo_ptr, 0x43); + jpeg_write_m_byte(cinfo_ptr, 0x5F); + jpeg_write_m_byte(cinfo_ptr, 0x50); + jpeg_write_m_byte(cinfo_ptr, 0x52); + jpeg_write_m_byte(cinfo_ptr, 0x4F); + jpeg_write_m_byte(cinfo_ptr, 0x46); + jpeg_write_m_byte(cinfo_ptr, 0x49); + jpeg_write_m_byte(cinfo_ptr, 0x4C); + jpeg_write_m_byte(cinfo_ptr, 0x45); + jpeg_write_m_byte(cinfo_ptr, 0x0); + + /* Add the sequencing info */ + jpeg_write_m_byte(cinfo_ptr, cur_marker); + jpeg_write_m_byte(cinfo_ptr, (int) num_markers); + + /* Add the profile data */ + while (length--) + { + jpeg_write_m_byte(cinfo_ptr, *icm_data_ptr); + icm_data_ptr++; + } + cur_marker++; + } +} + +/* ---------------------------------------------------------- */ + +static void xsane_jpeg_embed_scanner_icm_profile(j_compress_ptr cinfo_ptr, const char *icm_filename) +{ + FILE *icm_profile; + size_t size, embed_len; + LPBYTE embed_buffer; + + DBG(DBG_proc, "xsane_jpeg_embed_scanner_icm_profile(%s)\n", icm_filename); + + icm_profile = fopen(icm_filename, "rb"); + if (icm_profile == NULL) + { + return; + } + + fseek(icm_profile, 0, SEEK_END); + size = ftell(icm_profile); + fseek(icm_profile, 0, SEEK_SET); + + embed_buffer = (LPBYTE) malloc(size + 1); + if (embed_buffer) + { + embed_len = fread(embed_buffer, 1, size, icm_profile); + fclose(icm_profile); + embed_buffer[embed_len] = 0; + + xsane_jpeg_write_icm_profile(cinfo_ptr, embed_buffer, embed_len); + free(embed_buffer); + + DBG(DBG_info, "ICM profile %s has been embedded to jpeg file\n", icm_filename); + } +} +#endif + +/* ---------------------------------------------------------- */ + +int xsane_save_jpeg(FILE *outfile, int quality, FILE *imagefile, Image_info *image_info, + cmsHTRANSFORM hTransform, int apply_ICM_profile, int cms_function, + GtkProgressBar *progress_bar, int *cancel_save) { unsigned char *data; char buf[TEXTBUFSIZE]; @@ -3504,12 +4256,15 @@ int xsane_save_jpeg(FILE *outfile, FILE *imagefile, Image_info *image_info, int struct jpeg_compress_struct cinfo; xsane_jpeg_error_mgr jerr; JSAMPROW row_pointer[1]; +#ifdef HAVE_LIBLCMS + unsigned char *data_raw = NULL; +#endif DBG(DBG_proc, "xsane_save_jpeg\n"); *cancel_save = 0; - if (image_info->colors == 3) + if (image_info->channels == 3) { components = 3; } @@ -3528,6 +4283,24 @@ int xsane_save_jpeg(FILE *outfile, FILE *imagefile, Image_info *image_info, int return -1; /* error */ } +#ifdef HAVE_LIBLCMS + if (apply_ICM_profile && (cms_function != XSANE_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE) && (hTransform != NULL)) + { + DBG(DBG_info, "Doing CMS color conversion\n"); + + data_raw = malloc(image_info->image_width * components * bytespp); + + if (!data_raw) + { + free(data); + + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_NO_MEM); + xsane_back_gtk_error(buf, TRUE); + return -1; /* error */ + } + } +#endif + cinfo.err = jpeg_std_error(&jerr.pub); jerr.pub.error_exit = xsane_jpeg_error_exit; jerr.cancel_save = cancel_save; @@ -3537,7 +4310,7 @@ int xsane_save_jpeg(FILE *outfile, FILE *imagefile, Image_info *image_info, int cinfo.image_width = image_info->image_width; cinfo.image_height = image_info->image_height; cinfo.input_components = components; - if (image_info->colors == 3) + if (image_info->channels == 3) { cinfo.in_color_space = JCS_RGB; } @@ -3560,6 +4333,20 @@ int xsane_save_jpeg(FILE *outfile, FILE *imagefile, Image_info *image_info, int jpeg_start_compress(&cinfo, TRUE); +#ifdef HAVE_LIBLCMS + if (apply_ICM_profile) + { + if (cms_function == XSANE_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE) + { + xsane_jpeg_embed_scanner_icm_profile(&cinfo, image_info->icm_profile); + } + else if (cms_function == XSANE_CMS_FUNCTION_CONVERT_TO_WORKING_CS) + { + xsane_jpeg_embed_scanner_icm_profile(&cinfo, preferences.working_color_space_icm_profile); + } + } +#endif + for (y = 0; y < image_info->image_height; y++) { gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height); @@ -3596,7 +4383,18 @@ int xsane_save_jpeg(FILE *outfile, FILE *imagefile, Image_info *image_info, int else if (image_info->depth > 8) /* jpeg does not support 16 bits/sample, so we reduce it at first */ { guint16 *data16 = (guint16 *) data; - fread(data, components * 2, image_info->image_width, imagefile); +#ifdef HAVE_LIBLCMS + if (apply_ICM_profile && (cms_function != XSANE_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE) && (hTransform != NULL)) + { + fread(data_raw, components * 2, image_info->image_width, imagefile); + cmsDoTransform(hTransform, data_raw, data, image_info->image_width); + } + else +#endif + { + fread(data, components * 2, image_info->image_width, imagefile); + } + for (x = 0; x < image_info->image_width * components; x++) { data[x] = data16[x] / 256; @@ -3605,7 +4403,17 @@ int xsane_save_jpeg(FILE *outfile, FILE *imagefile, Image_info *image_info, int } else /* 8 bits/sample */ { - fread(data, components, image_info->image_width, imagefile); +#ifdef HAVE_LIBLCMS + if (apply_ICM_profile && (cms_function != XSANE_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE) && (hTransform != NULL)) + { + fread(data_raw, components, image_info->image_width, imagefile); + cmsDoTransform(hTransform, data_raw, data, image_info->image_width); + } + else +#endif + { + fread(data, components, image_info->image_width, imagefile); + } } row_pointer[0] = data; @@ -3619,6 +4427,13 @@ int xsane_save_jpeg(FILE *outfile, FILE *imagefile, Image_info *image_info, int } jpeg_finish_compress(&cinfo); + +#ifdef HAVE_LIBLCMS + if (data_raw) + { + free(data_raw); + } +#endif free(data); return (*cancel_save); @@ -3628,9 +4443,58 @@ int xsane_save_jpeg(FILE *outfile, FILE *imagefile, Image_info *image_info, int /* ---------------------------------------------------------------------------------------------------------------------- */ #ifdef HAVE_LIBTIFF +#ifdef HAVE_LIBLCMS +static void xsane_tiff_embed_scanner_icm_profile(TIFF *tiffile, const char *icm_filename) +{ + FILE *icm_profile; + size_t size; + char *icm_profile_buffer; + + DBG(DBG_proc, "xsane_tiff_embed_scanner_icm_profile(%s)\n", icm_filename); + if((icm_profile = fopen(icm_filename, "rb"))) + { + fseek(icm_profile, 0, SEEK_END); + size = ftell(icm_profile); + fseek(icm_profile, 0, SEEK_SET); + + icm_profile_buffer = (char *) malloc(size + 1); + + if (icm_profile_buffer) + { + if (fread(icm_profile_buffer, 1, size, icm_profile) == size) + { + icm_profile_buffer[size] = 0; + + TIFFSetField(tiffile, TIFFTAG_ICCPROFILE, size, icm_profile_buffer); + } + else + { + DBG(DBG_error, "Can not read ICM profile data\n"); + } + + free(icm_profile_buffer); + } + else + { + DBG(DBG_error, "Can not get enogh memory for ICM profile\n"); + } + + + fclose(icm_profile); + } + else + { + DBG(DBG_error, "Can not embed ICM profile\n"); + } +} +#endif + +/* ---------------------------------------------------------------------------------------------------------------------- */ + /* pages = 0 => single page tiff, page = 0 */ /* pages > 0 => page = [1 .. pages] */ -int xsane_save_tiff_page(TIFF *tiffile, int page, int pages, FILE *imagefile, Image_info *image_info, int quality, +int xsane_save_tiff_page(TIFF *tiffile, int page, int pages, int quality, FILE *imagefile, Image_info *image_info, + cmsHTRANSFORM hTransform, int apply_ICM_profile, int cms_function, GtkProgressBar *progress_bar, int *cancel_save) { char *data; @@ -3641,6 +4505,9 @@ int xsane_save_tiff_page(TIFF *tiffile, int page, int pages, FILE *imagefile, Im int bytes; struct tm *ptm; time_t now; +#ifdef HAVE_LIBLCMS + char *data_raw = NULL; +#endif DBG(DBG_proc, "xsane_save_tiff_page(%d/%d\n", page, pages); @@ -3660,7 +4527,7 @@ int xsane_save_tiff_page(TIFF *tiffile, int page, int pages, FILE *imagefile, Im } - if (image_info->colors == 3) + if (image_info->channels == 3) { components = 3; } @@ -3686,6 +4553,25 @@ int xsane_save_tiff_page(TIFF *tiffile, int page, int pages, FILE *imagefile, Im xsane_back_gtk_error(buf, TRUE); return -1; /* error */ } + +#ifdef HAVE_LIBLCMS + if ((cms_function != XSANE_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE) && (hTransform != NULL)) + { + DBG(DBG_info, "Doing CMS color conversion\n"); + + data_raw = (char *) malloc(image_info->image_width * components * bytes); + + if (!data_raw) + { + _TIFFfree(data); + + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_NO_MEM); + xsane_back_gtk_error(buf, TRUE); + return -1; /* error */ + } + } +#endif + TIFFSetField(tiffile, TIFFTAG_IMAGEWIDTH, image_info->image_width); TIFFSetField(tiffile, TIFFTAG_IMAGELENGTH, image_info->image_height); @@ -3717,7 +4603,7 @@ int xsane_save_tiff_page(TIFF *tiffile, int page, int pages, FILE *imagefile, Im TIFFSetField(tiffile, TIFFTAG_JPEGQUALITY, quality); } - if (image_info->colors == 3) + if (image_info->channels == 3) { if (compression == COMPRESSION_JPEG) { @@ -3728,6 +4614,20 @@ int xsane_save_tiff_page(TIFF *tiffile, int page, int pages, FILE *imagefile, Im { TIFFSetField(tiffile, TIFFTAG_PHOTOMETRIC, PHOTOMETRIC_RGB); } + +#ifdef HAVE_LIBLCMS + if (apply_ICM_profile) + { + if (cms_function == XSANE_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE) + { + xsane_tiff_embed_scanner_icm_profile(tiffile, image_info->icm_profile); + } + else if (cms_function == XSANE_CMS_FUNCTION_CONVERT_TO_WORKING_CS) + { + xsane_tiff_embed_scanner_icm_profile(tiffile, preferences.working_color_space_icm_profile); + } + } +#endif } else { @@ -3760,7 +4660,17 @@ int xsane_save_tiff_page(TIFF *tiffile, int page, int pages, FILE *imagefile, Im gtk_main_iteration(); } - fread(data, 1, w, imagefile); +#ifdef HAVE_LIBLCMS + if ((cms_function != XSANE_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE) && (hTransform != NULL)) + { + fread(data_raw, 1, w, imagefile); + cmsDoTransform(hTransform, data_raw, data, image_info->image_width); + } + else +#endif + { + fread(data, 1, w, imagefile); + } if (TIFFWriteScanline(tiffile, data, y, 0) != 1) { @@ -3784,6 +4694,13 @@ int xsane_save_tiff_page(TIFF *tiffile, int page, int pages, FILE *imagefile, Im TIFFWriteDirectory(tiffile); } +#ifdef HAVE_LIBLCMS + if (data_raw) + { + free(data_raw); + } +#endif + _TIFFfree(data); return (*cancel_save); } @@ -3791,9 +4708,60 @@ int xsane_save_tiff_page(TIFF *tiffile, int page, int pages, FILE *imagefile, Im /* ---------------------------------------------------------------------------------------------------------------------- */ +#if defined(PNG_iCCP_SUPPORTED) +#ifdef HAVE_LIBLCMS +static void xsane_png_embed_scanner_icm_profile(png_structp png_ptr, png_infop png_info_ptr, const char *icm_filename) +{ + FILE *icm_profile; + gchar *profile_buffer; + size_t size; + + DBG(DBG_proc, "xsane_png_embed_scanner_icm_profile(%s)\n", icm_filename); + icm_profile = fopen(icm_filename, "rb"); + + if (icm_profile) + { + fseek(icm_profile, 0, SEEK_END); + size = ftell(icm_profile); + fseek(icm_profile, 0, SEEK_SET); + + profile_buffer = malloc(size); + + if (profile_buffer) + { + if (fread(profile_buffer, 1, size, icm_profile) == size) + { + png_set_iCCP(png_ptr, png_info_ptr, "ICC profile", 0, profile_buffer, size); + } + else + { + DBG(DBG_error, "can not read ICC profile data\n"); + } + + free(profile_buffer); + } + else + { + DBG(DBG_error, "can not allocate profile_buffer\n"); + } + + fclose(icm_profile); + } + else + { + DBG(DBG_error, "can not open ICM-profile\n"); + } +} +#endif +#endif + +/* ---------------------------------------------------------------------------------------------------------------------- */ + #ifdef HAVE_LIBPNG #ifdef HAVE_LIBZ -int xsane_save_png(FILE *outfile, FILE *imagefile, Image_info *image_info, int compression, GtkProgressBar *progress_bar, int *cancel_save) +int xsane_save_png(FILE *outfile, int compression, FILE *imagefile, Image_info *image_info, + cmsHTRANSFORM hTransform, int apply_ICM_profile, int cms_function, + GtkProgressBar *progress_bar, int *cancel_save) { png_structp png_ptr; png_infop png_info_ptr; @@ -3803,6 +4771,9 @@ int xsane_save_png(FILE *outfile, FILE *imagefile, Image_info *image_info, int c char buf[TEXTBUFSIZE]; int colortype, components, byte_width; int y; +#ifdef HAVE_LIBLCMS + unsigned char *data_raw = NULL; +#endif DBG(DBG_proc, "xsane_save_png\n"); @@ -3834,12 +4805,12 @@ int xsane_save_png(FILE *outfile, FILE *imagefile, Image_info *image_info, int c byte_width = image_info->image_width; - if (image_info->colors == 4) /* RGBA */ + if (image_info->channels == 4) /* RGBA */ { components = 4; colortype = PNG_COLOR_TYPE_RGB_ALPHA; } - else if (image_info->colors == 3) /* RGB */ + else if (image_info->channels == 3) /* RGB */ { components = 3; colortype = PNG_COLOR_TYPE_RGB; @@ -3855,13 +4826,13 @@ int xsane_save_png(FILE *outfile, FILE *imagefile, Image_info *image_info, int c png_set_IHDR(png_ptr, png_info_ptr, image_info->image_width, image_info->image_height, image_info->depth, colortype, PNG_INTERLACE_NONE, PNG_COMPRESSION_TYPE_BASE, PNG_FILTER_TYPE_BASE); - if (image_info->colors >=3) + if (image_info->channels >=3) { sig_bit.red = image_info->depth; sig_bit.green = image_info->depth; sig_bit.blue = image_info->depth; - if (image_info->colors == 4) + if (image_info->channels == 4) { sig_bit.alpha = image_info->depth; } @@ -3884,6 +4855,23 @@ int xsane_save_png(FILE *outfile, FILE *imagefile, Image_info *image_info, int c image_info->resolution_x * 100.0 / 2.54, image_info->resolution_y * 100.0 / 2.54, PNG_RESOLUTION_METER); #endif + +#if defined(PNG_iCCP_SUPPORTED) +#ifdef HAVE_LIBLCMS + if (apply_ICM_profile) + { + if (cms_function == XSANE_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE) + { + xsane_png_embed_scanner_icm_profile(png_ptr, png_info_ptr, image_info->icm_profile); + } + else if (cms_function == XSANE_CMS_FUNCTION_CONVERT_TO_WORKING_CS) + { + xsane_png_embed_scanner_icm_profile(png_ptr, png_info_ptr, preferences.working_color_space_icm_profile); + } + } +#endif +#endif + png_write_info(png_ptr, png_info_ptr); png_set_shift(png_ptr, &sig_bit); @@ -3897,6 +4885,25 @@ int xsane_save_png(FILE *outfile, FILE *imagefile, Image_info *image_info, int c return -1; /* error */ } +#ifdef HAVE_LIBLCMS + if ((cms_function != XSANE_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE) && (hTransform != NULL)) + { + DBG(DBG_info, "Doing CMS color conversion\n"); + + data_raw = malloc(image_info->image_width * components); + + if (!data_raw) + { + free(data); + + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_NO_MEM); + xsane_back_gtk_error(buf, TRUE); + png_destroy_write_struct(&png_ptr, (png_infopp) 0); + return -1; /* error */ + } + } +#endif + for (y = 0; y < image_info->image_height; y++) { gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height); @@ -3905,7 +4912,17 @@ int xsane_save_png(FILE *outfile, FILE *imagefile, Image_info *image_info, int c gtk_main_iteration(); } - fread(data, components, byte_width, imagefile); +#ifdef HAVE_LIBLCMS + if ((cms_function != XSANE_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE) && (hTransform != NULL)) + { + fread(data_raw, components, byte_width, imagefile); + cmsDoTransform(hTransform, data_raw, data, image_info->image_width); + } + else +#endif + { + fread(data, components, byte_width, imagefile); + } row_ptr = data; png_write_rows(png_ptr, &row_ptr, 1); /* errors are caught by test sor setjmp(...) */ @@ -3916,6 +4933,12 @@ int xsane_save_png(FILE *outfile, FILE *imagefile, Image_info *image_info, int c } } +#ifdef HAVE_LIBLCMS + if (data_raw) + { + free(data_raw); + } +#endif free(data); png_write_end(png_ptr, png_info_ptr); png_destroy_write_struct(&png_ptr, (png_infopp) 0); @@ -3929,7 +4952,9 @@ int xsane_save_png(FILE *outfile, FILE *imagefile, Image_info *image_info, int c #ifdef HAVE_LIBPNG #ifdef HAVE_LIBZ -int xsane_save_png_16(FILE *outfile, FILE *imagefile, Image_info *image_info, int compression, GtkProgressBar *progress_bar, int *cancel_save) +int xsane_save_png_16(FILE *outfile, int compression, FILE *imagefile, Image_info *image_info, + cmsHTRANSFORM hTransform, int apply_ICM_profile, int cms_function, + GtkProgressBar *progress_bar, int *cancel_save) { png_structp png_ptr; png_infop png_info_ptr; @@ -3938,8 +4963,10 @@ int xsane_save_png_16(FILE *outfile, FILE *imagefile, Image_info *image_info, in unsigned char *data; char buf[TEXTBUFSIZE]; int colortype, components; - int x,y; - guint16 val; + int y; +#ifdef HAVE_LIBLCMS + unsigned char *data_raw = NULL; +#endif DBG(DBG_proc, "xsane_save_png16\n"); @@ -3969,12 +4996,12 @@ int xsane_save_png_16(FILE *outfile, FILE *imagefile, Image_info *image_info, in return -1; /* error */ } - if (image_info->colors == 4) /* RGBA */ + if (image_info->channels == 4) /* RGBA */ { components = 4; colortype = PNG_COLOR_TYPE_RGB_ALPHA; } - else if (image_info->colors == 3) /* RGB */ + else if (image_info->channels == 3) /* RGB */ { components = 3; colortype = PNG_COLOR_TYPE_RGB; @@ -3997,6 +5024,29 @@ int xsane_save_png_16(FILE *outfile, FILE *imagefile, Image_info *image_info, in sig_bit.gray = image_info->depth; png_set_sBIT(png_ptr, png_info_ptr, &sig_bit); + +#if defined(PNG_pHYs_SUPPORTED) + png_set_pHYs(png_ptr, png_info_ptr, + image_info->resolution_x * 100.0 / 2.54, + image_info->resolution_y * 100.0 / 2.54, PNG_RESOLUTION_METER); +#endif + +#if defined(PNG_iCCP_SUPPORTED) +#ifdef HAVE_LIBLCMS + if (apply_ICM_profile) + { + if (cms_function == XSANE_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE) + { + xsane_png_embed_scanner_icm_profile(png_ptr, png_info_ptr, image_info->icm_profile); + } + else if (cms_function == XSANE_CMS_FUNCTION_CONVERT_TO_WORKING_CS) + { + xsane_png_embed_scanner_icm_profile(png_ptr, png_info_ptr, preferences.working_color_space_icm_profile); + } + } +#endif +#endif + png_write_info(png_ptr, png_info_ptr); png_set_shift(png_ptr, &sig_bit); png_set_packing(png_ptr); @@ -4011,6 +5061,25 @@ int xsane_save_png_16(FILE *outfile, FILE *imagefile, Image_info *image_info, in return -1; /* error */ } +#ifdef HAVE_LIBLCMS + if ((cms_function != XSANE_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE) && (hTransform != NULL)) + { + DBG(DBG_info, "Doing CMS color conversion\n"); + + data_raw = malloc(image_info->image_width * components * 2); + + if (!data_raw) + { + free(data); + + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_NO_MEM); + xsane_back_gtk_error(buf, TRUE); + png_destroy_write_struct(&png_ptr, (png_infopp) 0); + return -1; /* error */ + } + } +#endif + for (y = 0; y < image_info->image_height; y++) { gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height); @@ -4019,13 +5088,34 @@ int xsane_save_png_16(FILE *outfile, FILE *imagefile, Image_info *image_info, in gtk_main_iteration(); } - for (x = 0; x < image_info->image_width * components; x++) /* this must be changed in dependance of endianess */ +#ifdef HAVE_LIBLCMS + if ((cms_function != XSANE_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE) && (hTransform != NULL)) + { + fread(data_raw, components * 2, image_info->image_width, imagefile); + cmsDoTransform(hTransform, data_raw, data, image_info->image_width); + } + else +#endif { - fread(&val, 2, 1, imagefile); /* get data in machine order */ - data[x*2+0] = val / 256; /* write data in network order (MSB first) */ - data[x*2+1] = val & 255; + fread(data, components * 2, image_info->image_width, imagefile); } +#if __BYTE_ORDER == __LITTLE_ENDIAN + /* we have to write data in network order (MSB first), so when we run on a low endian machine then we have to swap bytes */ + { + int x; + + for (x = 0; x < image_info->image_width * components; x++) + { + unsigned char help; + + help = data[x*2+1]; + data[x*2+0] = data[x*2+1]; + data[x*2+1] = help; + } + } +#endif /* LITTLE_ENDIAN */ + row_ptr = data; png_write_rows(png_ptr, &row_ptr, 1); if (*cancel_save) @@ -4034,6 +5124,12 @@ int xsane_save_png_16(FILE *outfile, FILE *imagefile, Image_info *image_info, in } } +#ifdef HAVE_LIBLCMS + if (data_raw) + { + free(data_raw); + } +#endif free(data); png_write_end(png_ptr, png_info_ptr); png_destroy_write_struct(&png_ptr, (png_infopp) 0); @@ -4045,22 +5141,69 @@ int xsane_save_png_16(FILE *outfile, FILE *imagefile, Image_info *image_info, in /* ---------------------------------------------------------------------------------------------------------------------- */ -static int xsane_save_pnm_16_ascii_gray(FILE *outfile, FILE *imagefile, Image_info *image_info, GtkProgressBar *progress_bar, int *cancel_save) +static int xsane_save_pnm_16_ascii_gray(FILE *outfile, FILE *imagefile, Image_info *image_info, + cmsHTRANSFORM hTransform, int apply_ICM_profile, + GtkProgressBar *progress_bar, int *cancel_save) { int x,y; - guint16 val; + guint16 *data; int count = 0; +#ifdef HAVE_LIBLCMS + guint16 *data_raw = NULL; +#endif DBG(DBG_proc, "xsane_save_pnm_16_ascii_gray\n"); *cancel_save = 0; + data = malloc(image_info->image_width * 2); + + if (!data) + { + char buf[TEXTBUFSIZE]; + + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_NO_MEM); + xsane_back_gtk_error(buf, TRUE); + return -1; /* error */ + } + +#ifdef HAVE_LIBLCMS + if ((apply_ICM_profile) && (hTransform != NULL)) + { + DBG(DBG_info, "Doing CMS color conversion\n"); + + data_raw = malloc(image_info->image_width * 2); + + if (!data_raw) + { + char buf[TEXTBUFSIZE]; + + free(data); + + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_NO_MEM); + xsane_back_gtk_error(buf, TRUE); + return -1; /* error */ + } + } +#endif + for (y = 0; y < image_info->image_height; y++) { +#ifdef HAVE_LIBLCMS + if ((apply_ICM_profile) && (hTransform != NULL)) + { + fread(data_raw, 2, image_info->image_width, imagefile); + cmsDoTransform(hTransform, data_raw, data, image_info->image_width); + } + else +#endif + { + fread(data, 2, image_info->image_width, imagefile); + } + for (x = 0; x < image_info->image_width; x++) { - fread(&val, 2, 1, imagefile); /* get data in machine order */ - fprintf(outfile, "%d ", val); + fprintf(outfile, "%d ", data[x]); if (++count >= 10) { @@ -4068,6 +5211,7 @@ static int xsane_save_pnm_16_ascii_gray(FILE *outfile, FILE *imagefile, Image_in count = 0; } } + fprintf(outfile, "\n"); if (ferror(outfile)) @@ -4094,33 +5238,85 @@ static int xsane_save_pnm_16_ascii_gray(FILE *outfile, FILE *imagefile, Image_in } } +#ifdef HAVE_LIBLCMS + if (data_raw) + { + free(data_raw); + } +#endif + free(data); + return (*cancel_save); } /* ---------------------------------------------------------------------------------------------------------------------- */ -static int xsane_save_pnm_16_ascii_color(FILE *outfile, FILE *imagefile, Image_info *image_info, GtkProgressBar *progress_bar, int *cancel_save) +static int xsane_save_pnm_16_ascii_color(FILE *outfile, FILE *imagefile, Image_info *image_info, + cmsHTRANSFORM hTransform, int apply_ICM_profile, + GtkProgressBar *progress_bar, int *cancel_save) { int x,y; - guint16 val; + guint16 *data; int count = 0; +#ifdef HAVE_LIBLCMS + guint16 *data_raw = NULL; +#endif DBG(DBG_proc, "xsane_save_pnm_16_ascii_color\n"); *cancel_save = 0; - for (y = 0; y < image_info->image_height; y++) + + data = malloc(image_info->image_width * 6); + + if (!data) { - for (x = 0; x < image_info->image_width; x++) + char buf[TEXTBUFSIZE]; + + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_NO_MEM); + xsane_back_gtk_error(buf, TRUE); + return -1; /* error */ + } + +#ifdef HAVE_LIBLCMS + if ((apply_ICM_profile) && (hTransform != NULL)) + { + DBG(DBG_info, "Doing CMS color conversion\n"); + + data_raw = malloc(image_info->image_width * 6); + + if (!data_raw) { - fread(&val, 2, 1, imagefile); /* get data in machine order */ - fprintf(outfile, "%d ", val); + char buf[TEXTBUFSIZE]; + + free(data); - fread(&val, 2, 1, imagefile); - fprintf(outfile, "%d ", val); + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_NO_MEM); + xsane_back_gtk_error(buf, TRUE); + return -1; /* error */ + } + } +#endif - fread(&val, 2, 1, imagefile); - fprintf(outfile, "%d ", val); + for (y = 0; y < image_info->image_height; y++) + { +#ifdef HAVE_LIBLCMS + if ((apply_ICM_profile) && (hTransform != NULL)) + { + fread(data_raw, 6, image_info->image_width, imagefile); + cmsDoTransform(hTransform, data_raw, data, image_info->image_width); + } + else +#endif + { + fread(data, 6, image_info->image_width, imagefile); + } + + for (x = 0; x < image_info->image_width; x++) + { + fprintf(outfile, "%d ", data[3*x+0]); + fprintf(outfile, "%d ", data[3*x+1]); + fprintf(outfile, "%d ", data[3*x+2]); if (++count >= 3) { @@ -4155,27 +5351,82 @@ static int xsane_save_pnm_16_ascii_color(FILE *outfile, FILE *imagefile, Image_i } } +#ifdef HAVE_LIBLCMS + if (data_raw) + { + free(data_raw); + } +#endif + free(data); + return (*cancel_save); } /* ---------------------------------------------------------------------------------------------------------------------- */ -static int xsane_save_pnm_16_binary_gray(FILE *outfile, FILE *imagefile, Image_info *image_info, GtkProgressBar *progress_bar, int *cancel_save) +static int xsane_save_pnm_16_binary_gray(FILE *outfile, FILE *imagefile, Image_info *image_info, + cmsHTRANSFORM hTransform, int apply_ICM_profile, + GtkProgressBar *progress_bar, int *cancel_save) { int x,y; - guint16 val; + guint16 *data; +#ifdef HAVE_LIBLCMS + guint16 *data_raw = NULL; +#endif DBG(DBG_proc, "xsane_save_pnm_16_binary_gray\n"); *cancel_save = 0; + data = malloc(image_info->image_width * 2); + + if (!data) + { + char buf[TEXTBUFSIZE]; + + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_NO_MEM); + xsane_back_gtk_error(buf, TRUE); + return -1; /* error */ + } + +#ifdef HAVE_LIBLCMS + if (hTransform != NULL) + { + DBG(DBG_info, "Doing CMS color conversion\n"); + + data_raw = malloc(image_info->image_width * 2); + + if (!data_raw) + { + char buf[TEXTBUFSIZE]; + + free(data); + + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_NO_MEM); + xsane_back_gtk_error(buf, TRUE); + return -1; /* error */ + } + } +#endif + for (y = 0; y < image_info->image_height; y++) { +#ifdef HAVE_LIBLCMS + if (hTransform != NULL) + { + fread(data_raw, 2, image_info->image_width, imagefile); + cmsDoTransform(hTransform, data_raw, data, image_info->image_width); + } + else +#endif + { + fread(data, 2, image_info->image_width, imagefile); + } + for (x = 0; x < image_info->image_width; x++) { - fread(&val, 2, 1, imagefile); /* get data in machine order */ - fputc(val / 256, outfile); /* MSB fist */ - fputc(val & 255, outfile); /* LSB */ + fputc(data[3*x+0] / 256, outfile); + fputc(data[3*x+0] & 255, outfile); } gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height); @@ -4201,38 +5452,289 @@ static int xsane_save_pnm_16_binary_gray(FILE *outfile, FILE *imagefile, Image_i } } +#ifdef HAVE_LIBLCMS + if (data_raw) + { + free(data_raw); + } +#endif + free(data); + return (*cancel_save); } /* ---------------------------------------------------------------------------------------------------------------------- */ -static int xsane_save_pnm_16_binary_color(FILE *outfile, FILE *imagefile, Image_info *image_info, GtkProgressBar *progress_bar, int *cancel_save) +static int xsane_save_pnm_16_binary_color(FILE *outfile, FILE *imagefile, Image_info *image_info, + cmsHTRANSFORM hTransform, int apply_ICM_profile, + GtkProgressBar *progress_bar, int *cancel_save) { int x,y; - guint16 val; + guint16 *data; +#ifdef HAVE_LIBLCMS + guint16 *data_raw = NULL; +#endif DBG(DBG_proc, "xsane_save_pnm_16_binary_color\n"); *cancel_save = 0; + data = malloc(image_info->image_width * 6); + + if (!data) + { + char buf[TEXTBUFSIZE]; + + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_NO_MEM); + xsane_back_gtk_error(buf, TRUE); + return -1; /* error */ + } + +#ifdef HAVE_LIBLCMS + if (hTransform != NULL) + { + DBG(DBG_info, "Doing CMS color conversion\n"); + + data_raw = malloc(image_info->image_width * 6); + + if (!data_raw) + { + char buf[TEXTBUFSIZE]; + + free(data); + + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_NO_MEM); + xsane_back_gtk_error(buf, TRUE); + return -1; /* error */ + } + } +#endif + for (y = 0; y < image_info->image_height; y++) { +#ifdef HAVE_LIBLCMS + if (hTransform != NULL) + { + fread(data_raw, 6, image_info->image_width, imagefile); + cmsDoTransform(hTransform, data_raw, data, image_info->image_width); + } + else +#endif + { + fread(data, 6, image_info->image_width, imagefile); + } + for (x = 0; x < image_info->image_width; x++) { - /* red */ - fread(&val, 2, 1, imagefile); /* get data in machine order */ - fputc(val / 256, outfile); /* MSB fist */ - fputc(val & 255, outfile); /* LSB */ + fputc(data[3*x+0] / 256, outfile); + fputc(data[3*x+0] & 255, outfile); + fputc(data[3*x+1] / 256, outfile); + fputc(data[3*x+1] & 255, outfile); + fputc(data[3*x+2] / 256, outfile); + fputc(data[3*x+2] & 255, outfile); + } + + gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height); + while (gtk_events_pending()) + { + gtk_main_iteration(); + } + + + if (ferror(outfile)) + { + char buf[TEXTBUFSIZE]; + + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); + DBG(DBG_error, "%s\n", buf); + xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); + *cancel_save = 1; + break; + } + + if (*cancel_save) + { + break; + } + } + +#ifdef HAVE_LIBLCMS + if (data_raw) + { + free(data_raw); + } +#endif + free(data); + + return (*cancel_save); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static int xsane_save_pnm_8_gray(FILE *outfile, FILE *imagefile, Image_info *image_info, + cmsHTRANSFORM hTransform, int apply_ICM_profile, + GtkProgressBar *progress_bar, int *cancel_save) +{ + int x,y; + guint8 *data; +#ifdef HAVE_LIBLCMS + guint8 *data_raw = NULL; +#endif + + DBG(DBG_proc, "xsane_save_pnm_8_gray\n"); + + *cancel_save = 0; + + data = malloc(image_info->image_width); + + if (!data) + { + char buf[TEXTBUFSIZE]; + + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_NO_MEM); + xsane_back_gtk_error(buf, TRUE); + return -1; /* error */ + } + +#ifdef HAVE_LIBLCMS + if (hTransform != NULL) + { + DBG(DBG_info, "Doing CMS color conversion\n"); + + data_raw = malloc(image_info->image_width); + + if (!data_raw) + { + char buf[TEXTBUFSIZE]; - /* green */ - fread(&val, 2, 1, imagefile); /* get data in machine order */ - fputc(val / 256, outfile); /* MSB fist */ - fputc(val & 255, outfile); /* LSB */ + free(data); - /* blue */ - fread(&val, 2, 1, imagefile); /* get data in machine order */ - fputc(val / 256, outfile); /* MSB fist */ - fputc(val & 255, outfile); /* LSB */ + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_NO_MEM); + xsane_back_gtk_error(buf, TRUE); + return -1; /* error */ + } + } +#endif + + for (y = 0; y < image_info->image_height; y++) + { +#ifdef HAVE_LIBLCMS + if (hTransform != NULL) + { + fread(data_raw, 1, image_info->image_width, imagefile); + cmsDoTransform(hTransform, data_raw, data, image_info->image_width); + } + else +#endif + { + fread(data, 1, image_info->image_width, imagefile); + } + + for (x = 0; x < image_info->image_width; x++) + { + fputc(data[x], outfile); + } + + gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height); + while (gtk_events_pending()) + { + gtk_main_iteration(); + } + + + if (ferror(outfile)) + { + char buf[TEXTBUFSIZE]; + + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); + DBG(DBG_error, "%s\n", buf); + xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); + *cancel_save = 1; + break; + } + + if (*cancel_save) + { + break; + } + } + +#ifdef HAVE_LIBLCMS + if (data_raw) + { + free(data_raw); + } +#endif + free(data); + + return (*cancel_save); +} +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static int xsane_save_pnm_8_color(FILE *outfile, FILE *imagefile, Image_info *image_info, + cmsHTRANSFORM hTransform, int apply_ICM_profile, + GtkProgressBar *progress_bar, int *cancel_save) +{ + int x,y; + guint8 *data; +#ifdef HAVE_LIBLCMS + guint8 *data_raw = NULL; +#endif + + DBG(DBG_proc, "xsane_save_pnm_8_color\n"); + + *cancel_save = 0; + + data = malloc(image_info->image_width * 3); + + if (!data) + { + char buf[TEXTBUFSIZE]; + + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_NO_MEM); + xsane_back_gtk_error(buf, TRUE); + return -1; /* error */ + } + +#ifdef HAVE_LIBLCMS + if (hTransform != NULL) + { + DBG(DBG_info, "Doing CMS color conversion\n"); + + data_raw = malloc(image_info->image_width * 3); + + if (!data_raw) + { + char buf[TEXTBUFSIZE]; + + free(data); + + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_NO_MEM); + xsane_back_gtk_error(buf, TRUE); + return -1; /* error */ + } + } +#endif + + for (y = 0; y < image_info->image_height; y++) + { +#ifdef HAVE_LIBLCMS + if (hTransform != NULL) + { + fread(data_raw, 3, image_info->image_width, imagefile); + cmsDoTransform(hTransform, data_raw, data, image_info->image_width); + } + else +#endif + { + fread(data, 3, image_info->image_width, imagefile); + } + + for (x = 0; x < image_info->image_width; x++) + { + fputc(data[3*x+0], outfile); + fputc(data[3*x+1], outfile); + fputc(data[3*x+2], outfile); } gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height); @@ -4259,12 +5761,46 @@ static int xsane_save_pnm_16_binary_color(FILE *outfile, FILE *imagefile, Image_ } } +#ifdef HAVE_LIBLCMS + if (data_raw) + { + free(data_raw); + } +#endif + free(data); + + return (*cancel_save); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static int xsane_save_pnm_8(FILE *outfile, FILE *imagefile, Image_info *image_info, + cmsHTRANSFORM hTransform, int apply_ICM_profile, + GtkProgressBar *progress_bar, int *cancel_save) +{ + DBG(DBG_proc, "xsane_save_pnm_8\n"); + + *cancel_save = 0; + + xsane_write_pnm_header(outfile, image_info, preferences.save_pnm16_as_ascii); + + if (image_info->channels > 1) + { + xsane_save_pnm_8_color(outfile, imagefile, image_info, hTransform, apply_ICM_profile, progress_bar, cancel_save); + } + else + { + xsane_save_pnm_8_gray(outfile, imagefile, image_info, hTransform, apply_ICM_profile, progress_bar, cancel_save); + } + return (*cancel_save); } /* ---------------------------------------------------------------------------------------------------------------------- */ -int xsane_save_pnm_16(FILE *outfile, FILE *imagefile, Image_info *image_info, GtkProgressBar *progress_bar, int *cancel_save) +int xsane_save_pnm_16(FILE *outfile, FILE *imagefile, Image_info *image_info, + cmsHTRANSFORM hTransform, int apply_ICM_profile, + GtkProgressBar *progress_bar, int *cancel_save) { DBG(DBG_proc, "xsane_save_pnm_16\n"); @@ -4272,26 +5808,26 @@ int xsane_save_pnm_16(FILE *outfile, FILE *imagefile, Image_info *image_info, Gt xsane_write_pnm_header(outfile, image_info, preferences.save_pnm16_as_ascii); - if (image_info->colors > 1) + if (image_info->channels > 1) { if (preferences.save_pnm16_as_ascii) { - xsane_save_pnm_16_ascii_color(outfile, imagefile, image_info, progress_bar, cancel_save); + xsane_save_pnm_16_ascii_color(outfile, imagefile, image_info, hTransform, apply_ICM_profile, progress_bar, cancel_save); } else { - xsane_save_pnm_16_binary_color(outfile, imagefile, image_info, progress_bar, cancel_save); + xsane_save_pnm_16_binary_color(outfile, imagefile, image_info, hTransform, apply_ICM_profile, progress_bar, cancel_save); } } else { if (preferences.save_pnm16_as_ascii) { - xsane_save_pnm_16_ascii_gray(outfile, imagefile, image_info, progress_bar, cancel_save); + xsane_save_pnm_16_ascii_gray(outfile, imagefile, image_info, hTransform, apply_ICM_profile, progress_bar, cancel_save); } else { - xsane_save_pnm_16_binary_gray(outfile, imagefile, image_info, progress_bar, cancel_save); + xsane_save_pnm_16_binary_gray(outfile, imagefile, image_info, hTransform, apply_ICM_profile, progress_bar, cancel_save); } } @@ -4299,7 +5835,6 @@ int xsane_save_pnm_16(FILE *outfile, FILE *imagefile, Image_info *image_info, Gt } /* ---------------------------------------------------------------------------------------------------------------------- */ -/* ---------------------------------------------------------------------------------------------------------------------- */ /* 0=ok, <0=error, 1=canceled */ int xsane_save_image_as_lineart(char *output_filename, char *input_filename, GtkProgressBar *progress_bar, int *cancel_save) @@ -4524,14 +6059,17 @@ int xsane_save_image_as_text(char *output_filename, char *input_filename, GtkPro /* ---------------------------------------------------------------------------------------------------------------------- */ /* save image in destination file format. lineart images that are stored as grayscale image are reduced to lineart! */ -int xsane_save_image_as(char *output_filename, char *input_filename, int output_format, GtkProgressBar *progress_bar, int *cancel_save) +int xsane_save_image_as(char *output_filename, char *input_filename, int output_format, + int apply_ICM_profile, int cms_function, int cms_intent, int cms_bpc, + GtkProgressBar *progress_bar, int *cancel_save) { FILE *outfile; FILE *infile; char buf[TEXTBUFSIZE]; Image_info image_info; - char lineart_filename[PATH_MAX]; + char temporary_filename[PATH_MAX]; int remove_input_file = FALSE; + cmsHTRANSFORM hTransform = NULL; DBG(DBG_proc, "xsane_save_image_as(output_file=%s, input_file=%s, type=%d)\n", output_filename, input_filename, output_format); @@ -4553,7 +6091,7 @@ int xsane_save_image_as(char *output_filename, char *input_filename, int output_ { DBG(DBG_info, "original image is a lineart => reduce to lineart\n"); fclose(infile); - xsane_back_gtk_make_path(sizeof(lineart_filename), lineart_filename, 0, 0, "xsane-conversion-", xsane.dev_name, ".pbm", XSANE_PATH_TMP); + xsane_back_gtk_make_path(sizeof(temporary_filename), temporary_filename, 0, 0, "xsane-conversion-", xsane.dev_name, ".pbm", XSANE_PATH_TMP); snprintf(buf, sizeof(buf), "%s: %s", PROGRESS_PACKING_DATA, output_filename); @@ -4565,9 +6103,9 @@ int xsane_save_image_as(char *output_filename, char *input_filename, int output_ gtk_main_iteration(); } - xsane_save_image_as_lineart(lineart_filename, input_filename, progress_bar, cancel_save); + xsane_save_image_as_lineart(temporary_filename, input_filename, progress_bar, cancel_save); - input_filename = lineart_filename; + input_filename = temporary_filename; remove_input_file = TRUE; infile = fopen(input_filename, "rb"); /* read binary (b for win32) */ @@ -4583,8 +6121,23 @@ int xsane_save_image_as(char *output_filename, char *input_filename, int output_ xsane_read_pnm_header(infile, &image_info); } - snprintf(buf, sizeof(buf), "%s: %s", PROGRESS_SAVING_DATA, output_filename); +#ifdef HAVE_LIBLCMS + if (apply_ICM_profile && ((cms_function != XSANE_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE) || ((output_format == XSANE_PNM) || (output_format == XSANE_PNM16)))) + { + hTransform = xsane_create_cms_transform(&image_info, cms_function, cms_intent, cms_bpc); + } +#endif + + if (1) + { + snprintf(buf, sizeof(buf), "%s: %s", PROGRESS_SAVING_DATA, output_filename); + } + else + { + snprintf(buf, sizeof(buf), "%s", PROGRESS_SAVING_DATA); + } + gtk_progress_bar_set_ellipsize(GTK_PROGRESS_BAR(progress_bar), PANGO_ELLIPSIZE_START); /* this is new API, can be removed for old GTK versions */ gtk_progress_set_format_string(GTK_PROGRESS(progress_bar), buf); gtk_progress_bar_update(GTK_PROGRESS_BAR(progress_bar), 0.0); @@ -4614,7 +6167,7 @@ int xsane_save_image_as(char *output_filename, char *input_filename, int output_ return -1; /* error */ } - xsane_save_tiff_page(tiffile, 0, 0, infile, &image_info, preferences.jpeg_quality, progress_bar, cancel_save); + xsane_save_tiff_page(tiffile, 0, 0, preferences.jpeg_quality, infile, &image_info, hTransform, apply_ICM_profile, cms_function, progress_bar, cancel_save); TIFFClose(tiffile); } @@ -4641,13 +6194,13 @@ int xsane_save_image_as(char *output_filename, char *input_filename, int output_ } else { - xsane_copy_file(outfile, infile, progress_bar, cancel_save); + xsane_save_pnm_8(outfile, infile, &image_info, hTransform, apply_ICM_profile, progress_bar, cancel_save); } break; #ifdef HAVE_LIBJPEG case XSANE_JPEG: - xsane_save_jpeg(outfile, infile, &image_info, preferences.jpeg_quality, progress_bar, cancel_save); + xsane_save_jpeg(outfile, preferences.jpeg_quality, infile, &image_info, hTransform, apply_ICM_profile, cms_function, progress_bar, cancel_save); break; /* switch format == XSANE_JPEG */ #endif @@ -4656,18 +6209,18 @@ int xsane_save_image_as(char *output_filename, char *input_filename, int output_ case XSANE_PNG: if (image_info.depth <= 8) { - xsane_save_png(outfile, infile, &image_info, preferences.png_compression, progress_bar, cancel_save); + xsane_save_png(outfile, preferences.png_compression, infile, &image_info, hTransform, apply_ICM_profile, cms_function, progress_bar, cancel_save); } else { - xsane_save_png_16(outfile, infile, &image_info, preferences.png_compression, progress_bar, cancel_save); + xsane_save_png_16(outfile, preferences.png_compression, infile, &image_info, hTransform, apply_ICM_profile, cms_function, progress_bar, cancel_save); } break; /* switch format == XSANE_PNG */ #endif #endif case XSANE_PNM16: - xsane_save_pnm_16(outfile, infile, &image_info, progress_bar, cancel_save); + xsane_save_pnm_16(outfile, infile, &image_info, hTransform, apply_ICM_profile, progress_bar, cancel_save); break; /* switch fomat == XSANE_PNM16 */ case XSANE_PS: /* save postscript, use original size */ @@ -4685,7 +6238,11 @@ int xsane_save_image_as(char *output_filename, char *input_filename, int output_ (int) imagewidth, /* paper_width */ (int) imageheight, /* paper_height */ 0 /* portrait top left */, - preferences.save_ps_flatdecoded, + preferences.save_ps_flatedecoded, + hTransform, apply_ICM_profile, + (cms_function == XSANE_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE), image_info.icm_profile, + 0, NULL, 0, /* no CRD */ + 0 /* intent */, progress_bar, cancel_save); } @@ -4706,7 +6263,8 @@ int xsane_save_image_as(char *output_filename, char *input_filename, int output_ (int) imagewidth, /* paper_width */ (int) imageheight, /* paper_height */ 0 /* portrait top left */, - preferences.save_pdf_flatdecoded, + preferences.save_pdf_flatedecoded, + hTransform, apply_ICM_profile, cms_function, progress_bar, cancel_save); } @@ -4771,6 +6329,13 @@ int xsane_save_image_as(char *output_filename, char *input_filename, int output_ fclose (infile); +#ifdef HAVE_LIBLCMS + if (hTransform != NULL) + { + cmsDeleteTransform(hTransform); + } +#endif + if (remove_input_file) { remove(input_filename); /* remove lineart pbm file */ @@ -5098,8 +6663,9 @@ void null_print_func(gchar *msg) } /* ---------------------------------------------------------------------------------------------------------------------- */ +/* ---------------------------------------------------------------------------------------------------------------------- */ -int xsane_transfer_to_gimp(char *input_filename, GtkProgressBar *progress_bar, int *cancel_save) +int xsane_transfer_to_gimp(char *input_filename, int apply_ICM_profile, int cms_function, GtkProgressBar *progress_bar, int *cancel_save) { int remaining; size_t tile_size; @@ -5114,6 +6680,13 @@ int xsane_transfer_to_gimp(char *input_filename, GtkProgressBar *progress_bar, i int i, x, y; Image_info image_info; FILE *imagefile; + int bytes; + unsigned char *data = NULL; + guint16 *data16 = NULL; +#ifdef HAVE_LIBLCMS + unsigned char *data_raw = NULL; + cmsHTRANSFORM hTransform = NULL; +#endif DBG(DBG_info, "xsane_transer_to_gimp\n"); @@ -5131,18 +6704,64 @@ int xsane_transfer_to_gimp(char *input_filename, GtkProgressBar *progress_bar, i xsane_read_pnm_header(imagefile, &image_info); + if (image_info.depth == 16) + { + bytes = 2; + } + else + { + bytes = 1; + } + + data = malloc(image_info.image_width * 3 * bytes); + data16 = (guint16 *) data; + + if (!data) + { + char buf[TEXTBUFSIZE]; + + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_NO_MEM); + xsane_back_gtk_error(buf, TRUE); + return -1; /* error */ + } + +#ifdef HAVE_LIBLCMS + if ((cms_function != XSANE_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE) && apply_ICM_profile && (image_info.depth != 1)) + { + hTransform = xsane_create_cms_transform(&image_info, cms_function, preferences.cms_intent, preferences.cms_bpc); + } + + if (hTransform != NULL) + { + DBG(DBG_info, "Doing CMS color conversion\n"); + + data_raw = malloc(image_info.image_width * 3 * bytes); + + if (!data_raw) + { + char buf[TEXTBUFSIZE]; + + free(data); + + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_NO_MEM); + xsane_back_gtk_error(buf, TRUE); + return -1; /* error */ + } + } +#endif + x = 0; y = 0; tile_offset = 0; tile_size = image_info.image_width * gimp_tile_height(); - if (image_info.colors == 3) /* RGB */ + if (image_info.channels == 3) /* RGB */ { tile_size *= 3; /* 24 bits/pixel RGB */ image_type = GIMP_RGB; drawable_type = GIMP_RGB_IMAGE; } - else if (image_info.colors == 4) /* RGBA */ + else if (image_info.channels == 4) /* RGBA */ { tile_size *= 4; /* 32 bits/pixel RGBA */ image_type = GIMP_RGB; @@ -5151,6 +6770,55 @@ int xsane_transfer_to_gimp(char *input_filename, GtkProgressBar *progress_bar, i /* colors == 0/1 is predefined */ image_ID = gimp_image_new(image_info.image_width, image_info.image_height, image_type); + +#ifdef HAVE_LIBLCMS + if ((cms_function != XSANE_CMS_FUNCTION_CONVERT_TO_SRGB) && apply_ICM_profile) /* embed profile */ + { + GimpParasite *parasite; + FILE *icm_profile; + guchar *profile_buffer; + gint32 size; + + DBG(DBG_error, "Opening ICM profile %s\n", image_info.icm_profile); + icm_profile = fopen(image_info.icm_profile, "rb"); + + if (icm_profile) + { + fseek(icm_profile, 0, SEEK_END); + size = ftell(icm_profile); + fseek(icm_profile, 0, SEEK_SET); + + profile_buffer = malloc(size); + + if (profile_buffer) + { + if (fread(profile_buffer, 1, size, icm_profile) == size) + { + parasite = gimp_parasite_new("icc-profile", 0, size, profile_buffer); + gimp_image_parasite_attach(image_ID, parasite); + gimp_parasite_free(parasite); + } + else + { + DBG(DBG_error, "can not read profile data\n"); + } + + free(profile_buffer); + } + else + { + DBG(DBG_error, "can not allocate profile_buffer\n"); + } + + fclose(icm_profile); + } + else + { + DBG(DBG_error, "can not open ICM-profile\n"); + } + } +#endif + /* the following is supported since gimp-1.1.? */ #ifdef GIMP_HAVE_RESOLUTION_INFO @@ -5168,7 +6836,7 @@ int xsane_transfer_to_gimp(char *input_filename, GtkProgressBar *progress_bar, i tile = g_new(guchar, tile_size); - if (image_info.colors == 1) /* gray */ + if (image_info.channels == 1) /* gray */ { switch (image_info.depth) { @@ -5217,30 +6885,79 @@ int xsane_transfer_to_gimp(char *input_filename, GtkProgressBar *progress_bar, i break; /* leave switch depth 1 */ case 8: /* 8 bit gray */ - case 16: /* 16 bit gray already has been reduced to 8 bit */ - for (i = 0; i < image_info.image_width * image_info.image_height; ++i) + for (y = 1; y <= image_info.image_height; y++) { - tile[tile_offset++] = fgetc(imagefile); - x++; + int tile_height = gimp_tile_height(); - if (x >= image_info.image_width) +#ifdef HAVE_LIBLCMS + if ((cms_function != XSANE_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE) && apply_ICM_profile && (hTransform != NULL)) { - int tile_height = gimp_tile_height(); + fread(data_raw, 1, image_info.image_width, imagefile); + cmsDoTransform(hTransform, data_raw, data, image_info.image_width); + } + else +#endif + { + fread(data, 1, image_info.image_width, imagefile); + } - x = 0; - y++; + for (x = 0; x < image_info.image_width; x++) + { + tile[tile_offset++] = data[x]; + } - if (y % tile_height == 0) - { - gimp_pixel_rgn_set_rect(®ion, tile, 0, y - tile_height, image_info.image_width, tile_height); - tile_offset = 0; - } + if (y % tile_height == 0) + { + gimp_pixel_rgn_set_rect(®ion, tile, 0, y - tile_height, image_info.image_width, tile_height); + tile_offset = 0; + } - gtk_progress_bar_update(progress_bar, (float) y / image_info.image_height); /* update progress bar */ - while (gtk_events_pending()) - { - gtk_main_iteration(); - } + gtk_progress_bar_update(progress_bar, (float) y / image_info.image_height); /* update progress bar */ + while (gtk_events_pending()) + { + gtk_main_iteration(); + } + + if (*cancel_save) + { + break; + } + } + break; /* case 8 */ + + + case 16: /* 16 bit gray has to be reduced to 8 bit */ + for (y = 1; y <= image_info.image_height; y++) + { + int tile_height = gimp_tile_height(); + +#ifdef HAVE_LIBLCMS + if ((cms_function != XSANE_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE) && apply_ICM_profile && (hTransform != NULL)) + { + fread(data_raw, 2, image_info.image_width, imagefile); + cmsDoTransform(hTransform, data_raw, data, image_info.image_width); + } + else +#endif + { + fread(data, 2, image_info.image_width, imagefile); + } + + for (x = 0; x < image_info.image_width; x++) + { + tile[tile_offset++] = data16[x]/256; + } + + if (y % tile_height == 0) + { + gimp_pixel_rgn_set_rect(®ion, tile, 0, y - tile_height, image_info.image_width, tile_height); + tile_offset = 0; + } + + gtk_progress_bar_update(progress_bar, (float) y / image_info.image_height); /* update progress bar */ + while (gtk_events_pending()) + { + gtk_main_iteration(); } if (*cancel_save) @@ -5248,44 +6965,51 @@ int xsane_transfer_to_gimp(char *input_filename, GtkProgressBar *progress_bar, i break; } } - break; /* leave switch depth */ + break; /* case 16 */ default: /* bad depth */ break; /* default */ } } - else if (image_info.colors == 3) /* RGB */ + else if (image_info.channels == 3) /* RGB */ { switch (image_info.depth) { case 8: /* 8 bit RGB */ - case 16: /* 16 bit RGB already has been reduced to 8 bit */ - for (i = 0; i < image_info.image_width * image_info.image_height*3; ++i) + + for (y = 1; y <= image_info.image_height; y++) { - tile[tile_offset++] = fgetc(imagefile); - if (tile_offset % 3 == 0) - { - x++; + int tile_height = gimp_tile_height(); - if (x >= image_info.image_width) - { - int tile_height = gimp_tile_height(); +#ifdef HAVE_LIBLCMS + if ((cms_function != XSANE_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE) && apply_ICM_profile && (hTransform != NULL)) + { + fread(data_raw, 3, image_info.image_width, imagefile); + cmsDoTransform(hTransform, data_raw, data, image_info.image_width); + } + else +#endif + { + fread(data, 3, image_info.image_width, imagefile); + } - x = 0; - y++; + for (x = 0; x < image_info.image_width; x++) + { + tile[tile_offset++] = data[3*x+0]; + tile[tile_offset++] = data[3*x+1]; + tile[tile_offset++] = data[3*x+2]; + } - if (y % tile_height == 0) - { - gimp_pixel_rgn_set_rect(®ion, tile, 0, y - tile_height, image_info.image_width, tile_height); - tile_offset = 0; - } + if (y % tile_height == 0) + { + gimp_pixel_rgn_set_rect(®ion, tile, 0, y - tile_height, image_info.image_width, tile_height); + tile_offset = 0; + } - gtk_progress_bar_update(progress_bar, (float) y / image_info.image_height); /* update progress bar */ - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - } + gtk_progress_bar_update(progress_bar, (float) y / image_info.image_height); /* update progress bar */ + while (gtk_events_pending()) + { + gtk_main_iteration(); } if (*cancel_save) @@ -5295,12 +7019,57 @@ int xsane_transfer_to_gimp(char *input_filename, GtkProgressBar *progress_bar, i } break; /* case 8 */ + + case 16: /* 16 bit RGB has to be reduced to 8 bit */ + + for (y = 1; y <= image_info.image_height; y++) + { + int tile_height = gimp_tile_height(); + +#ifdef HAVE_LIBLCMS + if ((cms_function != XSANE_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE) && apply_ICM_profile && (hTransform != NULL)) + { + fread(data_raw, 6, image_info.image_width, imagefile); + cmsDoTransform(hTransform, data_raw, data, image_info.image_width); + } + else +#endif + { + fread(data, 6, image_info.image_width, imagefile); + } + + for (x = 0; x < image_info.image_width; x++) + { + tile[tile_offset++] = data16[3*x+0]/256; + tile[tile_offset++] = data16[3*x+1]/256; + tile[tile_offset++] = data16[3*x+2]/256; + } + + if (y % tile_height == 0) + { + gimp_pixel_rgn_set_rect(®ion, tile, 0, y - tile_height, image_info.image_width, tile_height); + tile_offset = 0; + } + + gtk_progress_bar_update(progress_bar, (float) y / image_info.image_height); /* update progress bar */ + while (gtk_events_pending()) + { + gtk_main_iteration(); + } + + if (*cancel_save) + { + break; + } + } + break; /* case 16 */ + default: /* bad depth */ break; /* default */ } } #ifdef SUPPORT_RGBA - else if (image_info.colors == 4) /* RGBA */ + else if (image_info.channels == 4) /* RGBA */ { int i; @@ -5370,6 +7139,19 @@ int xsane_transfer_to_gimp(char *input_filename, GtkProgressBar *progress_bar, i fclose(imagefile); +#ifdef HAVE_LIBLCMS + if (hTransform != NULL) + { + cmsDeleteTransform(hTransform); + } + + if (data_raw) + { + free(data_raw); + } +#endif + free(data); + return 0; } #endif /* HAVE_ANY_GIMP */ @@ -5414,7 +7196,7 @@ static void write_3chars_as_base64(unsigned char c1, unsigned char c2, unsigned /* ---------------------------------------------------------------------------------------------------------------------- */ -void write_string_base64(int fd_socket, unsigned char *string, int len) +void write_string_base64(int fd_socket, char *string, int len) { int i; int pad; @@ -5422,9 +7204,9 @@ void write_string_base64(int fd_socket, unsigned char *string, int len) for (i = 0; i < len; i+=3) { - c1 = string[i]; - c2 = string[i+1]; - c3 = string[i+2]; + c1 = (unsigned char) string[i]; + c2 = (unsigned char) string[i+1]; + c3 = (unsigned char) string[i+2]; pad = i - len + 3; @@ -5477,7 +7259,7 @@ void write_base64(int fd_socket, FILE *infile) pos += 4; if (pos > 71) { - write(fd_socket, "\n", 1); + write(fd_socket, "\r\n", 2); pos = 0; } @@ -5492,7 +7274,7 @@ void write_base64(int fd_socket, FILE *infile) if (pos) { - write(fd_socket, "\n", 1); + write(fd_socket, "\r\n", 2); } xsane.email_progress_val = 1.0; @@ -5505,33 +7287,33 @@ void write_email_header(int fd_socket, char *from, char *reply_to, char *to, cha { char buf[1024]; - snprintf(buf, sizeof(buf), "From: %s\n", from); + snprintf(buf, sizeof(buf), "From: %s\r\n", from); write(fd_socket, buf, strlen(buf)); - snprintf(buf, sizeof(buf), "Reply-To: %s\n", reply_to); + snprintf(buf, sizeof(buf), "Reply-To: %s\r\n", reply_to); write(fd_socket, buf, strlen(buf)); - snprintf(buf, sizeof(buf), "To: %s\n", to); + snprintf(buf, sizeof(buf), "To: %s\r\n", to); write(fd_socket, buf, strlen(buf)); - snprintf(buf, sizeof(buf), "Subject: %s\n", subject); + snprintf(buf, sizeof(buf), "Subject: %s\r\n", subject); write(fd_socket, buf, strlen(buf)); - snprintf(buf, sizeof(buf), "MIME-Version: 1.0\n"); + snprintf(buf, sizeof(buf), "MIME-Version: 1.0\r\n"); write(fd_socket, buf, strlen(buf)); if (related) /* related means that we need a special link in the html part to display the image */ { - snprintf(buf, sizeof(buf), "Content-Type: multipart/related;\n"); + snprintf(buf, sizeof(buf), "Content-Type: multipart/related;\r\n"); write(fd_socket, buf, strlen(buf)); } else { - snprintf(buf, sizeof(buf), "Content-Type: multipart/mixed;\n"); + snprintf(buf, sizeof(buf), "Content-Type: multipart/mixed;\r\n"); write(fd_socket, buf, strlen(buf)); } - snprintf(buf, sizeof(buf), " boundary=\"%s\"\n\n", boundary); + snprintf(buf, sizeof(buf), " boundary=\"%s\"\r\n\r\n", boundary); write(fd_socket, buf, strlen(buf)); } @@ -5541,7 +7323,7 @@ void write_email_footer(int fd_socket, char *boundary) { char buf[1024]; - snprintf(buf, sizeof(buf), "--%s--\n", boundary); + snprintf(buf, sizeof(buf), "--%s--\r\n", boundary); write(fd_socket, buf, strlen(buf)); } @@ -5551,16 +7333,16 @@ void write_email_mime_ascii(int fd_socket, char *boundary) { char buf[1024]; - snprintf(buf, sizeof(buf), "--%s\n", boundary); + snprintf(buf, sizeof(buf), "--%s\r\n", boundary); write(fd_socket, buf, strlen(buf)); - snprintf(buf, sizeof(buf), "Content-Type: text/plain;\n"); + snprintf(buf, sizeof(buf), "Content-Type: text/plain;\r\n"); write(fd_socket, buf, strlen(buf)); - snprintf(buf, sizeof(buf), " charset=\"iso-8859-1\"\n"); + snprintf(buf, sizeof(buf), " charset=\"iso-8859-1\"\r\n"); write(fd_socket, buf, strlen(buf)); - snprintf(buf, sizeof(buf), "Content-Transfer-Encoding: 8bit\n\n"); + snprintf(buf, sizeof(buf), "Content-Transfer-Encoding: 8bit\r\n\r\n"); write(fd_socket, buf, strlen(buf)); } @@ -5570,22 +7352,22 @@ void write_email_mime_html(int fd_socket, char *boundary) { char buf[1024]; - snprintf(buf, sizeof(buf), "--%s\n", boundary); + snprintf(buf, sizeof(buf), "--%s\r\n", boundary); write(fd_socket, buf, strlen(buf)); - snprintf(buf, sizeof(buf), "Content-Type: text/html;\n"); + snprintf(buf, sizeof(buf), "Content-Type: text/html;\r\n"); write(fd_socket, buf, strlen(buf)); - snprintf(buf, sizeof(buf), " charset=\"us-ascii\"\n"); + snprintf(buf, sizeof(buf), " charset=\"us-ascii\"\r\n"); write(fd_socket, buf, strlen(buf)); - snprintf(buf, sizeof(buf), "Content-Transfer-Encoding: 7bit\n\n"); + snprintf(buf, sizeof(buf), "Content-Transfer-Encoding: 7bit\r\n\r\n"); write(fd_socket, buf, strlen(buf)); - snprintf(buf, sizeof(buf), "<!doctype html public \"-//w3c//dtd html 4.0 transitional//en\">\n"); + snprintf(buf, sizeof(buf), "<!doctype html public \"-//w3c//dtd html 4.0 transitional//en\">\r\n"); write(fd_socket, buf, strlen(buf)); - snprintf(buf, sizeof(buf), "<html>\n"); + snprintf(buf, sizeof(buf), "<html>\r\n"); write(fd_socket, buf, strlen(buf)); } @@ -5595,28 +7377,28 @@ void write_email_attach_image(int fd_socket, char *boundary, char *content_id, c { char buf[1024]; - snprintf(buf, sizeof(buf), "--%s\n", boundary); + snprintf(buf, sizeof(buf), "--%s\r\n", boundary); write(fd_socket, buf, strlen(buf)); - snprintf(buf, sizeof(buf), "Content-Type: %s\n", content_type); + snprintf(buf, sizeof(buf), "Content-Type: %s\r\n", content_type); write(fd_socket, buf, strlen(buf)); if (content_id) { - snprintf(buf, sizeof(buf), "Content-ID: <%s>\n", content_id); + snprintf(buf, sizeof(buf), "Content-ID: <%s>\r\n", content_id); write(fd_socket, buf, strlen(buf)); } - snprintf(buf, sizeof(buf), "Content-Transfer-Encoding: base64\n"); + snprintf(buf, sizeof(buf), "Content-Transfer-Encoding: base64\r\n"); write(fd_socket, buf, strlen(buf)); - snprintf(buf, sizeof(buf), "Content-Disposition: inline;\n"); + snprintf(buf, sizeof(buf), "Content-Disposition: inline;\r\n"); write(fd_socket, buf, strlen(buf)); - snprintf(buf, sizeof(buf), " filename=\"%s\"\n", filename); + snprintf(buf, sizeof(buf), " filename=\"%s\"\r\n", filename); write(fd_socket, buf, strlen(buf)); - snprintf(buf, sizeof(buf), "\n"); + snprintf(buf, sizeof(buf), "\r\n"); write(fd_socket, buf, strlen(buf)); write_base64(fd_socket, infile); @@ -5628,25 +7410,25 @@ void write_email_attach_file(int fd_socket, char *boundary, FILE *infile, char * { char buf[1024]; - snprintf(buf, sizeof(buf), "--%s\n", boundary); + snprintf(buf, sizeof(buf), "--%s\r\n", boundary); write(fd_socket, buf, strlen(buf)); - snprintf(buf, sizeof(buf), "Content-Type: application/octet-stream\n"); + snprintf(buf, sizeof(buf), "Content-Type: application/octet-stream\r\n"); write(fd_socket, buf, strlen(buf)); - snprintf(buf, sizeof(buf), " name=\"%s\"\n", filename); + snprintf(buf, sizeof(buf), " name=\"%s\"\r\n", filename); write(fd_socket, buf, strlen(buf)); - snprintf(buf, sizeof(buf), "Content-Transfer-Encoding: base64\n"); + snprintf(buf, sizeof(buf), "Content-Transfer-Encoding: base64\r\n"); write(fd_socket, buf, strlen(buf)); - snprintf(buf, sizeof(buf), "Content-Disposition: attachment;\n"); + snprintf(buf, sizeof(buf), "Content-Disposition: attachment;\r\n"); write(fd_socket, buf, strlen(buf)); - snprintf(buf, sizeof(buf), " filename=\"%s\"\n", filename); + snprintf(buf, sizeof(buf), " filename=\"%s\"\r\n", filename); write(fd_socket, buf, strlen(buf)); - snprintf(buf, sizeof(buf), "\n"); + snprintf(buf, sizeof(buf), "\r\n"); write(fd_socket, buf, strlen(buf)); write_base64(fd_socket, infile); diff --git a/src/xsane-save.c.orig b/src/xsane-save.c.orig deleted file mode 100644 index a495e1c..0000000 --- a/src/xsane-save.c.orig +++ /dev/null @@ -1,5801 +0,0 @@ -/* xsane -- a graphical (X11, gtk) scanner-oriented SANE frontend - - xsane-save.c - - Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 1998-2005 Oliver Rauch - This file is part of the XSANE package. - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -#include "xsane.h" -#include "xsane-back-gtk.h" -#include "xsane-front-gtk.h" -#include <time.h> -#include <sys/wait.h> - -/* the following test is always false */ -#ifdef _native_WIN32 -# include <winsock.h> -#else -# include <sys/socket.h> -# include <netinet/in.h> -# include <netdb.h> -#endif - -#ifdef HAVE_LIBJPEG -#include <jpeglib.h> -#endif - -#ifdef HAVE_LIBZ -#include <zlib.h> -#endif - -#ifdef HAVE_LIBPNG -#include <png.h> -#endif - -#ifdef HAVE_LIBTIFF -#include <tiffio.h> -#endif - -#ifdef HAVE_MMAP -#include <sys/mman.h> -#endif - -#ifdef HAVE_OS2_H -#include <process.h> -#endif - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -#ifdef HAVE_ANY_GIMP - -#include <libgimp/gimp.h> - -static void xsane_gimp_query(void); -#ifdef HAVE_GIMP_2 -static void xsane_gimp_run(const gchar *name, gint nparams, const GimpParam *param, gint *nreturn_vals, GimpParam **return_vals); -#else -static void xsane_gimp_run(char *name, int nparams, GimpParam *param, int *nreturn_vals, GimpParam **return_vals); -#endif - -GimpPlugInInfo PLUG_IN_INFO = -{ - NULL, /* init_proc */ - NULL, /* quit_proc */ - xsane_gimp_query, /* query_proc */ - xsane_gimp_run, /* run_proc */ -}; - - -static int xsane_decode_devname(const char *encoded_devname, int n, -char *buf); -static int xsane_encode_devname(const char *devname, int n, char *buf); -void null_print_func(gchar *msg); - -#endif /* HAVE_ANY_GIMP */ - -/* ---------------------------------------------------------------------------------------------------------------------- */ -/* why this routine ? - Problem: link attack - Bad user wants to overwrite a file (mywork.txt) of good user. - File permissions of mywork.txt is 700 so that bad user can not - change or overwrite the file. Directory permissions allow bad user - to write into directory. Bad user sets symlink from a file that good - user will write soon (image.pnm) to mywork.txt. - ==> Good user overwrites his own file, he is allowed to do so. - - Solution: remove file. - Create outputfile and make sure that it does not exist while creation. - - The file is created with the requested image-file permissions. - - Note: This case is a bit curious because it is only a small part of a larger problem: - When other users have write access to the directory they simply can move - mywork.txt to image.pnm. If they do it in the right moment the file is - overwritten without any notice of good user. If they do it long before xsane - wants to write image.pnm then xsane will possibly ask if image.pnm shall be - overwritten. So the real solution is to make the direcoty permissions safe!!! - But some users asked for this and so I added this. - - - This routine shall not be called for temporary files because temp files shall not - be removed after they have been created safe. (Although a temporary file should - not be a symlink so there should be no problem with this) -*/ - -int xsane_create_secure_file(const char *filename) -/* returns 0 on success, -1 on error */ -{ - int fd; - - DBG(DBG_proc, "xsane_create_secure_file\n"); - - remove(filename); /* we need to remove the file because open(..., O_EXCL) will fail otherwise */ - umask((mode_t) preferences.image_umask); /* define image file permissions */ - fd = open(filename, O_WRONLY | O_CREAT | O_EXCL, 0666); - umask(XSANE_DEFAULT_UMASK); /* define new file permissions */ - - if (fd > 0) - { - DBG(DBG_info, "file %s is created and secure\n", filename); - close(fd); - fd = 0; - } - else - { - DBG(DBG_info, "could not create secure file %s\n", filename); - } - - return fd; /* -1 means file is not safe !!! otherwise 0 */ -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -void xsane_cancel_save(int *cancel_save) -{ - DBG(DBG_proc, "xsane_cancel_save\n"); - *cancel_save = 1; -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -void xsane_convert_text_to_filename(char **text) -{ - DBG(DBG_proc, "xsane_convert_text_to_filename\n"); - - if (text) - { - char *filename = *text; - char buf[256]; - int buflen=0; - int txtlen=0; - - while((filename[txtlen] != 0) && (buflen<253)) - { - switch (filename[txtlen]) - { - case ' ': - buf[buflen++] = ':'; - buf[buflen++] = '_'; - txtlen++; - break; - - case '/': - buf[buflen++] = ':'; - buf[buflen++] = '%'; - txtlen++; - break; - - case '*': - buf[buflen++] = ':'; - buf[buflen++] = '#'; - txtlen++; - break; - - case '?': - buf[buflen++] = ':'; - buf[buflen++] = 'q'; - txtlen++; - break; - - case '\\': - buf[buflen++] = ':'; - buf[buflen++] = '='; - txtlen++; - break; - - case ';': - buf[buflen++] = ':'; - buf[buflen++] = '!'; - txtlen++; - break; - - case '&': - buf[buflen++] = ':'; - buf[buflen++] = '+'; - txtlen++; - break; - - case '<': - buf[buflen++] = ':'; - buf[buflen++] = 's'; - txtlen++; - break; - - case '>': - buf[buflen++] = ':'; - buf[buflen++] = 'g'; - txtlen++; - break; - - case '|': - buf[buflen++] = ':'; - buf[buflen++] = 'p'; - txtlen++; - break; - - case ':': - buf[buflen++] = ':'; - buf[buflen++] = ':'; - txtlen++; - break; - - default: - buf[buflen++] = filename[txtlen++]; - break; - } - } - buf[buflen] = 0; - free(filename); - *text = strdup(buf); - DBG(DBG_info, "filename = \"%s\"\n", *text); - } -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -int xsane_get_filesize(char *filename) -{ - FILE *infile; - int pos; - int size; - - infile = fopen(filename, "rb"); /* read binary (b for win32) */ - if (infile == NULL) - { - return 0; - } - - pos = ftell(infile); - fseek(infile, 0, SEEK_END); /* get size */ - size = ftell(infile); - fseek(infile, pos, SEEK_SET); /* go to previous position */ - - fclose(infile); - - return size; -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -void xsane_ensure_counter_in_filename(char **filename, int counter_len) -{ - char *position_point = NULL; - char *position; - int counter = 1; - - DBG(DBG_proc, "xsane_ensure_counter_in_filename\n"); - - if (!counter_len) - { - counter_len = 1; - } - - position_point = strrchr(*filename, '.'); - - if (!position_point) /* nothing usable ? */ - { - position_point = *filename + strlen(*filename); /* position_point - 1 is last character */ - } - - if (position_point) - { - position = position_point-1; - if ( (position < *filename) || (*position < '0') || (*position >'9') ) /* we have no counter */ - { - char buf[PATH_MAX]; - int len; - - len = position_point - (*filename); /* length until "." or end of string */ - strncpy(buf, *filename, len); - snprintf(buf+len, sizeof(buf)-len, "-%0*d%s", counter_len, counter, position_point); - *filename = strdup(buf); - } - } -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -void xsane_update_counter_in_filename(char **filename, int skip, int step, int min_counter_len) -{ - FILE *testfile; - char *position_point = NULL; - char *position_counter; - char buf[PATH_MAX]; - int counter; - int counter_len; - int set_counter_len = min_counter_len; - - DBG(DBG_proc, "xsane_update_counter_in_filename\n"); - - if ( (!step) && (!min_counter_len) ) - { - return; /* do not touch counter */ - } - - while (1) /* loop because we may have to skip existing files */ - { - position_point = strrchr(*filename, '.'); - - if (!position_point) /* nothing usable ? */ - { - position_point = *filename + strlen(*filename); /* here is no point, but position - 1 is last character */ - } - - if (position_point) - { - position_counter = position_point-1; /* go to last number of counter (if counter exists) */ - - /* search non numeric char */ - while ( (position_counter >= *filename) && (*position_counter >= '0') && (*position_counter <='9') ) - { - position_counter--; /* search fisrt numeric character */ - } - - position_counter++; /* go to first numeric charcter */ - - counter_len = position_point - position_counter; - - if (counter_len) /* we have a counter */ - { - sscanf(position_counter, "%d", &counter); - counter = counter + step; /* update counter */ - - if (counter < 0) - { - counter = 0; - xsane_back_gtk_warning(WARN_COUNTER_UNDERRUN, TRUE); - break; /* last available number ("..999") */ - } - - *position_counter = 0; /* set end of string mark to counter start */ - - if (set_counter_len == 0) - { - set_counter_len = counter_len; - } - - snprintf(buf, sizeof(buf), "%s%0*d%s", *filename, set_counter_len, counter, position_point); - - DBG(DBG_info, "filename = \"%s\"\n", buf); - - free(*filename); - *filename = strdup(buf); - - if (skip) /* test if filename already used */ - { - if (preferences.filetype) /* add filetype to filename */ - { - snprintf(buf, sizeof(buf), "%s%s", *filename, preferences.filetype); - testfile = fopen(buf, "rb"); /* read binary (b for win32) */ - } - else /* filetype in filename */ - { - testfile = fopen(*filename, "rb"); /* read binary (b for win32) */ - } - - if (testfile) /* filename used: skip */ - { - fclose(testfile); - } - else - { - break; /* filename not used, ok */ - } - } - else /* do not test if filename already used */ - { - break; /* filename ok */ - } - } - else /* no counter */ - { - break; /* no counter */ - } - } - } -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -void xsane_read_pnm_header(FILE *file, Image_info *image_info) -{ - int max_val, filetype_nr; - char buf[256]; - - fgets(buf, sizeof(buf)-1, file); - DBG(DBG_info, "filetype header :%s", buf); - - if (buf[0] == 'P') - { - filetype_nr = atoi(buf+1); /* get filetype number */ - - image_info->resolution_x = 72.0; - image_info->resolution_y = 72.0; - image_info->reduce_to_lineart = FALSE; - - while (strcmp(buf, "# XSANE data follows\n")) - { - fgets(buf, sizeof(buf)-1, file); - - if (!strncmp(buf, "# resolution_x =", 20)) - { - sscanf(buf+20, "%lf", &image_info->resolution_x); - } - else if (!strncmp(buf, "# resolution_y =", 20)) - { - sscanf(buf+20, "%lf", &image_info->resolution_y); - } - else if (!strncmp(buf, "# threshold =", 20)) - { - sscanf(buf+20, "%lf", &image_info->threshold); - } - else if (!strncmp(buf, "# gamma =", 20)) - { - sscanf(buf+20, "%lf", &image_info->gamma); - } - else if (!strncmp(buf, "# gamma IRGB =", 20)) - { - sscanf(buf+20, "%lf %lf %lf %lf", - &image_info->gamma, - &image_info->gamma_red, - &image_info->gamma_green, - &image_info->gamma_blue); - } - else if (!strncmp(buf, "# brightness =", 20)) - { - sscanf(buf+20, "%lf", &image_info->brightness); - } - else if (!strncmp(buf, "# brightness IRGB =", 20)) - { - sscanf(buf+20, "%lf %lf %lf %lf", - &image_info->brightness, - &image_info->brightness_red, - &image_info->brightness_green, - &image_info->brightness_blue); - } - else if (!strncmp(buf, "# contrast =", 20)) - { - sscanf(buf+20, "%lf", &image_info->contrast); - } - else if (!strncmp(buf, "# contrast IRGB =", 20)) - { - sscanf(buf+20, "%lf %lf %lf %lf", - &image_info->contrast, - &image_info->contrast_red, - &image_info->contrast_green, - &image_info->contrast_blue); - } - else if (!strncmp(buf, "# reduce to lineart", 20)) - { - image_info->reduce_to_lineart = TRUE; - } - } - - fscanf(file, "%d %d", &image_info->image_width, &image_info->image_height); - - image_info->depth = 1; - - if (filetype_nr != 4) /* P4 = lineart */ - { - fscanf(file, "%d", &max_val); - - if (max_val == 255) - { - image_info->depth = 8; - } - else if (max_val == 65535) - { - image_info->depth = 16; - } - } - - fgetc(file); /* read exactly one newline character */ - - - image_info->colors = 1; - - if (filetype_nr == 6) /* ppm RGB */ - { - image_info->colors = 3; - } - } -#ifdef SUPPORT_RGBA - else if (buf[0] == 'S') /* RGBA format */ - { - fscanf(file, "%d %d\n%d", &image_info->image_width, &image_info->image_height, &max_val); - fgetc(file); /* read exactly one newline character */ - - image_info->depth = 1; - - if (max_val == 255) - { - image_info->depth = 8; - } - else if (max_val == 65535) - { - image_info->depth = 16; - } - - image_info->colors = 4; - } -#endif - - DBG(DBG_info, "xsane_read_pnm_header: width=%d, height=%d, depth=%d, colors=%d, resolution_x=%f, resolution_y=%f\n", - image_info->image_width, image_info->image_height, image_info->depth, image_info->colors, - image_info->resolution_x, image_info->resolution_y); -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -void xsane_write_pnm_header(FILE *file, Image_info *image_info, int save_pnm16_as_ascii) -{ - int maxval; - int magic; - - fflush(file); - rewind(file); - - if (image_info->depth > 8) - { - maxval = 65535; - - if (save_pnm16_as_ascii) - { - magic = 2; /* thats the magic number for grayscale ascii, 3 = color ascii */ - } - else /* save pnm as binary */ - { - magic = 5; /* that is the magic number for grayscake binary, 6 = color binary */ - } - } - else - { - maxval = 255; - magic = 5; /* 8 bit images are always saved in binary mode */ - } - - - if (image_info->colors == 1) - { - if (image_info->depth == 1) - { - /* do not touch the texts and length here, the reading routine needs to know the exact texts */ - fprintf(file, "P4\n" - "# XSane settings:\n" - "# resolution_x = %6.1f\n" - "# resolution_y = %6.1f\n" - "# threshold = %4.1f\n" - "# XSANE data follows\n" - "%05d %05d\n", - image_info->resolution_x, - image_info->resolution_y, - image_info->threshold, - image_info->image_width, image_info->image_height); - } - else if (image_info->reduce_to_lineart) - { - /* do not touch the texts and length here, the reading routine needs to know the exact texts */ - fprintf(file, "P%d\n" - "# XSane settings:\n" - "# resolution_x = %6.1f\n" - "# resolution_y = %6.1f\n" - "# threshold = %4.1f\n" - "# reduce to lineart\n" - "# XSANE data follows\n" - "%05d %05d\n" - "%d\n", - magic, /* P5 for binary, P2 for ascii */ - image_info->resolution_x, - image_info->resolution_y, - image_info->threshold, - image_info->image_width, image_info->image_height, - maxval); - } - else - { - fprintf(file, "P%d\n" - "# XSane settings:\n" - "# resolution_x = %6.1f\n" - "# resolution_y = %6.1f\n" - "# gamma = %3.2f\n" - "# brightness = %4.1f\n" - "# contrast = %4.1f\n" - "# XSANE data follows\n" - "%05d %05d\n" - "%d\n", - magic, /* P5 for binary, P2 for ascii */ - image_info->resolution_x, - image_info->resolution_y, - image_info->gamma, - image_info->brightness, - image_info->contrast, - image_info->image_width, image_info->image_height, - maxval); - } - } - else if (image_info->colors == 3) - { - fprintf(file, "P%d\n" - "# XSane settings:\n" - "# resolution_x = %6.1f\n" - "# resolution_y = %6.1f\n" - "# gamma IRGB = %3.2f %3.2f %3.2f %3.2f\n" - "# brightness IRGB = %4.1f %4.1f %4.1f %4.1f\n" - "# contrast IRGB = %4.1f %4.1f %4.1f %4.1f\n" - "# XSANE data follows\n" - "%05d %05d\n" \ - "%d\n", - magic+1, /* P6 for binary, P3 for ascii */ - image_info->resolution_x, - image_info->resolution_y, - image_info->gamma, image_info->gamma_red, image_info->gamma_green, image_info->gamma_blue, - image_info->brightness, image_info->brightness_red, image_info->brightness_green, image_info->brightness_blue, - image_info->contrast, image_info->contrast_red, image_info->contrast_green, image_info->contrast_blue, - image_info->image_width, image_info->image_height, - maxval); - } -#ifdef SUPPORT_RGBA - else if (image_info->colors == 4) - { - fprintf(file, "SANE_RGBA\n" \ - "%d %d\n" \ - "%d\n", - image_info->image_width, image_info->image_height, maxval); - } -#endif -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -int xsane_copy_file(FILE *outfile, FILE *infile, GtkProgressBar *progress_bar, int *cancel_save) -{ - long size; - long bytes_sum = 0; - size_t bytes; - unsigned char buf[65536]; - - DBG(DBG_proc, "copying file\n"); - - fseek(infile, 0, SEEK_END); - size = ftell(infile); - fseek(infile, 0, SEEK_SET); - - gtk_progress_bar_update(GTK_PROGRESS_BAR(progress_bar), 0.0); - - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - - while (!feof(infile)) - { - bytes = fread(buf, 1, sizeof(buf), infile); - if (bytes > 0) - { - fwrite(buf, 1, bytes, outfile); - bytes_sum += bytes; - } - - gtk_progress_bar_update(progress_bar, (float) bytes_sum / size); /* update progress bar */ - - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - - if (ferror(infile)) - { - char buf[255]; - - snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_READ, strerror(errno)); - DBG(DBG_error, "%s\n", buf); - xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); - *cancel_save = 1; - break; - } - - if (ferror(outfile)) - { - char buf[255]; - - snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); - DBG(DBG_error, "%s\n", buf); - xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); - *cancel_save = 1; - break; - } - - if (*cancel_save) - { - break; - } - } - - fflush(outfile); - - if (size != bytes_sum) - { - DBG(DBG_info, "copy errro, not complete, %ld bytes of %ld bytes copied\n", bytes_sum, size); - *cancel_save = 1; - return (*cancel_save); - } - - DBG(DBG_info, "copy complete, %ld bytes copied\n", bytes_sum); - - return (*cancel_save); -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -int xsane_copy_file_by_name(char *output_filename, char *input_filename, GtkProgressBar *progress_bar, int *cancel_save) -{ - FILE *infile; - FILE *outfile; - - DBG(DBG_proc, "copying file %s to %s\n", input_filename, output_filename); - - outfile = fopen(output_filename, "wb"); /* b = binary mode for win32 */ - - if (outfile == 0) - { - char buf[255]; - - snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, output_filename, strerror(errno)); - xsane_back_gtk_error(buf, TRUE); - return -2; - } - - infile = fopen(input_filename, "rb"); /* read binary (b for win32) */ - if (infile == 0) - { - char buf[256]; - snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, input_filename, strerror(errno)); - xsane_back_gtk_error(buf, TRUE); - - fclose(outfile); - remove(output_filename); /* remove already created output file */ - return -1; - } - - xsane_copy_file(outfile, infile, progress_bar, cancel_save); - - fclose(infile); - fclose(outfile); - - gtk_progress_set_format_string(GTK_PROGRESS(progress_bar), ""); - gtk_progress_bar_update(GTK_PROGRESS_BAR(progress_bar), 0.0); - - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - - return (*cancel_save); -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -int xsane_save_grayscale_image_as_lineart(FILE *outfile, FILE *imagefile, Image_info *image_info, GtkProgressBar *progress_bar, int *cancel_save) -{ - int x, y, bit; - u_char bitval, packed; - - *cancel_save = 0; - - image_info->depth = 1; - - xsane_write_pnm_header(outfile, image_info, 0); - - for (y = 0; y < image_info->image_height; y++) - { - bit = 128; - packed = 0; - - for (x = 0; x < image_info->image_width; x++) - { - bitval = fgetc(imagefile); - - if (!bitval) /* white gets 0 bit, black gets 1 bit */ - { - packed |= bit; - } - - if (bit == 1) - { - fputc(packed, outfile); - bit = 128; - packed = 0; - } - else - { - bit >>= 1; - } - } - - if (bit != 128) - { - fputc(packed, outfile); - bit = 128; - packed = 0; - } - - if (ferror(outfile)) - { - char buf[255]; - - snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); - DBG(DBG_error, "%s\n", buf); - xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); - *cancel_save = 1; - break; - } - - - gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height); /* update progress bar */ - while (gtk_events_pending()) /* give gtk the chance to display the changes */ - { - gtk_main_iteration(); - } - - if (*cancel_save) - { - break; - } - } - - return (*cancel_save); -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -int xsane_save_scaled_image(FILE *outfile, FILE *imagefile, Image_info *image_info, float x_scale, float y_scale, GtkProgressBar *progress_bar, int *cancel_save) -{ - int original_image_width = image_info->image_width; - int original_image_height = image_info->image_height; - int new_image_width = image_info->image_width * x_scale + 0.5; - int new_image_height = image_info->image_height * y_scale + 0.5; - unsigned char *original_line; - guint16 *original_line16 = NULL; - unsigned char *new_line; - float *pixel_val; - float *pixel_norm; - int bytespp = 1; - float x, y; - int c; - int oldy; - int x_new, y_new; - float x_go, y_go; - float factor, x_factor, y_factor; - guint16 color; - int read_line; - - DBG(DBG_proc, "xsane_save_scaled_image\n"); - - *cancel_save = 0; - - if (image_info->depth > 8) - { - bytespp = 2; - } - - image_info->image_width = new_image_width; - image_info->image_height = new_image_height; - image_info->resolution_x *= x_scale; - image_info->resolution_y *= y_scale; - - original_line = malloc(original_image_width * image_info->colors * bytespp); - if (!original_line) - { - DBG(DBG_error, "xsane_save_scaled_image: out of memory\n"); - return -1; - } - - new_line = malloc(new_image_width * image_info->colors * bytespp); - if (!new_line) - { - free(original_line); - DBG(DBG_error, "xsane_save_scaled_image: out of memory\n"); - return -1; - } - - pixel_val = malloc(new_image_width * image_info->colors * sizeof(float)); - if (!pixel_val) - { - free(original_line); - free(new_line); - DBG(DBG_error, "xsane_save_scaled_image: out of memory\n"); - return -1; - } - - pixel_norm = malloc(new_image_width * image_info->colors * sizeof(float)); - if (!pixel_norm) - { - free(original_line); - free(new_line); - free(pixel_val); - DBG(DBG_error, "xsane_save_scaled_image: out of memory\n"); - return -1; - } - - xsane_write_pnm_header(outfile, image_info, 0); - - read_line = TRUE; - - memset(pixel_val, 0, new_image_width * image_info->colors * sizeof(float)); - memset(pixel_norm, 0, new_image_width * image_info->colors * sizeof(float)); - - y_new = 0; - y_go = 1.0 / y_scale; - y_factor = 1.0; - y = 0.0; - - while (y < original_image_height) - { - DBG(DBG_info2, "xsane_save_scaled_image: original line %d, new line %d\n", (int) y, y_new); - - gtk_progress_bar_update(progress_bar, (float) y / original_image_height); - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - - if (read_line) - { - DBG(DBG_info, "xsane_save_scaled_image: reading original line %d\n", (int) y); - fread(original_line, original_image_width, image_info->colors * bytespp, imagefile); /* read one line */ - original_line16 = (guint16 *) original_line; - } - - x_new = 0; - x_go = 1.0 / x_scale; - x = 0.0; - x_factor = 1.0; - - while ( (x < original_image_width) && (x_new < new_image_width) ) /* add this line to anti aliasing buffer */ - - { - factor = x_factor * y_factor; - - for (c = 0; c < image_info->colors; c++) - { - if (bytespp == 1) - { - color = original_line[((int) x) * image_info->colors + c]; - } - else /* bytespp == 2 */ - { - color = original_line16[((int) x) * image_info->colors + c]; - } - - pixel_val [x_new * image_info->colors + c] += factor * color; - pixel_norm[x_new * image_info->colors + c] += factor; - } - - x_go -= x_factor; - - if (x_go <= 0.0) /* change of pixel in new image */ - { - x_new++; - x_go = 1.0 / x_scale; - - x_factor = x - (int) x; /* use pixel rest */ - if (x_factor > x_go) - { - x_factor = x_go; - } - } - else - { - x_factor = x_go; - } - - if (x_factor > 1.0) - { - x_factor = 1.0; - } - - x += x_factor; - } - - y_go -= y_factor; - - if (y_go <= 0.0) /* normalize one line and write to destination image file */ - { - DBG(DBG_info2, "xsane_save_scaled_image: writing new line %d\n", y_new); - - if (bytespp == 1) - { - for (x_new = 0; x_new < new_image_width * image_info->colors; x_new++) - { - new_line[x_new] = (int) (pixel_val[x_new] / pixel_norm[x_new]); - } - } - else /* bytespp == 2 */ - { - guint16 *new_line16 = (guint16 *) new_line; - - for (x_new = 0; x_new < new_image_width * image_info->colors; x_new++) - { - new_line16[x_new] = (int) (pixel_val[x_new] / pixel_norm[x_new]); - } - } - - fwrite(new_line, new_image_width, image_info->colors * bytespp, outfile); /* write one line */ - - if (ferror(outfile)) - { - char buf[255]; - - snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); - DBG(DBG_error, "%s\n", buf); - xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); - *cancel_save = 1; - break; - } - - /* reset values and norm factors */ - memset(pixel_val, 0, new_image_width * image_info->colors * sizeof(float)); - memset(pixel_norm, 0, new_image_width * image_info->colors * sizeof(float)); - - y_new++; - y_go = 1.0 / y_scale; - - y_factor = y - (int) y; - if (y_factor > y_go) - { - y_factor = y_go; - } - } - else - { - y_factor = y_go; - } - - if (y_factor > 1.0) - { - y_factor = 1.0; - } - - oldy = (int) y; - y += y_factor; - read_line = (oldy != (int) y); - } - - free(original_line); - free(new_line); - free(pixel_val); - free(pixel_norm); - - return (*cancel_save); -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ -#if 0 -int xsane_save_scaled_image(FILE *outfile, FILE *imagefile, Image_info *image_info, float x_scale, float y_scale, GtkProgressBar *progress_bar, int *cancel_save) -{ - float original_y; - int old_original_y; - int x, y, i; - int original_image_width = image_info->image_width; - int new_image_width = image_info->image_width * x_scale; - int new_image_height = image_info->image_height * y_scale; - unsigned char *original_line; - unsigned char *new_line; - int bytespp = 1; - - DBG(DBG_proc, "xsane_save_scaled_image\n"); - - if (image_info->depth > 8) - { - bytespp = 2; - } - - image_info->image_width = new_image_width; - image_info->image_height = new_image_height; - image_info->resolution_x *= x_scale; - image_info->resolution_y *= y_scale; - - original_line = malloc(original_image_width * image_info->colors * bytespp); - if (!original_line) - { - DBG(DBG_error, "xsane_save_scaled_image: out of memory\n"); - return -1; - } - - new_line = malloc(new_image_width * image_info->colors * bytespp); - if (!new_line) - { - free(original_line); - DBG(DBG_error, "xsane_save_scaled_image: out of memory\n"); - return -1; - } - - xsane_write_pnm_header(outfile, image_info, 0); - - original_y = 0.0; - old_original_y = -1; - - for (y = 0; y < new_image_height; y++) - { - gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height); - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - - for (; ((int) original_y) - old_original_y; old_original_y += 1) - { - fread(original_line, original_image_width, image_info->colors * bytespp, imagefile); /* read one line */ - } - - for (x = 0; x < new_image_width; x++) - { - for (i = 0; i < image_info->colors * bytespp; i++) - { - new_line[x * image_info->colors * bytespp + i] = original_line[((int) (x / x_scale)) * image_info->colors * bytespp + i]; - } - } - - fwrite(new_line, new_image_width, image_info->colors * bytespp, outfile); /* write one line */ - - original_y += 1/y_scale; - - if (*cancel_save) - { - break; - } - } - - free(original_line); - free(new_line); - - fflush(outfile); - - return (*cancel_save); -} -#endif - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -int xsane_save_despeckle_image(FILE *outfile, FILE *imagefile, Image_info *image_info, int radius, GtkProgressBar *progress_bar, int *cancel_save) -{ - int x, y, sx, sy, i; - int xmin, xmax; - int ymin, ymax; - int count; - unsigned char *line_cache; - unsigned char *line_cache_ptr; - guint16 *color_cache; - guint16 *color_cache_ptr; - int bytespp = 1; - int color_radius; - int color_width = image_info->image_width * image_info->colors; - - radius--; /* correct radius : 1 means nothing happens */ - - if (radius < 1) - { - radius = 1; - } - - color_radius = radius * image_info->colors; - - if (image_info->depth > 8) - { - bytespp = 2; - } - - xsane_write_pnm_header(outfile, image_info, 0); - - line_cache = malloc(color_width * bytespp * (2 * radius + 1)); - if (!line_cache) - { - DBG(DBG_error, "xsane_despeckle_image: out of memory\n"); - return -1; - } - - fread(line_cache, color_width * bytespp, (2 * radius + 1), imagefile); - - color_cache = malloc((size_t) sizeof(guint16) * (2*radius+1)*(2*radius+1)); - - if (!color_cache) - { - free(line_cache); - DBG(DBG_error, "xsane_despeckle_image: out of memory\n"); - return -1; - } - - for (y = 0; y < image_info->image_height; y++) - { - gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height); - - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - - ymin = y - radius; - ymax = y + radius; - - if (ymin < 0) - { - ymin = 0; - } - - if (ymax > image_info->image_height) - { - ymax = image_info->image_height; - } - - for (x = 0; x < color_width; x++) - { - xmin = x - color_radius; - xmax = x + color_radius; - - if (xmin < 0) - { - xmin = x % image_info->colors; - } - - if (xmax > color_width) - { - xmax = color_width; - } - - count = 0; - - color_cache_ptr = color_cache; - - - if (bytespp == 1) - { - for (sy = ymin; sy <= ymax; sy++) /* search area defined by radius - y part */ - { - line_cache_ptr = line_cache + (sy-ymin) * color_width + xmin; - - for (sx = xmin; sx <= xmax; sx+=image_info->colors) /* x part */ - { - *color_cache_ptr = *line_cache_ptr; - color_cache_ptr++; - line_cache_ptr += image_info->colors; - } - } - - /* sort color_cache */ - - count = color_cache_ptr - color_cache; - - if (count > 1) - { - int d, j, val; - - for (d = count / 2; d > 0; d = d / 2) - { - for (i = d; i < count; i++) - { - for (j = i - d, color_cache_ptr = color_cache + j; j >= 0 && color_cache_ptr[0] > color_cache_ptr[d]; j -= d, color_cache_ptr -= d) - { - val = color_cache_ptr[0]; - color_cache_ptr[0] = color_cache_ptr[d]; - color_cache_ptr[d] = val; - }; - } - } - } - - fputc((char) (color_cache[count/2]), outfile); - } - else /* 16 bit/color */ - { - guint16 val16; - guint16 *line_cache16 = (guint16 *) line_cache; - guint16 *line_cache16_ptr; - char *bytes16 = (char *) &val16; - - for (sy = ymin; sy <= ymax; sy++) - { - line_cache16_ptr = line_cache16 + (sy-ymin) * color_width + xmin; - - for (sx = xmin; sx <= xmax; sx+=image_info->colors) - { - *color_cache_ptr = *line_cache16_ptr; - color_cache_ptr++; - line_cache16_ptr += image_info->colors; - } - } - - /* sort color_cache */ - - count = color_cache_ptr - color_cache; - - if (count > 1) - { - int d,j, val; - - for (d = count / 2; d > 0; d = d / 2) - { - for (i = d; i < count; i++) - { - for (j = i - d, color_cache_ptr = color_cache + j; j >= 0 && color_cache_ptr[0] > color_cache_ptr[d]; j -= d, color_cache_ptr -= d) - { - val = color_cache_ptr[0]; - color_cache_ptr[0] = color_cache_ptr[d]; - color_cache_ptr[d] = val; - }; - } - } - } - - val16 = color_cache[count/2]; - fputc(bytes16[0], outfile); /* write bytes in machine byte order */ - fputc(bytes16[1], outfile); - } - } - - if (ferror(outfile)) - { - char buf[255]; - - snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); - DBG(DBG_error, "%s\n", buf); - xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); - *cancel_save = 1; - break; - } - - if ((y > radius) && (y < image_info->image_height - radius)) - { - memcpy(line_cache, line_cache + color_width * bytespp, - color_width * bytespp * 2 * radius); - fread(line_cache + color_width * bytespp * 2 * radius, - color_width * bytespp, 1, imagefile); - } - } - - fflush(outfile); - - free(line_cache); - free(color_cache); - - return 0; -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -int xsane_save_blur_image(FILE *outfile, FILE *imagefile, Image_info *image_info, float radius, GtkProgressBar *progress_bar, int *cancel_save) -{ - int x, y, sx, sy; - int xmin, xmax; - int ymin, ymax; - double val, norm, outer_factor; - unsigned char *line_cache; - int bytespp = 1; - int intradius; - int xmin_flag; - int xmax_flag; - int ymin_flag; - int ymax_flag; - - *cancel_save = 0; - - intradius = (int) radius; - - outer_factor = radius - (int) radius; - - if (image_info->depth > 8) - { - bytespp = 2; - } - - xsane_write_pnm_header(outfile, image_info, 0); - - line_cache = malloc(image_info->image_width * image_info->colors * bytespp * (2 * intradius + 1)); - if (!line_cache) - { - DBG(DBG_error, "xsane_blur_image: out of memory\n"); - return -1; - } - - fread(line_cache, image_info->image_width * image_info->colors * bytespp, (2 * intradius + 1), imagefile); - - for (y = 0; y < image_info->image_height; y++) - { - gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height); - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - - for (x = 0; x < image_info->image_width * image_info->colors; x++) - { - xmin_flag = xmax_flag = ymin_flag = ymax_flag = TRUE; - - xmin = x - intradius * image_info->colors; - xmax = x + intradius * image_info->colors; - - if (xmin < 0) - { - xmin = x % image_info->colors; - xmin_flag = FALSE; - } - - if (xmax > image_info->image_width * image_info->colors) - { - xmax = image_info->image_width * image_info->colors; - xmax_flag = FALSE; - } - - ymin = y - intradius; - ymax = y + intradius; - - if (ymin < 0) - { - ymin = 0; - ymin_flag = FALSE; - } - - if (ymax > image_info->image_height) - { - ymax = image_info->image_height; - ymax_flag = FALSE; - } - - val = 0.0; - norm = 0.0; - - if (bytespp == 1) - { - if (xmin_flag) /* integrate over left margin */ - { - for (sy = ymin+1; sy <= ymax-1 ; sy++) - { - val += outer_factor * line_cache[(sy-ymin) * image_info->image_width * image_info->colors + xmin]; - norm += outer_factor; - } - } - - if (xmax_flag) /* integrate over right margin */ - { - for (sy = ymin+1; sy <= ymax-1 ; sy++) - { - val += outer_factor * line_cache[(sy-ymin) * image_info->image_width * image_info->colors + xmax]; - norm += outer_factor; - } - } - - if (ymin_flag) /* integrate over top margin */ - { - for (sx = xmin+image_info->colors; sx <= xmax-image_info->colors ; sx += image_info->colors) - { - val += outer_factor * line_cache[sx]; - norm += outer_factor; - } - } - - if (ymax_flag) /* integrate over bottom margin */ - { - for (sx = xmin+image_info->colors; sx <= xmax-image_info->colors ; sx += image_info->colors) - { - val += outer_factor * line_cache[(ymax-ymin) * image_info->image_width * image_info->colors + sx]; - norm += outer_factor; - } - } - - for (sy = ymin+1; sy <= ymax-1; sy++) /* integrate internal square */ - { - for (sx = xmin+image_info->colors; sx <= xmax-image_info->colors; sx+=image_info->colors) - { - val += line_cache[(sy-ymin) * image_info->image_width * image_info->colors + sx]; - norm += 1.0; - } - } - fputc((char) ((int) (val/norm)), outfile); - } - else /* bytespp == 2 */ - { - guint16 *line_cache16 = (guint16 *) line_cache; - guint16 val16; - char *bytes16 = (char *) &val16; - - if (xmin_flag) /* integrate over left margin */ - { - for (sy = ymin+1; sy <= ymax-1 ; sy++) - { - val += outer_factor * line_cache16[(sy-ymin) * image_info->image_width * image_info->colors + xmin]; - norm += outer_factor; - } - } - - if (xmax_flag) /* integrate over right margin */ - { - for (sy = ymin+1; sy <= ymax-1 ; sy++) - { - val += outer_factor * line_cache16[(sy-ymin) * image_info->image_width * image_info->colors + xmax]; - norm += outer_factor; - } - } - - if (ymin_flag) /* integrate over top margin */ - { - for (sx = xmin+image_info->colors; sx <= xmax-image_info->colors ; sx += image_info->colors) - { - val += outer_factor * line_cache16[sx]; - norm += outer_factor; - } - } - - if (ymax_flag) /* integrate over bottom margin */ - { - for (sx = xmin+image_info->colors; sx <= xmax-image_info->colors ; sx += image_info->colors) - { - val += outer_factor * line_cache16[(ymax-ymin) * image_info->image_width * image_info->colors + sx]; - norm += outer_factor; - } - } - - for (sy = ymin; sy <= ymax; sy++) /* integrate internal square */ - { - for (sx = xmin; sx <= xmax; sx+=image_info->colors) - { - val += line_cache16[(sy-ymin) * image_info->image_width * image_info->colors + sx]; - norm += 1.0; - } - } - - val16 = val / norm; - fputc(bytes16[0], outfile); /* write bytes in machine byte order */ - fputc(bytes16[1], outfile); - } - } - - if (ferror(outfile)) - { - char buf[255]; - - snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); - DBG(DBG_error, "%s\n", buf); - xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); - *cancel_save = 1; - break; - } - - /* reset values and norm factors */ - - if ((y > intradius) && (y < image_info->image_height - intradius)) - { - memcpy(line_cache, line_cache + image_info->image_width * image_info->colors * bytespp, - image_info->image_width * image_info->colors * bytespp * 2 * intradius); - fread(line_cache + image_info->image_width * image_info->colors * bytespp * 2 * intradius, - image_info->image_width * image_info->colors * bytespp, 1, imagefile); - } - } - - fflush(outfile); - free(line_cache); - - return 0; -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -#if 0 -int xsane_save_blur_image(FILE *outfile, FILE *imagefile, Image_info *image_info, int radius, GtkProgressBar *progress_bar) -{ - int x, y, sx, sy; - int xmin, xmax; - int ymin, ymax; - int pos0; - int val, count; - unsigned char *line_cache; - int bytespp = 1; - - if (image_info->depth > 8) - { - bytespp = 2; - } - - pos0 = ftell(imagefile); /* mark position to skip header */ - - xsane_write_pnm_header(outfile, image_info, 0); - - line_cache = malloc(image_info->image_width * image_info->colors * bytespp * (2 * radius + 1)); - if (!line_cache) - { - DBG(DBG_error, "xsane_blur_image: out of memory\n"); - return -1; - } - - fread(line_cache, image_info->image_width * image_info->colors * bytespp, (2 * radius + 1), imagefile); - - for (y = 0; y < image_info->image_height; y++) - { - gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height); - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - - for (x = 0; x < image_info->image_width * image_info->colors; x++) - { - xmin = x - radius * image_info->colors; - xmax = x + radius * image_info->colors; - - if (xmin < 0) - { - xmin = x % image_info->colors; - } - - if (xmax > image_info->image_width * image_info->colors) - { - xmax = image_info->image_width * image_info->colors; - } - - ymin = y - radius; - ymax = y + radius; - - if (ymin < 0) - { - ymin = 0; - } - - if (ymax > image_info->image_height) - { - ymax = image_info->image_height; - } - - val = 0; - count = 0; - - if (bytespp == 1) - { - for (sy = ymin; sy <= ymax; sy++) - { - for (sx = xmin; sx <= xmax; sx+=image_info->colors) - { - val += line_cache[(sy-ymin) * image_info->image_width * image_info->colors + sx]; - count++; - } - } - fputc((char) (val/count), outfile); - } - else - { - guint16 *line_cache16 = (guint16 *) line_cache; - guint16 val16; - char *bytes16 = (char *) &val16; - - for (sy = ymin; sy <= ymax; sy++) - { - for (sx = xmin; sx <= xmax; sx+=image_info->colors) - { - val += line_cache16[(sy-ymin) * image_info->image_width * image_info->colors + sx]; - count++; - } - } - - val16 = val / count; - fputc(bytes16[0], outfile); /* write bytes in machine byte order */ - fputc(bytes16[1], outfile); - } - } - - if ((y > radius) && (y < image_info->image_height - radius)) - { - memcpy(line_cache, line_cache + image_info->image_width * image_info->colors * bytespp, - image_info->image_width * image_info->colors * bytespp * 2 * radius); - fread(line_cache + image_info->image_width * image_info->colors * bytespp * 2 * radius, - image_info->image_width * image_info->colors * bytespp, 1, imagefile); - } - } - - fflush(outfile); - free(line_cache); - - return 0; -} -#endif - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -int xsane_save_rotate_image(FILE *outfile, FILE *imagefile, Image_info *image_info, int rotation, GtkProgressBar *progress_bar, int *cancel_save) -/* returns true if operation was cancelled */ -{ - int x, y, pos0, bytespp, i; - int pixel_width = image_info->image_width; - int pixel_height = image_info->image_height; - float resolution_x = image_info->resolution_x; - float resolution_y = image_info->resolution_y; - -#ifdef HAVE_MMAP - char *mmaped_imagefile = NULL; -#endif - - DBG(DBG_proc, "xsane_save_rotate_image\n"); - - *cancel_save = 0; - - pos0 = ftell(imagefile); /* mark position to skip header */ - - bytespp = image_info->colors; - - if (image_info->depth > 8) - { - bytespp *= 2; - } - - if (image_info->depth < 8) /* lineart images are expanded to grayscale until transformation is done */ - { - image_info->depth = 8; /* so we have at least 8 bits/pixel here */ - } - -#ifdef HAVE_MMAP - mmaped_imagefile = mmap(NULL, pixel_width * pixel_height * bytespp + pos0, PROT_READ, MAP_PRIVATE, fileno(imagefile), 0); - if (mmaped_imagefile == (char *) -1) /* mmap failed */ - { - DBG(DBG_info, "xsane_save_rotate_image: unable to memory map image file, using standard file access\n"); - mmaped_imagefile = NULL; - } - else - { - DBG(DBG_info, "xsane_save_rotate_image: using memory mapped image file\n"); - } -#endif - - switch (rotation) - { - default: - break; - - case 0: /* 0 degree */ - xsane_write_pnm_header(outfile, image_info, 0); - - for (y = 0; y < pixel_height; y++) - { - gtk_progress_bar_update(progress_bar, (float) y / pixel_height); - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - - for (x = 0; x < pixel_width; x++) - { -#ifdef HAVE_MMAP - if (mmaped_imagefile) - { - char *p = mmaped_imagefile + pos0 + bytespp * (x + y * pixel_width); /* calculate correct position */ - - for (i=0; i<bytespp; i++) - { - fputc(*p++, outfile); - } - } - else -#endif - { - for (i = 0; i < bytespp; i++) - { - fputc(fgetc(imagefile), outfile); - } - } - } - - if (ferror(outfile)) - { - char buf[255]; - - snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); - DBG(DBG_error, "%s\n", buf); - xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); - *cancel_save = 1; - break; - } - - if (*cancel_save) - { - break; - } - } - break; - - case 1: /* 90 degree */ - image_info->image_width = pixel_height; - image_info->image_height = pixel_width; - - image_info->resolution_x = resolution_y; - image_info->resolution_y = resolution_x; - - xsane_write_pnm_header(outfile, image_info, 0); - - for (x=0; x<pixel_width; x++) - { - gtk_progress_bar_update(progress_bar, (float) x / pixel_width); - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - - for (y=pixel_height-1; y>=0; y--) - { -#ifdef HAVE_MMAP - if (mmaped_imagefile) - { - char *p = mmaped_imagefile + pos0 + bytespp * (x + y * pixel_width); /* calculate correct position */ - - for (i=0; i<bytespp; i++) - { - fputc(*p++, outfile); - } - } - else -#endif - { - fseek(imagefile, pos0 + bytespp * (x + y * pixel_width), SEEK_SET); /* go to the correct position */ - for (i=0; i<bytespp; i++) - { - fputc(fgetc(imagefile), outfile); - } - } - } - - - if (ferror(outfile)) - { - char buf[255]; - - snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); - DBG(DBG_error, "%s\n", buf); - xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); - *cancel_save = 1; - break; - } - - if (*cancel_save) - { - break; - } - } - - break; - - case 2: /* 180 degree */ - xsane_write_pnm_header(outfile, image_info, 0); - - for (y = pixel_height-1; y >= 0; y--) - { - gtk_progress_bar_update(progress_bar, (float) (pixel_height - y) / pixel_height); - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - - for (x = pixel_width-1; x >= 0; x--) - { -#ifdef HAVE_MMAP - if (mmaped_imagefile) - { - char *p = mmaped_imagefile + pos0 + bytespp * (x + y * pixel_width); /* calculate correct position */ - - for (i = 0; i < bytespp; i++) - { - fputc(*p++, outfile); - } - } - else -#endif - { - fseek(imagefile, pos0 + bytespp * (x + y * pixel_width), SEEK_SET); /* go to the correct position */ - for (i = 0; i < bytespp; i++) - { - fputc(fgetc(imagefile), outfile); - } - } - } - - - if (ferror(outfile)) - { - char buf[255]; - - snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); - DBG(DBG_error, "%s\n", buf); - xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); - *cancel_save = 1; - break; - } - - if (*cancel_save) - { - break; - } - } - break; - - case 3: /* 270 degree */ - image_info->image_width = pixel_height; - image_info->image_height = pixel_width; - - image_info->resolution_x = resolution_y; - image_info->resolution_y = resolution_x; - - xsane_write_pnm_header(outfile, image_info, 0); - - for (x = pixel_width-1; x >= 0; x--) - { - gtk_progress_bar_update(progress_bar, (float) (pixel_width - x) / pixel_width); - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - - for (y = 0; y < pixel_height; y++) - { -#ifdef HAVE_MMAP - if (mmaped_imagefile) - { - char *p = mmaped_imagefile + pos0 + bytespp * (x + y * pixel_width); /* calculate correct position */ - - for (i = 0; i < bytespp; i++) - { - fputc(*p++, outfile); - } - } - else -#endif - { - fseek(imagefile, pos0 + bytespp * (x + y * pixel_width), SEEK_SET); /* go to the correct position */ - for (i = 0; i < bytespp; i++) - { - fputc(fgetc(imagefile), outfile); - } - } - } - - - if (ferror(outfile)) - { - char buf[255]; - - snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); - DBG(DBG_error, "%s\n", buf); - xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); - *cancel_save = 1; - break; - } - - if (*cancel_save) - { - break; - } - } - break; - - case 4: /* 0 degree, x mirror */ - xsane_write_pnm_header(outfile, image_info, 0); - - for (y = 0; y < pixel_height; y++) - { - gtk_progress_bar_update(progress_bar, (float) y / pixel_height); - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - - for (x = pixel_width-1; x >= 0; x--) - { -#ifdef HAVE_MMAP - if (mmaped_imagefile) - { - char *p = mmaped_imagefile + pos0 + bytespp * (x + y * pixel_width); /* calculate correct position */ - - for (i = 0; i < bytespp; i++) - { - fputc(*p++, outfile); - } - } - else -#endif - { - fseek(imagefile, pos0 + bytespp * (x + y * pixel_width), SEEK_SET); /* go to the correct position */ - for (i = 0; i < bytespp; i++) - { - fputc(fgetc(imagefile), outfile); - } - } - } - - - if (ferror(outfile)) - { - char buf[255]; - - snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); - DBG(DBG_error, "%s\n", buf); - xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); - *cancel_save = 1; - break; - } - - if (*cancel_save) - { - break; - } - } - break; - - case 5: /* 90 degree, x mirror */ - image_info->image_width = pixel_height; - image_info->image_height = pixel_width; - - image_info->resolution_x = resolution_y; - image_info->resolution_y = resolution_x; - - xsane_write_pnm_header(outfile, image_info, 0); - - for (x = 0; x < pixel_width; x++) - { - gtk_progress_bar_update(progress_bar, (float) x / pixel_width); - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - - for (y = 0; y < pixel_height; y++) - { -#ifdef HAVE_MMAP - if (mmaped_imagefile) - { - char *p = mmaped_imagefile + pos0 + bytespp * (x + y * pixel_width); /* calculate correct position */ - - for (i=0; i<bytespp; i++) - { - fputc(*p++, outfile); - } - } - else -#endif - { - fseek(imagefile, pos0 + bytespp * (x + y * pixel_width), SEEK_SET); /* go to the correct position */ - for (i = 0; i < bytespp; i++) - { - fputc(fgetc(imagefile), outfile); - } - } - } - - - if (ferror(outfile)) - { - char buf[255]; - - snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); - DBG(DBG_error, "%s\n", buf); - xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); - *cancel_save = 1; - break; - } - - if (*cancel_save) - { - break; - } - } - - break; - - case 6: /* 180 degree, x mirror */ - xsane_write_pnm_header(outfile, image_info, 0); - - for (y = pixel_height-1; y >= 0; y--) - { - gtk_progress_bar_update(progress_bar, (float) (pixel_height - y) / pixel_height); - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - - for (x = 0; x < pixel_width; x++) - { -#ifdef HAVE_MMAP - if (mmaped_imagefile) - { - char *p = mmaped_imagefile + pos0 + bytespp * (x + y * pixel_width); /* calculate correct position */ - - for (i = 0; i < bytespp; i++) - { - fputc(*p++, outfile); - } - } - else -#endif - { - fseek(imagefile, pos0 + bytespp * (x + y * pixel_width), SEEK_SET); /* go to the correct position */ - for (i = 0; i < bytespp; i++) - { - fputc(fgetc(imagefile), outfile); - } - } - } - - - if (ferror(outfile)) - { - char buf[255]; - - snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); - DBG(DBG_error, "%s\n", buf); - xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); - *cancel_save = 1; - break; - } - - if (*cancel_save) - { - break; - } - } - break; - - case 7: /* 270 degree, x mirror */ - image_info->image_width = pixel_height; - image_info->image_height = pixel_width; - - image_info->resolution_x = resolution_y; - image_info->resolution_y = resolution_x; - - xsane_write_pnm_header(outfile, image_info, 0); - - for (x = pixel_width-1; x >= 0; x--) - { - gtk_progress_bar_update(progress_bar, (float) (pixel_width - x) / pixel_width); - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - - for (y = pixel_height-1; y >= 0; y--) - { -#ifdef HAVE_MMAP - if (mmaped_imagefile) - { - char *p = mmaped_imagefile + pos0 + bytespp * (x + y * pixel_width); /* calculate correct position */ - - for (i = 0; i < bytespp; i++) - { - fputc(*p++, outfile); - } - } - else -#endif - { - fseek(imagefile, pos0 + bytespp * (x + y * pixel_width), SEEK_SET); /* go to the correct position */ - for (i = 0; i < bytespp; i++) - { - fputc(fgetc(imagefile), outfile); - } - } - } - - - if (ferror(outfile)) - { - char buf[255]; - - snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); - DBG(DBG_error, "%s\n", buf); - xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); - *cancel_save = 1; - break; - } - - if (*cancel_save) - { - break; - } - } - break; - } - -#ifdef HAVE_MMAP - if (mmaped_imagefile) - { - munmap(mmaped_imagefile, pos0 + pixel_width * pixel_height * bytespp); - } -#endif - - fflush(outfile); - - return (*cancel_save); -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -void xsane_save_ps_create_document_header(FILE *outfile, int pages, int flatdecode) -{ - DBG(DBG_proc, "xsane_save_ps_create_document_header\n"); - - fprintf(outfile, "%%!PS-Adobe-3.0\n"); - fprintf(outfile, "%%%%Creator: XSane version %s (sane %d.%d) - by Oliver Rauch\n", VERSION, - SANE_VERSION_MAJOR(xsane.sane_backend_versioncode), - SANE_VERSION_MINOR(xsane.sane_backend_versioncode)); - fprintf(outfile, "%%%%DocumentData: Clean7Bit\n"); - if (flatdecode) - { - fprintf(outfile, "%%%%LanguageLevel: 3\n"); - } - else - { - fprintf(outfile, "%%%%LanguageLevel: 2\n"); - } - - if (pages) - { - fprintf(outfile, "%%%%Pages: %d\n", pages); - } - else - { - fprintf(outfile, "%%%%Pages: (atend)\n"); - } - - fprintf(outfile, "%%%%EndComments\n"); - fprintf(outfile, "\n"); - fprintf(outfile, "/origstate save def\n"); - fprintf(outfile, "20 dict begin\n"); -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -void xsane_save_ps_create_document_trailer(FILE *outfile, int pages) -{ - DBG(DBG_proc, "xsane_save_ps_create_document_trailer\n"); - - fprintf(outfile, "end\n"); - fprintf(outfile, "origstate restore\n"); - - if (pages) - { - fprintf(outfile, "%%%%Trailer\n"); - fprintf(outfile, "%%%%Pages: %d\n", pages); - } - - fprintf(outfile, "%%%%EOF\n"); - fprintf(outfile, "\n"); - -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -/* page = [1 .. pages] */ -static void xsane_save_ps_create_page_header(FILE *outfile, int page, - Image_info *image_info, - float width, float height, - int paper_left_margin, int paper_bottom_margin, - int paper_width, int paper_height, - int paper_orientation, int flatdecode, - GtkProgressBar *progress_bar) -{ - int degree, position_left, position_bottom, box_left, box_bottom, box_right, box_top, depth; - int left, bottom; - - DBG(DBG_proc, "xsane_save_ps_create_page_header\n"); - - switch (paper_orientation) - { - default: - case 0: /* top left portrait */ - left = 0.0; - bottom = paper_height - height; - break; - - case 1: /* top right portrait */ - left = paper_width - width; - bottom = paper_height - height; - break; - - case 2: /* bottom right portrait */ - left = paper_width - width; - bottom = 0.0; - break; - - case 3: /* bottom left portrait */ - left = 0.0; - bottom = 0.0; - break; - - case 4: /* center portrait */ - left = paper_width / 2.0 - width / 2.0; - bottom = paper_height / 2.0 - height / 2.0; - break; - - - case 8: /* top left landscape */ - left = 0.0; - bottom = paper_width - height; - break; - - case 9: /* top right landscape */ - left = paper_height - width; - bottom = paper_width - height; - break; - - case 10: /* bottom right landscape */ - left = paper_height - width; - bottom = 0.0; - break; - - case 11: /* bottom left landscape */ - left = 0.0; - bottom = 0.0; - break; - - case 12: /* center landscape */ - left = paper_height / 2.0 - width / 2.0; - bottom = paper_width / 2.0 - height / 2.0; - break; - } - - - if (paper_orientation >= 8) /* rotate with 90 degrees - landscape mode */ - { - degree = 90; - position_left = left + paper_bottom_margin; - position_bottom = bottom - paper_width - paper_left_margin; - box_left = paper_width - paper_left_margin - bottom - height; - box_bottom = left + paper_bottom_margin; - box_right = box_left + ceil(height); - box_top = box_bottom + ceil(width); - } - else /* do not rotate, portrait mode */ - { - degree = 0; - position_left = left + paper_left_margin; - position_bottom = bottom + paper_bottom_margin; - box_left = left + paper_left_margin; - box_bottom = bottom + paper_bottom_margin; - box_right = box_left + ceil(width); - box_top = box_bottom + ceil(height); - } - - depth = image_info->depth; - - if (depth > 8) - { - depth = 8; - } - - fprintf(outfile, "\n"); - fprintf(outfile, "%%%%Page: %d %d\n", page, page); - fprintf(outfile, "%%%%PageBoundingBox: %d %d %d %d\n", box_left, box_bottom, box_right, box_top); - - if (depth == 1) - { - fprintf(outfile, "/grays %d string def\n", image_info->image_width); - fprintf(outfile, "/npixels 0 def\n"); - fprintf(outfile, "/rgbindx 0 def\n"); - } - - fprintf(outfile, "%d rotate\n", degree); - fprintf(outfile, "%d %d translate\n", position_left, position_bottom); - fprintf(outfile, "%f %f scale\n", width, height); - fprintf(outfile, "%d %d %d\n", image_info->image_width, image_info->image_height, depth); - fprintf(outfile, "[%d %d %d %d %d %d]\n", image_info->image_width, 0, 0, -image_info->image_height, 0, image_info->image_height); - fprintf(outfile, "currentfile\n"); - fprintf(outfile, "/ASCII85Decode filter\n"); -#ifdef HAVE_LIBZ - if (flatdecode) - { - fprintf(outfile, "/FlateDecode filter\n"); - } -#endif - - if (image_info->colors == 3) /* what about RGBA here ? */ - { - fprintf(outfile, "false 3 colorimage\n"); - fprintf(outfile, "\n"); - } - else - { - fprintf(outfile, "image\n"); - fprintf(outfile, "\n"); - } -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -static void xsane_save_ps_create_page_trailer(FILE *outfile) -{ - fprintf(outfile, "\n"); - fprintf(outfile, "showpage\n"); - fprintf(outfile, "%%%%PageTrailer\n"); -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -#ifdef HAVE_LIBZ -/* Utility function for the PostScript output */ -static int xsane_write_compressed_a85_flatdecode(FILE *outfile, unsigned char *line, int len, int finish) -{ - static unsigned char *cbuf = NULL; - static int cbuflen = 0; - static int linelen = 0; - int i, j; - int outlen; - static int init = 0; - static z_stream s; - int ret; - int flush; - static int a85count = 0; - static guint32 a85tuple = 0; - static unsigned char a85block[6] = {0, 0, 0, 0, 0, 0}; - static int count = 0; - - DBG(DBG_proc, "xsane_write_compressed_a85_flatdecode\n"); - - if (linelen != len) - { - linelen = len; - if (cbuf != NULL) - { - free(cbuf); - } - /* buffer length = length + 0.1 * length + 12 (mandatory) */ - cbuflen = len + len / 10 + 12; - cbuf = malloc(cbuflen); - } - - if (cbuf == NULL) - { - DBG(DBG_error, "cbuf allocation failed\n"); - return 1; - } - - if (!init) - { - s.zalloc = Z_NULL; - s.zfree = Z_NULL; - s.opaque = Z_NULL; - - ret = deflateInit(&s, Z_DEFAULT_COMPRESSION); - - if (ret != Z_OK) - { - DBG(DBG_error, "deflateInit failed\n"); - free(cbuf); - return 1; - } - - init = 1; - } - - s.avail_in = len; - s.next_in = line; - - do - { - s.avail_out = cbuflen; - s.next_out = cbuf; - - flush = (finish) ? Z_FINISH : Z_NO_FLUSH; - - ret = deflate(&s, flush); - - if (ret == Z_STREAM_ERROR) - { - DBG(DBG_error, "deflate failed\n"); - free(cbuf); - return 1; - } - - outlen = cbuflen - s.avail_out; - - /* ASCII85 (base 85) encoding */ - for (i = 0; i < outlen; i++) - { - switch (a85count) - { - case 0: - a85tuple |= (cbuf[i] << 24); - a85count++; - break; - - case 1: - a85tuple |= (cbuf[i] << 16); - a85count++; - break; - - case 2: - a85tuple |= (cbuf[i] << 8); - a85count++; - break; - - case 3: - a85tuple |= (cbuf[i] << 0); - - if (count == 40) - { - fprintf(outfile, "\n"); - count = 0; - } - - if (a85tuple == 0) - { - fprintf(outfile, "z"); - count++; - } - else - { - /* The ASCII chars must be written in reverse order, hence -> a85block[4-j] */ - for (j = 0; j < 5; j++) - { - a85block[4-j] = a85tuple % 85 + '!'; - a85tuple /= 85; - } - - for (j = 0; j < 5; j++) - { - fprintf(outfile, "%c", a85block[j]); - count++; - if (count == 40) - { - fprintf(outfile, "\n"); - count = 0; - } - } - } - - a85count = 0; - a85tuple = 0; - break; - - default: - break; - } - } - } while (s.avail_out == 0); - - if (finish) - { - DBG(DBG_info, "finish\n"); - if (a85count > 0) - { - a85count++; - for (j = 0; j <= a85count; j++) - { - a85block[j] = a85tuple % 85 + '!'; - a85tuple /= 85; - } - /* Reverse order */ - for (j--; j > 0; j--) - { - if (count == 40) - { - fprintf(outfile, "\n"); - count = 0; - } - fprintf(outfile, "%c", a85block[j]); - count++; - } - } - - /* ASCII85 EOD marker + newline*/ - if (count + 2 > 40) - { - fprintf(outfile, "\n"); - } - fprintf(outfile, "~>\n"); - deflateEnd(&s); - free(cbuf); - cbuf = NULL; - init = 0; - a85tuple = 0; - a85count = 0; - cbuflen = 0; - linelen = 0; - count = 0; - } - - return 0; -} -#endif - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -/* Utility function for the PostScript output */ -static int xsane_write_compressed_a85(FILE *outfile, unsigned char *line, int len, int finish) -{ - static unsigned char *cbuf = NULL; - static int cbuflen = 0; - static int linelen = 0; - int i, j; - int outlen; - static int a85count = 0; - static guint32 a85tuple = 0; - static unsigned char a85block[6] = {0, 0, 0, 0, 0, 0}; - static int count = 0; - - DBG(DBG_proc, "xsane_write_compressed_a85\n"); - - cbuf = line; - outlen = len; - - /* ASCII85 (base 85) encoding */ - for (i = 0; i < outlen; i++) - { - switch (a85count) - { - case 0: - a85tuple |= (cbuf[i] << 24); - a85count++; - break; - - case 1: - a85tuple |= (cbuf[i] << 16); - a85count++; - break; - - case 2: - a85tuple |= (cbuf[i] << 8); - a85count++; - break; - - case 3: - a85tuple |= (cbuf[i] << 0); - - if (count == 40) - { - fprintf(outfile, "\n"); - count = 0; - } - - if (a85tuple == 0) - { - fprintf(outfile, "z"); - count++; - } - else - { - /* The ASCII chars must be written in reverse order, hence -> a85block[4-j] */ - for (j = 0; j < 5; j++) - { - a85block[4-j] = a85tuple % 85 + '!'; - a85tuple /= 85; - } - - for (j = 0; j < 5; j++) - { - fprintf(outfile, "%c", a85block[j]); - count++; - if (count == 40) - { - fprintf(outfile, "\n"); - count = 0; - } - } - } - - a85count = 0; - a85tuple = 0; - break; - - default: - break; - } - } - - if (finish) - { - DBG(DBG_info, "finish\n"); - if (a85count > 0) - { - a85count++; - for (j = 0; j <= a85count; j++) - { - a85block[j] = a85tuple % 85 + '!'; - a85tuple /= 85; - } - /* Reverse order */ - for (j--; j > 0; j--) - { - if (count == 40) - { - fprintf(outfile, "\n"); - count = 0; - } - fprintf(outfile, "%c", a85block[j]); - count++; - } - } - - /* ASCII85 EOD marker + newline*/ - if (count + 2 > 40) - { - fprintf(outfile, "\n"); - } - fprintf(outfile, "~>\n"); - a85tuple = 0; - a85count = 0; - cbuflen = 0; - linelen = 0; - count = 0; - } - - return 0; -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -static int xsane_save_ps_pdf_bw(FILE *outfile, FILE *imagefile, Image_info *image_info, int flatdecode, GtkProgressBar *progress_bar, int *cancel_save) -{ - int x, y; - int bytes_per_line = (image_info->image_width+7)/8; - int ret; - unsigned char *line; - - DBG(DBG_proc, "xsane_save_ps_pdf_bw\n"); - - *cancel_save = 0; - - line = (unsigned char *) malloc(bytes_per_line); - - if (line == NULL) - { - char buf[255]; - - snprintf(buf, sizeof(buf), "%s malloc failed", ERR_DURING_SAVE); - DBG(DBG_error, "%s\n", buf); - xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); - *cancel_save = 1; - return (*cancel_save); - } - - for (y = 0; y < image_info->image_height; y++) - { - gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height); - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - - for (x = 0; x < bytes_per_line; x++) - { - line[x] = fgetc(imagefile) ^ 255; - } - -#ifdef HAVE_LIBZ - if (flatdecode) - { - ret = xsane_write_compressed_a85_flatdecode(outfile, line, bytes_per_line, (y == image_info->image_height - 1)); - } - else -#endif - { - ret = xsane_write_compressed_a85(outfile, line, bytes_per_line, (y == image_info->image_height - 1)); - } - - if ((ret != 0) || (ferror(outfile))) - { - char buf[255]; - - if (ret == 0) - { - snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); - } - else - { - snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_ZLIB); - } - - DBG(DBG_error, "%s\n", buf); - xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); - *cancel_save = 1; - - break; - } - - if (*cancel_save) - { - break; - } - } - - free(line); - - return (*cancel_save); -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -static int xsane_save_ps_pdf_gray(FILE *outfile, FILE *imagefile, Image_info *image_info, int flatdecode, GtkProgressBar *progress_bar, int *cancel_save) -{ - int x, y; - int ret; - unsigned char *line; - - DBG(DBG_proc, "xsane_save_ps_pdf_gray\n"); - - *cancel_save = 0; - - line = (unsigned char *) malloc(image_info->image_width); - - if (line == NULL) - { - char buf[255]; - - snprintf(buf, sizeof(buf), "%s malloc failed", ERR_DURING_SAVE); - DBG(DBG_error, "%s\n", buf); - xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); - *cancel_save = 1; - return (*cancel_save); - } - - for (y = 0; y < image_info->image_height; y++) - { - if (image_info->depth > 8) /* reduce 16 bit images */ - { - guint16 val; - - for (x = 0; x < image_info->image_width; x++) - { - fread(&val, 2, 1, imagefile); - line[x] = val/256; - } - } - else /* 8 bits/sample */ - { - for (x = 0; x < image_info->image_width; x++) - { - line[x] = fgetc(imagefile); - } - } - -#ifdef HAVE_LIBZ - if (flatdecode) - { - ret = xsane_write_compressed_a85_flatdecode(outfile, line, image_info->image_width, (y == image_info->image_height - 1)); - } - else -#endif - { - ret = xsane_write_compressed_a85(outfile, line, image_info->image_width, (y == image_info->image_height - 1)); - } - - if ((ret != 0) || (ferror(outfile))) - { - char buf[255]; - - if (ret == 0) - { - snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); - } - else - { - snprintf(buf, sizeof(buf), "%s zlib error or memory allocation problem", ERR_DURING_SAVE); - } - - DBG(DBG_error, "%s\n", buf); - xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); - *cancel_save = 1; - - break; - } - - gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height); - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - - if (*cancel_save) - { - break; - } - } - - free(line); - - return (*cancel_save); -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -static int xsane_save_ps_pdf_color(FILE *outfile, FILE *imagefile, Image_info *image_info, int flatdecode, GtkProgressBar *progress_bar, int *cancel_save) -{ - int x, y; - int ret; - unsigned char *line, *linep; - - DBG(DBG_proc, "xsane_save_ps_pdf_color\n"); - - *cancel_save = 0; - - line = (unsigned char *) malloc(image_info->image_width * 3); - - if (line == NULL) - { - char buf[255]; - - snprintf(buf, sizeof(buf), "%s malloc failed", ERR_DURING_SAVE); - DBG(DBG_error, "%s\n", buf); - xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); - *cancel_save = 1; - return (*cancel_save); - } - - for (y = 0; y < image_info->image_height; y++) - { - gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height); - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - - linep = line; - - if (image_info->depth > 8) /* reduce 16 bit images */ - { - guint16 val; - - for (x = 0; x < image_info->image_width; x++) - { - fread(&val, 2, 1, imagefile); - *linep++ = val/256; - fread(&val, 2, 1, imagefile); - *linep++ = val/256; - fread(&val, 2, 1, imagefile); - *linep++ = val/256; - } - } - else /* 8 bits/sample */ - { - for (x = 0; x < image_info->image_width; x++) - { - *linep++ = fgetc(imagefile); - *linep++ = fgetc(imagefile); - *linep++ = fgetc(imagefile); - } - } - -#ifdef HAVE_LIBZ - if (flatdecode) - { - ret = xsane_write_compressed_a85_flatdecode(outfile, line, (image_info->image_width * 3), (y == image_info->image_height - 1)); - } - else -#endif - { - ret = xsane_write_compressed_a85(outfile, line, (image_info->image_width * 3), (y == image_info->image_height - 1)); - } - - if ((ret != 0) || (ferror(outfile))) - { - char buf[255]; - - if (ret == 0) - { - snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); - } - else - { - snprintf(buf, sizeof(buf), "%s zlib error or memory allocation problem", ERR_DURING_SAVE); - } - - DBG(DBG_error, "%s\n", buf); - xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); - *cancel_save = 1; - - break; - } - - if (*cancel_save) - { - break; - } - } - - free(line); - - return (*cancel_save); -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -int xsane_save_ps_page(FILE *outfile, int page, - FILE *imagefile, Image_info *image_info, float width, float height, - int paper_left_margin, int paper_bottom_margin, int paperheight, int paperwidth, int paper_orientation, - int flatdecode, - GtkProgressBar *progress_bar, int *cancel_save) -{ - DBG(DBG_proc, "xsane_save_ps_page\n"); - - xsane_save_ps_create_page_header(outfile, page, - image_info, width, height, - paper_left_margin, paper_bottom_margin, paperheight, paperwidth, paper_orientation, - flatdecode, - progress_bar); - - if (image_info->colors == 1) /* lineart, halftone, grayscale */ - { - if (image_info->depth == 1) /* lineart, halftone */ - { - xsane_save_ps_pdf_bw(outfile, imagefile, image_info, flatdecode, progress_bar, cancel_save); - } - else /* grayscale */ - { - xsane_save_ps_pdf_gray(outfile, imagefile, image_info, flatdecode, progress_bar, cancel_save); - } - } - else /* color RGB */ - { - xsane_save_ps_pdf_color(outfile, imagefile, image_info, flatdecode, progress_bar, cancel_save); - } - - xsane_save_ps_create_page_trailer(outfile); - - if (ferror(outfile)) - { - char buf[255]; - - snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); - DBG(DBG_error, "%s\n", buf); - xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); - *cancel_save = 1; - } - - return (*cancel_save); -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -int xsane_save_ps(FILE *outfile, FILE *imagefile, Image_info *image_info, float width, float height, - int paper_left_margin, int paper_bottom_margin, int paperheight, int paperwidth, int paper_orientation, - int flatdecode, - GtkProgressBar *progress_bar, int *cancel_save) -{ - DBG(DBG_proc, "xsane_save_ps\n"); - - *cancel_save = 0; - - xsane_save_ps_create_document_header(outfile, 1 /* pages */, flatdecode); - - xsane_save_ps_page(outfile, 1 /* page */, - imagefile, image_info, width, height, - paper_left_margin, paper_bottom_margin, paperheight, paperwidth, paper_orientation, - flatdecode, - progress_bar, cancel_save); - - xsane_save_ps_create_document_trailer(outfile, 0 /* we defined pages at beginning */); - - if (ferror(outfile)) - { - char buf[255]; - - snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); - DBG(DBG_error, "%s\n", buf); - xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); - *cancel_save = 1; - } - - return (*cancel_save); -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -/* The pdf_xref struct holds byte offsets from the beginning of the PDF - * file to each object of the PDF file -- used to build the xref table - */ -struct pdf_xref -{ - unsigned long obj5; /* obj 5 0 */ - unsigned long obj6; /* obj 6 0 */ - unsigned long obj7; /* obj 7 0 */ - unsigned long xref; /* xref table */ - unsigned long slen; /* length of image stream */ - unsigned long slenp; /* position of image stream length */ -}; - -static void xsane_save_pdf_create_header(FILE *outfile, Image_info *image_info, - float width, float height, - int paper_left_margin, int paper_bottom_margin, - int paper_width, int paper_height, - int paper_orientation, int flatdecode, - GtkProgressBar *progress_bar, struct pdf_xref *xref) -{ - int position_left, position_bottom, box_left, box_bottom, box_right, box_top, depth; - int left, bottom; - float rad; - - DBG(DBG_proc, "xsane_save_pdf_create_header\n"); - - switch (paper_orientation) - { - default: - case 0: /* top left portrait */ - left = 0.0; - bottom = paper_height - height; - break; - - case 1: /* top right portrait */ - left = paper_width - width; - bottom = paper_height - height; - break; - - case 2: /* bottom right portrait */ - left = paper_width - width; - bottom = 0.0; - break; - - case 3: /* bottom left portrait */ - left = 0.0; - bottom = 0.0; - break; - - case 4: /* center portrait */ - left = paper_width / 2.0 - width / 2.0; - bottom = paper_height / 2.0 - height / 2.0; - break; - - - case 8: /* top left landscape */ - left = 0.0; - bottom = paper_width - height; - break; - - case 9: /* top right landscape */ - left = paper_height - width; - bottom = paper_width - height; - break; - - case 10: /* bottom right landscape */ - left = paper_height - width; - bottom = 0.0; - break; - - case 11: /* bottom left landscape */ - left = 0.0; - bottom = 0.0; - break; - - case 12: /* center landscape */ - left = paper_height / 2.0 - width / 2.0; - bottom = paper_width / 2.0 - height / 2.0; - break; - } - - - if (paper_orientation >= 8) /* rotate with 90 degrees - landscape mode */ - { - rad = -M_PI_2; /* pi / 2 */ - position_left = left + paper_bottom_margin; - position_bottom = bottom - paper_width - paper_left_margin; - box_left = paper_width - paper_left_margin - bottom - height; - box_bottom = left + paper_bottom_margin; - box_right = box_left + ceil(height); - box_top = box_bottom + ceil(width); - } - else /* do not rotate, portrait mode */ - { - rad = 0; - position_left = left + paper_left_margin; - position_bottom = bottom + paper_bottom_margin; - box_left = left + paper_left_margin; - box_bottom = bottom + paper_bottom_margin; - box_right = box_left + ceil(width); - box_top = box_bottom + ceil(height); - } - - depth = image_info->depth; - - if (depth > 8) - { - depth = 8; - } - - fprintf(outfile, "%%PDF-1.4\n"); - fprintf(outfile, "\n"); - fprintf(outfile, "1 0 obj\n"); - fprintf(outfile, " << /Type /Catalog\n"); - fprintf(outfile, " /Outlines 2 0 R\n"); - fprintf(outfile, " /Pages 3 0 R\n"); - fprintf(outfile, " >>\n"); - fprintf(outfile, "endobj\n"); - fprintf(outfile, "\n"); - fprintf(outfile, "2 0 obj\n"); - fprintf(outfile, " << /Type /Outlines\n"); - fprintf(outfile, " /Count 0\n"); - fprintf(outfile, " >>\n"); - fprintf(outfile, "endobj\n"); - fprintf(outfile, "\n"); - fprintf(outfile, "3 0 obj\n"); - fprintf(outfile, " << /Type /Pages\n"); - fprintf(outfile, " /Kids [4 0 R]\n"); - fprintf(outfile, " /Count 1\n"); - fprintf(outfile, " >>\n"); - fprintf(outfile, "endobj\n"); - fprintf(outfile, "\n"); - fprintf(outfile, "4 0 obj\n"); - fprintf(outfile, " << /Type /Page\n"); - fprintf(outfile, " /Parent 3 0 R\n"); - fprintf(outfile, " /MediaBox [%d %d %d %d]\n", box_left, box_bottom, box_right, box_top); - fprintf(outfile, " /Contents 5 0 R\n"); - fprintf(outfile, " /Resources << /ProcSet 6 0 R >>\n"); - fprintf(outfile, " >>\n"); - fprintf(outfile, "endobj\n"); - fprintf(outfile, "\n"); - - /* Offset of object 5, for xref */ - xref->obj5 = ftell(outfile); - - fprintf(outfile, "5 0 obj\n"); - fprintf(outfile, " << /Length >>\n"); - - /* Position of the stream length, to be written later on */ - xref->slenp = ftell(outfile) - 15; - - fprintf(outfile, "stream\n"); - - /* Start of the stream data */ - xref->slen = ftell(outfile); - - fprintf(outfile, "q\n"); - fprintf(outfile, "1 0 0 1 %d %d cm\n", position_left, position_bottom); /* translate */ - fprintf(outfile, "%f %f -%f %f 0 0 cm\n", cos(rad), sin(rad), sin(rad), cos(rad)); /* rotate */ - fprintf(outfile, "%f 0 0 %f 0 0 cm\n", width, height); /* scale */ - fprintf(outfile, "BI\n"); - fprintf(outfile, " /W %d\n", image_info->image_width); - fprintf(outfile, " /H %d\n", image_info->image_height); - - if (image_info->colors == 3) /* what about RGBA here ? */ - { - fprintf(outfile, " /CS /RGB\n"); - fprintf(outfile, " /BPC %d\n", depth); - } - else if (image_info->depth == 1) /* BW */ - { - fprintf(outfile, " /CS /G\n"); - fprintf(outfile, " /BPC 1\n"); - } - else /* gray */ - { - fprintf(outfile, " /CS /G\n"); - fprintf(outfile, " /BPC 8\n"); - } - -#ifdef HAVE_LIBZ - if (flatdecode) - { - fprintf(outfile, " /F [/A85 /FlateDecode]\n"); - } - else - { - fprintf(outfile, " /F /A85\n"); - } -#else - fprintf(outfile, " /F /A85\n"); -#endif - fprintf(outfile, "ID\n"); -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -int xsane_save_pdf(FILE *outfile, FILE *imagefile, Image_info *image_info, float width, float height, - int paper_left_margin, int paper_bottom_margin, int paperheight, int paperwidth, int paper_orientation, - int flatdecode, - GtkProgressBar *progress_bar, int *cancel_save) -{ - struct tm *t; - time_t tt; - struct pdf_xref xref; - - DBG(DBG_proc, "xsane_save_pdf\n"); - - *cancel_save = 0; - - xsane_save_pdf_create_header(outfile, image_info, width, height, - paper_left_margin, paper_bottom_margin, paperheight, paperwidth, paper_orientation, - flatdecode, - progress_bar, &xref); - - if (image_info->colors == 1) /* lineart, halftone, grayscale */ - { - if (image_info->depth == 1) /* lineart, halftone */ - { - xsane_save_ps_pdf_bw(outfile, imagefile, image_info, flatdecode, progress_bar, cancel_save); - } - else /* grayscale */ - { - xsane_save_ps_pdf_gray(outfile, imagefile, image_info, flatdecode, progress_bar, cancel_save); - } - } - else /* color RGB */ - { - xsane_save_ps_pdf_color(outfile, imagefile, image_info, flatdecode, progress_bar, cancel_save); - } - - /* PDF trailer */ - fprintf(outfile, "EI\n"); - fprintf(outfile, "Q\n"); - - /* Go back and write the length of the stream */ - xref.slen = ftell(outfile) - xref.slen - 1; - fseek(outfile, xref.slenp, SEEK_SET); - fprintf(outfile, "%lu", xref.slen); - fseek(outfile, 0L, SEEK_END); - - fprintf(outfile, "endstream\n"); - fprintf(outfile, "endobj\n"); - fprintf(outfile, "\n"); - - /* Offset of object 6, for xref */ - xref.obj6 = ftell(outfile); - - fprintf(outfile, "6 0 obj\n"); - fprintf(outfile, " [/PDF]\n"); - fprintf(outfile, "endobj\n"); - fprintf(outfile, "\n"); - - /* Offset of object 7, for xref */ - xref.obj7 = ftell(outfile); - - fprintf(outfile, "7 0 obj\n"); - fprintf(outfile, " << /Title (XSane scanned image)\n"); - fprintf(outfile, " /Creator (XSane version %s (sane %d.%d) - by Oliver Rauch)\n", - VERSION, - SANE_VERSION_MAJOR(xsane.sane_backend_versioncode), - SANE_VERSION_MINOR(xsane.sane_backend_versioncode)); - fprintf(outfile, " /Producer (XSane %s)\n", VERSION); - - tt = time(NULL); - t = gmtime(&tt); - - fprintf(outfile, " /CreationDate (D:%04d%02d%02d%02d%02d%02d+00'00')\n", - 1900 + t->tm_year, t->tm_mon + 1, t->tm_mday, t->tm_hour, t->tm_min, t->tm_sec); - fprintf(outfile, " >>\n"); - fprintf(outfile, "endobj\n"); - fprintf(outfile, "\n"); - - /* Offset of xref, for startxref below */ - xref.xref = ftell(outfile); - - fprintf(outfile, "xref\n"); - fprintf(outfile, "0 8\n"); - fprintf(outfile, "0000000000 65535 f \n"); - fprintf(outfile, "0000000010 00000 n \n"); - fprintf(outfile, "0000000094 00000 n \n"); - fprintf(outfile, "0000000153 00000 n \n"); - fprintf(outfile, "0000000229 00000 n \n"); - fprintf(outfile, "%010lu 00000 n \n", xref.obj5); - fprintf(outfile, "%010lu 00000 n \n", xref.obj6); - fprintf(outfile, "%010lu 00000 n \n", xref.obj7); - fprintf(outfile, "\n"); - fprintf(outfile, "trailer\n"); - fprintf(outfile, " << /Size 8\n"); - fprintf(outfile, " /Root 1 0 R\n"); - fprintf(outfile, " /Info 7 0 R\n"); - fprintf(outfile, " >>\n"); - fprintf(outfile, "startxref\n"); - fprintf(outfile, "%lu\n", xref.xref); - fprintf(outfile, "%%%%EOF\n"); - - if (ferror(outfile)) - { - char buf[255]; - - snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); - DBG(DBG_error, "%s\n", buf); - xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); - *cancel_save = 1; - } - - return (*cancel_save); -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ -#ifdef HAVE_LIBJPEG - -typedef struct -{ - struct jpeg_error_mgr pub;/* "public" fields */ - int *cancel_save; -} xsane_jpeg_error_mgr; - -typedef xsane_jpeg_error_mgr *xsane_jpeg_error_mgr_ptr; - -static void xsane_jpeg_error_exit(j_common_ptr cinfo) -{ - char buf[256]; - - /* cinfo->err points to a xsane_jpeg_error_mgr struct */ - xsane_jpeg_error_mgr_ptr xsane_jpeg_error_mgr_data = (xsane_jpeg_error_mgr_ptr) cinfo->err; - - - if (!*xsane_jpeg_error_mgr_data->cancel_save) - { - /* output original error message */ - (*cinfo->err->output_message) (cinfo); - snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_LIBJPEG); - xsane_back_gtk_error(buf, TRUE); - } - - *xsane_jpeg_error_mgr_data->cancel_save = 1; -} - -int xsane_save_jpeg(FILE *outfile, FILE *imagefile, Image_info *image_info, int quality, GtkProgressBar *progress_bar, int *cancel_save) -{ - unsigned char *data; - char buf[256]; - int components = 1; - int x,y; - int bytespp = 1; - struct jpeg_compress_struct cinfo; - xsane_jpeg_error_mgr jerr; - JSAMPROW row_pointer[1]; - - DBG(DBG_proc, "xsane_save_jpeg\n"); - - *cancel_save = 0; - - if (image_info->colors == 3) - { - components = 3; - } - - if (image_info->depth > 8) - { - bytespp = 2; - } - - data = malloc(image_info->image_width * components * bytespp); - - if (!data) - { - snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_NO_MEM); - xsane_back_gtk_error(buf, TRUE); - return -1; /* error */ - } - - cinfo.err = jpeg_std_error(&jerr.pub); - jerr.pub.error_exit = xsane_jpeg_error_exit; - jerr.cancel_save = cancel_save; - - jpeg_create_compress(&cinfo); - jpeg_stdio_dest(&cinfo, outfile); - cinfo.image_width = image_info->image_width; - cinfo.image_height = image_info->image_height; - cinfo.input_components = components; - if (image_info->colors == 3) - { - cinfo.in_color_space = JCS_RGB; - } - else - { - cinfo.in_color_space = JCS_GRAYSCALE; - } - jpeg_set_defaults(&cinfo); - - jpeg_set_quality(&cinfo, quality, TRUE); - - cinfo.density_unit = 1; /* dpi */ - cinfo.X_density = image_info->resolution_x; - cinfo.Y_density = image_info->resolution_y; - - jpeg_start_compress(&cinfo, TRUE); - - for (y = 0; y < image_info->image_height; y++) - { - gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height); - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - - if (image_info->depth == 1) - { - int byte = 0; - int mask = 128; - - for (x = 0; x < image_info->image_width; x++) - { - - if ( (x % 8) == 0) - { - byte = fgetc(imagefile); - mask = 128; - } - - if (byte & mask) - { - data[x] = 0; - } - else - { - data[x] = 255; - } - mask >>= 1; - } - } - else if (image_info->depth > 8) /* jpeg does not support 16 bits/sample, so we reduce it at first */ - { - guint16 *data16 = (guint16 *) data; - fread(data, components * 2, image_info->image_width, imagefile); - for (x = 0; x < image_info->image_width * components; x++) - { - data[x] = data16[x] / 256; - } - - } - else /* 8 bits/sample */ - { - fread(data, components, image_info->image_width, imagefile); - } - - row_pointer[0] = data; - jpeg_write_scanlines(&cinfo, row_pointer, 1); - - if (*cancel_save) - { - cinfo.image_height = y; /* correct image height */ - break; - } - } - - jpeg_finish_compress(&cinfo); - free(data); - - return (*cancel_save); -} -#endif - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -#ifdef HAVE_LIBTIFF -/* pages = 0 => single page tiff, page = 0 */ -/* pages > 0 => page = [1 .. pages] */ -int xsane_save_tiff_page(TIFF *tiffile, int page, int pages, FILE *imagefile, Image_info *image_info, int quality, - GtkProgressBar *progress_bar, int *cancel_save) -{ - char *data; - char buf[256]; - int y, w; - int components; - int compression; - int bytes; - struct tm *ptm; - time_t now; - - DBG(DBG_proc, "xsane_save_tiff_page(%d/%d\n", page, pages); - - *cancel_save = 0; - - if (image_info->depth == 1) - { - compression = preferences.tiff_compression1_nr; - } - else if (image_info->depth == 8) - { - compression = preferences.tiff_compression8_nr; - } - else - { - compression = preferences.tiff_compression16_nr; - } - - - if (image_info->colors == 3) - { - components = 3; - } - else - { - components = 1; - } - - if (image_info->depth <= 8) - { - bytes = 1; - } - else - { - bytes = 2; - } - - data = (char *)_TIFFmalloc(image_info->image_width * components * bytes); - - if (!data) - { - snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_NO_MEM); - xsane_back_gtk_error(buf, TRUE); - return -1; /* error */ - } - - TIFFSetField(tiffile, TIFFTAG_IMAGEWIDTH, image_info->image_width); - TIFFSetField(tiffile, TIFFTAG_IMAGELENGTH, image_info->image_height); - TIFFSetField(tiffile, TIFFTAG_BITSPERSAMPLE, image_info->depth); - TIFFSetField(tiffile, TIFFTAG_SAMPLESPERPIXEL, components); - TIFFSetField(tiffile, TIFFTAG_ORIENTATION, ORIENTATION_TOPLEFT); - TIFFSetField(tiffile, TIFFTAG_PLANARCONFIG, PLANARCONFIG_CONTIG); - TIFFSetField(tiffile, TIFFTAG_COMPRESSION, compression); - TIFFSetField(tiffile, TIFFTAG_SOFTWARE, "xsane"); - - time(&now); - ptm = localtime(&now); - sprintf(buf, "%04d:%02d:%02d %02d:%02d:%02d", 1900+ptm->tm_year, ptm->tm_mon+1, ptm->tm_mday, ptm->tm_hour, ptm->tm_min, ptm->tm_sec); - TIFFSetField(tiffile, TIFFTAG_DATETIME, buf); - - if (image_info->resolution_x > 0.0) - { - TIFFSetField(tiffile, TIFFTAG_RESOLUTIONUNIT, RESUNIT_INCH); - TIFFSetField(tiffile, TIFFTAG_XRESOLUTION, image_info->resolution_x); - TIFFSetField(tiffile, TIFFTAG_YRESOLUTION, image_info->resolution_y); - } - - if (compression == COMPRESSION_JPEG) - { - TIFFSetField(tiffile, TIFFTAG_JPEGQUALITY, quality); - TIFFSetField(tiffile, TIFFTAG_JPEGCOLORMODE, JPEGCOLORMODE_RAW); /* should be default, but to be sure */ - } - - if (image_info->colors == 3) - { - TIFFSetField(tiffile, TIFFTAG_PHOTOMETRIC, PHOTOMETRIC_RGB); - } - else - { - if (image_info->depth == 1) /* lineart */ - { - TIFFSetField(tiffile, TIFFTAG_PHOTOMETRIC, PHOTOMETRIC_MINISWHITE); - } - else /* grayscale */ - { - TIFFSetField(tiffile, TIFFTAG_PHOTOMETRIC, PHOTOMETRIC_MINISBLACK); - } - } - - TIFFSetField(tiffile, TIFFTAG_ROWSPERSTRIP, TIFFDefaultStripSize(tiffile, -1)); - - if (pages) - { - TIFFSetField(tiffile, TIFFTAG_SUBFILETYPE, FILETYPE_PAGE); - TIFFSetField(tiffile, TIFFTAG_PAGENUMBER, page, pages); - } - - w = TIFFScanlineSize(tiffile); - - for (y = 0; y < image_info->image_height; y++) - { - gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height); - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - - fread(data, 1, w, imagefile); - - if (TIFFWriteScanline(tiffile, data, y, 0) != 1) - { - char buf[255]; - - snprintf(buf, sizeof(buf), "%s", ERR_DURING_SAVE); - DBG(DBG_error, "%s\n", buf); - xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); - *cancel_save = 1; - break; - } - - if (*cancel_save) - { - break; - } - } - - if (pages) - { - TIFFWriteDirectory(tiffile); - } - - _TIFFfree(data); - return (*cancel_save); -} -#endif - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -#ifdef HAVE_LIBPNG -#ifdef HAVE_LIBZ -int xsane_save_png(FILE *outfile, FILE *imagefile, Image_info *image_info, int compression, GtkProgressBar *progress_bar, int *cancel_save) -{ - png_structp png_ptr; - png_infop png_info_ptr; - png_bytep row_ptr; - png_color_8 sig_bit; - unsigned char *data; - char buf[256]; - int colortype, components, byte_width; - int y; - - DBG(DBG_proc, "xsane_save_png\n"); - - *cancel_save = 0; - - png_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING, 0, 0, 0); - if (!png_ptr) - { - snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_LIBPNG); - xsane_back_gtk_error(buf, TRUE); - return -1; /* error */ - } - - png_info_ptr = png_create_info_struct(png_ptr); - if (!png_info_ptr) - { - snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_LIBTIFF); - xsane_back_gtk_error(buf, TRUE); - return -1; /* error */ - } - - if (setjmp(png_ptr->jmpbuf)) - { - snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_LIBPNG); - xsane_back_gtk_error(buf, TRUE); - png_destroy_write_struct(&png_ptr, (png_infopp) 0); - return -1; /* error */ - } - - byte_width = image_info->image_width; - - if (image_info->colors == 4) /* RGBA */ - { - components = 4; - colortype = PNG_COLOR_TYPE_RGB_ALPHA; - } - else if (image_info->colors == 3) /* RGB */ - { - components = 3; - colortype = PNG_COLOR_TYPE_RGB; - } - else /* gray or black/white */ - { - components = 1; - colortype = PNG_COLOR_TYPE_GRAY; - } - - png_init_io(png_ptr, outfile); - png_set_compression_level(png_ptr, compression); - png_set_IHDR(png_ptr, png_info_ptr, image_info->image_width, image_info->image_height, image_info->depth, - colortype, PNG_INTERLACE_NONE, PNG_COMPRESSION_TYPE_BASE, PNG_FILTER_TYPE_BASE); - - if (image_info->colors >=3) - { - sig_bit.red = image_info->depth; - sig_bit.green = image_info->depth; - sig_bit.blue = image_info->depth; - - if (image_info->colors == 4) - { - sig_bit.alpha = image_info->depth; - } - - } - else - { - sig_bit.gray = image_info->depth; - - if (image_info->depth == 1) - { - byte_width = (image_info->image_width+7)/8; - png_set_invert_mono(png_ptr); - } - } - - png_set_sBIT(png_ptr, png_info_ptr, &sig_bit); -#if defined(PNG_pHYs_SUPPORTED) - png_set_pHYs(png_ptr, png_info_ptr, - image_info->resolution_x * 100.0 / 2.54, - image_info->resolution_y * 100.0 / 2.54, PNG_RESOLUTION_METER); -#endif - png_write_info(png_ptr, png_info_ptr); - png_set_shift(png_ptr, &sig_bit); - - data = malloc(image_info->image_width * components); - - if (!data) - { - snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_NO_MEM); - xsane_back_gtk_error(buf, TRUE); - png_destroy_write_struct(&png_ptr, (png_infopp) 0); - return -1; /* error */ - } - - for (y = 0; y < image_info->image_height; y++) - { - gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height); - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - - fread(data, components, byte_width, imagefile); - - row_ptr = data; - png_write_rows(png_ptr, &row_ptr, 1); /* errors are caught by test sor setjmp(...) */ - - if (*cancel_save) - { - break; - } - } - - free(data); - png_write_end(png_ptr, png_info_ptr); - png_destroy_write_struct(&png_ptr, (png_infopp) 0); - - return (*cancel_save); -} -#endif -#endif - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -#ifdef HAVE_LIBPNG -#ifdef HAVE_LIBZ -int xsane_save_png_16(FILE *outfile, FILE *imagefile, Image_info *image_info, int compression, GtkProgressBar *progress_bar, int *cancel_save) -{ - png_structp png_ptr; - png_infop png_info_ptr; - png_bytep row_ptr; - png_color_8 sig_bit; /* should be 16, but then I get a warning about wrong type */ - unsigned char *data; - char buf[256]; - int colortype, components; - int x,y; - guint16 val; - - DBG(DBG_proc, "xsane_save_png16\n"); - - *cancel_save = 0; - - png_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING, 0, 0, 0); - if (!png_ptr) - { - snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_LIBPNG); - xsane_back_gtk_error(buf, TRUE); - return -1; /* error */ - } - - png_info_ptr = png_create_info_struct(png_ptr); - if (!png_info_ptr) - { - snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_LIBPNG); - xsane_back_gtk_error(buf, TRUE); - return -1; /* error */ - } - - if (setjmp(png_ptr->jmpbuf)) - { - snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_LIBPNG); - xsane_back_gtk_error(buf, TRUE); - png_destroy_write_struct(&png_ptr, (png_infopp) 0); - return -1; /* error */ - } - - if (image_info->colors == 4) /* RGBA */ - { - components = 4; - colortype = PNG_COLOR_TYPE_RGB_ALPHA; - } - else if (image_info->colors == 3) /* RGB */ - { - components = 3; - colortype = PNG_COLOR_TYPE_RGB; - } - else /* gray or black/white */ - { - components = 1; - colortype = PNG_COLOR_TYPE_GRAY; - } - - png_init_io(png_ptr, outfile); - png_set_compression_level(png_ptr, compression); - png_set_IHDR(png_ptr, png_info_ptr, image_info->image_width, image_info->image_height, 16, - colortype, PNG_INTERLACE_NONE, PNG_COMPRESSION_TYPE_BASE, PNG_FILTER_TYPE_BASE); - - sig_bit.red = image_info->depth; - sig_bit.green = image_info->depth; - sig_bit.blue = image_info->depth; - sig_bit.alpha = image_info->depth; - sig_bit.gray = image_info->depth; - - png_set_sBIT(png_ptr, png_info_ptr, &sig_bit); - png_write_info(png_ptr, png_info_ptr); - png_set_shift(png_ptr, &sig_bit); - png_set_packing(png_ptr); - - data = malloc(image_info->image_width * components * 2); - - if (!data) - { - snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_NO_MEM); - xsane_back_gtk_error(buf, TRUE); - png_destroy_write_struct(&png_ptr, (png_infopp) 0); - return -1; /* error */ - } - - for (y = 0; y < image_info->image_height; y++) - { - gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height); - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - - for (x = 0; x < image_info->image_width * components; x++) /* this must be changed in dependance of endianess */ - { - fread(&val, 2, 1, imagefile); /* get data in machine order */ - data[x*2+0] = val / 256; /* write data in network order (MSB first) */ - data[x*2+1] = val & 255; - } - - row_ptr = data; - png_write_rows(png_ptr, &row_ptr, 1); - if (*cancel_save) - { - break; - } - } - - free(data); - png_write_end(png_ptr, png_info_ptr); - png_destroy_write_struct(&png_ptr, (png_infopp) 0); - - return (*cancel_save); -} -#endif -#endif - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -static int xsane_save_pnm_16_ascii_gray(FILE *outfile, FILE *imagefile, Image_info *image_info, GtkProgressBar *progress_bar, int *cancel_save) -{ - int x,y; - guint16 val; - int count = 0; - - DBG(DBG_proc, "xsane_save_pnm_16_ascii_gray\n"); - - *cancel_save = 0; - - for (y = 0; y < image_info->image_height; y++) - { - for (x = 0; x < image_info->image_width; x++) - { - fread(&val, 2, 1, imagefile); /* get data in machine order */ - fprintf(outfile, "%d ", val); - - if (++count >= 10) - { - fprintf(outfile, "\n"); - count = 0; - } - } - fprintf(outfile, "\n"); - - if (ferror(outfile)) - { - char buf[255]; - - snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); - DBG(DBG_error, "%s\n", buf); - xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); - *cancel_save = 1; - break; - } - - count = 0; - - gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height); - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - if (*cancel_save) - { - break; - } - } - - return (*cancel_save); -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -static int xsane_save_pnm_16_ascii_color(FILE *outfile, FILE *imagefile, Image_info *image_info, GtkProgressBar *progress_bar, int *cancel_save) -{ - int x,y; - guint16 val; - int count = 0; - - DBG(DBG_proc, "xsane_save_pnm_16_ascii_color\n"); - - *cancel_save = 0; - - for (y = 0; y < image_info->image_height; y++) - { - for (x = 0; x < image_info->image_width; x++) - { - fread(&val, 2, 1, imagefile); /* get data in machine order */ - fprintf(outfile, "%d ", val); - - fread(&val, 2, 1, imagefile); - fprintf(outfile, "%d ", val); - - fread(&val, 2, 1, imagefile); - fprintf(outfile, "%d ", val); - - if (++count >= 3) - { - fprintf(outfile, "\n"); - count = 0; - } - } - fprintf(outfile, "\n"); - - if (ferror(outfile)) - { - char buf[255]; - - snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); - DBG(DBG_error, "%s\n", buf); - xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); - *cancel_save = 1; - break; - } - - count = 0; - - gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height); - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - - if (*cancel_save) - { - break; - } - } - - return (*cancel_save); -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -static int xsane_save_pnm_16_binary_gray(FILE *outfile, FILE *imagefile, Image_info *image_info, GtkProgressBar *progress_bar, int *cancel_save) -{ - int x,y; - guint16 val; - - DBG(DBG_proc, "xsane_save_pnm_16_binary_gray\n"); - - *cancel_save = 0; - - for (y = 0; y < image_info->image_height; y++) - { - for (x = 0; x < image_info->image_width; x++) - { - fread(&val, 2, 1, imagefile); /* get data in machine order */ - fputc(val / 256, outfile); /* MSB fist */ - fputc(val & 255, outfile); /* LSB */ - } - - gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height); - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - - if (ferror(outfile)) - { - char buf[255]; - - snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); - DBG(DBG_error, "%s\n", buf); - xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); - *cancel_save = 1; - break; - } - - if (*cancel_save) - { - break; - } - } - - return (*cancel_save); -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -static int xsane_save_pnm_16_binary_color(FILE *outfile, FILE *imagefile, Image_info *image_info, GtkProgressBar *progress_bar, int *cancel_save) -{ - int x,y; - guint16 val; - - DBG(DBG_proc, "xsane_save_pnm_16_binary_color\n"); - - *cancel_save = 0; - - for (y = 0; y < image_info->image_height; y++) - { - for (x = 0; x < image_info->image_width; x++) - { - /* red */ - fread(&val, 2, 1, imagefile); /* get data in machine order */ - fputc(val / 256, outfile); /* MSB fist */ - fputc(val & 255, outfile); /* LSB */ - - /* green */ - fread(&val, 2, 1, imagefile); /* get data in machine order */ - fputc(val / 256, outfile); /* MSB fist */ - fputc(val & 255, outfile); /* LSB */ - - /* blue */ - fread(&val, 2, 1, imagefile); /* get data in machine order */ - fputc(val / 256, outfile); /* MSB fist */ - fputc(val & 255, outfile); /* LSB */ - } - - gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height); - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - - - if (ferror(outfile)) - { - char buf[255]; - - snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); - DBG(DBG_error, "%s\n", buf); - xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); - *cancel_save = 1; - break; - } - - if (*cancel_save) - { - break; - } - } - - return (*cancel_save); -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -int xsane_save_pnm_16(FILE *outfile, FILE *imagefile, Image_info *image_info, GtkProgressBar *progress_bar, int *cancel_save) -{ - DBG(DBG_proc, "xsane_save_pnm_16\n"); - - *cancel_save = 0; - - xsane_write_pnm_header(outfile, image_info, preferences.save_pnm16_as_ascii); - - if (image_info->colors > 1) - { - if (preferences.save_pnm16_as_ascii) - { - xsane_save_pnm_16_ascii_color(outfile, imagefile, image_info, progress_bar, cancel_save); - } - else - { - xsane_save_pnm_16_binary_color(outfile, imagefile, image_info, progress_bar, cancel_save); - } - } - else - { - if (preferences.save_pnm16_as_ascii) - { - xsane_save_pnm_16_ascii_gray(outfile, imagefile, image_info, progress_bar, cancel_save); - } - else - { - xsane_save_pnm_16_binary_gray(outfile, imagefile, image_info, progress_bar, cancel_save); - } - } - - return (*cancel_save); -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ -/* ---------------------------------------------------------------------------------------------------------------------- */ - -/* 0=ok, <0=error, 1=canceled */ -int xsane_save_image_as_lineart(char *output_filename, char *input_filename, GtkProgressBar *progress_bar, int *cancel_save) -{ - FILE *outfile; - FILE *infile; - char buf[256]; - Image_info image_info; - - *cancel_save = 0; - - outfile = fopen(output_filename, "wb"); /* b = binary mode for win32 */ - - if (outfile == 0) - { - snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, output_filename, strerror(errno)); - xsane_back_gtk_error(buf, TRUE); - return -2; - } - - infile = fopen(input_filename, "rb"); /* read binary (b for win32) */ - if (infile == 0) - { - char buf[256]; - snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, input_filename, strerror(errno)); - xsane_back_gtk_error(buf, TRUE); - - fclose(outfile); - remove(output_filename); /* remove already created output file */ - return -1; - } - - xsane_read_pnm_header(infile, &image_info); - - xsane_save_grayscale_image_as_lineart(outfile, infile, &image_info, progress_bar, cancel_save); - - fclose(infile); - fclose(outfile); - - if (*cancel_save) /* remove output file if saving has been canceled */ - { - remove(output_filename); - } - - return (*cancel_save); -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -int xsane_save_image_as_text(char *output_filename, char *input_filename, GtkProgressBar *progress_bar, int *cancel_save) -{ - char *arg[1000]; - char buf[256]; - int argnr; - pid_t pid; - int i; - int pipefd[2]; /* for progress communication with gocr */ - FILE *ocr_progress = NULL; - - DBG(DBG_proc, "xsane_save_image_as_text\n"); - - argnr = xsane_parse_options(preferences.ocr_command, arg); - - arg[argnr++] = strdup(preferences.ocr_inputfile_option); - arg[argnr++] = strdup(input_filename); - - arg[argnr++] = strdup(preferences.ocr_outputfile_option); - arg[argnr++] = strdup(output_filename); - - if (preferences.ocr_use_gui_pipe) - { - if (!pipe(pipefd)) /* success */ - { - DBG(DBG_info, "xsane_save_image_as_text: created pipe for progress communication\n"); - - arg[argnr++] = strdup(preferences.ocr_gui_outfd_option); - - snprintf(buf, sizeof(buf),"%d", pipefd[1]); - arg[argnr++] = strdup(buf); - } - else - { - DBG(DBG_info, "xsane_save_image_as_text: could not create pipe for progress communication\n"); - pipefd[0] = 0; - pipefd[1] = 0; - } - } - else - { - DBG(DBG_info, "xsane_save_image_as_text: no pipe for progress communication requested\n"); - pipefd[0] = 0; - pipefd[1] = 0; - } - - arg[argnr] = 0; - -#ifndef HAVE_OS2_H - pid = fork(); - - if (pid == 0) /* new process */ - { - FILE *ipc_file = NULL; - - if (xsane.ipc_pipefd[0]) /* did we create the progress pipe? */ - { - close(xsane.ipc_pipefd[0]); /* close reading end of pipe */ - ipc_file = fdopen(xsane.ipc_pipefd[1], "w"); - } - - if (pipefd[0]) /* did we create the progress pipe? */ - { - close(pipefd[0]); /* close reading end of pipe */ - } - - DBG(DBG_info, "trying to change user id for new subprocess:\n"); - DBG(DBG_info, "old effective uid = %d\n", (int) geteuid()); - setuid(getuid()); - DBG(DBG_info, "new effective uid = %d\n", (int) geteuid()); - - - execvp(arg[0], arg); /* does not return if successfully */ - DBG(DBG_error, "%s %s\n", ERR_FAILED_EXEC_OCR_CMD, preferences.ocr_command); - - /* send error message via IPC pipe to parent process */ - if (ipc_file) - { - fprintf(ipc_file, "%s %s:\n%s", ERR_FAILED_EXEC_OCR_CMD, preferences.ocr_command, strerror(errno)); - fflush(ipc_file); /* make sure message is displayed */ - fclose(ipc_file); - } - - _exit(0); /* do not use exit() here! otherwise gtk gets in trouble */ - } - -#else - pid = spawnvp(P_NOWAIT, arg[0], arg); - if (pid == -1) - { - DBG(DBG_error, "%s %s\n", ERR_FAILED_EXEC_OCR_CMD, preferences.ocr_command); - } -#endif - - if (pipefd[1]) - { - close(pipefd[1]); /* close writing end of pipe */ - ocr_progress = fdopen(pipefd[0], "r"); /* open reading end of pipe as file */ - } - - for (i=0; i<argnr; i++) - { - free(arg[i]); - } - - if (ocr_progress) /* pipe available */ - { - gtk_progress_bar_update(GTK_PROGRESS_BAR(progress_bar), 0.0); - - while (!feof(ocr_progress)) - { - int progress, subprogress; - float fprogress; - - fgets(buf, sizeof(buf), ocr_progress); - - if (!strncmp(preferences.ocr_progress_keyword, buf, strlen(preferences.ocr_progress_keyword))) - { - sscanf(buf + strlen(preferences.ocr_progress_keyword), "%d %d", &progress, &subprogress); - - snprintf(buf, sizeof(buf), "%s (%d:%d)", PROGRESS_OCR, progress, subprogress); - gtk_progress_set_format_string(GTK_PROGRESS(progress_bar), buf); - - fprogress = progress / 100.0; - - if (fprogress < 0.0) - { - fprogress = 0.0; - } - - if (fprogress > 11.0) - { - fprogress = 1.0; - } - - gtk_progress_bar_update(GTK_PROGRESS_BAR(progress_bar), fprogress); - } - - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - } - - gtk_progress_set_format_string(GTK_PROGRESS(progress_bar), ""); - gtk_progress_bar_update(GTK_PROGRESS_BAR(progress_bar), 0.0); - } - else /* no pipe available */ - { - while (pid) - { - int status = 0; - pid_t pid_status = waitpid(pid, &status, WNOHANG); - - if (pid == pid_status) - { - pid = 0; /* ok, child process has terminated */ - } - - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - } - } - - if (pipefd[0]) - { - fclose(ocr_progress); /* close reading end of pipe */ - } - - return (*cancel_save); -} -/* ---------------------------------------------------------------------------------------------------------------------- */ - -/* save image in destination file format. lineart images that are stored as grayscale image are reduced to lineart! */ -int xsane_save_image_as(char *output_filename, char *input_filename, int output_format, GtkProgressBar *progress_bar, int *cancel_save) -{ - FILE *outfile; - FILE *infile; - char buf[256]; - Image_info image_info; - char lineart_filename[PATH_MAX]; - int remove_input_file = FALSE; - - DBG(DBG_proc, "xsane_save_image_as(output_file=%s, input_file=%s, type=%d)\n", output_filename, input_filename, output_format); - - *cancel_save = 0; - - infile = fopen(input_filename, "rb"); /* read binary (b for win32) */ - if (infile == 0) - { - char buf[256]; - snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, input_filename, strerror(errno)); - xsane_back_gtk_error(buf, TRUE); - - return -1; - } - - xsane_read_pnm_header(infile, &image_info); - - if ((image_info.reduce_to_lineart) && (output_format != XSANE_PNM)) - { - DBG(DBG_info, "original image is a lineart => reduce to lineart\n"); - fclose(infile); - xsane_back_gtk_make_path(sizeof(lineart_filename), lineart_filename, 0, 0, "xsane-conversion-", xsane.dev_name, ".pbm", XSANE_PATH_TMP); - - snprintf(buf, sizeof(buf), "%s: %s", PROGRESS_PACKING_DATA, output_filename); - - gtk_progress_set_format_string(GTK_PROGRESS(progress_bar), buf); - gtk_progress_bar_update(GTK_PROGRESS_BAR(progress_bar), 0.0); - - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - - xsane_save_image_as_lineart(lineart_filename, input_filename, progress_bar, cancel_save); - - input_filename = lineart_filename; - remove_input_file = TRUE; - - infile = fopen(input_filename, "rb"); /* read binary (b for win32) */ - if (infile == 0) - { - char buf[256]; - snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, input_filename, strerror(errno)); - xsane_back_gtk_error(buf, TRUE); - - return -1; - } - - xsane_read_pnm_header(infile, &image_info); - } - - snprintf(buf, sizeof(buf), "%s: %s", PROGRESS_SAVING_DATA, output_filename); - - gtk_progress_set_format_string(GTK_PROGRESS(progress_bar), buf); - gtk_progress_bar_update(GTK_PROGRESS_BAR(progress_bar), 0.0); - - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - - -#ifdef HAVE_LIBTIFF - if (output_format == XSANE_TIFF) /* routines that want to have filename for saving */ - { - TIFF *tiffile; - - if (xsane_create_secure_file(output_filename)) /* remove possibly existing symbolic links for security */ - { - snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, output_filename); - xsane_back_gtk_error(buf, TRUE); - return -1; /* error */ - } - - tiffile = TIFFOpen(output_filename, "w"); - if (!tiffile) - { - snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_OPEN_FAILED, output_filename); - xsane_back_gtk_error(buf, TRUE); - return -1; /* error */ - } - - xsane_save_tiff_page(tiffile, 0, 0, infile, &image_info, preferences.jpeg_quality, progress_bar, cancel_save); - - TIFFClose(tiffile); - } - else /* routines that want to have filedescriptor for saving */ -#endif /* HAVE_LIBTIFF */ - { - if (xsane_create_secure_file(output_filename)) /* remove possibly existing symbolic links for security */ - { - snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, output_filename); - xsane_back_gtk_error(buf, TRUE); - return -1; /* error */ - } - - outfile = fopen(output_filename, "wb"); /* b = binary mode for win32 */ - - if (outfile != 0) - { - switch(output_format) - { - case XSANE_PNM: - if (image_info.reduce_to_lineart) - { - xsane_save_grayscale_image_as_lineart(outfile, infile, &image_info, progress_bar, cancel_save); - } - else - { - xsane_copy_file(outfile, infile, progress_bar, cancel_save); - } - break; - -#ifdef HAVE_LIBJPEG - case XSANE_JPEG: - xsane_save_jpeg(outfile, infile, &image_info, preferences.jpeg_quality, progress_bar, cancel_save); - break; /* switch format == XSANE_JPEG */ -#endif - -#ifdef HAVE_LIBPNG -#ifdef HAVE_LIBZ - case XSANE_PNG: - if (image_info.depth <= 8) - { - xsane_save_png(outfile, infile, &image_info, preferences.png_compression, progress_bar, cancel_save); - } - else - { - xsane_save_png_16(outfile, infile, &image_info, preferences.png_compression, progress_bar, cancel_save); - } - break; /* switch format == XSANE_PNG */ -#endif -#endif - - case XSANE_PNM16: - xsane_save_pnm_16(outfile, infile, &image_info, progress_bar, cancel_save); - break; /* switch fomat == XSANE_PNM16 */ - - case XSANE_PS: /* save postscript, use original size */ - { - float imagewidth, imageheight; - - imagewidth = 72.0 * image_info.image_width/image_info.resolution_x; /* width in 1/72 inch */ - imageheight = 72.0 * image_info.image_height/image_info.resolution_y; /* height in 1/72 inch */ - - xsane_save_ps(outfile, infile, - &image_info, - imagewidth, imageheight, - 0, /* paper_left_margin */ - 0, /* paper_bottom_margin */ - (int) imagewidth, /* paper_width */ - (int) imageheight, /* paper_height */ - 0 /* portrait top left */, - preferences.save_ps_flatdecoded, - progress_bar, - cancel_save); - } - break; /* switch format == XSANE_PS */ - - case XSANE_PDF: /* save PDF, use original size */ - { - float imagewidth, imageheight; - - imagewidth = 72.0 * image_info.image_width/image_info.resolution_x; /* width in 1/72 inch */ - imageheight = 72.0 * image_info.image_height/image_info.resolution_y; /* height in 1/72 inch */ - - xsane_save_pdf(outfile, infile, - &image_info, - imagewidth, imageheight, - 0, /* paper_left_margin */ - 0, /* paper_bottom_margin */ - (int) imagewidth, /* paper_width */ - (int) imageheight, /* paper_height */ - 0 /* portrait top left */, - preferences.save_pdf_flatdecoded, - progress_bar, - cancel_save); - } - break; /* switch format == XSANE_PDF */ - - case XSANE_TEXT: /* save as text using ocr program like gocr/jocr */ - { - xsane_save_image_as_text(output_filename, input_filename, progress_bar, cancel_save); - } - break; /* switch format == XSANE_TEXT */ - - default: - snprintf(buf, sizeof(buf),"%s", ERR_UNKNOWN_SAVING_FORMAT); - xsane_back_gtk_error(buf, TRUE); - - fclose(outfile); - fclose(infile); - - remove(output_filename); /* no usable output: remove output file */ - - if (remove_input_file) - { - remove(input_filename); /* remove lineart pbm file */ - } - - gtk_progress_set_format_string(GTK_PROGRESS(progress_bar), ""); - gtk_progress_bar_update(GTK_PROGRESS_BAR(progress_bar), 0.0); - - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - - return -2; - break; /* switch format == default */ - } - fclose(outfile); - } - else - { - snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, output_filename, strerror(errno)); - xsane_back_gtk_error(buf, TRUE); - - fclose(infile); - - if (remove_input_file) - { - remove(input_filename); /* remove lineart pbm file */ - } - - gtk_progress_set_format_string(GTK_PROGRESS(progress_bar), ""); - gtk_progress_bar_update(GTK_PROGRESS_BAR(progress_bar), 0.0); - - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - - return -2; - } - } - - fclose (infile); - - if (remove_input_file) - { - remove(input_filename); /* remove lineart pbm file */ - } - - if (*cancel_save) /* remove output file if saving has been canceled */ - { - remove(output_filename); - } - - gtk_progress_set_format_string(GTK_PROGRESS(progress_bar), ""); - gtk_progress_bar_update(GTK_PROGRESS_BAR(progress_bar), 0.0); - - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - - return (*cancel_save); -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ -/* ---------------------------------------------------------------------------------------------------------------------- */ -/* ---------------------------------------------------------------------------------------------------------------------- */ -/* ---------------------------------------------------------------------------------------------------------------------- */ - -#ifdef HAVE_ANY_GIMP -static int xsane_decode_devname(const char *encoded_devname, int n, char *buf) -{ - char *dst, *limit; - const char *src; - char ch, val; - - DBG(DBG_proc, "xsane_decode_devname\n"); - - limit = buf + n; - for (src = encoded_devname, dst = buf; *src; ++dst) - { - if (dst >= limit) - { - return -1; - } - - ch = *src++; - /* don't use the ctype.h macros here since we don't want to allow anything non-ASCII here... */ - if (ch != '-') - { - *dst = ch; - } - else /* decode */ - { - ch = *src++; - if (ch == '-') - { - *dst = ch; - } - else - { - if (ch >= 'a' && ch <= 'f') - { - val = (ch - 'a') + 10; - } - else - { - val = (ch - '0'); - } - val <<= 4; - - ch = *src++; - if (ch >= 'a' && ch <= 'f') - { - val |= (ch - 'a') + 10; - } - else - { - val |= (ch - '0'); - } - - *dst = val; - - ++src; /* simply skip terminating '-' for now... */ - } - } - } - - if (dst >= limit) - { - return -1; - } - - *dst = '\0'; - return 0; -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -static int xsane_encode_devname(const char *devname, int n, char *buf) -{ - static const char hexdigit[] = "0123456789abcdef"; - char *dst, *limit; - const char *src; - char ch; - - DBG(DBG_proc, "xsane_encode_devname\n"); - - limit = buf + n; - for (src = devname, dst = buf; *src; ++src) - { - if (dst >= limit) - { - return -1; - } - - ch = *src; - /* don't use the ctype.h macros here since we don't want to allow anything non-ASCII here... */ - if ((ch >= '0' && ch <= '9') || (ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z')) - { - *dst++ = ch; - } - else /* encode */ - { - if (dst + 4 >= limit) - { - return -1; - } - - *dst++ = '-'; - if (ch == '-') - { - *dst++ = '-'; - } - else - { - *dst++ = hexdigit[(ch >> 4) & 0x0f]; - *dst++ = hexdigit[(ch >> 0) & 0x0f]; - *dst++ = '-'; - } - } - } - - if (dst >= limit) - { - return -1; - } - - *dst = '\0'; - return 0; -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -static void xsane_gimp_query(void) -{ - static GimpParamDef args[] = - { - {GIMP_PDB_INT32, "run_mode", "Interactive, non-interactive"}, - }; - static GimpParamDef *return_vals = NULL; - static int nargs = sizeof(args) / sizeof(args[0]); - static int nreturn_vals = 0; - char mpath[1024]; - char name[1024]; - size_t len; - int i, j; - - DBG(DBG_proc, "xsane_gimp_query\n"); - - snprintf(name, sizeof(name), "%s", xsane.prog_name); -#ifdef GIMP_CHECK_VERSION -# if GIMP_CHECK_VERSION(1,1,9) - snprintf(mpath, sizeof(mpath), "%s", XSANE_GIMP_MENU_DIALOG); -# else - snprintf(mpath, sizeof(mpath), "%s", XSANE_GIMP_MENU_DIALOG_OLD); -# endif -#else - snprintf(mpath, sizeof(mpath), "%s", XSANE_GIMP_MENU_DIALOG_OLD); -#endif - gimp_install_procedure(name, - XSANE_GIMP_INSTALL_BLURB, - XSANE_GIMP_INSTALL_HELP, - XSANE_AUTHOR, - XSANE_COPYRIGHT, - XSANE_DATE, - mpath, - 0, /* "RGB, GRAY", */ - GIMP_EXTENSION, - nargs, nreturn_vals, - args, return_vals); - - sane_init(&xsane.sane_backend_versioncode, (void *) xsane_authorization_callback); - if (SANE_VERSION_MAJOR(xsane.sane_backend_versioncode) != SANE_V_MAJOR) - { - DBG(DBG_error0, "\n\n" - "%s %s:\n" - " %s\n" - " %s %d\n" - " %s %d\n" - "%s\n\n", - xsane.prog_name, ERR_ERROR, - ERR_MAJOR_VERSION_NR_CONFLICT, - ERR_XSANE_MAJOR_VERSION, SANE_V_MAJOR, - ERR_BACKEND_MAJOR_VERSION, SANE_VERSION_MAJOR(xsane.sane_backend_versioncode), - ERR_PROGRAM_ABORTED); - return; - } - - sane_get_devices(&xsane.devlist, SANE_FALSE); - - for (i = 0; xsane.devlist[i]; ++i) - { - snprintf(name, sizeof(name), "%s-", xsane.prog_name); - if (xsane_encode_devname(xsane.devlist[i]->name, sizeof(name) - 6, name + 6) < 0) - { - continue; /* name too long... */ - } - -#ifdef GIMP_CHECK_VERSION -# if GIMP_CHECK_VERSION(1,1,9) - snprintf(mpath, sizeof(mpath), "%s", XSANE_GIMP_MENU); -# else - snprintf(mpath, sizeof(mpath), "%s", XSANE_GIMP_MENU_OLD); -# endif -#else - snprintf(mpath, sizeof(mpath), "%s", XSANE_GIMP_MENU_OLD); -#endif - len = strlen(mpath); - for (j = 0; xsane.devlist[i]->name[j]; ++j) - { - if (xsane.devlist[i]->name[j] == '/') - { - mpath[len++] = '\''; - } - else - { - mpath[len++] = xsane.devlist[i]->name[j]; - } - } - mpath[len++] = '\0'; - - gimp_install_procedure(name, - XSANE_GIMP_INSTALL_BLURB, - XSANE_GIMP_INSTALL_HELP, - XSANE_AUTHOR, - XSANE_COPYRIGHT, - XSANE_DATE, - mpath, - 0, /* "RGB, GRAY", */ - GIMP_EXTENSION, - nargs, nreturn_vals, - args, return_vals); - } - - sane_exit(); -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -#ifdef HAVE_GIMP_2 -static void xsane_gimp_run(const gchar *name, gint nparams, const GimpParam *param, gint *nreturn_vals, GimpParam **return_vals) -{ - GimpRunMode run_mode; -#else /* GIMP-1.x */ -static void xsane_gimp_run(char *name, int nparams, GimpParam *param, int *nreturn_vals, GimpParam **return_vals) -{ - GimpRunModeType run_mode; -#endif - - static GimpParam values[2]; - char devname[1024]; - char *args[2]; - int nargs; - - DBG(DBG_proc, "xsane_gimp_run\n"); - - run_mode = param[0].data.d_int32; - xsane.mode = XSANE_GIMP_EXTENSION; - xsane.xsane_mode = XSANE_SAVE; - - *nreturn_vals = 1; - *return_vals = values; - - values[0].type = GIMP_PDB_STATUS; - values[0].data.d_status = GIMP_PDB_CALLING_ERROR; - - nargs = 0; - args[nargs++] = "xsane"; - - xsane.selected_dev = -1; - if (strncmp(name, "xsane-", 6) == 0) - { - if (xsane_decode_devname(name + 6, sizeof(devname), devname) < 0) - { - return; /* name too long */ - } - args[nargs++] = devname; - } - - switch (run_mode) - { - case GIMP_RUN_INTERACTIVE: -#ifdef HAVE_GIMP_2 - gimp_extension_ack(); -#endif - xsane_interface(nargs, args); - values[0].data.d_status = GIMP_PDB_SUCCESS; - break; - - case GIMP_RUN_NONINTERACTIVE: - /* Make sure all the arguments are there! */ - break; - - case GIMP_RUN_WITH_LAST_VALS: - /* Possibly retrieve data */ - break; - - default: - break; - } -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -void null_print_func(gchar *msg) -{ -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -int xsane_transfer_to_gimp(char *input_filename, GtkProgressBar *progress_bar, int *cancel_save) -{ - int remaining; - size_t tile_size; - GimpImageType image_type = GIMP_GRAY; - GimpImageType drawable_type = GIMP_GRAY_IMAGE; - gint32 layer_ID; - gint32 image_ID; - GimpDrawable *drawable; - guchar *tile; - GimpPixelRgn region; - unsigned tile_offset; - int i, x, y; - Image_info image_info; - FILE *imagefile; - - DBG(DBG_info, "xsane_transer_to_gimp\n"); - - *cancel_save = 0; - - imagefile = fopen(input_filename, "rb"); /* read binary (b for win32) */ - if (imagefile == 0) - { - char buf[256]; - snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, input_filename, strerror(errno)); - xsane_back_gtk_error(buf, TRUE); - - return -1; - } - - xsane_read_pnm_header(imagefile, &image_info); - - x = 0; - y = 0; - tile_offset = 0; - tile_size = image_info.image_width * gimp_tile_height(); - - if (image_info.colors == 3) /* RGB */ - { - tile_size *= 3; /* 24 bits/pixel RGB */ - image_type = GIMP_RGB; - drawable_type = GIMP_RGB_IMAGE; - } - else if (image_info.colors == 4) /* RGBA */ - { - tile_size *= 4; /* 32 bits/pixel RGBA */ - image_type = GIMP_RGB; - drawable_type = GIMP_RGBA_IMAGE; /* interpret infrared as alpha */ - } - /* colors == 0/1 is predefined */ - - image_ID = gimp_image_new(image_info.image_width, image_info.image_height, image_type); - -/* the following is supported since gimp-1.1.? */ -#ifdef GIMP_HAVE_RESOLUTION_INFO - if (image_info.resolution_x > 0) - { - gimp_image_set_resolution(image_ID, image_info.resolution_x, image_info.resolution_y); - } -/* gimp_image_set_unit(image_ID, unit?); */ -#endif - - layer_ID = gimp_layer_new(image_ID, "Background", image_info.image_width, image_info.image_height, drawable_type, 100.0, GIMP_NORMAL_MODE); - gimp_image_add_layer(image_ID, layer_ID, 0); - drawable = gimp_drawable_get(layer_ID); - gimp_pixel_rgn_init(®ion, drawable, 0, 0, drawable->width, drawable->height, TRUE, FALSE); - tile = g_new(guchar, tile_size); - - - if (image_info.colors == 1) /* gray */ - { - switch (image_info.depth) - { - case 1: /* 1 bit gray => conversion to 8 bit gray */ - for (i = 0; i < ( (image_info.image_width + 7) / 8) * image_info.image_height; ++i) - { - u_char mask; - int j; - - mask = fgetc(imagefile); - for (j = 7; j >= 0; --j) - { - u_char gl = (mask & (1 << j)) ? 0x00 : 0xff; - tile[tile_offset++] = gl; - - x++; - - if (x >= image_info.image_width) - { - int tile_height = gimp_tile_height(); - - x = 0; - y++; - - if (y % tile_height == 0) - { - gimp_pixel_rgn_set_rect(®ion, tile, 0, y - tile_height, image_info.image_width, tile_height); - tile_offset = 0; - } - - gtk_progress_bar_update(progress_bar, (float) y / image_info.image_height); /* update progress bar */ - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - - break; /* leave for j loop */ - } - } - - if (*cancel_save) - { - break; - } - } - break; /* leave switch depth 1 */ - - case 8: /* 8 bit gray */ - case 16: /* 16 bit gray already has been reduced to 8 bit */ - for (i = 0; i < image_info.image_width * image_info.image_height; ++i) - { - tile[tile_offset++] = fgetc(imagefile); - x++; - - if (x >= image_info.image_width) - { - int tile_height = gimp_tile_height(); - - x = 0; - y++; - - if (y % tile_height == 0) - { - gimp_pixel_rgn_set_rect(®ion, tile, 0, y - tile_height, image_info.image_width, tile_height); - tile_offset = 0; - } - - gtk_progress_bar_update(progress_bar, (float) y / image_info.image_height); /* update progress bar */ - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - } - - if (*cancel_save) - { - break; - } - } - break; /* leave switch depth */ - - default: /* bad depth */ - break; /* default */ - } - } - else if (image_info.colors == 3) /* RGB */ - { - switch (image_info.depth) - { - case 8: /* 8 bit RGB */ - case 16: /* 16 bit RGB already has been reduced to 8 bit */ - for (i = 0; i < image_info.image_width * image_info.image_height*3; ++i) - { - tile[tile_offset++] = fgetc(imagefile); - if (tile_offset % 3 == 0) - { - x++; - - if (x >= image_info.image_width) - { - int tile_height = gimp_tile_height(); - - x = 0; - y++; - - if (y % tile_height == 0) - { - gimp_pixel_rgn_set_rect(®ion, tile, 0, y - tile_height, image_info.image_width, tile_height); - tile_offset = 0; - } - - gtk_progress_bar_update(progress_bar, (float) y / image_info.image_height); /* update progress bar */ - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - } - } - - if (*cancel_save) - { - break; - } - } - break; /* case 8 */ - - default: /* bad depth */ - break; /* default */ - } - } -#ifdef SUPPORT_RGBA - else if (image_info.colors == 4) /* RGBA */ - { - int i; - - switch (image_info.depth) - { - case 8: /* 8 bit RGBA */ - case 16: /* 16 bit RGBA already has been reduced to 8 bit */ - for (i = 0; i < image_info.image_width * image_info.image_height * 4; ++i) - { - tile[tile_offset++] = fgetc(imagefile); - if (tile_offset % 4 == 0) - { - x++; - - if (x >= image_info.image_width) - { - int tile_height = gimp_tile_height(); - - x = 0; - y++; - - if (y % tile_height == 0) - { - gimp_pixel_rgn_set_rect(®ion, tile, 0, y - tile_height, image_info.image_width, tile_height); - tile_offset = 0; - } - - gtk_progress_bar_update(progress_bar, (float) y / image_info.image_height); /* update progress bar */ - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - } - } - - if (*cancel_save) - { - break; - } - } - break; - - default: /* bad depth */ - break; - } - } -#endif - -/* scan_done part */ - if (y > image_info.image_height) - { - y = image_info.image_height; - } - - remaining = y % gimp_tile_height(); - - if (remaining) - { - gimp_pixel_rgn_set_rect(®ion, tile, 0, y - remaining, image_info.image_width, remaining); - } - - gimp_drawable_flush(drawable); - gimp_display_new(image_ID); - gimp_drawable_detach(drawable); - g_free(tile); - tile = 0; - - fclose(imagefile); - - return 0; -} -#endif /* HAVE_ANY_GIMP */ - -/* ---------------------------------------------------------------------------------------------------------------------- */ -/* ---------------------------------------------------------------------------------------------------------------------- */ -/* ---------------------------------------------------------------------------------------------------------------------- */ -/* ---------------------------------------------------------------------------------------------------------------------- */ - -#ifdef XSANE_ACTIVATE_MAIL - -/* character base of base64 coding */ -static const char base64[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -static void write_3chars_as_base64(unsigned char c1, unsigned char c2, unsigned char c3, int pads, int fd_socket) -{ - char buf[4]; - - buf[0] = base64[c1>>2]; /* wirte bits 7-2 of first char */ - buf[1] = base64[((c1 & 0x3)<< 4) | ((c2 & 0xF0) >> 4)]; /* write bits 1,0 of first and bits 7-4 of second char */ - - if (pads == 2) /* only one byte used */ - { - buf[2] = '='; /* char not used */ - buf[3] = '='; /* char not used */ - } - else if (pads) /* only two bytes used */ - { - buf[2] = base64[((c2 & 0xF) << 2)]; /* write bits 3-0 of second char */ - buf[3] = '='; /* char not used */ - } - else - { - buf[2] = base64[((c2 & 0xF) << 2) | ((c3 & 0xC0) >>6)]; /* write bits 3-0 of second and bits 7,6 of third char */ - buf[3] = base64[c3 & 0x3F]; /* write bits 5-0 of third char as lsb */ - } - - write(fd_socket, buf, 4); -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -void write_base64(int fd_socket, FILE *infile) -{ - int c1, c2, c3; - int pos = 0; - - while ((c1 = getc(infile)) != EOF) - { - c2 = getc(infile); - if (c2 == EOF) - { - write_3chars_as_base64(c1, 0, 0, 2, fd_socket); - } - else - { - c3 = getc(infile); - if (c3 == EOF) - { - write_3chars_as_base64(c1, c2, 0, 1, fd_socket); - } - else - { - write_3chars_as_base64(c1, c2, c3, 0, fd_socket); - } - } - - pos += 4; - if (pos > 71) - { - write(fd_socket, "\n", 1); - - pos = 0; - } - - xsane.mail_progress_bytes += 3; - if ((int) ((xsane.mail_progress_bytes * 100) / xsane.mail_progress_size) != (int) (xsane.mail_progress_val * 100)) - { - xsane.mail_progress_val = (float) xsane.mail_progress_bytes / xsane.mail_progress_size; - xsane_front_gtk_mail_project_update_lockfile_status(); - } - } - - if (pos) - { - write(fd_socket, "\n", 1); - } - - xsane.mail_progress_val = 1.0; - xsane_front_gtk_mail_project_update_lockfile_status(); -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -void write_mail_header(int fd_socket, char *from, char *reply_to, char *to, char *subject, char *boundary, int related) -{ - char buf[1024]; - - snprintf(buf, sizeof(buf), "From: %s\n", from); - write(fd_socket, buf, strlen(buf)); - - snprintf(buf, sizeof(buf), "Reply-To: %s\n", reply_to); - write(fd_socket, buf, strlen(buf)); - - snprintf(buf, sizeof(buf), "To: %s\n", to); - write(fd_socket, buf, strlen(buf)); - - snprintf(buf, sizeof(buf), "Subject: %s\n", subject); - write(fd_socket, buf, strlen(buf)); - - snprintf(buf, sizeof(buf), "MIME-Version: 1.0\n"); - write(fd_socket, buf, strlen(buf)); - - if (related) /* related means that we need a special link in the html part to display the image */ - { - snprintf(buf, sizeof(buf), "Content-Type: multipart/related;\n"); - write(fd_socket, buf, strlen(buf)); - } - else - { - snprintf(buf, sizeof(buf), "Content-Type: multipart/mixed;\n"); - write(fd_socket, buf, strlen(buf)); - } - - snprintf(buf, sizeof(buf), " boundary=\"%s\"\n\n", boundary); - write(fd_socket, buf, strlen(buf)); -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -void write_mail_footer(int fd_socket, char *boundary) -{ - char buf[1024]; - - snprintf(buf, sizeof(buf), "--%s--\n", boundary); - write(fd_socket, buf, strlen(buf)); -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -void write_mail_mime_ascii(int fd_socket, char *boundary) -{ - char buf[1024]; - - snprintf(buf, sizeof(buf), "--%s\n", boundary); - write(fd_socket, buf, strlen(buf)); - - snprintf(buf, sizeof(buf), "Content-Type: text/plain;\n"); - write(fd_socket, buf, strlen(buf)); - - snprintf(buf, sizeof(buf), " charset=\"iso-8859-1\"\n"); - write(fd_socket, buf, strlen(buf)); - - snprintf(buf, sizeof(buf), "Content-Transfer-Encoding: 8bit\n\n"); - write(fd_socket, buf, strlen(buf)); -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -void write_mail_mime_html(int fd_socket, char *boundary) -{ - char buf[1024]; - - snprintf(buf, sizeof(buf), "--%s\n", boundary); - write(fd_socket, buf, strlen(buf)); - - snprintf(buf, sizeof(buf), "Content-Type: text/html;\n"); - write(fd_socket, buf, strlen(buf)); - - snprintf(buf, sizeof(buf), " charset=\"us-ascii\"\n"); - write(fd_socket, buf, strlen(buf)); - - snprintf(buf, sizeof(buf), "Content-Transfer-Encoding: 7bit\n\n"); - write(fd_socket, buf, strlen(buf)); - - snprintf(buf, sizeof(buf), "<!doctype html public \"-//w3c//dtd html 4.0 transitional//en\">\n"); - write(fd_socket, buf, strlen(buf)); - - snprintf(buf, sizeof(buf), "<html>\n"); - write(fd_socket, buf, strlen(buf)); -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -void write_mail_attach_image(int fd_socket, char *boundary, char *content_id, char *content_type, FILE *infile, char *filename) -{ - char buf[1024]; - - snprintf(buf, sizeof(buf), "--%s\n", boundary); - write(fd_socket, buf, strlen(buf)); - - snprintf(buf, sizeof(buf), "Content-Type: %s\n", content_type); - write(fd_socket, buf, strlen(buf)); - - if (content_id) - { - snprintf(buf, sizeof(buf), "Content-ID: <%s>\n", content_id); - write(fd_socket, buf, strlen(buf)); - } - - snprintf(buf, sizeof(buf), "Content-Transfer-Encoding: base64\n"); - write(fd_socket, buf, strlen(buf)); - - snprintf(buf, sizeof(buf), "Content-Disposition: inline;\n"); - write(fd_socket, buf, strlen(buf)); - - snprintf(buf, sizeof(buf), " filename=\"%s\"\n", filename); - write(fd_socket, buf, strlen(buf)); - - snprintf(buf, sizeof(buf), "\n"); - write(fd_socket, buf, strlen(buf)); - - write_base64(fd_socket, infile); -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -void write_mail_attach_file(int fd_socket, char *boundary, FILE *infile, char *filename) -{ - char buf[1024]; - - snprintf(buf, sizeof(buf), "--%s\n", boundary); - write(fd_socket, buf, strlen(buf)); - - snprintf(buf, sizeof(buf), "Content-Type: application/octet-stream\n"); - write(fd_socket, buf, strlen(buf)); - - snprintf(buf, sizeof(buf), " name=\"%s\"\n", filename); - write(fd_socket, buf, strlen(buf)); - - snprintf(buf, sizeof(buf), "Content-Transfer-Encoding: base64\n"); - write(fd_socket, buf, strlen(buf)); - - snprintf(buf, sizeof(buf), "Content-Disposition: attachment;\n"); - write(fd_socket, buf, strlen(buf)); - - snprintf(buf, sizeof(buf), " filename=\"%s\"\n", filename); - write(fd_socket, buf, strlen(buf)); - - snprintf(buf, sizeof(buf), "\n"); - write(fd_socket, buf, strlen(buf)); - - write_base64(fd_socket, infile); -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -/* returns fd_socket if sucessfull, < 0 when error occured */ -int open_socket(char *server, int port) -{ - int fd_socket; - struct sockaddr_in sin; - struct hostent *he; - - he = gethostbyname(server); - if (!he) - { - DBG(DBG_error, "open_socket: Could not get hostname of \"%s\"\n", server); - return -1; - } - else - { - DBG(DBG_info, "open_socket: connecting to \"%s\" = %d.%d.%d.%d\n", - he->h_name, - (unsigned char) he->h_addr_list[0][0], - (unsigned char) he->h_addr_list[0][1], - (unsigned char) he->h_addr_list[0][2], - (unsigned char) he->h_addr_list[0][3]); - } - - if (he->h_addrtype != AF_INET) - { - DBG(DBG_error, "open_socket: Unknown address family: %d\n", he->h_addrtype); - return -1; - } - - fd_socket = socket(AF_INET, SOCK_STREAM, 0); - - if (fd_socket < 0) - { - DBG(DBG_error, "open_socket: Could not create socket: %s\n", strerror(errno)); - return -1; - } - -/* setsockopt (dev->ctl, level, TCP_NODELAY, &on, sizeof (on)); */ - - sin.sin_port = htons(port); - sin.sin_family = AF_INET; - memcpy(&sin.sin_addr, he->h_addr_list[0], he->h_length); - - if (connect(fd_socket, &sin, sizeof(sin))) - { - DBG(DBG_error, "open_socket: Could not connect with port %d of socket: %s\n", ntohs(sin.sin_port), strerror(errno)); - return -1; - } - - DBG(DBG_info, "open_socket: Connected with port %d\n", ntohs(sin.sin_port)); - - return fd_socket; -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -/* returns 0 if success */ -/* not only a write routine, also reads data */ -int pop3_login(int fd_socket, char *user, char *passwd) -{ - char buf[1024]; - int len; - - len = read(fd_socket, buf, sizeof(buf)); - if (len >= 0) - { - buf[len] = 0; - } - DBG(DBG_info2, "< %s\n", buf); - - snprintf(buf, sizeof(buf), "USER %s\r\n", user); - DBG(DBG_info2, "> USER xxx\n"); - write(fd_socket, buf, strlen(buf)); - len = read(fd_socket, buf, sizeof(buf)); - if (len >= 0) - { - buf[len] = 0; - } - DBG(DBG_info2, "< %s\n", buf); - if (buf[0] != '+') - { - return -1; - } - - snprintf(buf, sizeof(buf), "PASS %s\r\n", passwd); - DBG(DBG_info2, "> PASS xxx\n"); - write(fd_socket, buf, strlen(buf)); - len = read(fd_socket, buf, sizeof(buf)); - if (len >= 0) - { - buf[len] = 0; - } - DBG(DBG_info2, "< %s\n", buf); - if (buf[0] != '+') - { - return -1; - } - - snprintf(buf, sizeof(buf), "QUIT\r\n"); - DBG(DBG_info2, "> QUIT\n"); - write(fd_socket, buf, strlen(buf)); - len = read(fd_socket, buf, sizeof(buf)); - if (len >= 0) - { - buf[len] = 0; - } - DBG(DBG_info2, "< %s\n", buf); - - return 0; -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -/* not only a write routine, also reads data */ -/* returns -1 on error, 0 when ok */ -int write_smtp_header(int fd_socket, char *from, char *to) -{ - char buf[1024]; - int len; - - len = read(fd_socket, buf, sizeof(buf)); - if (len >= 0) - { - buf[len] = 0; - } - DBG(DBG_info2, "< %s\n", buf); - - snprintf(buf, sizeof(buf), "helo localhost\r\n"); - DBG(DBG_info2, "> %s", buf); - write(fd_socket, buf, strlen(buf)); - len = read(fd_socket, buf, sizeof(buf)); - if (len >= 0) - { - buf[len] = 0; - } - DBG(DBG_info2, "< %s\n", buf); - - if (buf[0] != '2') - { - DBG(DBG_info, "=> error\n"); - - if (xsane.mail_status) - { - free(xsane.mail_status); - } - xsane.mail_status = strdup(TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED); - xsane_front_gtk_mail_project_update_lockfile_status(); - return -1; - } - - snprintf(buf, sizeof(buf), "MAIL FROM: %s\r\n", from); - DBG(DBG_info2, "> %s", buf); - write(fd_socket, buf, strlen(buf)); - len = read(fd_socket, buf, sizeof(buf)); - if (len >= 0) - { - buf[len] = 0; - } - DBG(DBG_info2, "< %s\n", buf); - - if (buf[0] != '2') - { - DBG(DBG_info, "=> error\n"); - - if (xsane.mail_status) - { - free(xsane.mail_status); - } - xsane.mail_status = strdup(TEXT_MAIL_STATUS_SMTP_ERR_FROM); - xsane_front_gtk_mail_project_update_lockfile_status(); - return -1; - } - - - snprintf(buf, sizeof(buf), "RCPT TO: %s\r\n", to); - DBG(DBG_info2, "> %s", buf); - write(fd_socket, buf, strlen(buf)); - len = read(fd_socket, buf, sizeof(buf)); - if (len >= 0) - { - buf[len] = 0; - } - DBG(DBG_info2, "< %s\n", buf); - - if (buf[0] != '2') - { - DBG(DBG_info, "=> error\n"); - - if (xsane.mail_status) - { - free(xsane.mail_status); - } - xsane.mail_status = strdup(TEXT_MAIL_STATUS_SMTP_ERR_RCPT); - xsane_front_gtk_mail_project_update_lockfile_status(); - return -1; - } - - snprintf(buf, sizeof(buf), "DATA\r\n"); - DBG(DBG_info2, "> %s", buf); - write(fd_socket, buf, strlen(buf)); - len = read(fd_socket, buf, sizeof(buf)); - if (len >= 0) - { - buf[len] = 0; - } - DBG(DBG_info2, "< %s\n", buf); - - if ((buf[0] != '2') && (buf[0] != '3')) - { - DBG(DBG_info, "=> error\n"); - - if (xsane.mail_status) - { - free(xsane.mail_status); - } - xsane.mail_status = strdup(TEXT_MAIL_STATUS_SMTP_ERR_DATA); - xsane_front_gtk_mail_project_update_lockfile_status(); - return -1; - } - - return 0; -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -/* not only a write routine, also reads data */ -int write_smtp_footer(int fd_socket) -{ - char buf[1024]; - int len; - - snprintf(buf, sizeof(buf), "\r\n.\r\n"); - DBG(DBG_info2, "> %s", buf); - write(fd_socket, buf, strlen(buf)); - len = read(fd_socket, buf, sizeof(buf)); - if (len >= 0) - { - buf[len] = 0; - } - DBG(DBG_info2, "< %s\n", buf); - - snprintf(buf, sizeof(buf), "QUIT\r\n"); - DBG(DBG_info2, "> %s", buf); - write(fd_socket, buf, strlen(buf)); - len = read(fd_socket, buf, sizeof(buf)); - if (len >= 0) - { - buf[len] = 0; - } - DBG(DBG_info2, "< %s\n", buf); - - return 0; -} - -#endif -/* ---------------------------------------------------------------------------------------------------------------------- */ diff --git a/src/xsane-save.h b/src/xsane-save.h index 553fbd5..f94fe7c 100644 --- a/src/xsane-save.h +++ b/src/xsane-save.h @@ -3,7 +3,7 @@ xsane-save.h Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 1998-2005 Oliver Rauch + Copyright (C) 1998-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -40,7 +40,7 @@ #define PDF_PAGES_MAX 1000 struct pdf_xref { - unsigned long obj[PDF_PAGES_MAX * 2 + 6]; + unsigned long obj[PDF_PAGES_MAX * 2 + 8]; unsigned long xref; /* xref table */ unsigned long slen; /* length of image stream */ unsigned long slenp; /* position of image stream length */ @@ -60,50 +60,58 @@ extern void xsane_read_pnm_header(FILE *file, Image_info *image_info); extern void xsane_write_pnm_header(FILE *file, Image_info *image_info, int save_pnm16_as_ascii); extern int xsane_copy_file(FILE *outfile, FILE *infile, GtkProgressBar *progress_bar, int *cancel_save); extern int xsane_copy_file_by_name(char *output_filename, char *input_filename, GtkProgressBar *progress_bar, int *cancel_save); +#ifdef HAVE_LIBLCMS +extern cmsHTRANSFORM xsane_create_cms_transform(Image_info *image_info, int cms_function, int cms_intent, int cms_bpc); +#endif extern int xsane_save_grayscale_image_as_lineart(FILE *outfile, FILE *imagefile, Image_info *image_info, GtkProgressBar *progress_bar, int *cancel_save); extern int xsane_save_scaled_image(FILE *outfile, FILE *imagefile, Image_info *image_info, float x_scale, float y_scale, GtkProgressBar *progress_bar, int *cancel_save); extern int xsane_save_despeckle_image(FILE *outfile, FILE *imagefile, Image_info *image_info, int radius, GtkProgressBar *progress_bar, int *cancel_save); extern int xsane_save_blur_image(FILE *outfile, FILE *imagefile, Image_info *image_info, float radius, GtkProgressBar *progress_bar, int *cancel_save); extern int xsane_save_rotate_image(FILE *outfile, FILE *imagefile, Image_info *image_info, int rotation, GtkProgressBar *progress_bar, int *cancel_save); -extern void xsane_save_ps_create_document_header(FILE *outfile, int pages, int flatdecode); +extern void xsane_save_ps_create_document_header(FILE *outfile, int pages, int flatedecode); extern void xsane_save_ps_create_document_trailer(FILE *outfile, int pages); extern int xsane_save_ps_page(FILE *outfile, int page, FILE *imagefile, Image_info *image_info, float width, float height, int paper_left_margin, int paper_bottom_margin, int paperwidth, int paperheight, int paper_orientation, - int flatdecode, + int flatedecode, + cmsHTRANSFORM hTransform, int embed_scanner_icm_profile, GtkProgressBar *progress_bar, int *cancel_save); extern int xsane_save_ps(FILE *outfile, FILE *imagefile, Image_info *image_info, float width, float height, int paper_left_margin, int paper_bottom_margin, int paperwidth, int paperheight, int paper_orientation, - int flatdecode, + int flatedecode, + cmsHTRANSFORM hTransform, int apply_ICM_profile, int embed_CSA, char *CSA_profile, + int embed_CRD, char *CRD_profile, int blackpointcompensation, int intent, GtkProgressBar *progress_bar, int *cancel_save); -extern void xsane_save_pdf_create_document_header(FILE *outfile, struct pdf_xref *xref, int pages, int flatdecode); +extern void xsane_save_pdf_create_document_header(FILE *outfile, struct pdf_xref *xref, int pages, int flatedecode); extern void xsane_save_pdf_create_document_trailer(FILE *outfile, struct pdf_xref *xref, int pages); extern int xsane_save_pdf_page(FILE *outfile, struct pdf_xref *xref, int page, FILE *imagefile, Image_info *image_info, float width, float height, int paper_left_margin, int paper_bottom_margin, int paperwidth, int paperheight, int paper_orientation, - int flatdecode, + int flatedecode, + cmsHTRANSFORM hTransform, int embed__scanner_icm_profile, int icc_object, GtkProgressBar *progress_bar, int *cancel_save); extern int xsane_save_pdf(FILE *outfile, FILE *imagefile, Image_info *image_info, float width, float height, int paper_left_margin, int paper_bottom_margin, int paperwidth, int paperheight, int paper_orientation, - int flatdecode, + int flatedecode, + cmsHTRANSFORM hTransform, int apply_ICM_profile, int cms_function, GtkProgressBar *progress_bar, int *cancel_save); #ifdef HAVE_LIBJPEG -extern int xsane_save_jpeg(FILE *outfile, FILE *imagefile, Image_info *image_info, int quality, GtkProgressBar *progress_bar, int *cancel_save); +extern int xsane_save_jpeg(FILE *outfile, int quality, FILE *imagefile, Image_info *image_info, cmsHTRANSFORM hTransform, int apply_ICM_profile, int cms_function, GtkProgressBar *progress_bar, int *cancel_save); #endif #ifdef HAVE_LIBTIFF -extern int xsane_save_tiff_page(TIFF *tiffile, int page, int pages, FILE *imagefile, Image_info *image_info, int quality, - GtkProgressBar *progress_bar, int *cancel_save); +extern int xsane_save_tiff_page(TIFF *tiffile, int page, int pages, int quality, FILE *imagefile, Image_info *image_info, cmsHTRANSFORM hTransform, int apply_ICM_profile, int cms_function, + GtkProgressBar *progress_bar, int *cancel_save); #endif -extern int xsane_save_png(FILE *outfile, FILE *imagefile, Image_info *image_info, int compression, GtkProgressBar *progress_bar, int *cancel_save); -extern int xsane_save_png_16(FILE *outfile, FILE *imagefile, Image_info *image_info, int compression, GtkProgressBar *progress_bar, int *cancel_save); -extern int xsane_save_pnm_16(FILE *outfile, FILE *imagefile, Image_info *image_info, GtkProgressBar *progress_bar, int *cancel_save); +extern int xsane_save_png(FILE *outfile, int compression, FILE *imagefile, Image_info *image_info, cmsHTRANSFORM hTransform, int apply_ICM_profile, int cms_function, GtkProgressBar *progress_bar, int *cancel_save); +extern int xsane_save_png_16(FILE *outfile, int compression, FILE *imagefile, Image_info *image_info, cmsHTRANSFORM hTransform, int apply_ICM_profile, int cms_function, GtkProgressBar *progress_bar, int *cancel_save); +extern int xsane_save_pnm_16(FILE *outfile, FILE *imagefile, Image_info *image_info, cmsHTRANSFORM hTransform, int apply_ICM_profile, GtkProgressBar *progress_bar, int *cancel_save); extern int xsane_save_image_as_lineart(char *output_filename, char *input_filename, GtkProgressBar *progress_bar, int *cancel_save); extern int xsane_save_image_as_text(char *output_filename, char *input_filename, GtkProgressBar *progress_bar, int *cancel_save); -extern int xsane_save_image_as(char *output_filename, char *input_filename, int output_format, GtkProgressBar *progress_bar, int *cancel_save); +extern int xsane_save_image_as(char *output_filename, char *input_filename, int output_format, int apply_ICM_profile, int cms_function, int cms_intent, int cms_bpc, GtkProgressBar *progress_bar, int *cancel_save); extern void null_print_func(gchar *msg); -extern int xsane_transfer_to_gimp(char *input_filename, GtkProgressBar *progress_bar, int *cancel_save); +extern int xsane_transfer_to_gimp(char *input_filename, int apply_ICM_profile, int cms_function, GtkProgressBar *progress_bar, int *cancel_save); extern void write_base64(int fd_socket, FILE *infile); extern void write_email_header(int fd_socket, char *from, char *reply_to, char *to, char *subject, char *boundary, int related); extern void write_email_footer(int fd_socket, char *boundary); diff --git a/src/xsane-scan.c b/src/xsane-scan.c index 578cc57..9cc9ffb 100644 --- a/src/xsane-scan.c +++ b/src/xsane-scan.c @@ -3,7 +3,7 @@ xsane-scan.c Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 1998-2005 Oliver Rauch + Copyright (C) 1998-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -1061,7 +1061,7 @@ void xsane_scan_done(SANE_Status status) image_info.image_width = xsane.param.pixels_per_line; image_info.image_height = pixel_height; image_info.depth = xsane.depth; - image_info.colors = xsane.xsane_colors; + image_info.channels = xsane.xsane_channels; image_info.resolution_x = xsane.resolution_x; image_info.resolution_y = xsane.resolution_y; @@ -1085,6 +1085,13 @@ void xsane_scan_done(SANE_Status status) image_info.reduce_to_lineart = xsane.expand_lineart_to_grayscale; + image_info.enable_color_management = xsane.enable_color_management; + image_info.cms_function = preferences.cms_function; + image_info.cms_intent = preferences.cms_intent; + image_info.cms_bpc = preferences.cms_bpc; + + strncpy(image_info.icm_profile, xsane.scanner_default_color_icm_profile, sizeof(image_info.icm_profile)); + xsane_write_pnm_header(xsane.out, &image_info, 0); } @@ -1233,12 +1240,12 @@ void xsane_scan_done(SANE_Status status) #ifdef HAVE_ANY_GIMP if (xsane.mode == XSANE_GIMP_EXTENSION) /* xsane runs as gimp plugin */ { - xsane_transfer_to_gimp(xsane.dummy_filename, xsane.progress_bar, &xsane.cancel_save); + xsane_transfer_to_gimp(xsane.dummy_filename, xsane.enable_color_management, preferences.cms_function, xsane.progress_bar, &xsane.cancel_save); } else #endif /* HAVE_ANY_GIMP */ { - xsane_save_image_as(xsane.output_filename, xsane.dummy_filename, xsane.xsane_output_format, xsane.progress_bar, &xsane.cancel_save); + xsane_save_image_as(xsane.output_filename, xsane.dummy_filename, xsane.xsane_output_format, xsane.enable_color_management, preferences.cms_function, preferences.cms_intent, preferences.cms_bpc, xsane.progress_bar, &xsane.cancel_save); } xsane_progress_clear(); @@ -1345,7 +1352,11 @@ void xsane_scan_done(SANE_Status status) preferences.printer[preferences.printernr]->width * 72.0/MM_PER_INCH, /* usable paperwidth */ preferences.printer[preferences.printernr]->height * 72.0/MM_PER_INCH, /* usable paperheight */ preferences.paper_orientation, - preferences.printer[preferences.printernr]->ps_flatdecoded, /* ps level 3 */ + preferences.printer[preferences.printernr]->ps_flatedecoded, /* ps level 3 */ + NULL /* hTransform */, xsane.enable_color_management, + preferences.printer[preferences.printernr]->embed_csa, xsane.scanner_default_color_icm_profile, + preferences.printer[preferences.printernr]->embed_crd, preferences.printer[preferences.printernr]->icm_profile, preferences.printer[preferences.printernr]->blackpointcompensation, + 0 /* intent */, xsane.progress_bar, &xsane.cancel_save); } @@ -1729,7 +1740,7 @@ static void xsane_start_scan(void) image_info.image_width = xsane.param.pixels_per_line; image_info.image_height = xsane.param.lines; image_info.depth = xsane.depth; - image_info.colors = xsane.xsane_colors; + image_info.channels = xsane.xsane_channels; image_info.resolution_x = xsane.resolution_x; image_info.resolution_y = xsane.resolution_y; @@ -1753,6 +1764,13 @@ static void xsane_start_scan(void) image_info.reduce_to_lineart = xsane.expand_lineart_to_grayscale; + image_info.enable_color_management = xsane.enable_color_management; + image_info.cms_function = preferences.cms_function; + image_info.cms_intent = preferences.cms_intent; + image_info.cms_bpc = preferences.cms_bpc; + + strncpy(image_info.icm_profile, xsane.scanner_default_color_icm_profile, sizeof(image_info.icm_profile)); + xsane_write_pnm_header(xsane.out, &image_info, 0); fflush(xsane.out); @@ -1946,34 +1964,6 @@ gint xsane_scan_dialog(gpointer *data) free(extension); } } -#ifdef HAVE_ANY_GIMP - else /* We are running in gimp mode */ - { - if ((xsane.param.depth != 1) && (xsane.param.depth != 8)) /* not support bit depth ? */ - { - if (!xsane.reduce_16bit_to_8bit) /* ask if reduce 16 to 8 bit */ - { - if (xsane.param.depth == 16) - { - snprintf(buf, sizeof(buf), TEXT_GIMP_REDUCE_16BIT_TO_8BIT); - if (xsane_back_gtk_decision(ERR_HEADER_INFO, (gchar **) info_xpm, buf, BUTTON_REDUCE, BUTTON_CANCEL, TRUE /* wait */) == FALSE) - { - xsane_set_sensitivity(TRUE); - return FALSE; - } - xsane.reduce_16bit_to_8bit = TRUE; - } - else /* unsupported bit depth */ - { - snprintf(buf, sizeof(buf), ERR_GIMP_BAD_DEPTH, xsane.param.depth); - xsane_back_gtk_error(buf, TRUE); - xsane_set_sensitivity(TRUE); - return FALSE; - } - } - } - } -#endif if (xsane.dummy_filename) /* no dummy filename defined - necessary if an error occurs */ { @@ -1982,7 +1972,7 @@ gint xsane_scan_dialog(gpointer *data) } /* create scanner gamma tables, xsane internal gamma tables are created after sane_start */ - if ( (xsane.xsane_colors > 1) && /* color scan */ + if ( (xsane.xsane_channels > 1) && /* color scan */ xsane.scanner_gamma_color ) /* gamma table for red, green and blue available */ { double gamma_red, gamma_green, gamma_blue; @@ -2097,7 +2087,7 @@ gint xsane_scan_dialog(gpointer *data) xsane.gamma_data = malloc(gamma_gray_size * sizeof(SANE_Int)); - if (xsane.xsane_colors > 1) /* color scan */ + if (xsane.xsane_channels > 1) /* color scan */ { xsane_create_gamma_curve(xsane.gamma_data, xsane.negative, gamma, xsane.brightness, xsane.contrast, @@ -2145,7 +2135,7 @@ static void xsane_create_internal_gamma_tables(void) size = (int) pow(2, xsane.param.depth); maxval = size-1; - if (xsane.xsane_colors > 1) /* color scan */ + if (xsane.xsane_channels > 1) /* color scan */ { if ( (!xsane.scanner_gamma_color) && (xsane.scanner_gamma_gray) ) { diff --git a/src/xsane-scan.h b/src/xsane-scan.h index b46d5e0..681e89f 100644 --- a/src/xsane-scan.h +++ b/src/xsane-scan.h @@ -3,7 +3,7 @@ xsane-scan.h Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 1998-2005 Oliver Rauch + Copyright (C) 1998-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify diff --git a/src/xsane-setup.c b/src/xsane-setup.c index c0c9000..677c375 100644 --- a/src/xsane-setup.c +++ b/src/xsane-setup.c @@ -3,7 +3,7 @@ xsane-setup.c Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 1998-2005 Oliver Rauch + Copyright (C) 1998-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -92,6 +92,9 @@ static void xsane_setup_authentication_type_callback(GtkWidget *widget, gpointer static void xsane_setup_show_range_mode_callback(GtkWidget *widget, gpointer data); static void xsane_setup_lineart_mode_callback(GtkWidget *widget, gpointer data); static void xsane_enhance_notebook(GtkWidget *notebook); +#ifdef HAVE_LIBLCMS +static void xsane_color_management_notebook(GtkWidget *notebook); +#endif void xsane_setup_dialog(GtkWidget *widget, gpointer data); @@ -135,7 +138,10 @@ void xsane_new_printer(void) preferences.printer[preferences.printernr]->gamma_red = 1.0; preferences.printer[preferences.printernr]->gamma_green = 1.0; preferences.printer[preferences.printernr]->gamma_blue = 1.0; - preferences.printer[preferences.printernr]->ps_flatdecoded = 1; + preferences.printer[preferences.printernr]->icm_profile = NULL; + preferences.printer[preferences.printernr]->embed_csa = 1; + preferences.printer[preferences.printernr]->embed_crd = 0; + preferences.printer[preferences.printernr]->ps_flatedecoded = 1; } else { @@ -275,8 +281,23 @@ static void xsane_setup_printer_update() gtk_entry_set_text(GTK_ENTRY(xsane_setup.printer_gamma_green_entry), buf); snprintf(buf, sizeof(buf), "%1.2f", preferences.printer[preferences.printernr]->gamma_blue); gtk_entry_set_text(GTK_ENTRY(xsane_setup.printer_gamma_blue_entry), buf); + +#ifdef HAVE_LIBLCMS + if (preferences.printer[preferences.printernr]->icm_profile) + { + gtk_entry_set_text(GTK_ENTRY(xsane_setup.printer_icm_profile_entry), (char *) preferences.printer[preferences.printernr]->icm_profile); + } + else + { + gtk_entry_set_text(GTK_ENTRY(xsane_setup.printer_icm_profile_entry), ""); + } + + gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(xsane_setup.printer_embed_csa_button), preferences.printer[preferences.printernr]->embed_csa); + gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(xsane_setup.printer_embed_crd_button), preferences.printer[preferences.printernr]->embed_crd); +#endif + #ifdef HAVE_LIBZ - gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(xsane_setup.printer_ps_flatdecoded_button), preferences.printer[preferences.printernr]->ps_flatdecoded); + gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(xsane_setup.printer_ps_flatedecoded_button), preferences.printer[preferences.printernr]->ps_flatedecoded); #endif } @@ -354,8 +375,18 @@ static void xsane_setup_printer_apply_changes(GtkWidget *widget, gpointer data) xsane_update_double(xsane_setup.printer_gamma_green_entry, &preferences.printer[preferences.printernr]->gamma_green); xsane_update_double(xsane_setup.printer_gamma_blue_entry, &preferences.printer[preferences.printernr]->gamma_blue); +#ifdef HAVE_LIBLCMS + if (preferences.printer[preferences.printernr]->icm_profile) + { + free(preferences.printer[preferences.printernr]->icm_profile); + } + preferences.printer[preferences.printernr]->icm_profile = strdup(gtk_entry_get_text(GTK_ENTRY(xsane_setup.printer_icm_profile_entry))); + xsane_update_bool(xsane_setup.printer_embed_csa_button, &preferences.printer[preferences.printernr]->embed_csa); + xsane_update_bool(xsane_setup.printer_embed_crd_button, &preferences.printer[preferences.printernr]->embed_crd); +#endif + #ifdef HAVE_LIBZ - xsane_update_bool(xsane_setup.printer_ps_flatdecoded_button, &preferences.printer[preferences.printernr]->ps_flatdecoded); + xsane_update_bool(xsane_setup.printer_ps_flatedecoded_button, &preferences.printer[preferences.printernr]->ps_flatedecoded); #endif if (option_menu) @@ -530,6 +561,50 @@ static void xsane_setup_enhance_apply_changes(GtkWidget *widget, gpointer data) /* ---------------------------------------------------------------------------------------------------------------------- */ +#ifdef HAVE_LIBLCMS +static void xsane_setup_color_management_apply_changes(GtkWidget *widget, gpointer data) +{ + DBG(DBG_proc, "xsane_setup_colormagaement_apply_changes\n"); + +// preferences.cms_intent = gtk_option_menu_get_history(GTK_OPTION_MENU(xsane_setup.cms_intent_option_menu)); +// preferences.cms_intent = gtk_option_menu_get_history(GTK_OPTION_MENU(xsane_setup.cms_intent_option_menu)); + preferences.cms_intent = (int) gtk_object_get_data(GTK_OBJECT(gtk_menu_get_active(GTK_MENU(gtk_option_menu_get_menu(GTK_OPTION_MENU(xsane_setup.cms_intent_option_menu))))), "Selection"); + xsane_update_bool(xsane_setup.cms_bpc_button, &preferences.cms_bpc); + + if (xsane.scanner_default_color_icm_profile) + { + free(xsane.scanner_default_color_icm_profile); + } + xsane.scanner_default_color_icm_profile = strdup(gtk_entry_get_text(GTK_ENTRY(xsane_setup.scanner_default_color_icm_profile_entry))); + + if (xsane.scanner_default_gray_icm_profile) + { + free(xsane.scanner_default_gray_icm_profile); + } + xsane.scanner_default_gray_icm_profile = strdup(gtk_entry_get_text(GTK_ENTRY(xsane_setup.scanner_default_gray_icm_profile_entry))); + + if (preferences.display_icm_profile) + { + free(preferences.display_icm_profile); + } + preferences.display_icm_profile = strdup(gtk_entry_get_text(GTK_ENTRY(xsane_setup.display_icm_profile_entry))); + + if (preferences.custom_proofing_icm_profile) + { + free(preferences.custom_proofing_icm_profile); + } + preferences.custom_proofing_icm_profile = strdup(gtk_entry_get_text(GTK_ENTRY(xsane_setup.custom_proofing_icm_profile_entry))); + + if (preferences.working_color_space_icm_profile) + { + free(preferences.working_color_space_icm_profile); + } + preferences.working_color_space_icm_profile = strdup(gtk_entry_get_text(GTK_ENTRY(xsane_setup.working_color_space_icm_profile_entry))); +} +#endif + +/* ---------------------------------------------------------------------------------------------------------------------- */ + static void xsane_setup_saving_apply_changes(GtkWidget *widget, gpointer data) { int level; @@ -597,8 +672,8 @@ static void xsane_setup_image_apply_changes(GtkWidget *widget, gpointer data) xsane_update_bool(xsane_setup.save_pnm16_as_ascii_button, &preferences.save_pnm16_as_ascii); #ifdef HAVE_LIBZ - xsane_update_bool(xsane_setup.save_ps_flatdecoded_button, &preferences.save_ps_flatdecoded); - xsane_update_bool(xsane_setup.save_pdf_flatdecoded_button, &preferences.save_pdf_flatdecoded); + xsane_update_bool(xsane_setup.save_ps_flatedecoded_button, &preferences.save_ps_flatedecoded); + xsane_update_bool(xsane_setup.save_pdf_flatedecoded_button, &preferences.save_pdf_flatedecoded); #endif xsane_define_maximum_output_size(); @@ -627,7 +702,7 @@ static void xsane_setup_fax_apply_changes(GtkWidget *widget, gpointer data) xsane_update_geometry_double(xsane_setup.fax_height_entry, &preferences.fax_height, preferences.length_unit); #ifdef HAVE_LIBZ - xsane_update_bool(xsane_setup.fax_ps_flatdecoded_button, &preferences.fax_ps_flatdecoded); + xsane_update_bool(xsane_setup.fax_ps_flatedecoded_button, &preferences.fax_ps_flatedecoded); #endif xsane_define_maximum_output_size(); @@ -719,6 +794,9 @@ static void xsane_setup_options_ok_callback(GtkWidget *widget, gpointer data) xsane_setup_email_apply_changes(0, 0); #endif xsane_setup_ocr_apply_changes(0, 0); +#ifdef HAVE_LIBLCMS + xsane_setup_color_management_apply_changes(0, 0); +#endif if (xsane_setup.grayscale_scanmode) { @@ -851,7 +929,7 @@ static void xsane_permission_box(GtkWidget *parent, gchar *name, gchar *descript button = gtk_toggle_button_new_with_label("x"); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), *permission & 64 ); - xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_PERMISSION_EXECUTE); + xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_PERMISSION_SEARCH); gtk_widget_set_size_request(button, 21, -1); gtk_widget_set_name(button, name); g_signal_connect(GTK_OBJECT(button), "toggled", (GtkSignalFunc) xsane_permission_toggled, (void *) 64); @@ -887,7 +965,7 @@ static void xsane_permission_box(GtkWidget *parent, gchar *name, gchar *descript button = gtk_toggle_button_new_with_label("x"); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), *permission & 8 ); - xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_PERMISSION_EXECUTE); + xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_PERMISSION_SEARCH); gtk_widget_set_size_request(button, 21, -1); gtk_widget_set_name(button, name); g_signal_connect(GTK_OBJECT(button), "toggled", (GtkSignalFunc) xsane_permission_toggled, (void *) 8); @@ -923,7 +1001,7 @@ static void xsane_permission_box(GtkWidget *parent, gchar *name, gchar *descript button = gtk_toggle_button_new_with_label("x"); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), *permission & 1 ); - xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_PERMISSION_EXECUTE); + xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_PERMISSION_SEARCH); gtk_widget_set_size_request(button, 21, -1); gtk_widget_set_name(button, name); g_signal_connect(GTK_OBJECT(button), "toggled", (GtkSignalFunc) xsane_permission_toggled, (void *) 1); @@ -948,6 +1026,47 @@ static void xsane_permission_box(GtkWidget *parent, gchar *name, gchar *descript /* ---------------------------------------------------------------------------------------------------------------------- */ +#ifdef HAVE_LIBLCMSx +static void xsane_setup_display_icm_profile_info_callback(GtkWidget *widget, gpointer data) +{ + DBG(DBG_proc, "xsane_setup_display_icm_profile_info_callback\n"); + + const char* cmsTakeProductName(cmsHPROFILE hProfile); + const char* cmsTakeProductDesc(cmsHPROFILE hProfile); + + int cmsTakeRenderingIntent(cmsHPROFILE hProfile); + + #define LCMS_USED_AS_INPUT 0 + #define LCMS_USED_AS_OUTPUT 1 + #define LCMS_USED_AS_PROOF 2 + BOOL cmsIsIntentSupported(cmsHPROFILE hProfile, int Intent, int UsedDirection); + +} +#endif + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +#ifdef HAVE_LIBLCMS +static void xsane_setup_browse_printer_icm_profile_callback(GtkWidget *widget, gpointer data) +{ + const gchar *old_printer_icm_profile; + char printer_icm_profile[PATH_MAX]; + char windowname[TEXTBUFSIZE]; + + DBG(DBG_proc, "xsane_setup_browse_printer_icm_profile_callback\n"); + + old_printer_icm_profile = gtk_entry_get_text(GTK_ENTRY(xsane_setup.printer_icm_profile_entry)); + strncpy(printer_icm_profile, old_printer_icm_profile, sizeof(printer_icm_profile)); + + snprintf(windowname, sizeof(windowname), "%s %s", xsane.prog_name, WINDOW_PRINTER_ICM_PROFILE); + xsane_back_gtk_get_filename(windowname, printer_icm_profile, sizeof(printer_icm_profile), printer_icm_profile, NULL, NULL, XSANE_FILE_CHOOSER_ACTION_SELECT_OPEN, XSANE_GET_FILENAME_SHOW_NOTHING, XSANE_FILE_FILTER_ALL | XSANE_FILE_FILTER_ICM, XSANE_FILE_FILTER_ICM); + + gtk_entry_set_text(GTK_ENTRY(xsane_setup.printer_icm_profile_entry), printer_icm_profile); +} +#endif + +/* ---------------------------------------------------------------------------------------------------------------------- */ + static void xsane_printer_notebook(GtkWidget *notebook) { GtkWidget *setup_vbox, *vbox, *hbox, *button, *label, *text, *frame; @@ -1273,23 +1392,82 @@ static void xsane_printer_notebook(GtkWidget *notebook) gtk_widget_show(hbox); xsane_setup.printer_gamma_blue_entry = text; +#ifdef HAVE_LIBLCMS + xsane_separator_new(vbox, 2); + + /* printer ICM profile: */ + hbox = gtk_hbox_new(/* homogeneous */ FALSE, 0); + gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); + + label = gtk_label_new(TEXT_SETUP_PRINTER_ICM_PROFILE); + gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 2); + gtk_widget_show(label); + + text = gtk_entry_new_with_max_length(PATH_MAX); + gtk_widget_set_size_request(text, 70, -1); /* set minimum size */ + xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_PRINTER_ICM_PROFILE); + + if (preferences.printer[preferences.printernr]->icm_profile) + { + gtk_entry_set_text(GTK_ENTRY(text), (char *) preferences.printer[preferences.printernr]->icm_profile); + } + else + { + gtk_entry_set_text(GTK_ENTRY(text), ""); + } + + gtk_box_pack_start(GTK_BOX(hbox), text, TRUE, TRUE, 4); + gtk_widget_show(text); + xsane_setup.printer_icm_profile_entry = text; + + button = gtk_button_new_with_label(BUTTON_BROWSE); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_setup_browse_printer_icm_profile_callback, NULL); + gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 2); + xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_BUTTON_PRINTER_ICM_PROFILE_BROWSE); + gtk_widget_show(button); + + gtk_widget_show(hbox); + + + /* embed csa */ + hbox = gtk_hbox_new(/* homogeneous */ FALSE, 0); + gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); + button = gtk_check_button_new_with_label(TEXT_SETUP_PRINTER_EMBED_CSA); + xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_PRINTER_EMBED_CSA); + gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), preferences.printer[preferences.printernr]->embed_csa); + gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 2); + gtk_widget_show(button); + gtk_widget_show(hbox); + xsane_setup.printer_embed_csa_button = button; + + /* embed crd */ + hbox = gtk_hbox_new(/* homogeneous */ FALSE, 0); + gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); + button = gtk_check_button_new_with_label(TEXT_SETUP_PRINTER_EMBED_CRD); + xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_PRINTER_EMBED_CRD); + gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), preferences.printer[preferences.printernr]->embed_crd); + gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 2); + gtk_widget_show(button); + gtk_widget_show(hbox); + xsane_setup.printer_embed_crd_button = button; +#endif #ifdef HAVE_LIBZ xsane_separator_new(vbox, 2); - /* flatdecoded = ps level 3 */ + /* flatedecoded = ps level 3 */ hbox = gtk_hbox_new(/* homogeneous */ FALSE, 0); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); - button = gtk_check_button_new_with_label(TEXT_SETUP_PRINTER_PS_FLATDECODED); - xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_PRINTER_PS_FLATDECODED); - gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), preferences.printer[preferences.printernr]->ps_flatdecoded); + button = gtk_check_button_new_with_label(TEXT_SETUP_PRINTER_PS_FLATEDECODED); + xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_PRINTER_PS_FLATEDECODED); + gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), preferences.printer[preferences.printernr]->ps_flatedecoded); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 2); gtk_widget_show(button); gtk_widget_show(hbox); - xsane_setup.printer_ps_flatdecoded_button = button; + xsane_setup.printer_ps_flatedecoded_button = button; #endif @@ -1336,13 +1514,110 @@ static void xsane_setup_browse_tmp_path_callback(GtkWidget *widget, gpointer dat strncpy(tmp_path, old_tmp_path, sizeof(tmp_path)); snprintf(windowname, sizeof(windowname), "%s %s", xsane.prog_name, WINDOW_TMP_PATH); - xsane_back_gtk_get_filename(windowname, tmp_path, sizeof(tmp_path), tmp_path, NULL, TRUE, FALSE, TRUE, FALSE); + xsane_back_gtk_get_filename(windowname, tmp_path, sizeof(tmp_path), tmp_path, NULL, NULL, XSANE_FILE_CHOOSER_ACTION_SELECT_FOLDER, XSANE_GET_FILENAME_SHOW_NOTHING, 0, 0); gtk_entry_set_text(GTK_ENTRY(xsane_setup.tmp_path_entry), tmp_path); } /* ---------------------------------------------------------------------------------------------------------------------- */ +#ifdef HAVE_LIBLCMS +static void xsane_setup_browse_scanner_default_color_icm_profile_callback(GtkWidget *widget, gpointer data) +{ + const gchar *old_scanner_default_color_icm_profile; + char scanner_default_color_icm_profile[PATH_MAX]; + char windowname[TEXTBUFSIZE]; + + DBG(DBG_proc, "xsane_setup_browse_scanner_default_color_icm_profile_callback\n"); + + old_scanner_default_color_icm_profile = gtk_entry_get_text(GTK_ENTRY(xsane_setup.scanner_default_color_icm_profile_entry)); + strncpy(scanner_default_color_icm_profile, old_scanner_default_color_icm_profile, sizeof(scanner_default_color_icm_profile)); + + snprintf(windowname, sizeof(windowname), "%s %s", xsane.prog_name, WINDOW_SCANNER_DEFAULT_COLOR_ICM_PROFILE); + xsane_back_gtk_get_filename(windowname, scanner_default_color_icm_profile, sizeof(scanner_default_color_icm_profile), scanner_default_color_icm_profile, NULL, NULL, XSANE_FILE_CHOOSER_ACTION_SELECT_OPEN, XSANE_GET_FILENAME_SHOW_NOTHING, XSANE_FILE_FILTER_ALL | XSANE_FILE_FILTER_ICM, XSANE_FILE_FILTER_ICM); + + gtk_entry_set_text(GTK_ENTRY(xsane_setup.scanner_default_color_icm_profile_entry), scanner_default_color_icm_profile); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static void xsane_setup_browse_scanner_default_gray_icm_profile_callback(GtkWidget *widget, gpointer data) +{ + const gchar *old_scanner_default_gray_icm_profile; + char scanner_default_gray_icm_profile[PATH_MAX]; + char windowname[TEXTBUFSIZE]; + + DBG(DBG_proc, "xsane_setup_browse_scanner_default_gray_icm_profile_callback\n"); + + old_scanner_default_gray_icm_profile = gtk_entry_get_text(GTK_ENTRY(xsane_setup.scanner_default_gray_icm_profile_entry)); + strncpy(scanner_default_gray_icm_profile, old_scanner_default_gray_icm_profile, sizeof(scanner_default_gray_icm_profile)); + + snprintf(windowname, sizeof(windowname), "%s %s", xsane.prog_name, WINDOW_SCANNER_DEFAULT_GRAY_ICM_PROFILE); + xsane_back_gtk_get_filename(windowname, scanner_default_gray_icm_profile, sizeof(scanner_default_gray_icm_profile), scanner_default_gray_icm_profile, NULL, NULL, XSANE_FILE_CHOOSER_ACTION_SELECT_OPEN, XSANE_GET_FILENAME_SHOW_NOTHING, XSANE_FILE_FILTER_ALL | XSANE_FILE_FILTER_ICM, XSANE_FILE_FILTER_ICM); + + gtk_entry_set_text(GTK_ENTRY(xsane_setup.scanner_default_gray_icm_profile_entry), scanner_default_gray_icm_profile); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static void xsane_setup_browse_display_icm_profile_callback(GtkWidget *widget, gpointer data) +{ + const gchar *old_display_icm_profile; + char display_icm_profile[PATH_MAX]; + char windowname[TEXTBUFSIZE]; + + DBG(DBG_proc, "xsane_setup_browse_display_icm_profile_callback\n"); + + old_display_icm_profile = gtk_entry_get_text(GTK_ENTRY(xsane_setup.display_icm_profile_entry)); + strncpy(display_icm_profile, old_display_icm_profile, sizeof(display_icm_profile)); + + snprintf(windowname, sizeof(windowname), "%s %s", xsane.prog_name, WINDOW_DISPLAY_ICM_PROFILE); + xsane_back_gtk_get_filename(windowname, display_icm_profile, sizeof(display_icm_profile), display_icm_profile, NULL, NULL, XSANE_FILE_CHOOSER_ACTION_SELECT_OPEN, XSANE_GET_FILENAME_SHOW_NOTHING, XSANE_FILE_FILTER_ALL | XSANE_FILE_FILTER_ICM, XSANE_FILE_FILTER_ICM); + + gtk_entry_set_text(GTK_ENTRY(xsane_setup.display_icm_profile_entry), display_icm_profile); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static void xsane_setup_browse_custom_proofing_icm_profile_callback(GtkWidget *widget, gpointer data) +{ + const gchar *old_custom_proofing_icm_profile; + char custom_proofing_icm_profile[PATH_MAX]; + char windowname[TEXTBUFSIZE]; + + DBG(DBG_proc, "xsane_setup_browse_custom_proofing_icm_profile_callback\n"); + + old_custom_proofing_icm_profile = gtk_entry_get_text(GTK_ENTRY(xsane_setup.custom_proofing_icm_profile_entry)); + strncpy(custom_proofing_icm_profile, old_custom_proofing_icm_profile, sizeof(custom_proofing_icm_profile)); + + snprintf(windowname, sizeof(windowname), "%s %s", xsane.prog_name, WINDOW_CUSTOM_PROOFING_ICM_PROFILE); + xsane_back_gtk_get_filename(windowname, custom_proofing_icm_profile, sizeof(custom_proofing_icm_profile), custom_proofing_icm_profile, NULL, NULL, XSANE_FILE_CHOOSER_ACTION_SELECT_OPEN, XSANE_GET_FILENAME_SHOW_NOTHING, XSANE_FILE_FILTER_ALL | XSANE_FILE_FILTER_ICM, XSANE_FILE_FILTER_ICM); + + gtk_entry_set_text(GTK_ENTRY(xsane_setup.custom_proofing_icm_profile_entry), custom_proofing_icm_profile); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static void xsane_setup_browse_working_color_space_icm_profile_callback(GtkWidget *widget, gpointer data) +{ + const gchar *old_working_color_space_icm_profile; + char working_color_space_icm_profile[PATH_MAX]; + char windowname[TEXTBUFSIZE]; + + DBG(DBG_proc, "xsane_setup_browse_working_color_space_icm_profile_callback\n"); + + old_working_color_space_icm_profile = gtk_entry_get_text(GTK_ENTRY(xsane_setup.working_color_space_icm_profile_entry)); + strncpy(working_color_space_icm_profile, old_working_color_space_icm_profile, sizeof(working_color_space_icm_profile)); + + snprintf(windowname, sizeof(windowname), "%s %s", xsane.prog_name, WINDOW_WORKING_COLOR_SPACE_ICM_PROFILE); + xsane_back_gtk_get_filename(windowname, working_color_space_icm_profile, sizeof(working_color_space_icm_profile), working_color_space_icm_profile, NULL, NULL, XSANE_FILE_CHOOSER_ACTION_SELECT_OPEN, XSANE_GET_FILENAME_SHOW_NOTHING, XSANE_FILE_FILTER_ALL | XSANE_FILE_FILTER_ICM, XSANE_FILE_FILTER_ICM); + + gtk_entry_set_text(GTK_ENTRY(xsane_setup.working_color_space_icm_profile_entry), working_color_space_icm_profile); +} +#endif + +/* ---------------------------------------------------------------------------------------------------------------------- */ + static void xsane_saving_notebook(GtkWidget *notebook) { GtkWidget *setup_vbox, *vbox, *hbox, *button, *label, *text, *frame; @@ -1379,7 +1654,7 @@ static void xsane_saving_notebook(GtkWidget *notebook) gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 2); gtk_widget_show(label); - text = gtk_entry_new_with_max_length(255); + text = gtk_entry_new_with_max_length(PATH_MAX); gtk_widget_set_size_request(text, 70, -1); /* set minimum size */ xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_TMP_PATH); gtk_entry_set_text(GTK_ENTRY(text), (char *) preferences.tmp_path); @@ -1615,28 +1890,28 @@ static void xsane_filetype_notebook(GtkWidget *notebook) #ifdef HAVE_LIBZ - /* save ps with zlib compression / flatdecode = ps level 3 */ + /* save ps with zlib compression / flatedecode = ps level 3 */ hbox = gtk_hbox_new(/* homogeneous */ FALSE, 0); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); - button = gtk_check_button_new_with_label(RADIO_BUTTON_SAVE_PS_FLATDECODED); - xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_SAVE_PS_FLATDECODED); - gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), preferences.save_ps_flatdecoded); + button = gtk_check_button_new_with_label(RADIO_BUTTON_SAVE_PS_FLATEDECODED); + xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_SAVE_PS_FLATEDECODED); + gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), preferences.save_ps_flatedecoded); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 2); gtk_widget_show(button); gtk_widget_show(hbox); - xsane_setup.save_ps_flatdecoded_button = button; + xsane_setup.save_ps_flatedecoded_button = button; - /* save pdf with zlib compression / flatdecode */ + /* save pdf with zlib compression / flatedecode */ hbox = gtk_hbox_new(/* homogeneous */ FALSE, 0); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); - button = gtk_check_button_new_with_label(RADIO_BUTTON_SAVE_PDF_FLATDECODED); - xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_SAVE_PDF_FLATDECODED); - gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), preferences.save_pdf_flatdecoded); + button = gtk_check_button_new_with_label(RADIO_BUTTON_SAVE_PDF_FLATEDECODED); + xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_SAVE_PDF_FLATEDECODED); + gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), preferences.save_pdf_flatedecoded); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 2); gtk_widget_show(button); gtk_widget_show(hbox); - xsane_setup.save_pdf_flatdecoded_button = button; + xsane_setup.save_pdf_flatedecoded_button = button; #endif @@ -1656,24 +1931,24 @@ static void xsane_filetype_notebook(GtkWidget *notebook) #ifdef HAVE_LIBJPEG xsane_range_new(GTK_BOX(vbox), TEXT_SETUP_JPEG_QUALITY, DESC_JPEG_QUALITY, 0.0, 100.0, 1.0, 10.0, 0, - &preferences.jpeg_quality, (GtkObject **) &xsane_setup.jpeg_image_quality_scale, 0, TRUE); + &preferences.jpeg_quality, &xsane_setup.jpeg_image_quality_scale, 0, TRUE); #else #ifdef HAVE_LIBTIFF xsane_range_new(GTK_BOX(vbox), TEXT_SETUP_JPEG_QUALITY, DESC_JPEG_QUALITY, 0.0, 100.0, 1.0, 10.0, 0, - &preferences.jpeg_quality, (GtkObject **) &xsane_setup.jpeg_image_quality_scale, 0, TRUE); + &preferences.jpeg_quality, &xsane_setup.jpeg_image_quality_scale, 0, TRUE); #endif #endif #ifdef HAVE_LIBPNG #ifdef HAVE_LIBZ xsane_range_new(GTK_BOX(vbox), TEXT_SETUP_PNG_COMPRESSION, DESC_PNG_COMPRESSION, 0.0, Z_BEST_COMPRESSION, 1.0, 10.0, 0, - &preferences.png_compression, (GtkObject **) &xsane_setup.png_image_compression_scale, 0, TRUE); + &preferences.png_compression, &xsane_setup.png_image_compression_scale, 0, TRUE); #endif #endif #ifdef HAVE_LIBTIFF xsane_range_new(GTK_BOX(vbox), TEXT_SETUP_TIFF_ZIP_COMPRESSION, DESC_TIFF_ZIP_COMPRESSION, 1.0, 9.0, 1.0, 6.0, 0, - &preferences.tiff_zip_compression, (GtkObject **) &xsane_setup.tiff_image_zip_compression_scale, 0, TRUE); + &preferences.tiff_zip_compression, &xsane_setup.tiff_image_zip_compression_scale, 0, TRUE); /* TIFF 16 BIT IMAGES COMPRESSION */ @@ -2083,16 +2358,16 @@ static void xsane_fax_notebook(GtkWidget *notebook) xsane_separator_new(vbox, 4); - /* flatdecoded = ps level 3 */ + /* flatedecoded = ps level 3 */ hbox = gtk_hbox_new(/* homogeneous */ FALSE, 0); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); - button = gtk_check_button_new_with_label(TEXT_SETUP_FAX_PS_FLATDECODED); - xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_FAX_PS_FLATDECODED); - gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), preferences.fax_ps_flatdecoded); + button = gtk_check_button_new_with_label(TEXT_SETUP_FAX_PS_FLATEDECODED); + xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_FAX_PS_FLATEDECODED); + gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), preferences.fax_ps_flatedecoded); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 2); gtk_widget_show(button); gtk_widget_show(hbox); - xsane_setup.fax_ps_flatdecoded_button = button; + xsane_setup.fax_ps_flatedecoded_button = button; #endif @@ -3224,6 +3499,355 @@ static void xsane_enhance_notebook(GtkWidget *notebook) /* ---------------------------------------------------------------------------------------------------------------------- */ +#ifdef HAVE_LIBLCMS +static void xsane_color_management_notebook(GtkWidget *notebook) +{ + GtkWidget *setup_vbox, *vbox, *hbox, *button, *label, *text, *frame, *option_menu, *menu, *menu_item; + int selection = 0; + + DBG(DBG_proc, "xsane_color_management_notebook\n"); + + /* color management options notebook page */ + + setup_vbox = gtk_vbox_new(FALSE, 5); + + label = gtk_label_new(NOTEBOOK_COLOR_MANAGEMENT_OPTIONS); + gtk_notebook_append_page(GTK_NOTEBOOK(notebook), setup_vbox, label); + gtk_widget_show(setup_vbox); + + frame = gtk_frame_new(0); + gtk_container_set_border_width(GTK_CONTAINER(frame), 7); + gtk_frame_set_shadow_type(GTK_FRAME(frame), GTK_SHADOW_ETCHED_IN); + gtk_box_pack_start(GTK_BOX(setup_vbox), frame, TRUE, TRUE, 0); /* sizeable framehight */ + gtk_widget_show(frame); + + vbox = gtk_vbox_new(FALSE, 1); + gtk_container_add(GTK_CONTAINER(frame), vbox); + gtk_widget_show(vbox); + + + + /* black point compensation */ + hbox = gtk_hbox_new(/* homogeneous */ FALSE, 0); + gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); + button = gtk_check_button_new_with_label(RADIO_BUTTON_CMS_BPC); + xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_CMS_BPC); + gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), preferences.cms_bpc); + gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 2); + gtk_widget_show(button); + gtk_widget_show(hbox); + xsane_setup.cms_bpc_button = button; + + + + /* Intent menu */ + hbox = gtk_hbox_new(FALSE, 2); + gtk_container_set_border_width(GTK_CONTAINER(hbox), 2); + gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); + + label = gtk_label_new(MENU_ITEM_CMS_RENDERING_INTENT); + gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 2); + gtk_widget_show(label); + + option_menu = gtk_option_menu_new(); + xsane_back_gtk_set_tooltip(xsane.tooltips, option_menu, DESC_RENDERING_INTENT); + gtk_box_pack_end(GTK_BOX(hbox), option_menu, FALSE, FALSE, 2); + gtk_widget_show(option_menu); + gtk_widget_show(hbox); + + menu = gtk_menu_new(); + + menu_item = gtk_menu_item_new_with_label(SUBMENU_ITEM_CMS_INTENT_PERCEPTUAL); + gtk_object_set_data(GTK_OBJECT(menu_item), "Selection", (void *) INTENT_PERCEPTUAL); + gtk_container_add(GTK_CONTAINER(menu), menu_item); + gtk_widget_show(menu_item); + + menu_item = gtk_menu_item_new_with_label(SUBMENU_ITEM_CMS_INTENT_RELATIVE_COLORIMETRIC); + gtk_object_set_data(GTK_OBJECT(menu_item), "Selection", (void *) INTENT_RELATIVE_COLORIMETRIC); + gtk_container_add(GTK_CONTAINER(menu), menu_item); + gtk_widget_show(menu_item); + + menu_item = gtk_menu_item_new_with_label(SUBMENU_ITEM_CMS_INTENT_ABSOLUTE_COLORIMETRIC); + gtk_object_set_data(GTK_OBJECT(menu_item), "Selection", (void *) INTENT_ABSOLUTE_COLORIMETRIC); + gtk_container_add(GTK_CONTAINER(menu), menu_item); + gtk_widget_show(menu_item); + + menu_item = gtk_menu_item_new_with_label(SUBMENU_ITEM_CMS_INTENT_SATURATION); + gtk_object_set_data(GTK_OBJECT(menu_item), "Selection", (void *) INTENT_SATURATION); + gtk_container_add(GTK_CONTAINER(menu), menu_item); + gtk_widget_show(menu_item); + + if (preferences.cms_intent == INTENT_PERCEPTUAL) + { + selection = 0; + } + else if (preferences.cms_intent == INTENT_RELATIVE_COLORIMETRIC) + { + selection = 1; + } + else if (preferences.cms_intent == INTENT_ABSOLUTE_COLORIMETRIC) + { + selection = 2; + } + else + { + selection = 3; + } + + + gtk_option_menu_set_menu(GTK_OPTION_MENU(option_menu), menu); + gtk_option_menu_set_history(GTK_OPTION_MENU(option_menu), selection); + xsane_setup.cms_intent_option_menu = option_menu; + + + xsane_separator_new(vbox, 4); + + + /* scanner_default_color_icm_profile filename : */ + hbox = gtk_hbox_new(/* homogeneous */ FALSE, 0); + gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); + + label = gtk_label_new(TEXT_SETUP_SCANNER_DEFAULT_COLOR_ICM_PROFILE); + gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 2); + gtk_widget_show(label); + + button = gtk_button_new_with_label(BUTTON_BROWSE); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_setup_browse_scanner_default_color_icm_profile_callback, NULL); + gtk_box_pack_end(GTK_BOX(hbox), button, FALSE, FALSE, 2); + xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_BUTTON_SCANNER_DEFAULT_COLOR_ICM_PROFILE_BROWSE); + gtk_widget_show(button); + + text = gtk_entry_new_with_max_length(PATH_MAX); + gtk_widget_set_size_request(text, 250, -1); /* set minimum size */ + xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_SCANNER_DEFAULT_COLOR_ICM_PROFILE); + + if (xsane.scanner_default_color_icm_profile) + { + gtk_entry_set_text(GTK_ENTRY(text), (char *) xsane.scanner_default_color_icm_profile); + } + + gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 4); + gtk_widget_show(text); + xsane_setup.scanner_default_color_icm_profile_entry = text; + + gtk_widget_show(hbox); + + + /* scanner_default_gray_icm_profile filename : */ + hbox = gtk_hbox_new(/* homogeneous */ FALSE, 0); + gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); + + label = gtk_label_new(TEXT_SETUP_SCANNER_DEFAULT_GRAY_ICM_PROFILE); + gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 2); + gtk_widget_show(label); + + button = gtk_button_new_with_label(BUTTON_BROWSE); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_setup_browse_scanner_default_gray_icm_profile_callback, NULL); + gtk_box_pack_end(GTK_BOX(hbox), button, FALSE, FALSE, 2); + xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_BUTTON_SCANNER_DEFAULT_GRAY_ICM_PROFILE_BROWSE); + gtk_widget_show(button); + + text = gtk_entry_new_with_max_length(PATH_MAX); + gtk_widget_set_size_request(text, 250, -1); /* set minimum size */ + xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_SCANNER_DEFAULT_GRAY_ICM_PROFILE); + + if (xsane.scanner_default_gray_icm_profile) + { + gtk_entry_set_text(GTK_ENTRY(text), (char *) xsane.scanner_default_gray_icm_profile); + } + + gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 4); + gtk_widget_show(text); + xsane_setup.scanner_default_gray_icm_profile_entry = text; + + gtk_widget_show(hbox); + +#if 0 + xsane_separator_new(vbox, 4); + + + /* scanner_tran icm-profile filename : */ + hbox = gtk_hbox_new(/* homogeneous */ FALSE, 0); + gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); + + label = gtk_label_new(TEXT_SETUP_SCANNER_TRAN_ICM_PROFILE); + gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 2); + gtk_widget_show(label); + + button = gtk_button_new_with_label(BUTTON_BROWSE); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_setup_browse_scanner_tran_icm_profile_callback, NULL); + gtk_box_pack_end(GTK_BOX(hbox), button, FALSE, FALSE, 2); + xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_BUTTON_SCANNER_TRAN_ICM_PROFILE_BROWSE); + gtk_widget_show(button); + + text = gtk_entry_new_with_max_length(PATH_MAX); + gtk_widget_set_size_request(text, 250, -1); /* set minimum size */ + xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_SCANNER_TRAN_ICM_PROFILE); + + if (xsane.scanner_tran_icm_profile) + { + gtk_entry_set_text(GTK_ENTRY(text), (char *) xsane.scanner_tran_icm_profile); + } + + gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 4); + gtk_widget_show(text); + xsane_setup.scanner_tran_icm_profile_entry = text; + + gtk_widget_show(hbox); + + + /* scanner_tran_gray icm-profile filename : */ + hbox = gtk_hbox_new(/* homogeneous */ FALSE, 0); + gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); + + label = gtk_label_new(TEXT_SETUP_SCANNER_TRAN_GRAY_ICM_PROFILE); + gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 2); + gtk_widget_show(label); + + button = gtk_button_new_with_label(BUTTON_BROWSE); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_setup_browse_scanner_tran_gray_icm_profile_callback, NULL); + gtk_box_pack_end(GTK_BOX(hbox), button, FALSE, FALSE, 2); + xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_BUTTON_SCANNER_TRAN_GRAY_ICM_PROFILE_BROWSE); + gtk_widget_show(button); + + text = gtk_entry_new_with_max_length(PATH_MAX); + gtk_widget_set_size_request(text, 250, -1); /* set minimum size */ + xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_SCANNER_TRAN_GRAY_ICM_PROFILE); + + if (xsane.scanner_tran_gray_icm_profile) + { + gtk_entry_set_text(GTK_ENTRY(text), (char *) xsane.scanner_tran_gray_icm_profile); + } + + gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 4); + gtk_widget_show(text); + xsane_setup.scanner_tran_gray_icm_profile_entry = text; + + gtk_widget_show(hbox); +#endif + + xsane_separator_new(vbox, 4); + + + /* display icm-profile filename : */ + hbox = gtk_hbox_new(/* homogeneous */ FALSE, 0); + gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); + + label = gtk_label_new(TEXT_SETUP_DISPLAY_ICM_PROFILE); + gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 2); + gtk_widget_show(label); + + button = gtk_button_new_with_label(BUTTON_BROWSE); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_setup_browse_display_icm_profile_callback, NULL); + gtk_box_pack_end(GTK_BOX(hbox), button, FALSE, FALSE, 2); + xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_BUTTON_DISPLAY_ICM_PROFILE_BROWSE); + gtk_widget_show(button); + + text = gtk_entry_new_with_max_length(PATH_MAX); + gtk_widget_set_size_request(text, 250, -1); /* set minimum size */ + xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_DISPLAY_ICM_PROFILE); + + if (preferences.display_icm_profile) + { + gtk_entry_set_text(GTK_ENTRY(text), (char *) preferences.display_icm_profile); + } + + gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 4); + gtk_widget_show(text); + xsane_setup.display_icm_profile_entry = text; + + gtk_widget_show(hbox); + + + + /* custom output icm-profile filename : */ + hbox = gtk_hbox_new(/* homogeneous */ FALSE, 0); + gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); + + label = gtk_label_new(TEXT_SETUP_CUSTOM_PROOFING_ICM_PROFILE); + gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 2); + gtk_widget_show(label); + + button = gtk_button_new_with_label(BUTTON_BROWSE); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_setup_browse_custom_proofing_icm_profile_callback, NULL); + gtk_box_pack_end(GTK_BOX(hbox), button, FALSE, FALSE, 2); + xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_BUTTON_CUSTOM_PROOFING_ICM_PROFILE_BROWSE); + gtk_widget_show(button); + + text = gtk_entry_new_with_max_length(PATH_MAX); + gtk_widget_set_size_request(text, 250, -1); /* set minimum size */ + xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_CUSTOM_PROOFING_ICM_PROFILE); + + if (preferences.custom_proofing_icm_profile) + { + gtk_entry_set_text(GTK_ENTRY(text), (char *) preferences.custom_proofing_icm_profile); + } + + gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 4); + gtk_widget_show(text); + xsane_setup.custom_proofing_icm_profile_entry = text; + + gtk_widget_show(hbox); + + + xsane_separator_new(vbox, 4); + + + /* working color space icm-profile filename : */ + hbox = gtk_hbox_new(/* homogeneous */ FALSE, 0); + gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); + + label = gtk_label_new(TEXT_SETUP_WORKING_COLOR_SPACE_ICM_PROFILE); + gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 2); + gtk_widget_show(label); + + button = gtk_button_new_with_label(BUTTON_BROWSE); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_setup_browse_working_color_space_icm_profile_callback, NULL); + gtk_box_pack_end(GTK_BOX(hbox), button, FALSE, FALSE, 2); + xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_BUTTON_WORKING_COLOR_SPACE_ICM_PROFILE_BROWSE); + gtk_widget_show(button); + + text = gtk_entry_new_with_max_length(PATH_MAX); + gtk_widget_set_size_request(text, 250, -1); /* set minimum size */ + xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_WORKING_COLOR_SPACE_ICM_PROFILE); + + if (preferences.working_color_space_icm_profile) + { + gtk_entry_set_text(GTK_ENTRY(text), (char *) preferences.working_color_space_icm_profile); + } + + gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 4); + gtk_widget_show(text); + xsane_setup.working_color_space_icm_profile_entry = text; + + gtk_widget_show(hbox); + + + + xsane_separator_new(vbox, 4); + + + + /* apply button */ + + hbox = gtk_hbox_new(/* homogeneous */ FALSE, 0); + gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); + +#ifdef HAVE_GTK2 + button = gtk_button_new_from_stock(GTK_STOCK_APPLY); +#else + button = gtk_button_new_with_label(BUTTON_APPLY); +#endif + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_setup_color_management_apply_changes, NULL); + gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); + gtk_widget_show(button); + + gtk_widget_show(hbox); +} +#endif + +/* ---------------------------------------------------------------------------------------------------------------------- */ + void xsane_setup_dialog(GtkWidget *widget, gpointer data) { GtkWidget *setup_dialog, *setup_vbox, *hbox, *button, *notebook; @@ -3267,6 +3891,9 @@ void xsane_setup_dialog(GtkWidget *widget, gpointer data) xsane_ocr_notebook(notebook); xsane_display_notebook(notebook); xsane_enhance_notebook(notebook); +#ifdef HAVE_LIBLCMS + xsane_color_management_notebook(notebook); +#endif /* set the main hbox */ @@ -3277,23 +3904,23 @@ void xsane_setup_dialog(GtkWidget *widget, gpointer data) gtk_widget_show(hbox); #ifdef HAVE_GTK2 - button = gtk_button_new_from_stock(GTK_STOCK_OK); + button = gtk_button_new_from_stock(GTK_STOCK_CANCEL); #else - button = gtk_button_new_with_label(BUTTON_OK); + button = gtk_button_new_with_label(BUTTON_CANCEL); #endif - GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT); - g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_setup_options_ok_callback, setup_dialog); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_close_setup_dialog_callback, setup_dialog); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); - gtk_widget_grab_default(button); gtk_widget_show(button); #ifdef HAVE_GTK2 - button = gtk_button_new_from_stock(GTK_STOCK_CANCEL); + button = gtk_button_new_from_stock(GTK_STOCK_OK); #else - button = gtk_button_new_with_label(BUTTON_CANCEL); + button = gtk_button_new_with_label(BUTTON_OK); #endif - g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_close_setup_dialog_callback, setup_dialog); + GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_setup_options_ok_callback, setup_dialog); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); + gtk_widget_grab_default(button); gtk_widget_show(button); gtk_widget_show(setup_dialog); diff --git a/src/xsane-setup.h b/src/xsane-setup.h index 8055dfb..155790f 100644 --- a/src/xsane-setup.h +++ b/src/xsane-setup.h @@ -3,7 +3,7 @@ xsane-setup.h Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 1998-2005 Oliver Rauch + Copyright (C) 1998-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify diff --git a/src/xsane-text.h b/src/xsane-text.h index 7614bfc..c271956 100644 --- a/src/xsane-text.h +++ b/src/xsane-text.h @@ -3,7 +3,7 @@ xsane-text.h Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 1998-2005 Oliver Rauch + Copyright (C) 1998-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -26,182 +26,193 @@ #define XSANE_TEXT_H /* Please translate this to the correct directory name (eg. german=>de) */ -#define XSANE_LANGUAGE_DIR _("language_dir") - -#define XSANE_STRSTATUS(status) _(sane_strstatus(status)) -#define _BGT(text) dgettext(xsane.backend_translation, text) - -#define XSANE_COPYRIGHT_SIGN _("(c)") /* can be translated with \251 */ - -#define FILENAME_PREFIX_CLONE_OF _("clone-of-") - -#define WINDOW_ABOUT_XSANE _("About") -#define WINDOW_ABOUT_TRANSLATION _("About translation") -#define WINDOW_AUTHORIZE _("authorization") -#define WINDOW_GPL _("GPL - the license") -#define WINDOW_EULA _("End User License Agreement") -#define WINDOW_INFO _("info") -#define WINDOW_LOAD_BATCH_LIST _("load batch list") -#define WINDOW_SAVE_BATCH_LIST _("save batch list") -#define WINDOW_BATCH_SCAN _("batch scan") -#define WINDOW_BATCH_RENAME _("rename batch area") -#define WINDOW_FAX_PROJECT _("fax project") -#define WINDOW_FAX_RENAME _("rename fax page") -#define WINDOW_FAX_INSERT _("insert ps-file into fax") -#define WINDOW_EMAIL_PROJECT _("E-mail project") -#define WINDOW_EMAIL_RENAME _("rename e-mail image") -#define WINDOW_EMAIL_INSERT _("insert file into e-mail") -#define WINDOW_MULTIPAGE_PROJECT _("multipage project") -#define WINDOW_PRESET_AREA_RENAME _("rename preset area") -#define WINDOW_PRESET_AREA_ADD _("add preset area") -#define WINDOW_MEDIUM_RENAME _("rename medium") -#define WINDOW_MEDIUM_ADD _("add new medium") -#define WINDOW_SETUP _("setup") -#define WINDOW_HISTOGRAM _("Histogram") -#define WINDOW_GAMMA _("Gamma curve") -#define WINDOW_STANDARD_OPTIONS _("Standard options") -#define WINDOW_ADVANCED_OPTIONS _("Advanced options") -#define WINDOW_DEVICE_SELECTION _("device selection") -#define WINDOW_PREVIEW _("Preview") -#define WINDOW_VIEWER _("Viewer") -#define WINDOW_VIEWER_OUTPUT_FILENAME _("Viewer: select output filename") -#define WINDOW_OCR_OUTPUT_FILENAME _("Select output filename for OCR text file") -#define WINDOW_OUTPUT_FILENAME _("select output filename") -#define WINDOW_SAVE_SETTINGS _("save device settings") -#define WINDOW_LOAD_SETTINGS _("load device settings") -#define WINDOW_CHANGE_WORKING_DIR _("change working directory") -#define WINDOW_TMP_PATH _("select temporary directory") -#define WINDOW_SCALE _("Scale image") -#define WINDOW_DESPECKLE _("Despeckle image") -#define WINDOW_BLUR _("Blur image") -#define WINDOW_STORE_MEDIUM _("Store medium definition") -#define WINDOW_NO_DEVICES _("No devices available") - -#define MENU_FILE _("File") -#define MENU_PREFERENCES _("Preferences") -#define MENU_VIEW _("View") -#define MENU_WINDOW _("Window") -#define MENU_HELP _("Help") -#define MENU_EDIT _("Edit") -#define MENU_FILTERS _("Filters") -#define MENU_GEOMETRY _("Geometry") - -#define MENU_ITEM_ABOUT_XSANE _("About XSane") -#define MENU_ITEM_ABOUT_TRANSLATION _("About translation") -#define MENU_ITEM_INFO _("Info") -#define MENU_ITEM_QUIT _("Quit") - -#define MENU_ITEM_SAVE_IMAGE _("Save image") -#define MENU_ITEM_OCR _("OCR - save as text") -#define MENU_ITEM_CLONE _("Clone") -#define MENU_ITEM_SCALE _("Scale") -#define MENU_ITEM_CLOSE _("Close") - -#define MENU_ITEM_UNDO _("Undo") - -#define MENU_ITEM_DESPECKLE _("Despeckle") -#define MENU_ITEM_BLUR _("Blur") - -#define MENU_ITEM_ROTATE90 _("Rotate 90") -#define MENU_ITEM_ROTATE180 _("Rotate 180") -#define MENU_ITEM_ROTATE270 _("Rotate 270") -#define MENU_ITEM_MIRROR_X _("Mirror |") -#define MENU_ITEM_MIRROR_Y _("Mirror -") - -#define FRAME_RAW_IMAGE _("Raw image") -#define FRAME_ENHANCED_IMAGE _("Enhanced image") - -#define BUTTON_SCAN _("Scan") -#define BUTTON_OK _("Ok") -#define BUTTON_ACCEPT _("Accept") -#define BUTTON_NOT_ACCEPT _("Not accept") -#define BUTTON_APPLY _("Apply") -#define BUTTON_CANCEL _("Cancel") -#define BUTTON_REDUCE _("Reduce") -#define BUTTON_CONT_AT_OWN_RISK _("Continue at your own risk") -#define BUTTON_BROWSE _("Browse") -#define BUTTON_CLOSE _("Close") -#define BUTTON_HELP _("Help") -#define BUTTON_OVERWRITE _("Overwrite") -#define BUTTON_BATCH_LIST_SCAN _("Scan batch list") -#define BUTTON_BATCH_AREA_SCAN _("Scan selected area") -#define BUTTON_PAGE_DELETE _("Delete page") -#define BUTTON_PAGE_SHOW _("Show page") -#define BUTTON_PAGE_RENAME _("Rename page") -#define BUTTON_IMAGE_DELETE _("Delete image") -#define BUTTON_IMAGE_SHOW _("Show image") -#define BUTTON_IMAGE_EDIT _("Edit image") -#define BUTTON_IMAGE_RENAME _("Rename image") -#define BUTTON_FILE_INSERT _("Insert file") -#define BUTTON_CREATE_PROJECT _("Create project") -#define BUTTON_SEND_PROJECT _("Send project") -#define BUTTON_SAVE_MULTIPAGE _("Save multipage file") -#define BUTTON_DELETE_PROJECT _("Delete project") -#define BUTTON_ADD_PRINTER _("Add printer") -#define BUTTON_DELETE_PRINTER _("Delete printer") -#define BUTTON_PREVIEW_ACQUIRE _("Acquire preview") -#define BUTTON_PREVIEW_CANCEL _("Cancel preview") -#define BUTTON_DISCARD_IMAGE _("Discard image") -#define BUTTON_DISCARD_ALL_IMAGES _("Discard all images") -#define BUTTON_DO_NOT_CLOSE _("Do not close") -#define BUTTON_SCALE_BIND _("Bind scale") - -#define RADIO_BUTTON_FINE_MODE _("Fine mode") -#define RADIO_BUTTON_HTML_EMAIL _("HTML e-mail") -#define RADIO_BUTTON_SAVE_DEVPREFS_AT_EXIT _("Save device preferences at exit") -#define RADIO_BUTTON_OVERWRITE_WARNING _("Overwrite warning") -#define RADIO_BUTTON_SKIP_EXISTING_NRS _("Skip existing filenames") -#define RADIO_BUTTON_SAVE_PS_FLATDECODED _("Save postscript zlib compressed (ps level 3)") -#define RADIO_BUTTON_SAVE_PDF_FLATDECODED _("Save PDF zlib compressed") -#define RADIO_BUTTON_SAVE_PNM16_AS_ASCII _("Save 16bit pnm in ascii format") -#define RADIO_BUTTON_REDUCE_16BIT_TO_8BIT _("Reduce 16 bit image to 8 bit") -#define RADIO_BUTTON_WINDOW_FIXED _("Main window size fixed") -#define RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA _("Disable gimp preview gamma") -#define RADIO_BUTTON_PRIVATE_COLORMAP _("Use private colormap") -#define RADIO_BUTTON_AUTOENHANCE_GAMMA _("Autoenhance gamma") -#define RADIO_BUTTON_PRESELECT_SCANAREA _("Preselect scanarea") -#define RADIO_BUTTON_AUTOCORRECT_COLORS _("Autocorrect colors") -#define RADIO_BUTTON_OCR_USE_GUI_PIPE _("Use GUI progress pipe") - -#define TEXT_SCANNING_DEVICES _("scanning for devices") -#define TEXT_AVAILABLE_DEVICES _("Available devices:") -#define TEXT_XSANE_OPTIONS _("XSane options") -#define TEXT_FILETYPE _("Type") -#define TEXT_SCANNER_BACKEND _("Scanner and backend:") -#define TEXT_VENDOR _("Vendor:") -#define TEXT_MODEL _("Model:") -#define TEXT_TYPE _("Type:") -#define TEXT_DEVICE _("Device:") -#define TEXT_LOADED_BACKEND _("Loaded backend:") -#define TEXT_SANE_VERSION _("Sane version:") -#define TEXT_RECENT_VALUES _("Recent values:") -#define TEXT_GAMMA_CORR_BY _("Gamma correction by:") -#define TEXT_SCANNER _("scanner") -#define TEXT_SOFTWARE_XSANE _("software (XSane)") -#define TEXT_NONE _("none") -#define TEXT_GAMMA_INPUT_DEPTH _("Gamma input depth:") -#define TEXT_GAMMA_OUTPUT_DEPTH _("Gamma output depth:") -#define TEXT_SCANNER_OUTPUT_DEPTH _("Scanner output depth:") -#define TEXT_OUTPUT_FORMATS _("XSane output formats:") -#define TEXT_8BIT_FORMATS _("8 bit output formats:") -#define TEXT_16BIT_FORMATS _("16 bit output formats:") -#define TEXT_GIMP_REDUCE_16BIT_TO_8BIT _("Gimp does not support depth 16 bits/color.\n" \ - "Do you want to reduce the depth to 8 bits/color?") -#define TEXT_REDUCE_16BIT_TO_8BIT _("Bit depth 16 bits/color is not supported for this output format.\n" \ - "Do you want to reduce the depth to 8 bits/color?") -#define TEXT_AUTHORIZATION_REQ _("Authorization required for") -#define TEXT_AUTHORIZATION_SECURE _("Password transmission is secure") -#define TEXT_AUTHORIZATION_INSECURE _("Backend requests plain-text password") -#define TEXT_USERNAME _("Username :") -#define TEXT_PASSWORD _("Password :") -#define TEXT_INVALID_PARAMS _("Invalid parameters.") -#define TEXT_VERSION _("version:") -#define TEXT_PACKAGE _("package") -#define TEXT_WITH_GIMP_SUPPORT _("with GIMP support") -#define TEXT_WITHOUT_GIMP_SUPPORT _("without GIMP support") -#define TEXT_GTK_VERSION _("compiled with GTK-") -#define TEXT_GIMP_VERSION _("compiled with GIMP-") -#define TEXT_UNKNOWN _("unknown") +#define XSANE_LANGUAGE_DIR _("language_dir") + +#define XSANE_STRSTATUS(status) _(sane_strstatus(status)) +#define _BGT(text) dgettext(xsane.backend_translation, text) + +#define XSANE_COPYRIGHT_SIGN _("(c)") /* can be translated with \251 */ + +#define FILENAME_PREFIX_CLONE_OF _("clone-of-") + +#define WINDOW_ABOUT_XSANE _("About") +#define WINDOW_ABOUT_TRANSLATION _("About translation") +#define WINDOW_AUTHORIZE _("authorization") +#define WINDOW_GPL _("GPL - the license") +#define WINDOW_EULA _("End User License Agreement") +#define WINDOW_INFO _("info") +#define WINDOW_LOAD_BATCH_LIST _("load batch list") +#define WINDOW_SAVE_BATCH_LIST _("save batch list") +#define WINDOW_BATCH_SCAN _("batch scan") +#define WINDOW_BATCH_RENAME _("rename batch area") +#define WINDOW_FAX_PROJECT _("fax project") +#define WINDOW_FAX_PROJECT_BROWSE _("browse for fax project") +#define WINDOW_FAX_RENAME _("rename fax page") +#define WINDOW_FAX_INSERT _("insert ps-file into fax") +#define WINDOW_EMAIL_PROJECT _("E-mail project") +#define WINDOW_EMAIL_PROJECT_BROWSE _("browse for email project") +#define WINDOW_EMAIL_RENAME _("rename e-mail image") +#define WINDOW_EMAIL_INSERT _("insert file into e-mail") +#define WINDOW_MULTIPAGE_PROJECT _("multipage project") +#define WINDOW_MULTIPAGE_PROJECT_BROWSE _("browse for multipage project") +#define WINDOW_PRESET_AREA_RENAME _("rename preset area") +#define WINDOW_PRESET_AREA_ADD _("add preset area") +#define WINDOW_MEDIUM_RENAME _("rename medium") +#define WINDOW_MEDIUM_ADD _("add new medium") +#define WINDOW_SETUP _("setup") +#define WINDOW_HISTOGRAM _("Histogram") +#define WINDOW_GAMMA _("Gamma curve") +#define WINDOW_STANDARD_OPTIONS _("Standard options") +#define WINDOW_ADVANCED_OPTIONS _("Advanced options") +#define WINDOW_DEVICE_SELECTION _("device selection") +#define WINDOW_PREVIEW _("Preview") +#define WINDOW_VIEWER _("Viewer") +#define WINDOW_VIEWER_OUTPUT_FILENAME _("Viewer: select output filename") +#define WINDOW_OCR_OUTPUT_FILENAME _("Select output filename for OCR text file") +#define WINDOW_OUTPUT_FILENAME _("select output filename") +#define WINDOW_SAVE_SETTINGS _("save device settings") +#define WINDOW_LOAD_SETTINGS _("load device settings") +#define WINDOW_CHANGE_WORKING_DIR _("change working directory") +#define WINDOW_TMP_PATH _("select temporary directory") +#define WINDOW_SCALE _("Scale image") +#define WINDOW_DESPECKLE _("Despeckle image") +#define WINDOW_BLUR _("Blur image") +#define WINDOW_STORE_MEDIUM _("Store medium definition") +#define WINDOW_NO_DEVICES _("No devices available") +#define WINDOW_SCANNER_DEFAULT_COLOR_ICM_PROFILE _("select scanner default color ICM-profile") +#define WINDOW_SCANNER_DEFAULT_GRAY_ICM_PROFILE _("select scanner default gray ICM-profile") +#define WINDOW_DISPLAY_ICM_PROFILE _("select display ICM-profile") +#define WINDOW_CUSTOM_PROOFING_ICM_PROFILE _("select custom proofing ICM-profile") +#define WINDOW_WORKING_COLOR_SPACE_ICM_PROFILE _("select working color space ICM-profile") +#define WINDOW_PRINTER_ICM_PROFILE _("select printer ICM-profile") + +#define MENU_FILE _("File") +#define MENU_PREFERENCES _("Preferences") +#define MENU_VIEW _("View") +#define MENU_WINDOW _("Window") +#define MENU_HELP _("Help") +#define MENU_EDIT _("Edit") +#define MENU_FILTERS _("Filters") +#define MENU_GEOMETRY _("Geometry") +#define MENU_COLOR_MANAGEMENT _("Color management") + +#define MENU_ITEM_ABOUT_XSANE _("About XSane") +#define MENU_ITEM_ABOUT_TRANSLATION _("About translation") +#define MENU_ITEM_INFO _("Info") +#define MENU_ITEM_QUIT _("Quit") + +#define MENU_ITEM_SAVE_IMAGE _("Save image") +#define MENU_ITEM_OCR _("OCR - save as text") +#define MENU_ITEM_CLONE _("Clone") +#define MENU_ITEM_SCALE _("Scale") +#define MENU_ITEM_CLOSE _("Close") + +#define MENU_ITEM_UNDO _("Undo") + +#define MENU_ITEM_DESPECKLE _("Despeckle") +#define MENU_ITEM_BLUR _("Blur") + +#define MENU_ITEM_ROTATE90 _("Rotate 90") +#define MENU_ITEM_ROTATE180 _("Rotate 180") +#define MENU_ITEM_ROTATE270 _("Rotate 270") +#define MENU_ITEM_MIRROR_X _("Mirror |") +#define MENU_ITEM_MIRROR_Y _("Mirror -") + +#define FRAME_RAW_IMAGE _("Raw image") +#define FRAME_ENHANCED_IMAGE _("Enhanced image") + +#define BUTTON_SCAN _("Scan") +#define BUTTON_OK _("Ok") +#define BUTTON_ACCEPT _("Accept") +#define BUTTON_NOT_ACCEPT _("Not accept") +#define BUTTON_APPLY _("Apply") +#define BUTTON_CANCEL _("Cancel") +#define BUTTON_REDUCE _("Reduce") +#define BUTTON_CONT_AT_OWN_RISK _("Continue at your own risk") +#define BUTTON_BROWSE _("Browse") +#define BUTTON_CLOSE _("Close") +#define BUTTON_HELP _("Help") +#define BUTTON_OVERWRITE _("Overwrite") +#define BUTTON_BATCH_LIST_SCAN _("Scan batch list") +#define BUTTON_BATCH_AREA_SCAN _("Scan selected area") +#define BUTTON_PAGE_DELETE _("Delete page") +#define BUTTON_PAGE_SHOW _("Show page") +#define BUTTON_PAGE_RENAME _("Rename page") +#define BUTTON_IMAGE_DELETE _("Delete image") +#define BUTTON_IMAGE_SHOW _("Show image") +#define BUTTON_IMAGE_EDIT _("Edit image") +#define BUTTON_IMAGE_RENAME _("Rename image") +#define BUTTON_FILE_INSERT _("Insert file") +#define BUTTON_CREATE_PROJECT _("Create project") +#define BUTTON_SEND_PROJECT _("Send project") +#define BUTTON_SAVE_MULTIPAGE _("Save multipage file") +#define BUTTON_DELETE_PROJECT _("Delete project") +#define BUTTON_ADD_PRINTER _("Add printer") +#define BUTTON_DELETE_PRINTER _("Delete printer") +#define BUTTON_PREVIEW_ACQUIRE _("Acquire preview") +#define BUTTON_PREVIEW_CANCEL _("Cancel preview") +#define BUTTON_DISCARD_IMAGE _("Discard image") +#define BUTTON_DISCARD_ALL_IMAGES _("Discard all images") +#define BUTTON_DO_NOT_CLOSE _("Do not close") +#define BUTTON_SCALE_BIND _("Bind scale") + +#define RADIO_BUTTON_FINE_MODE _("Fine mode") +#define RADIO_BUTTON_HTML_EMAIL _("HTML e-mail") +#define RADIO_BUTTON_SAVE_DEVPREFS_AT_EXIT _("Save device preferences at exit") +#define RADIO_BUTTON_OVERWRITE_WARNING _("Overwrite warning") +#define RADIO_BUTTON_SKIP_EXISTING_NRS _("Skip existing filenames") +#define RADIO_BUTTON_SAVE_PS_FLATEDECODED _("Save postscript zlib compressed (ps level 3)") +#define RADIO_BUTTON_SAVE_PDF_FLATEDECODED _("Save PDF zlib compressed") +#define RADIO_BUTTON_SAVE_PNM16_AS_ASCII _("Save 16bit pnm in ascii format") +#define RADIO_BUTTON_REDUCE_16BIT_TO_8BIT _("Reduce 16 bit image to 8 bit") +#define RADIO_BUTTON_WINDOW_FIXED _("Main window size fixed") +#define RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA _("Disable GIMP preview gamma") +#define RADIO_BUTTON_PRIVATE_COLORMAP _("Use private colormap") +#define RADIO_BUTTON_AUTOENHANCE_GAMMA _("Autoenhance gamma") +#define RADIO_BUTTON_PRESELECT_SCANAREA _("Preselect scanarea") +#define RADIO_BUTTON_AUTOCORRECT_COLORS _("Autocorrect colors") +#define RADIO_BUTTON_OCR_USE_GUI_PIPE _("Use GUI progress pipe") +#define RADIO_BUTTON_CMS_BPC _("Black point compensation") + +#define TEXT_SCANNING_DEVICES _("scanning for devices") +#define TEXT_AVAILABLE_DEVICES _("Available devices:") +#define TEXT_XSANE_OPTIONS _("XSane options") +#define TEXT_FILETYPE _("Type") +#define TEXT_CMS_FUNCTION _("Color management function") +#define TEXT_SCANNER_BACKEND _("Scanner and backend:") +#define TEXT_VENDOR _("Vendor:") +#define TEXT_MODEL _("Model:") +#define TEXT_TYPE _("Type:") +#define TEXT_DEVICE _("Device:") +#define TEXT_LOADED_BACKEND _("Loaded backend:") +#define TEXT_SANE_VERSION _("Sane version:") +#define TEXT_RECENT_VALUES _("Recent values:") +#define TEXT_GAMMA_CORR_BY _("Gamma correction by:") +#define TEXT_SCANNER _("scanner") +#define TEXT_SOFTWARE_XSANE _("software (XSane)") +#define TEXT_NONE _("none") +#define TEXT_GAMMA_INPUT_DEPTH _("Gamma input depth:") +#define TEXT_GAMMA_OUTPUT_DEPTH _("Gamma output depth:") +#define TEXT_SCANNER_OUTPUT_DEPTH _("Scanner output depth:") +#define TEXT_OUTPUT_FORMATS _("XSane output formats:") +#define TEXT_8BIT_FORMATS _("8 bit output formats:") +#define TEXT_16BIT_FORMATS _("16 bit output formats:") +#define TEXT_REDUCE_16BIT_TO_8BIT _("Bit depth 16 bits/channel is not supported for this output format.\n" \ + "Do you want to reduce the depth to 8 bits/channel?") +#define TEXT_AUTHORIZATION_REQ _("Authorization required for") +#define TEXT_AUTHORIZATION_SECURE _("Password transmission is secure") +#define TEXT_AUTHORIZATION_INSECURE _("Backend requests plain-text password") +#define TEXT_USERNAME _("Username :") +#define TEXT_PASSWORD _("Password :") +#define TEXT_INVALID_PARAMS _("Invalid parameters.") +#define TEXT_VERSION _("version:") +#define TEXT_PACKAGE _("package") +#define TEXT_WITH_CMS_FUNCTION _("with color management function") +#define TEXT_WITH_GIMP_SUPPORT _("with GIMP support") +#define TEXT_WITHOUT_GIMP_SUPPORT _("without GIMP support") +#define TEXT_GTK_VERSION _("compiled with GTK-") +#define TEXT_GIMP_VERSION _("compiled with GIMP-") +#define TEXT_UNKNOWN _("unknown") #define TEXT_EULA _( "XSane is distributed under the terms of the GNU General Public License\n" \ "as published by the Free Software Foundation; either version 2 of the\n" \ "License, or (at your option) any later version.\n" \ @@ -220,164 +231,196 @@ "This program is distributed in the hope that it will be useful, but\n" \ "WITHOUT ANY WARRANTY; without even the implied warranty of\n" \ "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n") -#define TEXT_EMAIL_ADR _("E-mail:") -#define TEXT_HOMEPAGE _("Homepage:") -#define TEXT_FILE _("File:") -#define TEXT_TRANSLATION _("Translation:") +#define TEXT_EMAIL_ADR _("E-mail:") +#define TEXT_HOMEPAGE _("Homepage:") +#define TEXT_FILE _("File:") +#define TEXT_TRANSLATION _("Translation:") /* Please translate this to something like */ /* translation to YOUR LANGUAGE\n */ /* by YOUR NAME\n */ /* E-mail: your.name@yourdomain.com\n */ -#define TEXT_TRANSLATION_INFO _("untranslated original english text\n" \ - "by Oliver Rauch\n" \ - "E-mail: Oliver.Rauch@rauch-domain.de\n") - -#define TEXT_INFO_BOX _("0x0: 0KB") - -#define TEXT_ADF_PAGES_SCANNED _("Scanned pages: ") - -#define TEXT_EMAIL_TEXT _("E-mail text:") -#define TEXT_ATTACHMENTS _("Attachments:") -#define TEXT_EMAIL_STATUS _("Project status:") -#define TEXT_EMAIL_FILETYPE _("E-mail image filetype:") - -#define TEXT_PAGES _("Pages:") -#define TEXT_MULTIPAGE_FILETYPE _("Multipage document filetype:") - -#define TEXT_MEDIUM_DEFINITION_NAME _("Medium Name:") - -#define TEXT_VIEWER_IMAGE_INFO _("Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s") -#define TEXT_DESPECKLE_RADIUS _("Despeckle radius:") -#define TEXT_BLUR_RADIUS _("Blur radius:") -#define TEXT_BATCH_AREA_DEFAULT_NAME _("(no name)") -#define TEXT_BATCH_LIST_AREANAME _("Area name:") -#define TEXT_BATCH_LIST_SCANMODE _("Scanmode:") -#define TEXT_BATCH_LIST_GEOMETRY_TL _("Top left:") -#define TEXT_BATCH_LIST_GEOMETRY_SIZE _("Size:") -#define TEXT_BATCH_LIST_RESOLUTION _("Resolution:") -#define TEXT_BATCH_LIST_BIT_DEPTH _("Bit depth:") -#define TEXT_BATCH_LIST_BY_GUI _("as selected") - -#define TEXT_SETUP_PRINTER_SEL _("Printer selection:") -#define TEXT_SETUP_PRINTER_NAME _("Name:") -#define TEXT_SETUP_PRINTER_CMD _("Command:") -#define TEXT_SETUP_COPY_NR_OPT _("Copy number option:") -#define TEXT_SETUP_PRINTER_LINEART_RES _("Lineart resolution (dpi):") -#define TEXT_SETUP_PRINTER_GRAYSCALE_RES _("Grayscale resolution (dpi):") -#define TEXT_SETUP_PRINTER_COLOR_RES _("Color resolution (dpi):") -#define TEXT_SETUP_PRINTER_WIDTH _("Width") -#define TEXT_SETUP_PRINTER_HEIGHT _("Height") -#define TEXT_SETUP_PRINTER_LEFT _("Left offset") -#define TEXT_SETUP_PRINTER_BOTTOM _("Bottom offset") -#define TEXT_SETUP_PRINTER_GAMMA _("Printer gamma value:") -#define TEXT_SETUP_PRINTER_GAMMA_RED _("Printer gamma red:") -#define TEXT_SETUP_PRINTER_GAMMA_GREEN _("Printer gamma green:") -#define TEXT_SETUP_PRINTER_GAMMA_BLUE _("Printer gamma blue:") -#define TEXT_SETUP_PRINTER_PS_FLATDECODED _("Create zlib compressed postscript image (ps level 3) for printing") -#define TEXT_SETUP_TMP_PATH _("Temporary directory") -#define TEXT_SETUP_IMAGE_PERMISSION _("Image-file permissions") -#define TEXT_SETUP_DIR_PERMISSION _("Directory permissions") -#define TEXT_SETUP_JPEG_QUALITY _("JPEG image quality") -#define TEXT_SETUP_PNG_COMPRESSION _("PNG image compression") -#define TEXT_SETUP_FILENAME_COUNTER_LEN _("Filename counter length") -#define TEXT_SETUP_TIFF_ZIP_COMPRESSION _("TIFF zip compression rate") -#define TEXT_SETUP_TIFF_COMPRESSION_16 _("TIFF 16 bit image compression") -#define TEXT_SETUP_TIFF_COMPRESSION_8 _("TIFF 8 bit image compression") -#define TEXT_SETUP_TIFF_COMPRESSION_1 _("TIFF lineart image compression") -#define TEXT_SETUP_SHOW_RANGE_MODE _("Show range as:") -#define TEXT_SETUP_PREVIEW_OVERSAMPLING _("Preview oversampling:") -#define TEXT_SETUP_PREVIEW_GAMMA _("Preview gamma:") -#define TEXT_SETUP_PREVIEW_GAMMA_RED _("Preview gamma red:") -#define TEXT_SETUP_PREVIEW_GAMMA_GREEN _("Preview gamma green:") -#define TEXT_SETUP_PREVIEW_GAMMA_BLUE _("Preview gamma blue:") -#define TEXT_SETUP_LINEART_MODE _("Threshold option:") -#define TEXT_SETUP_PREVIEW_PIPETTE_RANGE _("Preview pipette range") -#define TEXT_SETUP_THRESHOLD_MIN _("Threshold minimum:") -#define TEXT_SETUP_THRESHOLD_MAX _("Threshold maximum:") -#define TEXT_SETUP_THRESHOLD_MUL _("Threshold multiplier:") -#define TEXT_SETUP_THRESHOLD_OFF _("Threshold offset:") -#define TEXT_SETUP_GRAYSCALE_SCANMODE _("Name of grayscale scanmode:") -#define TEXT_SETUP_HELPFILE_VIEWER _("Helpfile viewer (HTML):") -#define TEXT_SETUP_FAX_COMMAND _("Command:") -#define TEXT_SETUP_FAX_RECEIVER_OPTION _("Receiver option:") -#define TEXT_SETUP_FAX_POSTSCRIPT_OPT _("Postscriptfile option:") -#define TEXT_SETUP_FAX_NORMAL_MODE_OPT _("Normal mode option:") -#define TEXT_SETUP_FAX_FINE_MODE_OPT _("Fine mode option:") -#define TEXT_SETUP_FAX_PROGRAM_DEFAULTS _("Set program defaults for:") -#define TEXT_SETUP_FAX_VIEWER _("Viewer (Postscript):") -#define TEXT_SETUP_FAX_WIDTH _("Width") -#define TEXT_SETUP_FAX_HEIGHT _("Height") -#define TEXT_SETUP_FAX_LEFT _("Left offset") -#define TEXT_SETUP_FAX_BOTTOM _("Bottom offset") -#define TEXT_SETUP_FAX_PS_FLATDECODED _("Create zlib compressed postscript image (ps level 3) for fax") -#define TEXT_SETUP_SMTP_SERVER _("SMTP server:") -#define TEXT_SETUP_SMTP_PORT _("SMTP port:") -#define TEXT_SETUP_EMAIL_FROM _("From:") -#define TEXT_SETUP_EMAIL_REPLY_TO _("Reply to:") -#define TEXT_SETUP_EMAIL_AUTHENTICATION _("E-mail authentication") -#define TEXT_SETUP_EMAIL_AUTH_USER _("User:") -#define TEXT_SETUP_EMAIL_AUTH_PASS _("Password:") -#define TEXT_SETUP_POP3_SERVER _("POP3 server:") -#define TEXT_SETUP_POP3_PORT _("POP3 port:") -#define TEXT_SETUP_OCR_COMMAND _("OCR Command:") -#define TEXT_SETUP_OCR_INPUTFILE_OPT _("Inputfile option:") -#define TEXT_SETUP_OCR_OUTPUTFILE_OPT _("Outputfile option:") -#define TEXT_SETUP_OCR_USE_GUI_PIPE_OPT _("Use GUI progress pipe:") -#define TEXT_SETUP_OCR_OUTFD_OPT _("GUI output-fd option:") -#define TEXT_SETUP_OCR_PROGRESS_KEYWORD _("Progress keyword:") -#define TEXT_SETUP_PERMISSION_USER _("user") -#define TEXT_SETUP_PERMISSION_GROUP _("group") -#define TEXT_SETUP_PERMISSION_ALL _("all") -#define TEXT_NEW_MEDIA_NAME _("new media") - -#define NOTEBOOK_SAVING_OPTIONS _("Save") -#define NOTEBOOK_FILETYPE_OPTIONS _("Filetype") -#define NOTEBOOK_COPY_OPTIONS _("Copy") -#define NOTEBOOK_FAX_OPTIONS _("Fax") -#define NOTEBOOK_EMAIL_OPTIONS _("E-mail") -#define NOTEBOOK_OCR_OPTIONS _("OCR") -#define NOTEBOOK_DISPLAY_OPTIONS _("Display") -#define NOTEBOOK_ENHANCE_OPTIONS _("Enhancement") - -#define MENU_ITEM_SAVE _("Save") -#define MENU_ITEM_VIEWER _("Viewer") -#define MENU_ITEM_COPY _("Copy") -#define MENU_ITEM_MULTIPAGE _("Multipage") -#define MENU_ITEM_FAX _("Fax") -#define MENU_ITEM_EMAIL _("E-mail") - -#define MENU_ITEM_SHOW_TOOLTIPS _("Show tooltips") -#define MENU_ITEM_SHOW_PREVIEW _("Show preview") -#define MENU_ITEM_SHOW_HISTOGRAM _("Show histogram") -#define MENU_ITEM_SHOW_GAMMA _("Show gamma curve") -#define MENU_ITEM_SHOW_BATCH_SCAN _("Show batch scan") -#define MENU_ITEM_SHOW_STANDARDOPTIONS _("Show standard options") -#define MENU_ITEM_SHOW_ADVANCEDOPTIONS _("Show advanced options") - -#define MENU_ITEM_SETUP _("Setup") -#define MENU_ITEM_LENGTH_UNIT _("Length unit") -#define SUBMENU_ITEM_LENGTH_MILLIMETERS _("millimeters") -#define SUBMENU_ITEM_LENGTH_CENTIMETERS _("centimeters") -#define SUBMENU_ITEM_LENGTH_INCHES _("inches") -#define MENU_ITEM_UPDATE_POLICY _("Update policy") -#define SUBMENU_ITEM_POLICY_CONTINUOUS _("continuous") -#define SUBMENU_ITEM_POLICY_DISCONTINU _("discontinuous") -#define SUBMENU_ITEM_POLICY_DELAYED _("delayed") -#define MENU_ITEM_SHOW_RESOLUTIONLIST _("Show resolution list") -#define MENU_ITEM_PAGE_ROTATE _("Rotate postscript") -#define MENU_ITEM_EDIT_MEDIUM_DEF _("Edit medium definition") -#define MENU_ITEM_SAVE_DEVICE_SETTINGS _("Save device settings") -#define MENU_ITEM_LOAD_DEVICE_SETTINGS _("Load device settings") -#define MENU_ITEM_CHANGE_WORKING_DIR _("Change directory") - -#define MENU_ITEM_XSANE_EULA _("Show EULA") -#define MENU_ITEM_XSANE_GPL _("Show license (GPL)") -#define MENU_ITEM_XSANE_DOC _("XSane doc") -#define MENU_ITEM_BACKEND_DOC _("Backend doc") -#define MENU_ITEM_AVAILABLE_BACKENDS _("Available backends") -#define MENU_ITEM_SCANTIPS _("Scantips") -#define MENU_ITEM_PROBLEMS _("Problems?") +#define TEXT_TRANSLATION_INFO _("untranslated original english text\n" \ + "by Oliver Rauch\n" \ + "E-mail: Oliver.Rauch@rauch-domain.de\n") + +#define TEXT_INFO_BOX _("0x0: 0KB") + +#define TEXT_ADF_PAGES_SCANNED _("Scanned pages: ") + +#define TEXT_EMAIL_TEXT _("E-mail text:") +#define TEXT_ATTACHMENTS _("Attachments:") +#define TEXT_EMAIL_STATUS _("Project status:") +#define TEXT_EMAIL_FILETYPE _("E-mail image filetype:") + +#define TEXT_PAGES _("Pages:") +#define TEXT_MULTIPAGE_FILETYPE _("Multipage document filetype:") + +#define TEXT_MEDIUM_DEFINITION_NAME _("Medium Name:") + +#define TEXT_VIEWER_IMAGE_INFO _("Size %d x %d pixel, %d bits/channel, %d channels, %1.0f dpi x %1.0f dpi, %1.1f %s") +#define TEXT_DESPECKLE_RADIUS _("Despeckle radius:") +#define TEXT_BLUR_RADIUS _("Blur radius:") +#define TEXT_BATCH_AREA_DEFAULT_NAME _("(no name)") +#define TEXT_BATCH_LIST_AREANAME _("Area name:") +#define TEXT_BATCH_LIST_SCANMODE _("Scanmode:") +#define TEXT_BATCH_LIST_GEOMETRY_TL _("Top left:") +#define TEXT_BATCH_LIST_GEOMETRY_SIZE _("Size:") +#define TEXT_BATCH_LIST_RESOLUTION _("Resolution:") +#define TEXT_BATCH_LIST_BIT_DEPTH _("Bit depth:") +#define TEXT_BATCH_LIST_BY_GUI _("as selected") + +#define TEXT_SETUP_PRINTER_SEL _("Printer selection:") +#define TEXT_SETUP_PRINTER_NAME _("Name:") +#define TEXT_SETUP_PRINTER_CMD _("Command:") +#define TEXT_SETUP_COPY_NR_OPT _("Copy number option:") +#define TEXT_SETUP_PRINTER_LINEART_RES _("Lineart resolution (dpi):") +#define TEXT_SETUP_PRINTER_GRAYSCALE_RES _("Grayscale resolution (dpi):") +#define TEXT_SETUP_PRINTER_COLOR_RES _("Color resolution (dpi):") +#define TEXT_SETUP_PRINTER_WIDTH _("Width") +#define TEXT_SETUP_PRINTER_HEIGHT _("Height") +#define TEXT_SETUP_PRINTER_LEFT _("Left offset") +#define TEXT_SETUP_PRINTER_BOTTOM _("Bottom offset") +#define TEXT_SETUP_PRINTER_GAMMA _("Printer gamma value:") +#define TEXT_SETUP_PRINTER_GAMMA_RED _("Printer gamma red:") +#define TEXT_SETUP_PRINTER_GAMMA_GREEN _("Printer gamma green:") +#define TEXT_SETUP_PRINTER_GAMMA_BLUE _("Printer gamma blue:") +#define TEXT_SETUP_PRINTER_EMBED_CSA _("Embed scanner ICM profile as CSA") +#define TEXT_SETUP_PRINTER_EMBED_CRD _("Embed printer ICM profile as CRD") +#define TEXT_SETUP_PRINTER_PS_FLATEDECODED _("Create zlib compressed postscript image (ps level 3) for printing") +#define TEXT_SETUP_TMP_PATH _("Temporary directory") +#define TEXT_SETUP_IMAGE_PERMISSION _("Image-file permissions") +#define TEXT_SETUP_DIR_PERMISSION _("Directory permissions") +#define TEXT_SETUP_JPEG_QUALITY _("JPEG image quality") +#define TEXT_SETUP_PNG_COMPRESSION _("PNG image compression") +#define TEXT_SETUP_FILENAME_COUNTER_LEN _("Filename counter length") +#define TEXT_SETUP_TIFF_ZIP_COMPRESSION _("TIFF zip compression rate") +#define TEXT_SETUP_TIFF_COMPRESSION_16 _("TIFF 16 bit image compression") +#define TEXT_SETUP_TIFF_COMPRESSION_8 _("TIFF 8 bit image compression") +#define TEXT_SETUP_TIFF_COMPRESSION_1 _("TIFF lineart image compression") +#define TEXT_SETUP_SHOW_RANGE_MODE _("Show range as:") +#define TEXT_SETUP_PREVIEW_OVERSAMPLING _("Preview oversampling:") +#define TEXT_SETUP_PREVIEW_GAMMA _("Preview gamma:") +#define TEXT_SETUP_PREVIEW_GAMMA_RED _("Preview gamma red:") +#define TEXT_SETUP_PREVIEW_GAMMA_GREEN _("Preview gamma green:") +#define TEXT_SETUP_PREVIEW_GAMMA_BLUE _("Preview gamma blue:") +#define TEXT_SETUP_LINEART_MODE _("Threshold option:") +#define TEXT_SETUP_PREVIEW_PIPETTE_RANGE _("Preview pipette range") +#define TEXT_SETUP_THRESHOLD_MIN _("Threshold minimum:") +#define TEXT_SETUP_THRESHOLD_MAX _("Threshold maximum:") +#define TEXT_SETUP_THRESHOLD_MUL _("Threshold multiplier:") +#define TEXT_SETUP_THRESHOLD_OFF _("Threshold offset:") +#define TEXT_SETUP_GRAYSCALE_SCANMODE _("Name of grayscale scanmode:") +#define TEXT_SETUP_HELPFILE_VIEWER _("Helpfile viewer (HTML):") +#define TEXT_SETUP_FAX_COMMAND _("Command:") +#define TEXT_SETUP_FAX_RECEIVER_OPTION _("Receiver option:") +#define TEXT_SETUP_FAX_POSTSCRIPT_OPT _("Postscriptfile option:") +#define TEXT_SETUP_FAX_NORMAL_MODE_OPT _("Normal mode option:") +#define TEXT_SETUP_FAX_FINE_MODE_OPT _("Fine mode option:") +#define TEXT_SETUP_FAX_PROGRAM_DEFAULTS _("Set program defaults for:") +#define TEXT_SETUP_FAX_VIEWER _("Viewer (Postscript):") +#define TEXT_SETUP_FAX_WIDTH _("Width") +#define TEXT_SETUP_FAX_HEIGHT _("Height") +#define TEXT_SETUP_FAX_LEFT _("Left offset") +#define TEXT_SETUP_FAX_BOTTOM _("Bottom offset") +#define TEXT_SETUP_FAX_PS_FLATEDECODED _("Create zlib compressed postscript image (ps level 3) for fax") +#define TEXT_SETUP_SMTP_SERVER _("SMTP server:") +#define TEXT_SETUP_SMTP_PORT _("SMTP port:") +#define TEXT_SETUP_EMAIL_FROM _("From:") +#define TEXT_SETUP_EMAIL_REPLY_TO _("Reply to:") +#define TEXT_SETUP_EMAIL_AUTHENTICATION _("E-mail authentication") +#define TEXT_SETUP_EMAIL_AUTH_USER _("User:") +#define TEXT_SETUP_EMAIL_AUTH_PASS _("Password:") +#define TEXT_SETUP_POP3_SERVER _("POP3 server:") +#define TEXT_SETUP_POP3_PORT _("POP3 port:") +#define TEXT_SETUP_OCR_COMMAND _("OCR Command:") +#define TEXT_SETUP_OCR_INPUTFILE_OPT _("Inputfile option:") +#define TEXT_SETUP_OCR_OUTPUTFILE_OPT _("Outputfile option:") +#define TEXT_SETUP_OCR_USE_GUI_PIPE_OPT _("Use GUI progress pipe:") +#define TEXT_SETUP_OCR_OUTFD_OPT _("GUI output-fd option:") +#define TEXT_SETUP_OCR_PROGRESS_KEYWORD _("Progress keyword:") +#define TEXT_SETUP_PERMISSION_USER _("user") +#define TEXT_SETUP_PERMISSION_GROUP _("group") +#define TEXT_SETUP_PERMISSION_ALL _("all") +#define TEXT_SETUP_SCANNER_DEFAULT_COLOR_ICM_PROFILE _("Scanner default color ICM-profile") +#define TEXT_SETUP_SCANNER_DEFAULT_GRAY_ICM_PROFILE _("Scanner default gray ICM-profile") +#define TEXT_SETUP_DISPLAY_ICM_PROFILE _("Display ICM-profile") +#define TEXT_SETUP_CUSTOM_PROOFING_ICM_PROFILE _("Custom proofing ICM-profile") +#define TEXT_SETUP_WORKING_COLOR_SPACE_ICM_PROFILE _("Working color space ICM-profile") +#define TEXT_SETUP_PRINTER_ICM_PROFILE _("Printer ICM-profile") +#define TEXT_NEW_MEDIA_NAME _("new media") + +#define NOTEBOOK_SAVING_OPTIONS _("Save") +#define NOTEBOOK_FILETYPE_OPTIONS _("Filetype") +#define NOTEBOOK_COPY_OPTIONS _("Copy") +#define NOTEBOOK_FAX_OPTIONS _("Fax") +#define NOTEBOOK_EMAIL_OPTIONS _("E-mail") +#define NOTEBOOK_OCR_OPTIONS _("OCR") +#define NOTEBOOK_DISPLAY_OPTIONS _("Display") +#define NOTEBOOK_ENHANCE_OPTIONS _("Enhancement") +#define NOTEBOOK_COLOR_MANAGEMENT_OPTIONS _("Color management") + +#define MENU_ITEM_SAVE _("Save") +#define MENU_ITEM_VIEWER _("Viewer") +#define MENU_ITEM_COPY _("Copy") +#define MENU_ITEM_MULTIPAGE _("Multipage") +#define MENU_ITEM_FAX _("Fax") +#define MENU_ITEM_EMAIL _("E-mail") + +#define MENU_ITEM_SHOW_TOOLTIPS _("Show tooltips") +#define MENU_ITEM_SHOW_PREVIEW _("Show preview") +#define MENU_ITEM_SHOW_HISTOGRAM _("Show histogram") +#define MENU_ITEM_SHOW_GAMMA _("Show gamma curve") +#define MENU_ITEM_SHOW_BATCH_SCAN _("Show batch scan") +#define MENU_ITEM_SHOW_STANDARDOPTIONS _("Show standard options") +#define MENU_ITEM_SHOW_ADVANCEDOPTIONS _("Show advanced options") + +#define MENU_ITEM_SETUP _("Setup") +#define MENU_ITEM_LENGTH_UNIT _("Length unit") +#define SUBMENU_ITEM_LENGTH_MILLIMETERS _("millimeters") +#define SUBMENU_ITEM_LENGTH_CENTIMETERS _("centimeters") +#define SUBMENU_ITEM_LENGTH_INCHES _("inches") +#define MENU_ITEM_UPDATE_POLICY _("Update policy") +#define SUBMENU_ITEM_POLICY_CONTINUOUS _("continuous") +#define SUBMENU_ITEM_POLICY_DISCONTINU _("discontinuous") +#define SUBMENU_ITEM_POLICY_DELAYED _("delayed") +#define MENU_ITEM_SHOW_RESOLUTIONLIST _("Show resolution list") +#define MENU_ITEM_PAGE_ROTATE _("Rotate postscript") +#define MENU_ITEM_ENABLE_COLOR_MANAGEMENT _("Enable color management") +#define MENU_ITEM_EDIT_MEDIUM_DEF _("Edit medium definition") +#define MENU_ITEM_SAVE_DEVICE_SETTINGS _("Save device settings") +#define MENU_ITEM_LOAD_DEVICE_SETTINGS _("Load device settings") +#define MENU_ITEM_CHANGE_WORKING_DIR _("Change directory") + +#define MENU_ITEM_XSANE_EULA _("Show EULA") +#define MENU_ITEM_XSANE_GPL _("Show license (GPL)") +#define MENU_ITEM_XSANE_DOC _("XSane doc") +#define MENU_ITEM_BACKEND_DOC _("Backend doc") +#define MENU_ITEM_AVAILABLE_BACKENDS _("Available backends") +#define MENU_ITEM_SCANTIPS _("Scantips") +#define MENU_ITEM_PROBLEMS _("Problems?") + + +#define MENU_ITEM_CMS_ENABLE_COLOR_MANAGEMENT _("Enable color management") +#define MENU_ITEM_CMS_BLACK_POINT_COMPENSATION _("Black point compensation") +#define MENU_ITEM_CMS_PROOFING _("Proofing") +#define SUBMENU_ITEM_CMS_PROOF_OFF _("no proofing (Display)") +#define SUBMENU_ITEM_CMS_PROOF_PRINTER _("Proof printer") +#define SUBMENU_ITEM_CMS_PROOF_CUSTOM _("Proof custom device") +#define MENU_ITEM_CMS_RENDERING_INTENT _("Rendering intent") +#define MENU_ITEM_CMS_PROOFING_INTENT _("Proofing rendering intent") +#define SUBMENU_ITEM_CMS_INTENT_PERCEPTUAL _("Perceptual") +#define SUBMENU_ITEM_CMS_INTENT_RELATIVE_COLORIMETRIC _("Relative colorimetric") +#define SUBMENU_ITEM_CMS_INTENT_ABSOLUTE_COLORIMETRIC _("Absolute colorimentric") +#define SUBMENU_ITEM_CMS_INTENT_SATURATION _("Saturation") +#define MENU_ITEM_CMS_GAMUT_CHECK _("Gamut check") +#define MENU_ITEM_CMS_GAMUT_ALARM_COLOR _("Gamut alarm color") +#define SUBMENU_ITEM_CMS_COLOR_BLACK _("Black") +#define SUBMENU_ITEM_CMS_COLOR_GRAY _("Gray") +#define SUBMENU_ITEM_CMS_COLOR_WHITE _("White") +#define SUBMENU_ITEM_CMS_COLOR_RED _("Red") +#define SUBMENU_ITEM_CMS_COLOR_GREEN _("Green") +#define SUBMENU_ITEM_CMS_COLOR_BLUE _("Blue") #define MENU_ITEM_COUNTER_LEN_INACTIVE _("inactive") #define MENU_ITEM_TIFF_COMP_NONE _("no compression") @@ -415,6 +458,10 @@ #define MENU_ITEM_AUTH_ASMTP_LOGIN _("ASMTP Login") #define MENU_ITEM_AUTH_ASMTP_CRAM_MD5 _("ASMTP CRAM-MD5") +#define MENU_ITEM_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE _("Embed scanner ICM profile") +#define MENU_ITEM_CMS_FUNCTION_CONVERT_TO_SRGB _("Convert to sRGB") +#define MENU_ITEM_FUNCTION_CONVERT_TO_WORKING_CS _("Convert to working color space") + #define PROGRESS_SCANNING _("Scanning") #define PROGRESS_RECEIVING_FRAME_DATA _("Receiving %s data") #define PROGRESS_PAGE _("page") @@ -430,6 +477,7 @@ #define PROGRESS_DESPECKLING_DATA _("Despeckling image") #define PROGRESS_BLURING_DATA _("Bluring image") #define PROGRESS_OCR _("OCR in progress") +#define PROGRESS_ICM_CONVERSION _("converting colors") #define DESC_SCAN_START _("Start scan <Ctrl-Enter>") #define DESC_SCAN_CANCEL _("Cancel scan <ESC>") @@ -445,15 +493,18 @@ #define DESC_BROWSE_FILENAME _("Browse for image filename") #define DESC_FILENAME _("Filename for scanned image") #define DESC_FILETYPE _("Type of image format, the suitable filename extension is automatically added to the filename") -#define DESC_FAXPROJECT _("Enter name of fax project") +#define DESC_FAXPROJECT _("Enter fax project directory name") #define DESC_FAXPAGENAME _("Enter new name for faxpage") #define DESC_FAXRECEIVER _("Enter receiver phone number or address") -#define DESC_EMAIL_PROJECT _("Enter name of e-mail project") +#define DESC_FAX_PROJECT_BROWSE _("Browse for fax project directory") +#define DESC_EMAIL_PROJECT _("Enter e-mail project directory name") #define DESC_EMAIL_IMAGENAME _("Enter new name for e-mail image") #define DESC_EMAIL_RECEIVER _("Enter e-mail address") +#define DESC_EMAIL_PROJECT_BROWSE _("Browse for email project directory") #define DESC_EMAIL_SUBJECT _("Enter subject of e-mail") #define DESC_EMAIL_FILETYPE _("Select filetype for image attachments") -#define DESC_MULTIPAGE_PROJECT _("Enter name of multipage project") +#define DESC_MULTIPAGE_PROJECT _("Enter multipage project directory name") +#define DESC_MULTIPAGE_PROJECT_BROWSE _("Browse for multipage project directory") #define DESC_MULTIPAGE_FILETYPE _("Select filetype for multipage file") #define DESC_PRESET_AREA_RENAME _("Enter new name for preset area") #define DESC_PRESET_AREA_ADD _("Enter name for new preset area") @@ -495,7 +546,7 @@ " brightness = 0\n" \ " contrast = 0") -#define DESC_ENH_AUTO _("Autoadjust gamma, brightness and contrast <Ctrl-e>") +#define DESC_ENH_AUTO _("Autoadjust gamma, brightness and contrast <Ctrl-a>") #define DESC_ENH_DEFAULT _("Set default enhancement values <Ctrl-0>:\n" \ "gamma = 1.0\n" \ "brightness = 0\n" \ @@ -525,7 +576,9 @@ #define DESC_PRINTER_GAMMA_RED _("Additional gamma value for red component for photocopy") #define DESC_PRINTER_GAMMA_GREEN _("Additional gamma value for green component for photocopy") #define DESC_PRINTER_GAMMA_BLUE _("Additional gamma value for blue component for photocopy") -#define DESC_PRINTER_PS_FLATDECODED _("Create zlib compressed postscript image for printer (flatdecode).\n" \ +#define DESC_PRINTER_EMBED_CSA _("Creates a postsciptfile that contains the ICM profile of the scanner") +#define DESC_PRINTER_EMBED_CRD _("Creates a postsciptfile that contains the ICM profile of the printer") +#define DESC_PRINTER_PS_FLATEDECODED _("Create zlib compressed postscript image for printer (flatedecode).\n" \ "The printer has to understand postscript level 3!") #define DESC_TMP_PATH _("Path to temp directory") #define DESC_BUTTON_TMP_PATH_BROWSE _("Browse for temporary directory") @@ -539,20 +592,20 @@ #define DESC_SAVE_DEVPREFS_AT_EXIT _("Save device dependant preferences in default file at exit of xsane") #define DESC_OVERWRITE_WARNING _("Warn before overwriting an existing file") #define DESC_SKIP_EXISTING _("If filename counter is automatically increased, used numbers are skipped") -#define DESC_SAVE_PS_FLATDECODED _("compress postscript image with zlib algorithm (flatdecode). " \ +#define DESC_SAVE_PS_FLATEDECODED _("compress postscript image with zlib algorithm (flatedecode). " \ "When you want to print such a file your printer has to understand postscript level 3") -#define DESC_SAVE_PDF_FLATDECODED _("compress PDF image with zlib algorithm (flatdecode).") +#define DESC_SAVE_PDF_FLATEDECODED _("compress PDF image with zlib algorithm (flatedecode).") #define DESC_SAVE_PNM16_AS_ASCII _("When a 16 bit image shall be saved in pnm format then use ascii format " \ "instead of binary format. The binary format is a new format that is not " \ "supported by all programs. The ascii format is supported by more programs " \ "but it produces really huge files!!!") -#define DESC_REDUCE_16BIT_TO_8BIT _("If scanner sends image with 16 bits/color save image with 8 bits/color") +#define DESC_REDUCE_16BIT_TO_8BIT _("If scanner sends image with 16 bits/channel save image with 8 bits/channel") #define DESC_PSFILE_WIDTH _("Width of paper for postscript files") #define DESC_PSFILE_HEIGHT _("Height of paper for postscript files") #define DESC_PSFILE_LEFTOFFSET _("Left offset from the edge of the paper to the usable area for postscript files") #define DESC_PSFILE_BOTTOMOFFSET _("Bottom offset from the edge of the paper to the usable area for postscript files") #define DESC_MAIN_WINDOW_FIXED _("Use fixed main window size or scrolled, resizable main window") -#define DESC_DISABLE_GIMP_PREVIEW_GAMMA _("Disable preview gamma when XSane runs as gimp plugin") +#define DESC_DISABLE_GIMP_PREVIEW_GAMMA _("Disable preview gamma when XSane runs as GIMP plugin") #define DESC_PREVIEW_COLORMAP _("Use an own colormap for preview if display depth is 8 bpp") #define DESC_SHOW_RANGE_MODE _("Select how a range is displayed") #define DESC_PREVIEW_OVERSAMPLING _("Value with that the calculated preview resolution is multiplied") @@ -575,6 +628,9 @@ #define DESC_PRESELECT_SCANAREA _("Select scanarea after preview scan has finished") #define DESC_AUTOCORRECT_COLORS _("Do color correction after preview scan has finished") +#define DESC_RENDERING_INTENT _("Select rendering intent for preview and saving") +#define DESC_CMS_BPC _("Apply black point compensation when color transformation is done") + #define DESC_FAX_COMMAND _("Enter command to be executed in fax mode") #define DESC_FAX_RECEIVER_OPT _("Enter option to specify receiver") #define DESC_FAX_POSTSCRIPT_OPT _("Enter option to specify postscript files following") @@ -586,7 +642,7 @@ #define DESC_FAX_HEIGHT _("Height of printable area") #define DESC_FAX_LEFTOFFSET _("Left offset from the edge of the paper to the printable area") #define DESC_FAX_BOTTOMOFFSET _("Bottom offset from the edge of the paper to the printable area") -#define DESC_FAX_PS_FLATDECODED _("Create zlib compressed postscript image for fax (flatdecode)") +#define DESC_FAX_PS_FLATEDECODED _("Create zlib compressed postscript image for fax (flatedecode)") #define DESC_SMTP_SERVER _("IP Address or Domain name of SMTP server") #define DESC_SMTP_PORT _("port to connect to SMTP server") #define DESC_EMAIL_FROM _("enter your e-mail address") @@ -606,7 +662,7 @@ #define DESC_PERMISSION_READ _("read") #define DESC_PERMISSION_WRITE _("write") -#define DESC_PERMISSION_EXECUTE _("execute") +#define DESC_PERMISSION_SEARCH _("search") #define DESC_ADD_BATCH _("Add selection for batch scan") #define DESC_PIPETTE_WHITE _("Pick white point") @@ -658,6 +714,21 @@ #define DESC_BATCH_DEL _("Delete selected area from batch list") #define DESC_AUTOMATIC _("Turns on automatic mode") +#define DESC_SCANNER_DEFAULT_COLOR_ICM_PROFILE _("Scanner default color ICM-profile") +#define DESC_BUTTON_SCANNER_DEFAULT_COLOR_ICM_PROFILE_BROWSE _("Browse for scanner default color ICM-profile") +#define DESC_SCANNER_DEFAULT_GRAY_ICM_PROFILE _("Scanner default gray ICM-profile") +#define DESC_BUTTON_SCANNER_DEFAULT_GRAY_ICM_PROFILE_BROWSE _("Browse for scanner default gray ICM-profile") +#define DESC_DISPLAY_ICM_PROFILE _("Display ICM-profile") +#define DESC_BUTTON_DISPLAY_ICM_PROFILE_BROWSE _("Browse for display ICM-profile") +#define DESC_PRINTER_ICM_PROFILE _("Printer ICM-profile") +#define DESC_BUTTON_PRINTER_ICM_PROFILE_BROWSE _("Browse for printer ICM-profile") +#define DESC_CUSTOM_PROOFING_ICM_PROFILE _("Custom proofing ICM-profile") +#define DESC_BUTTON_CUSTOM_PROOFING_ICM_PROFILE_BROWSE _("Browse for custom proofing ICM-profile") +#define DESC_WORKING_COLOR_SPACE_ICM_PROFILE _("Working color space ICM-profile") +#define DESC_BUTTON_WORKING_COLOR_SPACE_ICM_PROFILE_BROWSE _("Browse for working color space ICM-profile") + +#define DESC_CMS_FUNCTION _("Color management function") + #define ERR_HOME_DIR _("Failed to determine home directory:") #define ERR_CHANGE_WORKING_DIR _("Failed to change working directory to") #define ERR_FILENAME_TOO_LONG _("Filename too long") @@ -673,7 +744,6 @@ write permissions." ) #define ERR_DURING_READ _("Error during read:") #define ERR_DURING_SAVE _("Error during save:") #define ERR_BAD_DEPTH _("Can't handle depth") -#define ERR_GIMP_BAD_DEPTH _("GIMP can't handle depth %d bits/color") #define ERR_UNKNOWN_SAVING_FORMAT _("Unknown file format for saving") #define ERR_OPEN_FAILED _("Failed to open") #define ERR_CREATE_SECURE_FILE _("Could not create secure file (may be a link does exist):") @@ -741,8 +811,22 @@ YOU ARE ALONE!\ #define ERR_FILE_NOT_POSTSCRIPT _("File %s is not a postscript file") #define ERR_UNSUPPORTED_OUTPUT_FORMAT _("Unsupported %d-bit output format: %s") +#define ERR_CMS_CONVERSION _("Error during CMS conversion:") +#define ERR_CMS_OPEN_ICM_FILE _("Could not open") +#define CMS_SCANNER_ICM _("scanner ICM profile") +#define CMS_DISPLAY_ICM _("display ICM profile") +#define CMS_PROOF_ICM _("proofing ICM profile") +#define ERR_CMS_CREATE_TRANSFORM _("Could not create transform") + #define WARN_VIEWER_IMAGE_NOT_SAVED _("viewer image is not saved") +#define FILE_FILTER_ALL_FILES _("All files") +#define FILE_FILTER_IMAGES _("Images") +#define FILE_FILTER_XBL _("XSane batch list") +#define FILE_FILTER_ICM _("ICC/ICM Profiles") +#define FILE_FILTER_DRC _("XSane device preferences") +#define FILE_FILTER_RC _("XSane preferences") + #define TEXT_USAGE _("Usage:") #define TEXT_USAGE_OPTIONS _("[OPTION]... [DEVICE]") #define TEXT_HELP _(\ @@ -849,4 +933,5 @@ The format of [DEVICE] is backendname:devicefile (e.g. umax:/dev/scanner).\n\ #define TEXT_FAX_STATUS_QUEUEING_FAX N_("Queueing Fax") #define TEXT_FAX_STATUS_FAX_QUEUED N_("Fax is queued") + #endif diff --git a/src/xsane-viewer.c b/src/xsane-viewer.c index d1d8e5e..ef47529 100644 --- a/src/xsane-viewer.c +++ b/src/xsane-viewer.c @@ -3,7 +3,7 @@ xsane-viewer.c Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 1998-2005 Oliver Rauch + Copyright (C) 1998-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -32,8 +32,7 @@ #include "xsane-save.h" #include <gdk/gdkkeysyms.h> #include <sys/wait.h> - - + #ifndef PATH_MAX # define PATH_MAX 1024 #endif @@ -81,35 +80,37 @@ static void xsane_viewer_set_sensitivity(Viewer *v, int sensitivity) switch (v->allow_modification) { case VIEWER_NO_MODIFICATION: - gtk_widget_set_sensitive(GTK_WIDGET(v->save_menu_item), FALSE); - gtk_widget_set_sensitive(GTK_WIDGET(v->ocr_menu_item), FALSE); - gtk_widget_set_sensitive(GTK_WIDGET(v->clone_menu_item), FALSE); - gtk_widget_set_sensitive(GTK_WIDGET(v->edit_menu), FALSE); - gtk_widget_set_sensitive(GTK_WIDGET(v->filters_menu), FALSE); - gtk_widget_set_sensitive(GTK_WIDGET(v->geometry_menu), FALSE); - - gtk_widget_set_sensitive(GTK_WIDGET(v->save), FALSE); - gtk_widget_set_sensitive(GTK_WIDGET(v->ocr), FALSE); - gtk_widget_set_sensitive(GTK_WIDGET(v->clone), FALSE); - gtk_widget_set_sensitive(GTK_WIDGET(v->edit_button_box), FALSE); - gtk_widget_set_sensitive(GTK_WIDGET(v->filters_button_box), FALSE); - gtk_widget_set_sensitive(GTK_WIDGET(v->geometry_button_box), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->save_menu_item), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->ocr_menu_item), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->clone_menu_item), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->edit_menu), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->filters_menu), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->geometry_menu), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->color_management_menu), v->enable_color_management); + + gtk_widget_set_sensitive(GTK_WIDGET(v->save), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->ocr), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->clone), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->edit_button_box), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->filters_button_box), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->geometry_button_box), FALSE); break; case VIEWER_NO_NAME_AND_SIZE_MODIFICATION: - gtk_widget_set_sensitive(GTK_WIDGET(v->save_menu_item), TRUE); - gtk_widget_set_sensitive(GTK_WIDGET(v->ocr_menu_item), FALSE); - gtk_widget_set_sensitive(GTK_WIDGET(v->clone_menu_item), FALSE); - gtk_widget_set_sensitive(GTK_WIDGET(v->edit_menu), TRUE); - gtk_widget_set_sensitive(GTK_WIDGET(v->filters_menu), TRUE); - gtk_widget_set_sensitive(GTK_WIDGET(v->geometry_menu), FALSE); - - gtk_widget_set_sensitive(GTK_WIDGET(v->save), TRUE); - gtk_widget_set_sensitive(GTK_WIDGET(v->ocr), FALSE); - gtk_widget_set_sensitive(GTK_WIDGET(v->clone), FALSE); - gtk_widget_set_sensitive(GTK_WIDGET(v->edit_button_box), TRUE); - gtk_widget_set_sensitive(GTK_WIDGET(v->filters_button_box), TRUE); - gtk_widget_set_sensitive(GTK_WIDGET(v->geometry_button_box), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->save_menu_item), TRUE); + gtk_widget_set_sensitive(GTK_WIDGET(v->ocr_menu_item), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->clone_menu_item), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->edit_menu), TRUE); + gtk_widget_set_sensitive(GTK_WIDGET(v->filters_menu), TRUE); + gtk_widget_set_sensitive(GTK_WIDGET(v->geometry_menu), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->color_management_menu), v->enable_color_management); + + gtk_widget_set_sensitive(GTK_WIDGET(v->save), TRUE); + gtk_widget_set_sensitive(GTK_WIDGET(v->ocr), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->clone), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->edit_button_box), TRUE); + gtk_widget_set_sensitive(GTK_WIDGET(v->filters_button_box), TRUE); + gtk_widget_set_sensitive(GTK_WIDGET(v->geometry_button_box), FALSE); break; case VIEWER_NO_NAME_MODIFICATION: @@ -121,26 +122,28 @@ static void xsane_viewer_set_sensitivity(Viewer *v, int sensitivity) case VIEWER_FULL_MODIFICATION: default: - gtk_widget_set_sensitive(GTK_WIDGET(v->save_menu_item), TRUE); - gtk_widget_set_sensitive(GTK_WIDGET(v->edit_menu), TRUE); - gtk_widget_set_sensitive(GTK_WIDGET(v->filters_menu), TRUE); - gtk_widget_set_sensitive(GTK_WIDGET(v->geometry_menu), TRUE); - - gtk_widget_set_sensitive(GTK_WIDGET(v->save), TRUE); - gtk_widget_set_sensitive(GTK_WIDGET(v->edit_button_box), TRUE); - gtk_widget_set_sensitive(GTK_WIDGET(v->filters_button_box), TRUE); - gtk_widget_set_sensitive(GTK_WIDGET(v->geometry_button_box), TRUE); + gtk_widget_set_sensitive(GTK_WIDGET(v->save_menu_item), TRUE); + gtk_widget_set_sensitive(GTK_WIDGET(v->edit_menu), TRUE); + gtk_widget_set_sensitive(GTK_WIDGET(v->filters_menu), TRUE); + gtk_widget_set_sensitive(GTK_WIDGET(v->geometry_menu), TRUE); + gtk_widget_set_sensitive(GTK_WIDGET(v->color_management_menu), v->enable_color_management); + + gtk_widget_set_sensitive(GTK_WIDGET(v->save), TRUE); + gtk_widget_set_sensitive(GTK_WIDGET(v->edit_button_box), TRUE); + gtk_widget_set_sensitive(GTK_WIDGET(v->filters_button_box), TRUE); + gtk_widget_set_sensitive(GTK_WIDGET(v->geometry_button_box), TRUE); break; } } else { v->block_actions = TRUE; - gtk_widget_set_sensitive(GTK_WIDGET(v->file_menu), FALSE); - gtk_widget_set_sensitive(GTK_WIDGET(v->edit_menu), FALSE); - gtk_widget_set_sensitive(GTK_WIDGET(v->filters_menu), FALSE); - gtk_widget_set_sensitive(GTK_WIDGET(v->geometry_menu), FALSE); - gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->file_menu), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->edit_menu), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->filters_menu), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->geometry_menu), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->color_management_menu),FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), FALSE); } } @@ -255,6 +258,7 @@ static void xsane_viewer_save_callback(GtkWidget *window, gpointer data) char windowname[TEXTBUFSIZE]; int output_format; int abort = 0; + int show_extra_widgets; char buf[TEXTBUFSIZE]; if (v->block_actions) /* actions blocked: return */ @@ -280,9 +284,15 @@ static void xsane_viewer_save_callback(GtkWidget *window, gpointer data) if (v->allow_modification == VIEWER_FULL_MODIFICATION) /* it is allowed to rename the image */ { snprintf(windowname, sizeof(windowname), "%s %s %s", xsane.prog_name, WINDOW_VIEWER_OUTPUT_FILENAME, xsane.device_text); + + show_extra_widgets = XSANE_GET_FILENAME_SHOW_FILETYPE; + if (v->cms_enable) + { + show_extra_widgets |= XSANE_GET_FILENAME_SHOW_CMS_FUNCTION; + } umask((mode_t) preferences.directory_umask); /* define new file permissions */ - abort = xsane_back_gtk_get_filename(windowname, outputfilename, sizeof(outputfilename), outputfilename, &v->selection_filetype, TRUE, TRUE, FALSE, TRUE); + abort = xsane_back_gtk_get_filename(windowname, outputfilename, sizeof(outputfilename), outputfilename, &v->selection_filetype, &v->cms_function, XSANE_FILE_CHOOSER_ACTION_SAVE, show_extra_widgets, XSANE_FILE_FILTER_ALL | XSANE_FILE_FILTER_IMAGES, XSANE_FILE_FILTER_IMAGES); umask(XSANE_DEFAULT_UMASK); /* define new file permissions */ if (abort) @@ -348,7 +358,7 @@ static void xsane_viewer_save_callback(GtkWidget *window, gpointer data) } else { - xsane_save_image_as(v->output_filename, inputfilename, output_format, v->progress_bar, &v->cancel_save); + xsane_save_image_as(v->output_filename, inputfilename, output_format, v->cms_enable, v->cms_function, v->cms_intent, v->cms_bpc, v->progress_bar, &v->cancel_save); } free(inputfilename); @@ -411,7 +421,7 @@ static void xsane_viewer_ocr_callback(GtkWidget *window, gpointer data) snprintf(windowname, sizeof(windowname), "%s %s %s", xsane.prog_name, WINDOW_OCR_OUTPUT_FILENAME, xsane.device_text); umask((mode_t) preferences.directory_umask); /* define new file permissions */ - abort = xsane_back_gtk_get_filename(windowname, outputfilename, sizeof(outputfilename), outputfilename, NULL, TRUE, TRUE, FALSE, FALSE); + abort = xsane_back_gtk_get_filename(windowname, outputfilename, sizeof(outputfilename), outputfilename, NULL, NULL, XSANE_FILE_CHOOSER_ACTION_SAVE, XSANE_GET_FILENAME_SHOW_FILETYPE, XSANE_FILE_FILTER_ALL | XSANE_FILE_FILTER_IMAGES, XSANE_FILE_FILTER_IMAGES); umask(XSANE_DEFAULT_UMASK); /* define new file permissions */ if (abort) @@ -458,11 +468,11 @@ static void xsane_viewer_clone_callback(GtkWidget *window, gpointer data) { char buf[TEXTBUFSIZE]; snprintf(buf, sizeof(buf), "%s%s", FILENAME_PREFIX_CLONE_OF, v->last_saved_filename); - xsane_viewer_new(outfilename, v->selection_filetype, v->allow_reduction_to_lineart, buf, v->allow_modification, IMAGE_NOT_SAVED); + xsane_viewer_new(outfilename, v->selection_filetype, v->allow_reduction_to_lineart, buf, v->allow_modification, v->image_saved); } else { - xsane_viewer_new(outfilename, v->selection_filetype, v->allow_reduction_to_lineart, NULL, v->allow_modification, IMAGE_NOT_SAVED); + xsane_viewer_new(outfilename, v->selection_filetype, v->allow_reduction_to_lineart, NULL, v->allow_modification, v->image_saved); } } @@ -569,7 +579,7 @@ static void xsane_viewer_scale_callback(GtkWidget *window, gpointer data) GtkWidget *frame; GtkWidget *hbox, *vbox; GtkWidget *button; - GtkObject *scale_widget, *scalex_widget, *scaley_widget; + GtkWidget *scale_widget, *scalex_widget, *scaley_widget; GtkAdjustment *adjustment_size_x; GtkAdjustment *adjustment_size_y; GtkWidget *spinbutton; @@ -1071,7 +1081,7 @@ static void xsane_viewer_scale_image(GtkWidget *window, gpointer data) xsane_read_pnm_header(infile, &image_info); - DBG(DBG_info, "scaling image %s with geometry: %d x %d x %d, %d colors\n", v->filename, image_info.image_width, image_info.image_height, image_info.depth, image_info.colors); + DBG(DBG_info, "scaling image %s with geometry: %d x %d x %d, %d channels\n", v->filename, image_info.image_width, image_info.image_height, image_info.depth, image_info.channels); xsane_back_gtk_make_path(sizeof(outfilename), outfilename, 0, 0, "xsane-viewer-", xsane.dev_name, ".ppm", XSANE_PATH_TMP); @@ -1153,7 +1163,7 @@ static void xsane_viewer_despeckle_image(GtkWidget *window, gpointer data) xsane_read_pnm_header(infile, &image_info); - DBG(DBG_info, "despeckling image %s with geometry: %d x %d x %d, %d colors\n", v->filename, image_info.image_width, image_info.image_height, image_info.depth, image_info.colors); + DBG(DBG_info, "despeckling image %s with geometry: %d x %d x %d, %d channels\n", v->filename, image_info.image_width, image_info.image_height, image_info.depth, image_info.channels); xsane_back_gtk_make_path(sizeof(outfilename), outfilename, 0, 0, "xsane-viewer-", xsane.dev_name, ".ppm", XSANE_PATH_TMP); @@ -1230,7 +1240,7 @@ static void xsane_viewer_blur_image(GtkWidget *window, gpointer data) xsane_read_pnm_header(infile, &image_info); - DBG(DBG_info, "bluring image %s with geometry: %d x %d x %d, %d colors\n", v->filename, image_info.image_width, image_info.image_height, image_info.depth, image_info.colors); + DBG(DBG_info, "bluring image %s with geometry: %d x %d x %d, %d channels\n", v->filename, image_info.image_width, image_info.image_height, image_info.depth, image_info.channels); xsane_back_gtk_make_path(sizeof(outfilename), outfilename, 0, 0, "xsane-viewer-", xsane.dev_name, ".ppm", XSANE_PATH_TMP); @@ -1312,7 +1322,7 @@ static void xsane_viewer_rotate(Viewer *v, int rotation) xsane_read_pnm_header(infile, &image_info); - DBG(DBG_info, "rotating image %s with geometry: %d x %d x %d, %d colors\n", v->filename, image_info.image_width, image_info.image_height, image_info.depth, image_info.colors); + DBG(DBG_info, "rotating image %s with geometry: %d x %d x %d, %d channels\n", v->filename, image_info.image_width, image_info.image_height, image_info.depth, image_info.channels); xsane_back_gtk_make_path(sizeof(outfilename), outfilename, 0, 0, "xsane-viewer-", xsane.dev_name, ".ppm", XSANE_PATH_TMP); @@ -1654,6 +1664,915 @@ static GtkWidget *xsane_viewer_geometry_build_menu(Viewer *v) /* ---------------------------------------------------------------------------------------------------------------------- */ +#ifdef HAVE_LIBLCMS +#define INTENT_PERCEPTUAL 0 +#define INTENT_RELATIVE_COLORIMETRIC 1 +#define INTENT_SATURATION 2 +#define INTENT_ABSOLUTE_COLORIMETRIC 3 + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static void xsane_viewer_set_cms_enable_callback(GtkWidget *widget, gpointer data) +{ + Viewer *v = (Viewer *) data; + + v->cms_enable = (GTK_CHECK_MENU_ITEM(widget)->active != 0); + DBG(DBG_proc, "xsane_viewer_set_cms_enable_callback (%d)\n", v->cms_enable); + + xsane_viewer_read_image(v); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static void xsane_viewer_set_cms_black_point_compensation_callback(GtkWidget *widget, gpointer data) +{ + Viewer *v = (Viewer *) data; + + v->cms_bpc = (GTK_CHECK_MENU_ITEM(widget)->active != 0); + DBG(DBG_proc, "xsane_viewer_set_cms_black_point_compensation_callback (%d)\n", v->cms_bpc); + + xsane_viewer_read_image(v); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static void xsane_viewer_set_cms_gamut_check_callback(GtkWidget *widget, gpointer data) +{ + Viewer *v = (Viewer *) data; + + v->cms_gamut_check = (GTK_CHECK_MENU_ITEM(widget)->active != 0); + DBG(DBG_proc, "xsane_viewer_set_cms_gamut_check_callback (%d)\n", v->cms_gamut_check); + + xsane_viewer_read_image(v); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static void xsane_viewer_set_cms_proofing_callback(GtkWidget *widget, gpointer data) +{ + Viewer *v = (Viewer *) data; + int val; + + g_signal_handlers_block_by_func(GTK_OBJECT(v->cms_proofing_widget[0]), (GtkSignalFunc) xsane_viewer_set_cms_proofing_callback, v); + g_signal_handlers_block_by_func(GTK_OBJECT(v->cms_proofing_widget[1]), (GtkSignalFunc) xsane_viewer_set_cms_proofing_callback, v); + g_signal_handlers_block_by_func(GTK_OBJECT(v->cms_proofing_widget[2]), (GtkSignalFunc) xsane_viewer_set_cms_proofing_callback, v); + + val = (int) gtk_object_get_data(GTK_OBJECT(widget), "Selection"); + + DBG(DBG_proc, "xsane_viewer_set_cms_proofing_callback (%d)\n", val); + + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(v->cms_proofing_widget[v->cms_proofing]), FALSE); + v->cms_proofing = val; + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(v->cms_proofing_widget[v->cms_proofing]), TRUE); + + g_signal_handlers_unblock_by_func(GTK_OBJECT(v->cms_proofing_widget[0]), (GtkSignalFunc) xsane_viewer_set_cms_proofing_callback, v); + g_signal_handlers_unblock_by_func(GTK_OBJECT(v->cms_proofing_widget[1]), (GtkSignalFunc) xsane_viewer_set_cms_proofing_callback, v); + g_signal_handlers_unblock_by_func(GTK_OBJECT(v->cms_proofing_widget[2]), (GtkSignalFunc) xsane_viewer_set_cms_proofing_callback, v); + + xsane_viewer_read_image(v); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static void xsane_viewer_set_cms_intent_callback(GtkWidget *widget, gpointer data) +{ + Viewer *v = (Viewer *) data; + int val; + + g_signal_handlers_block_by_func(GTK_OBJECT(v->cms_intent_widget[0]), (GtkSignalFunc) xsane_viewer_set_cms_intent_callback, v); + g_signal_handlers_block_by_func(GTK_OBJECT(v->cms_intent_widget[1]), (GtkSignalFunc) xsane_viewer_set_cms_intent_callback, v); + g_signal_handlers_block_by_func(GTK_OBJECT(v->cms_intent_widget[2]), (GtkSignalFunc) xsane_viewer_set_cms_intent_callback, v); + g_signal_handlers_block_by_func(GTK_OBJECT(v->cms_intent_widget[3]), (GtkSignalFunc) xsane_viewer_set_cms_intent_callback, v); + + val = (int) gtk_object_get_data(GTK_OBJECT(widget), "Selection"); + + DBG(DBG_proc, "xsane_viewer_set_cms_intent_callback (%d)\n", val); + + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(v->cms_intent_widget[v->cms_intent]), FALSE); + v->cms_intent = val; + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(v->cms_intent_widget[v->cms_intent]), TRUE); + + g_signal_handlers_unblock_by_func(GTK_OBJECT(v->cms_intent_widget[0]), (GtkSignalFunc) xsane_viewer_set_cms_intent_callback, v); + g_signal_handlers_unblock_by_func(GTK_OBJECT(v->cms_intent_widget[1]), (GtkSignalFunc) xsane_viewer_set_cms_intent_callback, v); + g_signal_handlers_unblock_by_func(GTK_OBJECT(v->cms_intent_widget[2]), (GtkSignalFunc) xsane_viewer_set_cms_intent_callback, v); + g_signal_handlers_unblock_by_func(GTK_OBJECT(v->cms_intent_widget[3]), (GtkSignalFunc) xsane_viewer_set_cms_intent_callback, v); + + xsane_viewer_read_image(v); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static void xsane_viewer_set_cms_proofing_intent_callback(GtkWidget *widget, gpointer data) +{ + Viewer *v = (Viewer *) data; + int val; + + g_signal_handlers_block_by_func(GTK_OBJECT(v->cms_proofing_intent_widget[0]), (GtkSignalFunc) xsane_viewer_set_cms_proofing_intent_callback, v); + g_signal_handlers_block_by_func(GTK_OBJECT(v->cms_proofing_intent_widget[1]), (GtkSignalFunc) xsane_viewer_set_cms_proofing_intent_callback, v); + + val = (int) gtk_object_get_data(GTK_OBJECT(widget), "Selection"); + + DBG(DBG_proc, "xsane_viewer_set_cms_proofing_intent_callback (%d)\n", val); + + /* we have cms_proofing_intent = 1 and 3 and widget[0] and widget[1] => widget[(cms_proofing_intent-1)/2] */ + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(v->cms_proofing_intent_widget[(v->cms_proofing_intent-1)/2]), FALSE); + v->cms_proofing_intent = val; + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(v->cms_proofing_intent_widget[(v->cms_proofing_intent-1)/2]), TRUE); + + g_signal_handlers_unblock_by_func(GTK_OBJECT(v->cms_proofing_intent_widget[0]), (GtkSignalFunc) xsane_viewer_set_cms_proofing_intent_callback, v); + g_signal_handlers_unblock_by_func(GTK_OBJECT(v->cms_proofing_intent_widget[1]), (GtkSignalFunc) xsane_viewer_set_cms_proofing_intent_callback, v); + + xsane_viewer_read_image(v); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static void xsane_viewer_set_cms_gamut_alarm_color_callback(GtkWidget *widget, gpointer data) +{ + Viewer *v = (Viewer *) data; + int val; + + g_signal_handlers_block_by_func(GTK_OBJECT(v->cms_gamut_alarm_color_widget[0]), (GtkSignalFunc) xsane_viewer_set_cms_gamut_alarm_color_callback, v); + g_signal_handlers_block_by_func(GTK_OBJECT(v->cms_gamut_alarm_color_widget[1]), (GtkSignalFunc) xsane_viewer_set_cms_gamut_alarm_color_callback, v); + g_signal_handlers_block_by_func(GTK_OBJECT(v->cms_gamut_alarm_color_widget[2]), (GtkSignalFunc) xsane_viewer_set_cms_gamut_alarm_color_callback, v); + g_signal_handlers_block_by_func(GTK_OBJECT(v->cms_gamut_alarm_color_widget[3]), (GtkSignalFunc) xsane_viewer_set_cms_gamut_alarm_color_callback, v); + g_signal_handlers_block_by_func(GTK_OBJECT(v->cms_gamut_alarm_color_widget[4]), (GtkSignalFunc) xsane_viewer_set_cms_gamut_alarm_color_callback, v); + g_signal_handlers_block_by_func(GTK_OBJECT(v->cms_gamut_alarm_color_widget[5]), (GtkSignalFunc) xsane_viewer_set_cms_gamut_alarm_color_callback, v); + + val = (int) gtk_object_get_data(GTK_OBJECT(widget), "Selection"); + + DBG(DBG_proc, "xsane_viewer_set_cms_gamut_alarm_color_callback (%d)\n", val); + + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(v->cms_gamut_alarm_color_widget[v->cms_gamut_alarm_color]), FALSE); + v->cms_gamut_alarm_color = val; + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(v->cms_gamut_alarm_color_widget[v->cms_gamut_alarm_color]), TRUE); + + switch(v->cms_gamut_alarm_color) + { + default: + case 0: /* black */ + cmsSetAlarmCodes(0, 0, 0); + break; + + case 1: /* gray */ + cmsSetAlarmCodes(128, 128, 128); + break; + + case 2: /* white */ + cmsSetAlarmCodes(255, 255, 255); + break; + + case 3: /* red */ + cmsSetAlarmCodes(255, 0, 0); + break; + + case 4: /* green */ + cmsSetAlarmCodes(0, 255, 0); + break; + + case 5: /* blue */ + cmsSetAlarmCodes(0, 0, 255); + break; + } + + g_signal_handlers_unblock_by_func(GTK_OBJECT(v->cms_gamut_alarm_color_widget[0]), (GtkSignalFunc) xsane_viewer_set_cms_gamut_alarm_color_callback, v); + g_signal_handlers_unblock_by_func(GTK_OBJECT(v->cms_gamut_alarm_color_widget[1]), (GtkSignalFunc) xsane_viewer_set_cms_gamut_alarm_color_callback, v); + g_signal_handlers_unblock_by_func(GTK_OBJECT(v->cms_gamut_alarm_color_widget[2]), (GtkSignalFunc) xsane_viewer_set_cms_gamut_alarm_color_callback, v); + g_signal_handlers_unblock_by_func(GTK_OBJECT(v->cms_gamut_alarm_color_widget[3]), (GtkSignalFunc) xsane_viewer_set_cms_gamut_alarm_color_callback, v); + g_signal_handlers_unblock_by_func(GTK_OBJECT(v->cms_gamut_alarm_color_widget[4]), (GtkSignalFunc) xsane_viewer_set_cms_gamut_alarm_color_callback, v); + g_signal_handlers_unblock_by_func(GTK_OBJECT(v->cms_gamut_alarm_color_widget[5]), (GtkSignalFunc) xsane_viewer_set_cms_gamut_alarm_color_callback, v); + + if (v->cms_gamut_check) + { + xsane_viewer_read_image(v); + } +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static GtkWidget *xsane_viewer_color_management_build_menu(Viewer *v) +{ + GtkWidget *menu, *item, *submenu, *subitem; + + DBG(DBG_proc, "xsane_viewer_color_management_build_menu\n"); + + menu = gtk_menu_new(); + gtk_menu_set_accel_group(GTK_MENU(menu), xsane.accelerator_group); + + /* cms enable */ + item = gtk_check_menu_item_new_with_label(MENU_ITEM_CMS_ENABLE_COLOR_MANAGEMENT); + gtk_menu_append(GTK_MENU(menu), item); + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(item), v->cms_enable); + g_signal_connect(GTK_OBJECT(item), "toggled", (GtkSignalFunc) xsane_viewer_set_cms_enable_callback, v); + gtk_widget_show(item); + + /* black point compensation */ + item = gtk_check_menu_item_new_with_label(MENU_ITEM_CMS_BLACK_POINT_COMPENSATION); + gtk_menu_append(GTK_MENU(menu), item); + if (v->cms_bpc) + { + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(item), TRUE); + } + g_signal_connect(GTK_OBJECT(item), "toggled", (GtkSignalFunc) xsane_viewer_set_cms_black_point_compensation_callback, v); + gtk_widget_show(item); + + + /* Output Device submenu */ + item = gtk_menu_item_new_with_label(MENU_ITEM_CMS_PROOFING); + gtk_menu_append(GTK_MENU(menu), item); + gtk_widget_show(item); + + submenu = gtk_menu_new(); + + subitem = gtk_check_menu_item_new_with_label(SUBMENU_ITEM_CMS_PROOF_OFF); + gtk_menu_append(GTK_MENU(submenu), subitem); + if (v->cms_proofing == 0) + { + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(subitem), TRUE); + } + g_signal_connect(GTK_OBJECT(subitem), "toggled", (GtkSignalFunc) xsane_viewer_set_cms_proofing_callback, v); + gtk_object_set_data(GTK_OBJECT(subitem), "Selection", (void *) 0); + gtk_widget_show(subitem); + v->cms_proofing_widget[0] = subitem; + + subitem = gtk_check_menu_item_new_with_label(SUBMENU_ITEM_CMS_PROOF_PRINTER); + gtk_menu_append(GTK_MENU(submenu), subitem); + if (v->cms_proofing == 1) + { + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(subitem), TRUE); + } + g_signal_connect(GTK_OBJECT(subitem), "toggled", (GtkSignalFunc) xsane_viewer_set_cms_proofing_callback, v); + gtk_object_set_data(GTK_OBJECT(subitem), "Selection", (void *) 1); + gtk_widget_show(subitem); + v->cms_proofing_widget[1] = subitem; + + subitem = gtk_check_menu_item_new_with_label(SUBMENU_ITEM_CMS_PROOF_CUSTOM); + gtk_menu_append(GTK_MENU(submenu), subitem); + if (v->cms_proofing == 2) + { + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(subitem), TRUE); + } + g_signal_connect(GTK_OBJECT(subitem), "toggled", (GtkSignalFunc) xsane_viewer_set_cms_proofing_callback, v); + gtk_object_set_data(GTK_OBJECT(subitem), "Selection", (void *) 2); + gtk_widget_show(subitem); + v->cms_proofing_widget[2] = subitem; + + gtk_menu_item_set_submenu(GTK_MENU_ITEM(item), submenu); + + + /* Intent submenu */ + item = gtk_menu_item_new_with_label(MENU_ITEM_CMS_RENDERING_INTENT); + gtk_menu_append(GTK_MENU(menu), item); + gtk_widget_show(item); + + submenu = gtk_menu_new(); + + subitem = gtk_check_menu_item_new_with_label(SUBMENU_ITEM_CMS_INTENT_PERCEPTUAL); + gtk_menu_append(GTK_MENU(submenu), subitem); + if (v->cms_intent == INTENT_PERCEPTUAL) + { + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(subitem), TRUE); + } + g_signal_connect(GTK_OBJECT(subitem), "toggled", (GtkSignalFunc) xsane_viewer_set_cms_intent_callback, v); + gtk_object_set_data(GTK_OBJECT(subitem), "Selection", (void *) INTENT_PERCEPTUAL); + gtk_widget_show(subitem); + v->cms_intent_widget[INTENT_PERCEPTUAL] = subitem; + + subitem = gtk_check_menu_item_new_with_label(SUBMENU_ITEM_CMS_INTENT_RELATIVE_COLORIMETRIC); + gtk_menu_append(GTK_MENU(submenu), subitem); + if (v->cms_intent == INTENT_RELATIVE_COLORIMETRIC) + { + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(subitem), TRUE); + } + g_signal_connect(GTK_OBJECT(subitem), "toggled", (GtkSignalFunc) xsane_viewer_set_cms_intent_callback, v); + gtk_object_set_data(GTK_OBJECT(subitem), "Selection", (void *) INTENT_RELATIVE_COLORIMETRIC); + gtk_widget_show(subitem); + v->cms_intent_widget[INTENT_RELATIVE_COLORIMETRIC] = subitem; + + subitem = gtk_check_menu_item_new_with_label(SUBMENU_ITEM_CMS_INTENT_ABSOLUTE_COLORIMETRIC); + gtk_menu_append(GTK_MENU(submenu), subitem); + if (v->cms_intent == INTENT_ABSOLUTE_COLORIMETRIC) + { + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(subitem), TRUE); + } + g_signal_connect(GTK_OBJECT(subitem), "toggled", (GtkSignalFunc) xsane_viewer_set_cms_intent_callback, v); + gtk_object_set_data(GTK_OBJECT(subitem), "Selection", (void *) INTENT_ABSOLUTE_COLORIMETRIC); + gtk_widget_show(subitem); + v->cms_intent_widget[INTENT_ABSOLUTE_COLORIMETRIC] = subitem; + + subitem = gtk_check_menu_item_new_with_label(SUBMENU_ITEM_CMS_INTENT_SATURATION); + gtk_menu_append(GTK_MENU(submenu), subitem); + if (v->cms_intent == INTENT_SATURATION) + { + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(subitem), TRUE); + } + g_signal_connect(GTK_OBJECT(subitem), "toggled", (GtkSignalFunc) xsane_viewer_set_cms_intent_callback, v); + gtk_object_set_data(GTK_OBJECT(subitem), "Selection", (void *) INTENT_SATURATION); + gtk_widget_show(subitem); + v->cms_intent_widget[INTENT_SATURATION] = subitem; + + gtk_menu_item_set_submenu(GTK_MENU_ITEM(item), submenu); + + + /* proofing_intent submenu */ + item = gtk_menu_item_new_with_label(MENU_ITEM_CMS_PROOFING_INTENT); + gtk_menu_append(GTK_MENU(menu), item); + gtk_widget_show(item); + + submenu = gtk_menu_new(); + + subitem = gtk_check_menu_item_new_with_label(SUBMENU_ITEM_CMS_INTENT_RELATIVE_COLORIMETRIC); + gtk_menu_append(GTK_MENU(submenu), subitem); + if (v->cms_proofing_intent == INTENT_RELATIVE_COLORIMETRIC) + { + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(subitem), TRUE); + } + g_signal_connect(GTK_OBJECT(subitem), "toggled", (GtkSignalFunc) xsane_viewer_set_cms_proofing_intent_callback, v); + gtk_object_set_data(GTK_OBJECT(subitem), "Selection", (void *) INTENT_RELATIVE_COLORIMETRIC); + gtk_widget_show(subitem); + v->cms_proofing_intent_widget[0] = subitem; + + subitem = gtk_check_menu_item_new_with_label(SUBMENU_ITEM_CMS_INTENT_ABSOLUTE_COLORIMETRIC); + gtk_menu_append(GTK_MENU(submenu), subitem); + if (v->cms_proofing_intent == INTENT_ABSOLUTE_COLORIMETRIC) + { + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(subitem), TRUE); + } + g_signal_connect(GTK_OBJECT(subitem), "toggled", (GtkSignalFunc) xsane_viewer_set_cms_proofing_intent_callback, v); + gtk_object_set_data(GTK_OBJECT(subitem), "Selection", (void *) INTENT_ABSOLUTE_COLORIMETRIC); + gtk_widget_show(subitem); + v->cms_proofing_intent_widget[1] = subitem; + + gtk_menu_item_set_submenu(GTK_MENU_ITEM(item), submenu); + + + /* cms gamut check */ + item = gtk_check_menu_item_new_with_label(MENU_ITEM_CMS_GAMUT_CHECK); + gtk_menu_append(GTK_MENU(menu), item); + g_signal_connect(GTK_OBJECT(item), "toggled", (GtkSignalFunc) xsane_viewer_set_cms_gamut_check_callback, v); + gtk_widget_show(item); + + + /* gamut alarm color */ + item = gtk_menu_item_new_with_label(MENU_ITEM_CMS_GAMUT_ALARM_COLOR); + gtk_menu_append(GTK_MENU(menu), item); + gtk_widget_show(item); + + submenu = gtk_menu_new(); + + subitem = gtk_check_menu_item_new_with_label(SUBMENU_ITEM_CMS_COLOR_BLACK); + gtk_menu_append(GTK_MENU(submenu), subitem); + if (v->cms_gamut_alarm_color == 0) + { + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(subitem), TRUE); + } + g_signal_connect(GTK_OBJECT(subitem), "toggled", (GtkSignalFunc) xsane_viewer_set_cms_gamut_alarm_color_callback, v); + gtk_object_set_data(GTK_OBJECT(subitem), "Selection", (void *) 0); + gtk_widget_show(subitem); + v->cms_gamut_alarm_color_widget[0] = subitem; + + subitem = gtk_check_menu_item_new_with_label(SUBMENU_ITEM_CMS_COLOR_GRAY); + gtk_menu_append(GTK_MENU(submenu), subitem); + if (v->cms_gamut_alarm_color == 1) + { + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(subitem), TRUE); + } + g_signal_connect(GTK_OBJECT(subitem), "toggled", (GtkSignalFunc) xsane_viewer_set_cms_gamut_alarm_color_callback, v); + gtk_object_set_data(GTK_OBJECT(subitem), "Selection", (void *) 1); + gtk_widget_show(subitem); + v->cms_gamut_alarm_color_widget[1] = subitem; + + subitem = gtk_check_menu_item_new_with_label(SUBMENU_ITEM_CMS_COLOR_WHITE); + gtk_menu_append(GTK_MENU(submenu), subitem); + if (v->cms_gamut_alarm_color == 2) + { + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(subitem), TRUE); + } + g_signal_connect(GTK_OBJECT(subitem), "toggled", (GtkSignalFunc) xsane_viewer_set_cms_gamut_alarm_color_callback, v); + gtk_object_set_data(GTK_OBJECT(subitem), "Selection", (void *) 2); + gtk_widget_show(subitem); + v->cms_gamut_alarm_color_widget[2] = subitem; + + subitem = gtk_check_menu_item_new_with_label(SUBMENU_ITEM_CMS_COLOR_RED); + gtk_menu_append(GTK_MENU(submenu), subitem); + if (v->cms_gamut_alarm_color == 3) + { + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(subitem), TRUE); + } + g_signal_connect(GTK_OBJECT(subitem), "toggled", (GtkSignalFunc) xsane_viewer_set_cms_gamut_alarm_color_callback, v); + gtk_object_set_data(GTK_OBJECT(subitem), "Selection", (void *) 3); + gtk_widget_show(subitem); + v->cms_gamut_alarm_color_widget[3] = subitem; + + subitem = gtk_check_menu_item_new_with_label(SUBMENU_ITEM_CMS_COLOR_GREEN); + gtk_menu_append(GTK_MENU(submenu), subitem); + if (v->cms_gamut_alarm_color == 4) + { + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(subitem), TRUE); + } + g_signal_connect(GTK_OBJECT(subitem), "toggled", (GtkSignalFunc) xsane_viewer_set_cms_gamut_alarm_color_callback, v); + gtk_object_set_data(GTK_OBJECT(subitem), "Selection", (void *) 4); + gtk_widget_show(subitem); + v->cms_gamut_alarm_color_widget[4] = subitem; + + subitem = gtk_check_menu_item_new_with_label(SUBMENU_ITEM_CMS_COLOR_BLUE); + gtk_menu_append(GTK_MENU(submenu), subitem); + if (v->cms_gamut_alarm_color == 5) + { + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(subitem), TRUE); + } + g_signal_connect(GTK_OBJECT(subitem), "toggled", (GtkSignalFunc) xsane_viewer_set_cms_gamut_alarm_color_callback, v); + gtk_object_set_data(GTK_OBJECT(subitem), "Selection", (void *) 5); + gtk_widget_show(subitem); + v->cms_gamut_alarm_color_widget[5] = subitem; + + gtk_menu_item_set_submenu(GTK_MENU_ITEM(item), submenu); + + return menu; +} +#endif + +/* ---------------------------------------------------------------------------------------------------------------------- */ + + +static int xsane_viewer_read_image_header(Viewer *v) +{ + int pos0; + FILE *infile; + Image_info image_info; + + /* open imagefile */ + + infile = fopen(v->filename, "rb"); + if (!infile) + { + DBG(DBG_error, "could not load file %s\n", v->filename); + return -1; + } + + xsane_read_pnm_header(infile, &image_info); + + pos0 = ftell(infile); + + if (!image_info.channels) /* == 0 (grayscale) ? */ + { + image_info.channels = 1; /* we have one color component */ + } + + DBG(DBG_info, "reading image header %s with geometry: %d x %d x %d, %d channels\n", v->filename, + image_info.image_width, image_info.image_height, image_info.depth, image_info.channels); + + /* init color management */ + v->enable_color_management = image_info.enable_color_management; + if (!image_info.enable_color_management) + { + v->cms_enable = FALSE; + } + + v->cms_function = image_info.cms_function; + v->cms_intent = image_info.cms_intent; + v->cms_bpc = image_info.cms_bpc; + + if ((v->enable_color_management) && (image_info.reduce_to_lineart)) + { + v->enable_color_management = FALSE; + v->cms_enable = FALSE; + } + + fclose(infile); + + return 0; +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + + +static int xsane_viewer_read_image(Viewer *v) +{ + unsigned char *cms_row, *row, *src_row; + int x, y; + int last_y; + int nread; + int pos0; + FILE *infile; + Image_info image_info; + char buf[TEXTBUFSIZE]; + float size; + char *size_unit; + int width, height; + +#ifdef HAVE_LIBLCMS + cmsHPROFILE hInProfile = NULL; + cmsHPROFILE hOutProfile = NULL; + cmsHPROFILE hProofProfile = NULL; + cmsHTRANSFORM hTransform = NULL; + int proof = 0; + char *cms_proof_icm_profile = NULL; + DWORD cms_input_format; + DWORD cms_output_format; + DWORD cms_flags = 0; +#endif + + /* open imagefile */ + + infile = fopen(v->filename, "rb"); + if (!infile) + { + DBG(DBG_error, "could not load file %s\n", v->filename); + return -1; + } + + xsane_read_pnm_header(infile, &image_info); + + pos0 = ftell(infile); + + if (!image_info.channels) /* == 0 (grayscale) ? */ + { + image_info.channels = 1; /* we have one color component */ + } + + DBG(DBG_info, "reading image %s with geometry: %d x %d x %d, %d channels\n", v->filename, + image_info.image_width, image_info.image_height, image_info.depth, image_info.channels); + +#ifdef HAVE_LIBLCMS + /* init color management */ + + if ((v->enable_color_management) && (v->cms_enable)) + { + cmsErrorAction(LCMS_ERROR_SHOW); + + if (v->cms_bpc) + { + cms_flags |= cmsFLAGS_BLACKPOINTCOMPENSATION; + } + + if (image_info.channels == 1) /* == 1 (grayscale) */ + { + if (image_info.depth == 8) + { + cms_input_format = TYPE_GRAY_8; + cms_output_format = TYPE_GRAY_8; + } + else + { + cms_input_format = TYPE_GRAY_16; + cms_output_format = TYPE_GRAY_8; + } + } + else /* color */ + { + if (image_info.depth == 8) + { + cms_input_format = TYPE_RGB_8; + cms_output_format = TYPE_RGB_8; + } + else + { + cms_input_format = TYPE_RGB_16; + cms_output_format = TYPE_RGB_8; + } + } + + switch (v->cms_proofing) + { + default: + case 0: /* display */ + proof = 0; + break; + + case 1: /* proof printer */ + cms_proof_icm_profile = preferences.printer[preferences.printernr]->icm_profile; + proof = 1; + break; + + case 2: /* proof custom proofing */ + cms_proof_icm_profile = preferences.custom_proofing_icm_profile; + proof = 1; + break; + } + + hInProfile = cmsOpenProfileFromFile(image_info.icm_profile, "r"); + if (!hInProfile) + { + char buf[TEXTBUFSIZE]; + + snprintf(buf, sizeof(buf), "%s\n%s %s: %s\n", ERR_CMS_CONVERSION, ERR_CMS_OPEN_ICM_FILE, CMS_SCANNER_ICM, image_info.icm_profile); + xsane_back_gtk_error(buf, TRUE); + return -1; + } + + hOutProfile = cmsOpenProfileFromFile(preferences.display_icm_profile, "r"); + if (!hOutProfile) + { + char buf[TEXTBUFSIZE]; + + cmsCloseProfile(hInProfile); + + snprintf(buf, sizeof(buf), "%s\n%s %s: %s\n", ERR_CMS_CONVERSION, ERR_CMS_OPEN_ICM_FILE, CMS_DISPLAY_ICM, preferences.display_icm_profile); + xsane_back_gtk_error(buf, TRUE); + return -1; + } + + + if (proof == 0) + { + hTransform = cmsCreateTransform(hInProfile, cms_input_format, + hOutProfile, cms_output_format, + v->cms_intent, cms_flags); + } + else /* proof */ + { + cms_flags |= cmsFLAGS_SOFTPROOFING; + + if (v->cms_gamut_check) + { + cms_flags |= cmsFLAGS_GAMUTCHECK; + } + + hProofProfile = cmsOpenProfileFromFile(cms_proof_icm_profile, "r"); + if (!hProofProfile) + { + char buf[TEXTBUFSIZE]; + + cmsCloseProfile(hInProfile); + cmsCloseProfile(hOutProfile); + + snprintf(buf, sizeof(buf), "%s\n%s %s: %s\n", ERR_CMS_CONVERSION, ERR_CMS_OPEN_ICM_FILE, CMS_PROOF_ICM, cms_proof_icm_profile); + xsane_back_gtk_error(buf, TRUE); + return -1; + } + + hTransform = cmsCreateProofingTransform(hInProfile, cms_input_format, + hOutProfile, cms_output_format, + hProofProfile, + v->cms_intent, v->cms_proofing_intent, cms_flags); + } + + cmsCloseProfile(hInProfile); + cmsCloseProfile(hOutProfile); + if (proof) + { + cmsCloseProfile(hProofProfile); + } + + if (!hTransform) + { + char buf[TEXTBUFSIZE]; + + snprintf(buf, sizeof(buf), "%s\n%s\n", ERR_CMS_CONVERSION, ERR_CMS_CREATE_TRANSFORM); + xsane_back_gtk_error(buf, TRUE); + return -1; + } + } +#endif + + /* open infile */ + + if (v->window) /* we already have an existing viewer preview window? */ + { + gtk_widget_destroy(v->window); + } + + /* the preview area */ + if (image_info.channels == 3) /* RGB */ + { + v->window = gtk_preview_new(GTK_PREVIEW_COLOR); + } + else /* grayscale */ + { + v->window = gtk_preview_new(GTK_PREVIEW_GRAYSCALE); + } + + gtk_preview_size(GTK_PREVIEW(v->window), image_info.image_width * v->zoom, image_info.image_height * v->zoom); + gtk_container_add(GTK_CONTAINER(v->viewport), v->window); + gtk_widget_show(v->window); + + + + /* get memory for one row of the image */ + src_row = malloc(image_info.image_width * image_info.channels * image_info.depth / 8); + + if ((v->enable_color_management) && (v->cms_enable)) + { + row = malloc(((int) image_info.image_width * v->zoom) * image_info.channels * image_info.depth / 8); + } + else + { + row = malloc(((int) image_info.image_width * v->zoom) * image_info.channels); + } + +#ifdef HAVE_LIBLCMS + if ((v->enable_color_management) && (v->cms_enable)) + { + cms_row = malloc(((int) image_info.image_width * v->zoom) * image_info.channels); + } + else +#endif + { + cms_row = row; + } + + if (!row || !src_row || !cms_row) + { + if (src_row) + { + free(src_row); + } + + if (row) + { + free(row); + } + +#ifdef HAVE_LIBLCMS + if ((cms_row) && (v->enable_color_management) && (v->cms_enable)) + { + free(cms_row); + } +#endif + + fclose(infile); + DBG(DBG_error, "could not allocate memory\n"); + return -1; + } + + + last_y = -99999; + + /* read the image from file */ + for (y = 0; y < (int) (image_info.image_height * v->zoom); y++) + { + if ((int) (last_y / v->zoom) != (int) (y / v->zoom)) + { + last_y = y; + + if (image_info.depth == 8) /* 8 bits/pixel */ + { + fseek(infile, pos0 + (((int) (y / v->zoom)) * image_info.image_width) * image_info.channels, SEEK_SET); + nread = fread(src_row, image_info.channels, image_info.image_width, infile); + + if (image_info.channels > 1) + { + for (x=0; x < (int) (image_info.image_width * v->zoom); x++) + { + int xoff = ((int) (x / v->zoom)) * image_info.channels; + + row[3*x+0] = src_row[xoff + 0]; + row[3*x+1] = src_row[xoff + 1]; + row[3*x+2] = src_row[xoff + 2]; + } + } + else + { + for (x=0; x < (int) (image_info.image_width * v->zoom); x++) + { + row[x] = src_row[((int) (x / v->zoom))]; + } + } + } + else if ((!v->enable_color_management) || (!v->cms_enable)) /* 16 bits/pixel => reduce to 8 bits/pixel */ + { + guint16 *src_row16 = (guint16 *) src_row; + + fseek(infile, pos0 + (((int) (y / v->zoom)) * image_info.image_width) * image_info.channels * 2, SEEK_SET); + nread = fread(src_row, 2 * image_info.channels, image_info.image_width, infile); + + if (image_info.channels > 1) + { + for (x=0; x < (int) (image_info.image_width * v->zoom); x++) + { + int xoff = ((int) (x / v->zoom)) * image_info.channels; + + row[3*x+0] = (unsigned char) (src_row16[xoff + 0] / 256); + row[3*x+1] = (unsigned char) (src_row16[xoff + 1] / 256); + row[3*x+2] = (unsigned char) (src_row16[xoff + 2] / 256); + } + } + else + { + for (x=0; x < (int) (image_info.image_width * v->zoom); x++) + { + row[x] = (unsigned char) (src_row16[(int) (x / v->zoom)] / 256); + } + } + } + else /* 16 bits/pixel with color management enabled, cms does 16->8 conversion */ + { + guint16 *src_row16 = (guint16 *) src_row; + guint16 *dst_row16 = (guint16 *) row; + + fseek(infile, pos0 + (((int) (y / v->zoom)) * image_info.image_width) * image_info.channels * 2, SEEK_SET); + nread = fread(src_row, 2 * image_info.channels, image_info.image_width, infile); + + if (image_info.channels > 1) + { + for (x=0; x < (int) (image_info.image_width * v->zoom); x++) + { + int xoff = ((int) (x / v->zoom)) * image_info.channels; + + dst_row16[3*x+0] = src_row16[xoff + 0]; + dst_row16[3*x+1] = src_row16[xoff + 1]; + dst_row16[3*x+2] = src_row16[xoff + 2]; + } + } + else + { + for (x=0; x < (int) (image_info.image_width * v->zoom); x++) + { + dst_row16[x] = src_row16[(int) (x / v->zoom)]; + } + } + } + } + +#ifdef HAVE_LIBLCMS + if ((v->enable_color_management) && (v->cms_enable)) + { + cmsDoTransform(hTransform, row, cms_row, image_info.image_width * v->zoom); + } +#endif + gtk_preview_draw_row(GTK_PREVIEW(v->window), cms_row, 0, y, image_info.image_width * v->zoom); + } + + gtk_preview_put(GTK_PREVIEW(v->window), v->window->window, v->window->style->black_gc, 0, 0, 0, 0, + image_info.image_width * v->zoom, image_info.image_height * v->zoom); + + size = (float) image_info.image_width * image_info.image_height * image_info.channels; + if (image_info.depth == 16) + { + size *= 2.0; + } + + if (image_info.reduce_to_lineart) + { + size /= 8.0; + } + + size_unit = "B"; + + if (size >= 1024 * 1024) + { + size /= (1024.0 * 1024.0); + size_unit = "MB"; + } + else if (size >= 1024) + { + size /= 1024.0; + size_unit = "KB"; + } + + if (image_info.reduce_to_lineart) + { + snprintf(buf, sizeof(buf), TEXT_VIEWER_IMAGE_INFO, image_info.image_width, image_info.image_height, 1, image_info.channels, + image_info.resolution_x, image_info.resolution_y, size, size_unit); + } + else + { + snprintf(buf, sizeof(buf), TEXT_VIEWER_IMAGE_INFO, image_info.image_width, image_info.image_height, image_info.depth, image_info.channels, + image_info.resolution_x, image_info.resolution_y, size, size_unit); + } + gtk_label_set(GTK_LABEL(v->image_info_label), buf); + + width = image_info.image_width * v->zoom + 26; + height = image_info.image_height * v->zoom + 136; + + if (width > gdk_screen_width()) + { + width = gdk_screen_width(); + } + + if (height > gdk_screen_height()) + { + height = gdk_screen_height(); + } + +#ifdef HAVE_GTK2 + if (GTK_WIDGET_REALIZED(v->top)) + { + gtk_window_resize(GTK_WINDOW(v->top), width, height); + } + else +#endif + { + gtk_window_set_default_size(GTK_WINDOW(v->top), width, height); + } + + free(row); + free(src_row); + fclose(infile); + +#ifdef HAVE_LIBLCMS + if ((v->enable_color_management) && (v->cms_enable)) + { + cmsDeleteTransform(hTransform); + } +#endif + + return 0; +} + +#if 0 /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ + static int xsane_viewer_read_image(Viewer *v) { unsigned char *row, *src_row; @@ -1679,13 +2598,13 @@ static int xsane_viewer_read_image(Viewer *v) pos0 = ftell(infile); - if (!image_info.colors) /* == 0 (grayscale) ? */ + if (!image_info.channels) /* == 0 (grayscale) ? */ { - image_info.colors = 1; /* we have one color component */ + image_info.channels = 1; /* we have one color component */ } - DBG(DBG_info, "reading image %s with geometry: %d x %d x %d, %d colors\n", v->filename, - image_info.image_width, image_info.image_height, image_info.depth, image_info.colors); + DBG(DBG_info, "reading image %s with geometry: %d x %d x %d, %d channels\n", v->filename, + image_info.image_width, image_info.image_height, image_info.depth, image_info.channels); /* open infile */ if (v->window) /* we already have an existing viewer preview window? */ @@ -1694,7 +2613,7 @@ static int xsane_viewer_read_image(Viewer *v) } /* the preview area */ - if (image_info.colors == 3) /* RGB */ + if (image_info.channels == 3) /* RGB */ { v->window = gtk_preview_new(GTK_PREVIEW_COLOR); } @@ -1710,8 +2629,8 @@ static int xsane_viewer_read_image(Viewer *v) /* get memory for one row of the image */ - src_row = malloc(image_info.image_width * image_info.colors * image_info.depth / 8); - row = malloc(((int) image_info.image_width * v->zoom) * image_info.colors); + src_row = malloc(image_info.image_width * image_info.channels * image_info.depth / 8); + row = malloc(((int) image_info.image_width * v->zoom) * image_info.channels); if (!row || !src_row) { @@ -1742,14 +2661,14 @@ static int xsane_viewer_read_image(Viewer *v) if (image_info.depth == 8) /* 8 bits/pixel */ { - fseek(infile, pos0 + (((int) (y / v->zoom)) * image_info.image_width) * image_info.colors, SEEK_SET); - nread = fread(src_row, image_info.colors, image_info.image_width, infile); + fseek(infile, pos0 + (((int) (y / v->zoom)) * image_info.image_width) * image_info.channels, SEEK_SET); + nread = fread(src_row, image_info.channels, image_info.image_width, infile); - if (image_info.colors > 1) + if (image_info.channels > 1) { for (x=0; x < (int) (image_info.image_width * v->zoom); x++) { - int xoff = ((int) (x / v->zoom)) * image_info.colors; + int xoff = ((int) (x / v->zoom)) * image_info.channels; row[3*x+0] = src_row[xoff + 0]; row[3*x+1] = src_row[xoff + 1]; @@ -1768,14 +2687,14 @@ static int xsane_viewer_read_image(Viewer *v) { guint16 *src_row16 = (guint16 *) src_row; - fseek(infile, pos0 + (((int) (y / v->zoom)) * image_info.image_width) * image_info.colors * 2, SEEK_SET); - nread = fread(src_row, 2 * image_info.colors, image_info.image_width, infile); + fseek(infile, pos0 + (((int) (y / v->zoom)) * image_info.image_width) * image_info.channels * 2, SEEK_SET); + nread = fread(src_row, 2 * image_info.channels, image_info.image_width, infile); - if (image_info.colors > 1) + if (image_info.channels > 1) { for (x=0; x < (int) (image_info.image_width * v->zoom); x++) { - int xoff = ((int) (x / v->zoom)) * image_info.colors; + int xoff = ((int) (x / v->zoom)) * image_info.channels; row[3*x+0] = (unsigned char) (src_row16[xoff + 0] / 256); row[3*x+1] = (unsigned char) (src_row16[xoff + 1] / 256); @@ -1798,7 +2717,7 @@ static int xsane_viewer_read_image(Viewer *v) gtk_preview_put(GTK_PREVIEW(v->window), v->window->window, v->window->style->black_gc, 0, 0, 0, 0, image_info.image_width * v->zoom, image_info.image_height * v->zoom); - size = (float) image_info.image_width * image_info.image_height * image_info.colors; + size = (float) image_info.image_width * image_info.image_height * image_info.channels; if (image_info.depth == 16) { size *= 2.0; @@ -1824,18 +2743,18 @@ static int xsane_viewer_read_image(Viewer *v) if (image_info.reduce_to_lineart) { - snprintf(buf, sizeof(buf), TEXT_VIEWER_IMAGE_INFO, image_info.image_width, image_info.image_height, 1, image_info.colors, + snprintf(buf, sizeof(buf), TEXT_VIEWER_IMAGE_INFO, image_info.image_width, image_info.image_height, 1, image_info.channels, image_info.resolution_x, image_info.resolution_y, size, size_unit); } else { - snprintf(buf, sizeof(buf), TEXT_VIEWER_IMAGE_INFO, image_info.image_width, image_info.image_height, image_info.depth, image_info.colors, + snprintf(buf, sizeof(buf), TEXT_VIEWER_IMAGE_INFO, image_info.image_width, image_info.image_height, image_info.depth, image_info.channels, image_info.resolution_x, image_info.resolution_y, size, size_unit); } gtk_label_set(GTK_LABEL(v->image_info_label), buf); - width = image_info.image_width + 26; - height = image_info.image_height + 136; + width = image_info.image_width * v->zoom + 26; + height = image_info.image_height * v->zoom + 136; if (width > gdk_screen_width()) { @@ -1864,6 +2783,7 @@ static int xsane_viewer_read_image(Viewer *v) return 0; } +#endif /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -1897,6 +2817,17 @@ Viewer *xsane_viewer_new(char *filename, char *selection_filetype, int allow_red v->keep_viewer_pnm_format = FALSE; v->allow_modification = allow_modification; v->next_viewer = xsane.viewer_list; +#ifdef HAVE_LIBLCMS + v->enable_color_management = FALSE; + v->cms_enable = TRUE; + v->cms_function = XSANE_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE; + v->cms_intent = INTENT_PERCEPTUAL; + v->cms_proofing = 0; /* display */ + v->cms_proofing_intent = INTENT_ABSOLUTE_COLORIMETRIC; + v->cms_gamut_check = 0; + v->cms_gamut_alarm_color = 3; /* red */ + cmsSetAlarmCodes(255, 0, 0); +#endif if (selection_filetype) { v->selection_filetype = strdup(selection_filetype); @@ -1933,6 +2864,8 @@ Viewer *xsane_viewer_new(char *filename, char *selection_filetype, int allow_red snprintf(buf, sizeof(buf), "%s %s", WINDOW_VIEWER, xsane.device_text); } + xsane_viewer_read_image_header(v); // xxx oli + v->top = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_window_set_title(GTK_WINDOW(v->top), buf); xsane_set_window_icon(v->top, 0); @@ -1983,6 +2916,17 @@ Viewer *xsane_viewer_new(char *filename, char *selection_filetype, int allow_red gtk_widget_show(menubar_item); v->geometry_menu = menubar_item; +#ifdef HAVE_LIBLCMS + /* "Color management" submenu: */ + menubar_item = gtk_menu_item_new_with_label(MENU_COLOR_MANAGEMENT); + gtk_container_add(GTK_CONTAINER(menubar), menubar_item); + gtk_menu_item_set_submenu(GTK_MENU_ITEM(menubar_item), xsane_viewer_color_management_build_menu(v)); +/* gtk_widget_add_accelerator(menubar_item, "select", xsane.accelerator_group, GDK_F, 0, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); */ + gtk_widget_show(menubar_item); + v->color_management_menu = menubar_item; + gtk_widget_set_sensitive(GTK_WIDGET(v->color_management_menu), v->enable_color_management); +#endif + gtk_widget_show(menubar); diff --git a/src/xsane-viewer.h b/src/xsane-viewer.h index 373fd31..b729151 100644 --- a/src/xsane-viewer.h +++ b/src/xsane-viewer.h @@ -3,7 +3,7 @@ xsane-viewer.h Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 2001-2005 Oliver Rauch + Copyright (C) 2001-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -47,6 +47,8 @@ typedef struct Viewer char *undo_filename; char *selection_filetype; + int cms_function; + int allow_reduction_to_lineart; int keep_viewer_pnm_format; float zoom; @@ -57,6 +59,15 @@ typedef struct Viewer int despeckle_radius; float blur_radius; + int enable_color_management; + int cms_enable; + int cms_bpc; + int cms_proofing; + int cms_intent; + int cms_proofing_intent; + int cms_gamut_check; + int cms_gamut_alarm_color; + int bind_scale; double x_scale_factor; double y_scale_factor; @@ -73,6 +84,7 @@ typedef struct Viewer GtkWidget *edit_menu; GtkWidget *filters_menu; GtkWidget *geometry_menu; + GtkWidget *color_management_menu; GtkWidget *viewport; GtkWidget *window; @@ -94,6 +106,11 @@ typedef struct Viewer GtkWidget *despeckle; GtkWidget *blur; + GtkWidget *cms_proofing_widget[3]; + GtkWidget *cms_intent_widget[4]; + GtkWidget *cms_proofing_intent_widget[2]; + GtkWidget *cms_gamut_alarm_color_widget[6]; + GtkWidget *image_info_label; GtkProgressBar *progress_bar; diff --git a/src/xsane.c b/src/xsane.c index 9254ea7..38ee7d1 100644 --- a/src/xsane.c +++ b/src/xsane.c @@ -3,7 +3,7 @@ xsane.c Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 1998-2005 Oliver Rauch + Copyright (C) 1998-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -56,6 +56,7 @@ struct option long_options[] = {"version", no_argument, 0, 'v'}, {"license", no_argument, 0, 'l'}, {"device-settings", required_argument, 0, 'd'}, + {"xsane-rc", required_argument, 0, 'r'}, {"save", no_argument, 0, 's'}, {"viewer", no_argument, 0, 'V'}, {"copy", no_argument, 0, 'c'}, @@ -752,7 +753,7 @@ static void xsane_resolution_list_callback(GtkWidget *widget, gpointer data) static int xsane_resolution_widget_new(GtkWidget *parent, int well_known_option, double *resolution, const char *image_xpm[], const gchar *desc, const gchar *widget_name) { - GtkObject *resolution_widget; + GtkWidget *resolution_widget; const SANE_Option_Descriptor *opt; DBG(DBG_proc, "xsane_resolution_widget_new\n"); @@ -1153,6 +1154,14 @@ static void xsane_scanmode_menu_callback(GtkWidget *widget, gpointer data) } } +/* ----------------------------------------------------------------------------------------------------------------- */ + +static void xsane_cms_function_menu_callback(GtkWidget *widget, gpointer data) +{ + preferences.cms_function = (int) data; + DBG(DBG_proc, "xsane_cms_function_menu_callback(%d)\n", preferences.cms_function); +} + /* ---------------------------------------------------------------------------------------------------------------------- */ static void xsane_adf_pages_max_callback(GtkWidget *widget, gpointer data) @@ -1444,6 +1453,31 @@ GtkWidget *xsane_update_xsane_callback() /* creates the XSane option window */ gtk_widget_show(xsane_spinbutton); } +#ifdef HAVE_LIBLCMS + if ((xsane.enable_color_management) && + ( (xsane.xsane_mode == XSANE_VIEWER) || + (xsane.xsane_mode == XSANE_SAVE) || + (xsane.xsane_mode == XSANE_EMAIL) || + (xsane.xsane_mode == XSANE_MULTIPAGE) + ) + ) + { + hbox = gtk_hbox_new(FALSE, 2); + gtk_container_set_border_width(GTK_CONTAINER(hbox), 2); + gtk_box_pack_start(GTK_BOX(xsane_vbox_xsane_modus), hbox, FALSE, FALSE, 1); + gtk_widget_show(hbox); + + pixmap = gdk_pixmap_create_from_xpm_d(xsane.histogram_dialog->window, &mask, xsane.bg_trans, (gchar **) cms_xpm); + pixmapwidget = gtk_image_new_from_pixmap(pixmap, mask); + gtk_box_pack_start(GTK_BOX(hbox), pixmapwidget, FALSE, FALSE, 2); + gdk_drawable_unref(pixmap); + gtk_widget_show(pixmapwidget); + + xsane.cms_function_option_menu = xsane_back_gtk_cms_function_menu_new(preferences.cms_function, (GtkSignalFunc) xsane_cms_function_menu_callback); + gtk_box_pack_end(GTK_BOX(hbox), xsane.cms_function_option_menu, FALSE, FALSE, 2); + gtk_widget_show(xsane.cms_function_option_menu); + } +#endif /* input selection */ opt = xsane_get_option_descriptor(xsane.dev, xsane.well_known.scansource); @@ -1526,7 +1560,8 @@ GtkWidget *xsane_update_xsane_callback() /* creates the XSane option window */ } - if (xsane.param.depth != 1) /* show medium selection of not lineart mode */ + /* show medium selection when not lineart mode and no color management */ + if ((xsane.param.depth != 1) && (!xsane.enable_color_management)) { /* medium selection */ hbox = gtk_hbox_new(FALSE, 2); @@ -1658,33 +1693,31 @@ GtkWidget *xsane_update_xsane_callback() /* creates the XSane option window */ } #endif - /* test if scanner gamma table is selected */ + /* test if scanner gamma table is selected */ - xsane.scanner_gamma_gray = FALSE; - if (xsane.well_known.gamma_vector >0) - { - const SANE_Option_Descriptor *opt; - - opt = xsane_get_option_descriptor(xsane.dev, xsane.well_known.gamma_vector); - if (SANE_OPTION_IS_ACTIVE(opt->cap)) - { - xsane.scanner_gamma_gray = TRUE; - } - } - - xsane.scanner_gamma_color = FALSE; - if (xsane.well_known.gamma_vector_r >0) - { - const SANE_Option_Descriptor *opt; + xsane.scanner_gamma_gray = FALSE; + if (xsane.well_known.gamma_vector >0) + { + const SANE_Option_Descriptor *opt; - opt = xsane_get_option_descriptor(xsane.dev, xsane.well_known.gamma_vector_r); - if (SANE_OPTION_IS_ACTIVE(opt->cap)) - { - xsane.scanner_gamma_color = TRUE; - } - } + opt = xsane_get_option_descriptor(xsane.dev, xsane.well_known.gamma_vector); + if (SANE_OPTION_IS_ACTIVE(opt->cap)) + { + xsane.scanner_gamma_gray = TRUE; + } + } + xsane.scanner_gamma_color = FALSE; + if (xsane.well_known.gamma_vector_r >0) + { + const SANE_Option_Descriptor *opt; + opt = xsane_get_option_descriptor(xsane.dev, xsane.well_known.gamma_vector_r); + if (SANE_OPTION_IS_ACTIVE(opt->cap)) + { + xsane.scanner_gamma_color = TRUE; + } + } /* XSane Frame Enhancement */ @@ -1717,7 +1750,41 @@ GtkWidget *xsane_update_xsane_callback() /* creates the XSane option window */ xsane.slider_gray.active = XSANE_SLIDER_ACTIVE; /* mark slider active */ - if ( (xsane.xsane_colors > 1) && (!xsane.enhancement_rgb_default) ) + + if (xsane.enable_color_management) /* do not show gamma widgets when color management is active */ + { + xsane.gamma = 1.0; + xsane.gamma_red = 1.0; + xsane.gamma_green = 1.0; + xsane.gamma_blue = 1.0; + xsane.brightness = 0.0; + xsane.brightness_red = 0.0; + xsane.brightness_green = 0.0; + xsane.brightness_blue = 0.0; + xsane.contrast = 0.0; + xsane.contrast_red = 0.0; + xsane.contrast_green = 0.0; + xsane.contrast_blue = 0.0; + xsane.threshold = 50.0; + + xsane.slider_gray.value[2] = 100.0; + xsane.slider_gray.value[1] = 50.0; + xsane.slider_gray.value[0] = 0.0; + xsane.slider_red.value[2] = 100.0; + xsane.slider_red.value[1] = 50.0; + xsane.slider_red.value[0] = 0.0; + xsane.slider_green.value[2] = 100.0; + xsane.slider_green.value[1] = 50.0; + xsane.slider_green.value[0] = 0.0; + xsane.slider_blue.value[2] = 100.0; + xsane.slider_blue.value[1] = 50.0; + xsane.slider_blue.value[0] = 0.0; + + return(xsane_hbox); + } + + + if ( (xsane.xsane_channels > 1) && (!xsane.enhancement_rgb_default) ) { xsane_separator_new(xsane_vbox_xsane_modus, 2); } @@ -1725,7 +1792,7 @@ GtkWidget *xsane_update_xsane_callback() /* creates the XSane option window */ xsane_range_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(xsane_vbox_xsane_modus), Gamma_xpm, DESC_GAMMA, XSANE_GAMMA_MIN, XSANE_GAMMA_MAX, 0.01, 0.1, 2, &xsane.gamma, &xsane.gamma_widget, 0, xsane_gamma_changed, TRUE); - if ( (xsane.xsane_colors > 1) && (!xsane.enhancement_rgb_default) ) + if ( (xsane.xsane_channels > 1) && (!xsane.enhancement_rgb_default) ) { xsane_range_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(xsane_vbox_xsane_modus), Gamma_red_xpm, DESC_GAMMA_R, XSANE_GAMMA_MIN, XSANE_GAMMA_MAX, 0.01, 0.1, 2, @@ -1743,7 +1810,7 @@ GtkWidget *xsane_update_xsane_callback() /* creates the XSane option window */ xsane_range_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(xsane_vbox_xsane_modus), brightness_xpm, DESC_BRIGHTNESS, xsane.brightness_min, xsane.brightness_max, 0.1, 1.0, 1, &xsane.brightness, &xsane.brightness_widget, 0, xsane_gamma_changed, TRUE); - if ( (xsane.xsane_colors > 1) && (!xsane.enhancement_rgb_default) ) + if ( (xsane.xsane_channels > 1) && (!xsane.enhancement_rgb_default) ) { xsane_range_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(xsane_vbox_xsane_modus), brightness_red_xpm, DESC_BRIGHTNESS_R, xsane.brightness_min, xsane.brightness_max, 0.1, 1.0, 1, @@ -1761,7 +1828,7 @@ GtkWidget *xsane_update_xsane_callback() /* creates the XSane option window */ xsane_range_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(xsane_vbox_xsane_modus), contrast_xpm, DESC_CONTRAST, xsane.contrast_gray_min, xsane.contrast_max, 0.1, 1.0, 1, &xsane.contrast, &xsane.contrast_widget, 0, xsane_gamma_changed, TRUE); - if ( (xsane.xsane_colors > 1) && (!xsane.enhancement_rgb_default) ) + if ( (xsane.xsane_channels > 1) && (!xsane.enhancement_rgb_default) ) { xsane_range_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(xsane_vbox_xsane_modus), contrast_red_xpm, DESC_CONTRAST_R, xsane.contrast_min, xsane.contrast_max, 0.1, 1.0, 1, @@ -1782,7 +1849,7 @@ GtkWidget *xsane_update_xsane_callback() /* creates the XSane option window */ gtk_box_pack_start(GTK_BOX(xsane_vbox_xsane_modus), xsane_hbox_xsane_enhancement, FALSE, FALSE, 0); gtk_widget_show(xsane_hbox_xsane_enhancement); - if (xsane.xsane_colors > 1) + if (xsane.xsane_channels > 1) { button = xsane_toggle_button_new_with_pixmap(xsane.xsane_window->window, xsane_hbox_xsane_enhancement, rgb_default_xpm, DESC_RGB_DEFAULT, &xsane.enhancement_rgb_default, xsane_enhancement_rgb_default_callback); @@ -1795,7 +1862,7 @@ GtkWidget *xsane_update_xsane_callback() /* creates the XSane option window */ button = xsane_button_new_with_pixmap(xsane.xsane_window->window, xsane_hbox_xsane_enhancement, enhance_xpm, DESC_ENH_AUTO, xsane_auto_enhancement_callback, NULL); - gtk_widget_add_accelerator(button, "clicked", xsane.accelerator_group, GDK_E, GDK_CONTROL_MASK, DEF_GTK_ACCEL_LOCKED); + gtk_widget_add_accelerator(button, "clicked", xsane.accelerator_group, GDK_A, GDK_CONTROL_MASK, DEF_GTK_ACCEL_LOCKED); button = xsane_button_new_with_pixmap(xsane.xsane_window->window, xsane_hbox_xsane_enhancement, default_enhancement_xpm, DESC_ENH_DEFAULT, xsane_enhancement_restore_default, NULL); @@ -1831,7 +1898,8 @@ void xsane_pref_save(void) DBG(DBG_proc, "xsane_pref_save\n"); /* first save xsane-specific preferences: */ - xsane_back_gtk_make_path(sizeof(filename), filename, "xsane", NULL, "xsane", NULL, ".rc", XSANE_PATH_LOCAL_SANE); + xsane_back_gtk_make_path(sizeof(filename), filename, "xsane", NULL, NULL, xsane.xsane_rc_set_filename, ".rc", XSANE_PATH_LOCAL_SANE); +// xsane_back_gtk_make_path(sizeof(filename), filename, "xsane", NULL, "xsane", NULL, ".rc", XSANE_PATH_LOCAL_SANE); DBG(DBG_info2, "saving preferences to \"%s\"\n", filename); @@ -1862,7 +1930,8 @@ static int xsane_pref_restore(void) DBG(DBG_proc, "xsane_pref_restore\n"); - xsane_back_gtk_make_path(sizeof(filename), filename, "xsane", NULL, "xsane", NULL, ".rc", XSANE_PATH_LOCAL_SANE); + xsane_back_gtk_make_path(sizeof(filename), filename, "xsane", NULL, NULL, xsane.xsane_rc_set_filename, ".rc", XSANE_PATH_LOCAL_SANE); +// xsane_back_gtk_make_path(sizeof(filename), filename, "xsane", NULL, "xsane", NULL, ".rc", XSANE_PATH_LOCAL_SANE); fd = open(filename, O_RDONLY); if (fd >= 0) @@ -1947,7 +2016,23 @@ static int xsane_pref_restore(void) if (!preferences.filename) { - preferences.filename = strdup(OUT_FILENAME); + char filename[PATH_MAX]; + char buf[PATH_MAX]; + + if (getenv(STRINGIFY(ENVIRONMENT_HOME_DIR_NAME)) != NULL) + { + snprintf(buf, sizeof(buf)-2, "%s%c%s", getenv(STRINGIFY(ENVIRONMENT_HOME_DIR_NAME)), SLASH, OUT_FILENAME); + preferences.filename = strdup(buf); + } + else if (getcwd(filename, sizeof(filename))) + { + snprintf(buf, sizeof(buf)-2, "%s%c%s", filename, SLASH, OUT_FILENAME); + preferences.filename = strdup(buf); + } + else + { + preferences.filename = strdup(""); + } } if (!preferences.filetype) @@ -1962,7 +2047,23 @@ static int xsane_pref_restore(void) if (!preferences.fax_project) { - preferences.fax_project = strdup(FAXPROJECT); + char filename[PATH_MAX]; + char buf[PATH_MAX]; + + if (getenv(STRINGIFY(ENVIRONMENT_HOME_DIR_NAME)) != NULL) + { + snprintf(buf, sizeof(buf)-2, "%s%c%s", getenv(STRINGIFY(ENVIRONMENT_HOME_DIR_NAME)), SLASH, FAXPROJECT); + preferences.fax_project = strdup(buf); + } + else if (getcwd(filename, sizeof(filename))) + { + snprintf(buf, sizeof(buf)-2, "%s%c%s", filename, SLASH, FAXPROJECT); + preferences.fax_project = strdup(buf); + } + else + { + preferences.fax_project = strdup(""); + } } if (!preferences.fax_command) @@ -2028,7 +2129,23 @@ static int xsane_pref_restore(void) if (!preferences.email_project) { - preferences.email_project = strdup(EMAILPROJECT); + char filename[PATH_MAX]; + char buf[PATH_MAX]; + + if (getenv(STRINGIFY(ENVIRONMENT_HOME_DIR_NAME)) != NULL) + { + snprintf(buf, sizeof(buf)-2, "%s%c%s", getenv(STRINGIFY(ENVIRONMENT_HOME_DIR_NAME)), SLASH, EMAILPROJECT); + preferences.email_project = strdup(buf); + } + else if (getcwd(filename, sizeof(filename))) + { + snprintf(buf, sizeof(buf)-2, "%s%c%s", filename, SLASH, EMAILPROJECT); + preferences.email_project = strdup(buf); + } + else + { + preferences.email_project = strdup(""); + } } if (!preferences.email_filetype) @@ -2039,7 +2156,23 @@ static int xsane_pref_restore(void) if (!preferences.multipage_project) { - preferences.multipage_project = strdup(MULTIPAGEPROJECT); + char filename[PATH_MAX]; + char buf[PATH_MAX]; + + if (getenv(STRINGIFY(ENVIRONMENT_HOME_DIR_NAME)) != NULL) + { + snprintf(buf, sizeof(buf)-2, "%s%c%s", getenv(STRINGIFY(ENVIRONMENT_HOME_DIR_NAME)), SLASH, MULTIPAGEPROJECT); + preferences.multipage_project = strdup(buf); + } + else if (getcwd(filename, sizeof(filename))) + { + snprintf(buf, sizeof(buf)-2, "%s%c%s", filename, SLASH, MULTIPAGEPROJECT); + preferences.multipage_project = strdup(buf); + } + else + { + preferences.multipage_project = strdup(""); + } } if (!preferences.multipage_filetype) @@ -2076,7 +2209,7 @@ static int xsane_pref_restore(void) { if (getenv(STRINGIFY(ENVIRONMENT_BROWSER_NAME))) { - preferences.browser = getenv(STRINGIFY(ENVIRONMENT_BROWSER_NAME)); + preferences.browser = strdup(getenv(STRINGIFY(ENVIRONMENT_BROWSER_NAME))); } else { @@ -2871,6 +3004,55 @@ static void xsane_set_pref_unit_callback(GtkWidget *widget, gpointer data) } /* ---------------------------------------------------------------------------------------------------------------------- */ +#ifdef HAVE_LIBLCMS +static void xsane_enable_color_management_callback(GtkWidget *widget, gpointer data) +{ + DBG(DBG_proc, "xsane_enable_color_management_callback\n"); + + xsane.enable_color_management = (GTK_CHECK_MENU_ITEM(widget)->active); + + gtk_widget_set_sensitive(xsane.edit_medium_definition_widget, (xsane.enable_color_management) == 0); + + if (xsane.enable_color_management) + { + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(xsane.edit_medium_definition_widget), FALSE); + xsane.medium_calibration = FALSE; + } + + xsane.gamma = 1.0; + xsane.gamma_red = 1.0; + xsane.gamma_green = 1.0; + xsane.gamma_blue = 1.0; + xsane.brightness = 0.0; + xsane.brightness_red = 0.0; + xsane.brightness_green = 0.0; + xsane.brightness_blue = 0.0; + xsane.contrast = 0.0; + xsane.contrast_red = 0.0; + xsane.contrast_green = 0.0; + xsane.contrast_blue = 0.0; + xsane.threshold = 50.0; + + xsane.slider_gray.value[2] = 100.0; + xsane.slider_gray.value[1] = 50.0; + xsane.slider_gray.value[0] = 0.0; + xsane.slider_red.value[2] = 100.0; + xsane.slider_red.value[1] = 50.0; + xsane.slider_red.value[0] = 0.0; + xsane.slider_green.value[2] = 100.0; + xsane.slider_green.value[1] = 50.0; + xsane.slider_green.value[0] = 0.0; + xsane.slider_blue.value[2] = 100.0; + xsane.slider_blue.value[1] = 50.0; + xsane.slider_blue.value[0] = 0.0; + + xsane_update_sliders(); + xsane_update_gamma_curve(FALSE); + xsane_batch_scan_update_icon_list(); + xsane_refresh_dialog(); +} +#endif +/* ---------------------------------------------------------------------------------------------------------------------- */ static void xsane_edit_medium_definition_callback(GtkWidget *widget, gpointer data) { @@ -3087,7 +3269,7 @@ static void xsane_info_dialog(GtkWidget *widget, gpointer data) gtk_box_pack_start(GTK_BOX(hbox), table, FALSE, FALSE, 5); gtk_widget_show(table); - if ((xsane.xsane_colors > 1) && (xsane.scanner_gamma_color)) /* color gamma correction by scanner */ + if ((xsane.xsane_channels > 1) && (xsane.scanner_gamma_color)) /* color gamma correction by scanner */ { const SANE_Option_Descriptor *opt; @@ -3108,7 +3290,7 @@ static void xsane_info_dialog(GtkWidget *widget, gpointer data) snprintf(buf, sizeof(buf), "%d bit", (int) (0.5 + log(opt->constraint.range->max+1.0) / log(2.0))); label = xsane_info_table_text_new(table, buf, 1, 2); } - else if ((!xsane.xsane_colors > 1) && (xsane.scanner_gamma_gray)) /* gray gamma correction by scanner */ + else if ((!xsane.xsane_channels > 1) && (xsane.scanner_gamma_gray)) /* gray gamma correction by scanner */ { const SANE_Option_Descriptor *opt; @@ -3996,7 +4178,7 @@ static GtkWidget *xsane_preferences_build_menu(void) gtk_widget_show(item); - +#if 0 /* change working directory */ item = gtk_menu_item_new_with_label(MENU_ITEM_CHANGE_WORKING_DIR); @@ -4010,6 +4192,18 @@ static GtkWidget *xsane_preferences_build_menu(void) item = gtk_menu_item_new(); gtk_menu_append(GTK_MENU(menu), item); gtk_widget_show(item); +#endif + +#ifdef HAVE_LIBLCMS + /* enable color management */ + + item = gtk_check_menu_item_new_with_label(MENU_ITEM_ENABLE_COLOR_MANAGEMENT); + g_signal_connect(GTK_OBJECT(item), "toggled", (GtkSignalFunc) xsane_enable_color_management_callback, NULL); + gtk_menu_append(GTK_MENU(menu), item); + gtk_widget_show(item); + xsane.enable_color_management_widget = item; +#endif + /* edit medium definitions */ @@ -4017,6 +4211,7 @@ static GtkWidget *xsane_preferences_build_menu(void) g_signal_connect(GTK_OBJECT(item), "toggled", (GtkSignalFunc) xsane_edit_medium_definition_callback, NULL); gtk_menu_append(GTK_MENU(menu), item); gtk_widget_show(item); + xsane.edit_medium_definition_widget = item; /* insert separator: */ @@ -4705,12 +4900,16 @@ static void xsane_device_dialog(void) GtkWidget *xsane_vbox_advanced; GdkColormap *colormap; SANE_Status status; + SANE_Handle sane_handle; DBG(DBG_proc, "xsane_device_dialog\n"); devname = xsane.devlist[xsane.selected_dev]->name; - status = sane_open(devname, (SANE_Handle *) &xsane.dev); +/* status = sane_open(devname, (SANE_Handle *) &xsane.dev); // old version */ + status = sane_open(devname, &sane_handle); + xsane.dev = sane_handle; + if (status != SANE_STATUS_GOOD) { snprintf(buf, sizeof(buf), "%s `%s':\n %s.", ERR_DEVICE_OPEN_FAILED, devname, XSANE_STRSTATUS(status)); @@ -4802,7 +5001,6 @@ static void xsane_device_dialog(void) xsane.device_text = strdup(devicetext); - /* if no preferences filename is given on commandline create one from devicenaname */ if (!xsane.device_set_filename) @@ -5383,27 +5581,27 @@ static void xsane_choose_device(void) gtk_container_set_border_width(GTK_CONTAINER(hbox), 5); gtk_widget_show(hbox); - /* The OK button */ + /* The Cancel button */ #ifdef HAVE_GTK2 - button = gtk_button_new_from_stock(GTK_STOCK_OK); + button = gtk_button_new_from_stock(GTK_STOCK_CANCEL); #else - button = gtk_button_new_with_label(BUTTON_OK); + button = gtk_button_new_with_label(BUTTON_CANCEL); #endif - GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT); - g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_choose_dialog_ok_callback, NULL); + gtk_widget_add_accelerator(button, "clicked", device_selection_accelerator_group, GDK_Escape, 0, DEF_GTK_ACCEL_LOCKED); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_exit, NULL); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); - gtk_widget_grab_default(button); gtk_widget_show(button); - /* The Cancel button */ + /* The OK button */ #ifdef HAVE_GTK2 - button = gtk_button_new_from_stock(GTK_STOCK_CANCEL); + button = gtk_button_new_from_stock(GTK_STOCK_OK); #else - button = gtk_button_new_with_label(BUTTON_CANCEL); + button = gtk_button_new_with_label(BUTTON_OK); #endif - gtk_widget_add_accelerator(button, "clicked", device_selection_accelerator_group, GDK_Escape, 0, DEF_GTK_ACCEL_LOCKED); - g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_exit, NULL); + GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_choose_dialog_ok_callback, NULL); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); + gtk_widget_grab_default(button); gtk_widget_show(button); gtk_widget_show(xsane.choose_device_dialog); @@ -5478,7 +5676,7 @@ static int xsane_init(int argc, char **argv) { int ch; - while((ch = getopt_long(argc, argv, "cd:efghlmnpsvFN:RV", long_options, 0)) != EOF) + while((ch = getopt_long(argc, argv, "cd:efghlmnpr:svFN:RV", long_options, 0)) != EOF) { switch(ch) { @@ -5497,7 +5695,9 @@ static int xsane_init(int argc, char **argv) g_print(" %s %s\n", TEXT_EMAIL_ADR, XSANE_EMAIL_ADR); g_print(" %s %s\n", TEXT_PACKAGE, XSANE_PACKAGE_VERSION); g_print(" %s%d.%d.%d\n", TEXT_GTK_VERSION, GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION); - +#ifdef HAVE_LIBLCMS + g_print(" %s\n", TEXT_WITH_CMS_FUNCTION); +#endif #ifdef HAVE_ANY_GIMP g_print(" %s, %s%s\n", TEXT_WITH_GIMP_SUPPORT, TEXT_GIMP_VERSION, GIMP_VERSION); #else @@ -5553,6 +5753,10 @@ static int xsane_init(int argc, char **argv) xsane.device_set_filename = strdup(optarg); break; + case 'r': /* --xsane-rc */ + xsane.xsane_rc_set_filename = strdup(optarg); + break; + case 'V': /* --viewer, default */ xsane.xsane_mode = XSANE_VIEWER; break; @@ -5606,6 +5810,14 @@ static int xsane_init(int argc, char **argv) } } + /* if no xsane_rc filename is given on commandline then use "xsane.rc" */ + + if (!xsane.xsane_rc_set_filename) + { + xsane.xsane_rc_set_filename = strdup("xsane"); /* ".rc" is appended later */ + } + + if (xsane_pref_restore()) /* restore preferences, returns TRUE if license is not accpted yet */ { if (xsane_display_eula(1)) /* show license and ask for accept/not accept */ @@ -5649,6 +5861,9 @@ static int xsane_init(int argc, char **argv) device_scanning_dialog = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_window_set_position(GTK_WINDOW(device_scanning_dialog), GTK_WIN_POS_CENTER); gtk_window_set_resizable(GTK_WINDOW(device_scanning_dialog), FALSE); +/* + gtk_window_set_deletable(GTK_WINDOW(device_scanning_dialog), FALSE); +*/ snprintf(buf, sizeof(buf), "%s %s", xsane.prog_name, XSANE_VERSION); gtk_window_set_title(GTK_WINDOW(device_scanning_dialog), buf); g_signal_connect(GTK_OBJECT(device_scanning_dialog), "delete_event", GTK_SIGNAL_FUNC(xsane_quit), NULL); @@ -5914,11 +6129,13 @@ int main(int argc, char **argv) xsane.histogram_int = 1; xsane.histogram_log = 1; - xsane.xsane_colors = -1; /* unused value to make sure that change of this vlaue is detected */ + xsane.xsane_channels = -1; /* unused value to make sure that change of this vlaue is detected */ xsane.scanner_gamma_color = FALSE; xsane.scanner_gamma_gray = FALSE; xsane.enhancement_rgb_default = TRUE; + xsane.enable_color_management = FALSE; + xsane.adf_page_counter = 0; xsane.print_filenames = FALSE; xsane.force_filename = FALSE; diff --git a/src/xsane.h b/src/xsane.h index 154bb52..4e4ddd8 100644 --- a/src/xsane.h +++ b/src/xsane.h @@ -3,7 +3,7 @@ xsane.h Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 1998-2005 Oliver Rauch + Copyright (C) 1998-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -69,6 +69,12 @@ #include <gdk/gdk.h> #include <gtk/gtk.h> +#ifdef HAVE_LIBLCMS +# include "lcms.h" +#else +# define cmsHTRANSFORM void * +#endif + /* ---------------------------------------------------------------------------------------------------------------------- */ #if 0 @@ -85,10 +91,10 @@ /* ---------------------------------------------------------------------------------------------------------------------- */ -#define XSANE_VERSION "0.991" +#define XSANE_VERSION "0.993" #define XSANE_AUTHOR "Oliver Rauch" #define XSANE_COPYRIGHT "Oliver Rauch" -#define XSANE_DATE "1998-2006" +#define XSANE_DATE "1998-2007" #define XSANE_EMAIL_ADR "Oliver.Rauch@xsane.org" #define XSANE_HOMEPAGE "http://www.xsane.org" #define XSANE_COPYRIGHT_TXT XSANE_DATE " " XSANE_COPYRIGHT @@ -381,7 +387,7 @@ typedef struct Image_info int image_height; int depth; - int colors; + int channels; double resolution_x; double resolution_y; @@ -404,6 +410,13 @@ typedef struct Image_info double threshold; int reduce_to_lineart; + + int enable_color_management; + int cms_function; + int cms_intent; + int cms_bpc; + + char icm_profile[PATH_MAX]; } Image_info; @@ -469,7 +482,14 @@ enum EMAIL_AUTH_ASMTP_LOGIN, EMAIL_AUTH_ASMTP_CRAM_MD5 }; - + +enum +{ + XSANE_CMS_FUNCTION_EMBED_SCANNER_ICM_PROFILE = 0, + XSANE_CMS_FUNCTION_CONVERT_TO_SRGB, + XSANE_CMS_FUNCTION_CONVERT_TO_WORKING_CS +}; + /* ---------------------------------------------------------------------------------------------------------------------- */ extern void xsane_pref_save(void); @@ -617,6 +637,7 @@ typedef struct Xsane char *backend; char *backend_translation; char *device_set_filename; + char *xsane_rc_set_filename; char *output_filename; char *dummy_filename; @@ -739,6 +760,9 @@ typedef struct Xsane GtkWidget *filename_entry; GtkWidget *filetype_option_menu; + /* for all modes */ + GtkWidget *cms_function_option_menu; + /* saving and transformation values: */ FILE *out; int xsane_mode; @@ -816,22 +840,24 @@ typedef struct Xsane GtkWidget *show_standard_options_widget; GtkWidget *show_advanced_options_widget; GtkWidget *show_resolution_list_widget; - GtkObject *zoom_widget; - GtkObject *gamma_widget; - GtkObject *gamma_red_widget; - GtkObject *gamma_green_widget; - GtkObject *gamma_blue_widget; - GtkObject *brightness_widget; - GtkObject *brightness_red_widget; - GtkObject *brightness_green_widget; - GtkObject *brightness_blue_widget; - GtkObject *contrast_widget; - GtkObject *contrast_red_widget; - GtkObject *contrast_green_widget; - GtkObject *contrast_blue_widget; - GtkObject *threshold_widget; - - SANE_Int xsane_colors; + GtkWidget *enable_color_management_widget; + GtkWidget *edit_medium_definition_widget; + GtkWidget *zoom_widget; + GtkWidget *gamma_widget; + GtkWidget *gamma_red_widget; + GtkWidget *gamma_green_widget; + GtkWidget *gamma_blue_widget; + GtkWidget *brightness_widget; + GtkWidget *brightness_red_widget; + GtkWidget *brightness_green_widget; + GtkWidget *brightness_blue_widget; + GtkWidget *contrast_widget; + GtkWidget *contrast_red_widget; + GtkWidget *contrast_green_widget; + GtkWidget *contrast_blue_widget; + GtkWidget *threshold_widget; + + SANE_Int xsane_channels; SANE_Bool scanner_gamma_color; SANE_Bool scanner_gamma_gray; @@ -945,10 +971,17 @@ typedef struct Xsane int enhancement_rgb_default; int negative; int show_preview; + + int enable_color_management; + char *scanner_active_icm_profile; + char *scanner_default_color_icm_profile; + char *scanner_default_gray_icm_profile; + int print_filenames; int force_filename; char *external_filename; + /* -------------------------------------------------- */ int ipc_pipefd[2]; /* for inter process communication error messages */ @@ -974,9 +1007,12 @@ typedef struct XsaneSetup GtkWidget *printer_gamma_red_entry; GtkWidget *printer_gamma_green_entry; GtkWidget *printer_gamma_blue_entry; + GtkWidget *printer_icm_profile_entry; + GtkWidget *printer_embed_csa_button; + GtkWidget *printer_embed_crd_button; GtkWidget *printer_width_entry; GtkWidget *printer_height_entry; - GtkWidget *printer_ps_flatdecoded_button; + GtkWidget *printer_ps_flatedecoded_button; GtkWidget *jpeg_image_quality_scale; GtkWidget *png_image_compression_scale; @@ -985,8 +1021,8 @@ typedef struct XsaneSetup GtkWidget *overwrite_warning_button; GtkWidget *increase_filename_counter_button; GtkWidget *skip_existing_numbers_button; - GtkWidget *save_ps_flatdecoded_button; - GtkWidget *save_pdf_flatdecoded_button; + GtkWidget *save_ps_flatedecoded_button; + GtkWidget *save_pdf_flatedecoded_button; GtkWidget *save_pnm16_as_ascii_button; GtkWidget *reduce_16bit_to_8bit_button; @@ -1020,7 +1056,7 @@ typedef struct XsaneSetup GtkWidget *fax_leftoffset_entry; GtkWidget *fax_bottomoffset_entry; GtkWidget *fax_height_entry; - GtkWidget *fax_ps_flatdecoded_button; + GtkWidget *fax_ps_flatedecoded_button; GtkWidget *tmp_path_entry; @@ -1041,6 +1077,15 @@ typedef struct XsaneSetup GtkWidget *ocr_gui_outfd_option_entry; GtkWidget *ocr_progress_keyword_entry; + GtkWidget *cms_intent_option_menu; + GtkWidget *cms_bpc_button; + GtkWidget *embed_scanner_icm_profile_for_gimp_button; + GtkWidget *scanner_default_color_icm_profile_entry; + GtkWidget *scanner_default_gray_icm_profile_entry; + GtkWidget *display_icm_profile_entry; + GtkWidget *custom_proofing_icm_profile_entry; + GtkWidget *working_color_space_icm_profile_entry; + int filename_counter_len; int tiff_compression16_nr; diff --git a/src/xsaneopts.h b/src/xsaneopts.h index 8dbd655..5e03f54 100644 --- a/src/xsaneopts.h +++ b/src/xsaneopts.h @@ -3,7 +3,7 @@ xsaneopts.h Oliver Rauch <Oliver.Rauch@rauch-domain.de> - Copyright (C) 1998-2005 Oliver Rauch + Copyright (C) 1998-2007 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify diff --git a/xsane.ACCELKEYS b/xsane.ACCELKEYS index 9a1706d..ee07415 100644 --- a/xsane.ACCELKEYS +++ b/xsane.ACCELKEYS @@ -12,6 +12,9 @@ H Menu Help Ctl S Scanmode Ctl C Copymode Ctl F Faxmode +Ctl V Viewermode +Ctl M Multipagemode +Ctl E Emailmode Ctl ENTER Start Scan ESC Cancel Scan @@ -25,24 +28,24 @@ Ctl P Save Device Settings (Put) Ctl G Load Device Settings (Get) Ctl D Change Directory -Ctl 1 Show Tooltips -Ctl 2 Show preview -Ctl 3 Show Histogram +Ctl 1 Show preview +Ctl 2 Show Histogram Ctl 3 (Show Gamma Dialog) -Ctl 4 Show Standard Options -Ctl 5 Show Advanced Options +Ctl 4 Show Batch Scan Window +Ctl 5 Show Standard Options +Ctl 6 Show Advanced Options Ctl B Browse Filename Shift Fi Printer selection in copy mode -Shift B Bind RGB -Shift N negative -Shift E AutoEnhance -Shift D Default -Shift R Restore Settings -Shift M Memory (store) settings -Shift S Setup +Ctl B Bind RGB +Ctl N negative +Ctl A AutoEnhance +Ctl 0 (zero) Default +Ctl R Restore Settings +Ctl + Memory (store) settings +Alt S Setup Alt P Start Preview Scan Alt ESC Cancel Preview Scan diff --git a/xsane.BACKENDS b/xsane.BACKENDS deleted file mode 100644 index 09be014..0000000 --- a/xsane.BACKENDS +++ /dev/null @@ -1,42 +0,0 @@ -The following backends are known to work with xsane - -backend version reported xsane-version remark -========================================================================================= - sane-artec 0.5 0.46 - sane-avision 0.2 0.49 - sane-canon ? 0.47 - sane-coolscan 0.42 0.50, 0.61 - sane-dll ok ok - sane-epson sane-1.0.1, >=0.13 0.50 - sane-fujitsu ? ? - sane-hp 0.83 0.50 - sane-m3096g 1.3 (sane-1.0.3) 0.60 (all?) - sane-microtek ? ? - sane-microtek2 0.8, pre0.9.020100 0.50 and earlier - sane-mustek ? 0.48, 0.50 - sane-mustek_pp 0.6-alpha .. 0.9-devel 0.61 - sane-net ok ok - sane-plustek 0.37 0.62? - sane-pnm sane-1.0.1 0.52 and earlier - sane-sharp ? 0.47 - sane-snapscan 0.57+ some problems - sane-sp15c 1.3 (sane-1.0.3) 0.60 (all?) - sane-tamarack ? 0.40 - sane-umax 1.0-build-* all - sane-v4l2 ? 0.51 not in the sane package - - -unknown state: --------------- - sane-abaton - sane-agfafocus - sane-apple - sane-dc210 - sane-dc25 - sane-dmc - sane-pint - sane-qcam - sane-ricoh - sane-st400 - sane-s9036 - @@ -7,13 +7,6 @@ ---------------------------------------------------------------------------------- -- xsane sometimes crashes at program startup with snapscan backend in panel_rebuild - while destroying the widgets - reason unknown, may be solved by test if widget exists - - (this bug report is very old, I donĀ“t know if it is still valid) - ----------------------------------------------------------------------------------- - If you have one of the problem above or any other problem please contact me and tell me: - used xsane version - cpu diff --git a/xsane.CHANGES b/xsane.CHANGES index e93c4ec..840e0d7 100644 --- a/xsane.CHANGES +++ b/xsane.CHANGES @@ -2562,7 +2562,7 @@ xsane-0.94 -> 0.95: - before sending the mail pnm images are converted into png images - after sending the mail the png images are erased - mail project status is translated now - - BUFIX: end of email text is marked with 0 byte + - BUGFIX: end of email text is marked with 0 byte - added function xsane_viewer_set_sensitivity() - moved all gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), TRUE/FALSE); to it @@ -2869,3 +2869,82 @@ xsane-0.99 -> 0.991: (before the scanresolution was used to define the image output size) - the resolution is not changed any more when an other printer with a different printer resolution is selected + - replaced all char buf[255], char buf[256] etc by char buf[TEXTBUFSIZE] + +xsane-0.991 -> 0.992: +--------------------- + - there was still a bug concerning the gimp plugin + when xsane has been quit in copy mode and afterwards + started as gimp plugin then xsane used the printer paper + size in the preview window. This is solved now: + replaced preferences.xsane_mode by xsane.xsane_mode + in xsane_define_maximum_output_size() + + - xsane_save_scaled_image sometimes did not write the last line + and produced a tuncated image. this is corrected now + + - viewer: when saved image is cloned and the viewer of the cloned + image is closed then no dialog pops up any more + + - translations: U=updated, N=not updated, A=added/new + ca cs da de es fr hu it ja nl pl pt pt_BR ro ru sk sl sr sv tr vi zh zh_CN + A N N N N N N U N N N N N N N N N N N N N N A + 99299 99 99 96 95 99 95 99 99 96 96 96 99 98 99 76 92 99 96 96 992 + + - xsane-preview.c: preview_create_batch_icon(): + bugfix: files (in) are closed directly after use now, + bug report from Norman Hill - thanks + + - corrected order of filetypes in xsane_back_gtk_filetype_menu_set_history, now + the filetype are not mixed any more when the disk icon is pressed + + - replaced all "\n" by "\r\n" in email + + - corrected some signdness warnings in xsane-preview.c (buf) + + - fixed memory bug that caused crash when setup was closed (display_notebook): + added strdup to preferences.browser = strdup(getenv(STRINGIFY(ENVIRONMENT_BROWSER_NAME))); + + - added command line option --xsane-rc / -r to change give alternative filename for xsane.rc + + - added support for color management: + - added tab "color management" to setup/preferences + - preview can display ICC/ICM corrected images with 8bits/color and with 16bits/color input bit depth + - viewer can display ICC/ICM corrected images with 8bits/color and with 16bits/color input bit depth + - gamma correction and medium selection is disabled when color management is enabled + - added support for embedded ICC/ICM files for + - tiff + - jpeg + - png + - gimp plugin + + - replaced several GtkObject* by GtkWidget* to avoid type-punned-pointer warning + + - replaced several (void**) typecasts in xsane-rc-io.c to avoid type-punned-pointer warning + +xsane-0.992 -> 0.993: +--------------------- + + - removed proofing intent options saturation and perceptual, only relative and absolutle colorimetric are available now + + - added CMS transformation to saving routines: pnm(8bit), pnm(16bit ascii and binary), png, jpeg, tiff, gimp-plugin, ps, pdf + (missing routines: multipage) + + - added support for gtk_file_chooser_dialog + all filenames are handled as full paths (beginning with a slahs) now, + the "change working directory" option has been removed + + - made "CANCEL" and "OK" button positions the same as gimp uses it (CANCEL=left, OK=right) + + - added browse function for projects directories + + - removed bugs in mail mode: + write(fd, "\r\n\r\n", 2) -> write(fd, "\r\n\r\n", 4) + write(fd, "\r\n", 1) -> write(fd, "\r\n", 2) + + - added embedded ICC profiles for postscript (CSA+CRD) and pdf + + - added 12 bits/channel support for postscript + + - added flatedecode without Asci85 compression for PDF + @@ -12,6 +12,7 @@ Sign explaination: save-function: - list of last used filenames - enable filters in save mode? + - ps needs a boundingbox, not only a pageboundingbox multipage-project: - reduce to lineart @@ -25,6 +26,7 @@ Sign explaination: scan-routines: # allow additional image data after each row (is sane standard conform) + - make visible if the user did a final scan with the recent settings fax-function: @@ -49,10 +51,6 @@ Sign explaination: - correct gtk custom gamma functions and include it or better: write an own gamma curve widget - medium selection: - - medium definition in dependance of the scanner (?) - (I am not sure if this makes sense with color managemant) - medium definition: # make grayscale values do not influence color values @@ -73,7 +71,6 @@ Sign explaination: # test if image file is writable before scan is started + cleanup of configuration file handling (problem with old config files should already be solved) - + add color management - may be via xcmsdb or scarse (www.scarse.org) + add several defaults (fax=> mode=gray, ocr=> mode=gray, ...) + test memory after each call of malloc - partly done - average of a multiple scan of the same image ??? @@ -84,6 +81,7 @@ Sign explaination: ? project save/load with preview image, scanmode, .... ??? + include special functions for GNOME/KDE - drag and drop for preview or viewer image? - other drag and drop functions? @@ -1,5 +1,5 @@ %define name xsane -%define version 0.991 +%define version 0.993 %define release 1 %define prefix /usr |