Re : dia .vsd .jpeg

2021-06-20 Thread nicolas . patrois
Le 20/06/2021 16:12:48, Frederic Zulian a écrit :

> J'ai une série de schémas en .vsd et .jpeg à réactualiser.
> L'utilisation de Dia ne me semble pas pratique dans ce cas.

> Des idées ?

inkscape pour les .vsd ?
Pour les images matricielles, tout dépend de ce que tu as à faire.
Peut-être pinta ou inkscape après les avoir vectorisées ?

nicolas patrois : pts noir asocial
-- 
RÉALISME

M : Qu'est-ce qu'il nous faudrait pour qu'on nous considère comme des humains ? 
Un cerveau plus gros ?
P : Non... Une carte bleue suffirait...



dia .vsd .jpeg

2021-06-20 Thread Frederic Zulian
Bonjour,

J'ai une série de schémas en .vsd et .jpeg à réactualiser.
L'utilisation de Dia ne me semble pas pratique dans ce cas.

Des idées ?

Frédéric ZULIAN


Re: convertir une image jpeg en tiff

2017-04-06 Thread G2PC
Le 06/04/2017 à 00:23, JF Straeten a écrit :
> Re,
>
> On Wed, Apr 05, 2017 at 08:39:11PM +0400, MALGORNd wrote:
>
> [...]
>> Par contre, je ne comprends pas l'intérêt de passer de .JPG en .TIFF
>> si ce n'est pour être compatible avec une application particulière.
> C'est tout à fait cela, en fait ; en tout cas, c'est ce que j'ai
> compris de la demande de Bernard : tesseract ne mangerait pas le jpeg
> en entrée (pas vérifié ; j'utilise toujours du pnm).
>
> A+
Comme dit, le logiciel OCR tesseract semble fonctionner correctement.

C'est plus le traitement de l'image, avant le scann de reconnaissance,
qui semble nécessaire, pour avoir une image sur fond plus blanc, et,
caractères plus noirs.



Re: convertir une image jpeg en tiff

2017-04-05 Thread JF Straeten

Re,

On Wed, Apr 05, 2017 at 08:39:11PM +0400, MALGORNd wrote:

[...]
> Par contre, je ne comprends pas l'intérêt de passer de .JPG en .TIFF
> si ce n'est pour être compatible avec une application particulière.

C'est tout à fait cela, en fait ; en tout cas, c'est ce que j'ai
compris de la demande de Bernard : tesseract ne mangerait pas le jpeg
en entrée (pas vérifié ; j'utilise toujours du pnm).

A+

-- 

JFS.



Re: convertir une image jpeg en tiff

2017-04-05 Thread Eric Degenetais
Par contre certains logiciels peuvent *détruire* de l'information comme le
module de gêne automatique à la saisie d'android qui m'a transformé "AMHA"
en achat ^^

Le 5 avr. 2017 6:59 PM, "Eric Degenetais" <edegenet...@henix.fr> a écrit :

Achat,  c'est forcément une méthode d'interpolation sans gain d'info, à
part dans les séries télé policières pseudo-scientifiques les ordinateurs
ne peuvent pas inventer les pixels qui n'étaient pas dans le fichier
d'origine...

Le 5 avr. 2017 6:39 PM, "MALGORNd" <daniel.malg...@laposte.net> a écrit :

>
>
> On 05/04/2017 15:32, Jean Bernon wrote:
> > Perso j'utilise les outils graphiques essentiellement sous Gnome. Mon
> > menu imagemagick n'a jamais marché. Quelqu'un a-t-il une idée sur ce
> point ?
> > Sinon la conversion de jpeg à tiff se fait en quelques clics avec Gimp :
> > ouvrir le fichier jpeg, choisir "fichier" "export as...", choisir tiff,
> > et c'est fini.
> >
>
> >
> > Plutôt qu'un problème de commande de l'OCR, c'est plutôt un problème
> > d'image, car, le fond beige de l'image ( découpée d'un " vieux "
> journal
> > ) empêche la reconnaissance de caractères.
> > Il faudrait pouvoir éclaircir l'image, enlever le fond beige pour
> garder
> > un fond blanc, accentuer le texte en noir également.
> > Le problème semble plus être de l'ordre de la bonne utilisation de
> Gimp
> > que de tesseract.
> >
> > Bonne après midi.
>
> Bonsoir,
>
> je viens de découvrir le bouton "Reply List" et si je n'ai pas pris le
> temps d'aller sur le forum, j'ai suivi avec intérêt la discussion.
>
> J'interviens pour signaler que j'obtiens de bons résultats pour
> éclaircir, rattraper une image avec gThumb. Il y a même des préréglages
> qui suffisent le plus souvent.
>
> J'aime bien aussi PINTA, plus rapide que GIMP.
>
> Par contre, je ne comprends pas l'intérêt de passer de .JPG en .TIFF si
> ce n'est pour être compatible avec une application particulière.
>
> Le format .TIFF a toujours été plus complet que .JPEG et partir d'une
> image .TIFF (ou .RAW ?) pour la réduire me semble possible en nuançant
> la qualité obtenue.par contre comment se feraient les compléments du
> JPG vers le .TIFF ? Quelles extrapolations?
>
> S'il ne s'agit pas d'un simple jeu d'écritures entre applications et que
> vous obtenez + de pixels ou des pixels différents bref, un réel
> changement de qualité de l'image,je veux bien abuser de votre sens
> pédagogique.
>
> Bien à vous.
>
>
>
>


Re: convertir une image jpeg en tiff

2017-04-05 Thread Eric Degenetais
Achat,  c'est forcément une méthode d'interpolation sans gain d'info, à
part dans les séries télé policières pseudo-scientifiques les ordinateurs
ne peuvent pas inventer les pixels qui n'étaient pas dans le fichier
d'origine...

Le 5 avr. 2017 6:39 PM, "MALGORNd" <daniel.malg...@laposte.net> a écrit :

>
>
> On 05/04/2017 15:32, Jean Bernon wrote:
> > Perso j'utilise les outils graphiques essentiellement sous Gnome. Mon
> > menu imagemagick n'a jamais marché. Quelqu'un a-t-il une idée sur ce
> point ?
> > Sinon la conversion de jpeg à tiff se fait en quelques clics avec Gimp :
> > ouvrir le fichier jpeg, choisir "fichier" "export as...", choisir tiff,
> > et c'est fini.
> >
>
> >
> > Plutôt qu'un problème de commande de l'OCR, c'est plutôt un problème
> > d'image, car, le fond beige de l'image ( découpée d'un " vieux "
> journal
> > ) empêche la reconnaissance de caractères.
> > Il faudrait pouvoir éclaircir l'image, enlever le fond beige pour
> garder
> > un fond blanc, accentuer le texte en noir également.
> > Le problème semble plus être de l'ordre de la bonne utilisation de
> Gimp
> > que de tesseract.
> >
> > Bonne après midi.
>
> Bonsoir,
>
> je viens de découvrir le bouton "Reply List" et si je n'ai pas pris le
> temps d'aller sur le forum, j'ai suivi avec intérêt la discussion.
>
> J'interviens pour signaler que j'obtiens de bons résultats pour
> éclaircir, rattraper une image avec gThumb. Il y a même des préréglages
> qui suffisent le plus souvent.
>
> J'aime bien aussi PINTA, plus rapide que GIMP.
>
> Par contre, je ne comprends pas l'intérêt de passer de .JPG en .TIFF si
> ce n'est pour être compatible avec une application particulière.
>
> Le format .TIFF a toujours été plus complet que .JPEG et partir d'une
> image .TIFF (ou .RAW ?) pour la réduire me semble possible en nuançant
> la qualité obtenue.par contre comment se feraient les compléments du
> JPG vers le .TIFF ? Quelles extrapolations?
>
> S'il ne s'agit pas d'un simple jeu d'écritures entre applications et que
> vous obtenez + de pixels ou des pixels différents bref, un réel
> changement de qualité de l'image,je veux bien abuser de votre sens
> pédagogique.
>
> Bien à vous.
>
>
>
>


Re: convertir une image jpeg en tiff

2017-04-05 Thread MALGORNd


On 05/04/2017 15:32, Jean Bernon wrote:
> Perso j'utilise les outils graphiques essentiellement sous Gnome. Mon
> menu imagemagick n'a jamais marché. Quelqu'un a-t-il une idée sur ce point ?
> Sinon la conversion de jpeg à tiff se fait en quelques clics avec Gimp :
> ouvrir le fichier jpeg, choisir "fichier" "export as...", choisir tiff,
> et c'est fini.
> 

> 
> Plutôt qu'un problème de commande de l'OCR, c'est plutôt un problème
> d'image, car, le fond beige de l'image ( découpée d'un " vieux " journal
> ) empêche la reconnaissance de caractères.
> Il faudrait pouvoir éclaircir l'image, enlever le fond beige pour garder
> un fond blanc, accentuer le texte en noir également.
> Le problème semble plus être de l'ordre de la bonne utilisation de Gimp
> que de tesseract.
> 
> Bonne après midi.

Bonsoir,

je viens de découvrir le bouton "Reply List" et si je n'ai pas pris le
temps d'aller sur le forum, j'ai suivi avec intérêt la discussion.

J'interviens pour signaler que j'obtiens de bons résultats pour
éclaircir, rattraper une image avec gThumb. Il y a même des préréglages
qui suffisent le plus souvent.

J'aime bien aussi PINTA, plus rapide que GIMP.

Par contre, je ne comprends pas l'intérêt de passer de .JPG en .TIFF si
ce n'est pour être compatible avec une application particulière.

Le format .TIFF a toujours été plus complet que .JPEG et partir d'une
image .TIFF (ou .RAW ?) pour la réduire me semble possible en nuançant
la qualité obtenue.par contre comment se feraient les compléments du
JPG vers le .TIFF ? Quelles extrapolations?

S'il ne s'agit pas d'un simple jeu d'écritures entre applications et que
vous obtenez + de pixels ou des pixels différents bref, un réel
changement de qualité de l'image,je veux bien abuser de votre sens
pédagogique.

Bien à vous.





Re: convertir une image jpeg en tiff

2017-04-05 Thread Jean Bernon
Perso j'utilise les outils graphiques essentiellement sous Gnome. Mon menu 
imagemagick n'a jamais marché. Quelqu'un a-t-il une idée sur ce point ? 
Sinon la conversion de jpeg à tiff se fait en quelques clics avec Gimp : ouvrir 
le fichier jpeg, choisir "fichier" "export as...", choisir tiff, et c'est fini. 

- Mail original -

> De: "G2PC" <g...@visionduweb.com>
> À: debian-user-french@lists.debian.org
> Envoyé: Mercredi 5 Avril 2017 12:56:06
> Objet: Re: convertir une image jpeg en tiff

> Le 04/04/2017 à 18:24, JF Straeten a écrit :
> > Re,
> >
> > On Tue, Apr 04, 2017 at 05:56:23PM +0200, G2PC wrote:
> >
> > [...]
> >> tesseract image.tif sortie -l fra
> >> Tesseract Open Source OCR Engine v3.04.01 with Leptonica
> >> Error opening data file
> >> /usr/share/tesseract-ocr/tessdata/fra.traineddata
> >> Please make sure the TESSDATA_PREFIX environment variable is set
> >> to the
> >> parent directory of your "tessdata" directory.
> >> Failed loading language 'fra'
> >> Tesseract couldn't load any languages!
> >> Could not initialize tesseract.
> > faut installer tesseract-ocr-fra qui contient les fichiers de
> > langue
> > spécifiques au français...
> >
> > Ou alors procéder sans le '-l fra' ; parfois ça suffit...
> > A+
> Bonjour
> Je ne suis pas convaincu que ajouter les fichiers de langue change
> quoi
> que ce soit.
> J'ai utilisé l'image de journal qui a un fond beige : image.jpg
> Conversion en .tif : convert image.jpg image.tif

> tesseract image.tif sortie -l fra
> Le fichier de sortie est vide.

> C'est donc le même résultat qu'avec la commande sans le pack de
> langue.
> tesseract image.tif sortie

> Plutôt qu'un problème de commande de l'OCR, c'est plutôt un problème
> d'image, car, le fond beige de l'image ( découpée d'un " vieux "
> journal
> ) empêche la reconnaissance de caractères.
> Il faudrait pouvoir éclaircir l'image, enlever le fond beige pour
> garder
> un fond blanc, accentuer le texte en noir également.
> Le problème semble plus être de l'ordre de la bonne utilisation de
> Gimp
> que de tesseract.

> Bonne après midi.


Re: convertir une image jpeg en tiff

2017-04-05 Thread G2PC
Le 04/04/2017 à 18:24, JF Straeten a écrit :
> Re,
>
> On Tue, Apr 04, 2017 at 05:56:23PM +0200, G2PC wrote:
>
> [...]
>> tesseract image.tif sortie -l fra
>> Tesseract Open Source OCR Engine v3.04.01 with Leptonica
>> Error opening data file /usr/share/tesseract-ocr/tessdata/fra.traineddata
>> Please make sure the TESSDATA_PREFIX environment variable is set to the
>> parent directory of your "tessdata" directory.
>> Failed loading language 'fra'
>> Tesseract couldn't load any languages!
>> Could not initialize tesseract.
> faut installer tesseract-ocr-fra qui contient les fichiers de langue
> spécifiques au français...
>
> Ou alors procéder sans le '-l fra' ; parfois ça suffit...
> A+
Bonjour
Je ne suis pas convaincu que ajouter les fichiers de langue change quoi
que ce soit.
J'ai utilisé l'image de journal qui a un fond beige : image.jpg
Conversion en .tif : convert image.jpg image.tif

tesseract image.tif sortie -l fra
Le fichier de sortie est vide.

C'est donc le même résultat qu'avec la commande sans le pack de langue.
tesseract image.tif sortie

Plutôt qu'un problème de commande de l'OCR, c'est plutôt un problème
d'image, car, le fond beige de l'image ( découpée d'un " vieux " journal
) empêche la reconnaissance de caractères.
Il faudrait pouvoir éclaircir l'image, enlever le fond beige pour garder
un fond blanc, accentuer le texte en noir également.
Le problème semble plus être de l'ordre de la bonne utilisation de Gimp
que de tesseract.

Bonne après midi.



Re: convertir une image jpeg en tiff

2017-04-05 Thread JF Straeten

Re,

On Wed, Apr 05, 2017 at 04:42:00AM +0200, Haricophile wrote:

> On peut aussi utiliser en graphique gscan2pdf, ou un autre front-end
> à tesseract. Ça n'enlève rien au fait d'installer les fichiers de
> langues ad'hoc

Bien sûr.

Sauf que si g2p se vautre, c'est une autre histoire pour récupérer tes
scans... Pas impossible, certes, mais chiant à souhait (les fichiers
sont dans /tmp, mais nommés bizarrement, et vas-y pour les remettre en
ordre).

Depuis une funeste expérience vers la page 300, rien ne vaut un bon
scanimage qui crache les scans sur disque au fur et à mesure, et qui
restent acquis :-/

A+

-- 

JFS.



Re: convertir une image jpeg en tiff

2017-04-04 Thread Haricophile
Le Tue, 4 Apr 2017 18:24:22 +0200,
"JF Straeten"  a écrit :

> faut installer tesseract-ocr-fra qui contient les fichiers de langue
> spécifiques au français...
> 
> Ou alors procéder sans le '-l fra' ; parfois ça suffit...

On peut aussi utiliser en graphique gscan2pdf, ou un autre front-end à
tesseract. Ça n'enlève rien au fait d'installer les fichiers de langues
ad'hoc

-- 
haricoph...@aranha.fr 



Re: convertir une image jpeg en tiff

2017-04-04 Thread JF Straeten

Re,

On Tue, Apr 04, 2017 at 05:56:23PM +0200, G2PC wrote:

[...]
> tesseract image.tif sortie -l fra
> Tesseract Open Source OCR Engine v3.04.01 with Leptonica
> Error opening data file /usr/share/tesseract-ocr/tessdata/fra.traineddata
> Please make sure the TESSDATA_PREFIX environment variable is set to the
> parent directory of your "tessdata" directory.
> Failed loading language 'fra'
> Tesseract couldn't load any languages!
> Could not initialize tesseract.

faut installer tesseract-ocr-fra qui contient les fichiers de langue
spécifiques au français...

Ou alors procéder sans le '-l fra' ; parfois ça suffit...

A+

-- 

JFS.



Re: convertir une image jpeg en tiff

2017-04-04 Thread G2PC


Le 04/04/2017 à 17:32, JF Straeten a écrit :
> tesseract  sortie -l fra
image.jpg au depart. (Article de journal, sur fond beige.)
convert image.jpg image.tif

tesseract image.tif sortie -l fra
Tesseract Open Source OCR Engine v3.04.01 with Leptonica
Error opening data file /usr/share/tesseract-ocr/tessdata/fra.traineddata
Please make sure the TESSDATA_PREFIX environment variable is set to the
parent directory of your "tessdata" directory.
Failed loading language 'fra'
Tesseract couldn't load any languages!
Could not initialize tesseract.



Re: convertir une image jpeg en tiff

2017-04-04 Thread JF Straeten

Re,


On Tue, Apr 04, 2017 at 05:07:47PM +0200, bernard.schoenac...@free.fr wrote:

[...]
> merci pour l'info et maintenant il s'agit de passer par tesseract
> pour obtenir le texte ...

tesseract  sortie -l fra

va ocriser le fichier  et cracher le texte dans 'sortie.txt'

Tu devrais aussi regarder alors du côté de 'jpegtopnm' ; c'est
peut-être une piste supplémentaire pour passer à tesseract.

Essaie peut-être aussi d'enlever la couleur du jpeg s'il est en
couleurs...

Hih,


-- 

JFS.



Re: convertir une image jpeg en tiff

2017-04-04 Thread G2PC
Le 04/04/2017 à 17:07, bernard.schoenac...@free.fr a écrit :
>
> - Mail original -
> De: "JF Straeten" <jfstrae...@scarlet.be>
> À: debian-user-french@lists.debian.org
> Envoyé: Mardi 4 Avril 2017 17:05:49
> Objet: Re: convertir une image jpeg en tiff
>
>
> Hello,
>
> On Tue, Apr 04, 2017 at 05:01:45PM +0200, bernard.schoenac...@free.fr wrote:
>
>> cf sujet et comment faire avec imagemagick
> Basiquement :
>
> convert image.jpeg image.tiff
>
>
> Mais il faudra peut-être ajuster l'algo de compression avec -compress 'XXX'
> convert image.jpeg -compress 'XXX' image.tiff
> suivant ce que tu veux dans le tiff...
> Hih,
convert image.jpg image.tif
tesseract image.tif text

Le soucis pour ton image de journal, elle est beige sur le fond. Il faut
surement la retravailler avec gimp.



Re: convertir une image jpeg en tiff

2017-04-04 Thread Dominique Asselineau
bernard.schoenac...@free.fr wrote on Tue, Apr 04, 2017 at 05:01:45PM +0200
> bonjour,
> 
> cf sujet et comment faire avec imagemagick

$ convert UneImege.jpg LaMeme.tiff

Convert du paquet imagemagick

--



Re: convertir une image jpeg en tiff

2017-04-04 Thread bernard . schoenacker


- Mail original -
De: "JF Straeten" <jfstrae...@scarlet.be>
À: debian-user-french@lists.debian.org
Envoyé: Mardi 4 Avril 2017 17:05:49
Objet: Re: convertir une image jpeg en tiff


Hello,

On Tue, Apr 04, 2017 at 05:01:45PM +0200, bernard.schoenac...@free.fr wrote:

> cf sujet et comment faire avec imagemagick

Basiquement :

convert image.jpeg image.tiff


Mais il faudra peut-être ajuster l'algo de compression avec -compress 'XXX'

convert image.jpeg -compress 'XXX' image.tiff

suivant ce que tu veux dans le tiff...

Hih,

-- 

JFS.

bonjour,

merci pour l'info et maintenant il s'agit de passer par tesseract 
pour obtenir le texte ...

slt
bernard



Re: convertir une image jpeg en tiff

2017-04-04 Thread JF Straeten

Hello,

On Tue, Apr 04, 2017 at 05:01:45PM +0200, bernard.schoenac...@free.fr wrote:

> cf sujet et comment faire avec imagemagick

Basiquement :

convert image.jpeg image.tiff


Mais il faudra peut-être ajuster l'algo de compression avec -compress 'XXX'

convert image.jpeg -compress 'XXX' image.tiff

suivant ce que tu veux dans le tiff...

Hih,

-- 

JFS.



convertir une image jpeg en tiff

2017-04-04 Thread bernard . schoenacker
bonjour,

cf sujet et comment faire avec imagemagick

merci

slt
bernard



Re: Son fichier mp4 H264 with AAC audio image jpeg

2017-01-03 Thread Randy11

On 27/12/2016 15:09, MERLIN Philippe wrote:

Bonjour,
J'ai des difficultés à lire et surtout à entendre son très faible des fichiers
vidéos MP4 H264 with AAC audio image jpeg, avec d'autres fichiers vidéo .avi je
n'ai aucun problème ni sur l'image ni sur le son. Il me semble que j'ai tous
les codecs nécessaire avez vous rencontré ce problème ? Si oui comment le
résoudre toute idée sera la bienvenue.
Philippe Merlin


Bonjour,

Mon réflexe dans cette situation est d'utiliser "mediainfo --full". Cela
permet de savoir exactement à quoi on a à faire.

Randy11



Re: (Résolu]Son fichier mp4 H264 with AAC audio image jpeg

2016-12-31 Thread MERLIN Philippe
Le mardi 27 décembre 2016, 18:00:25 CET didier gaumet a écrit :
> le plus simple serait probablement d'installer la version Qt ou gtk de
> easymp3gain pour augmenter le gain des fichiers audio ou vidéo qui te
Merci pour la suggestion, je l'ai solutionné autrement  ce n'est peut être pas 
très élégant mais comme c'est une capture j'ai augmenté au maximum le son qui 
venait de la freebox et cela marche. Pour easymp3gain-QT je l'ai installé 
venant d'Ubuntu sans problème, par contre quand j'ai voulu m'en servir sur la 
vidéo en question il m'a demandé d'installer aacgain ce que j'ai fait mais il 
a refusé de le reconnaître comme il n'y a pas de man j'ai abandonné.
Pour easymp3gain-gtk je n'ai pas réussi à l'installer peut être par ce que je 
suis en 64 bits.
Encore Merci .
Philippe Merlin



Re: Son fichier mp4 H264 with AAC audio image jpeg

2016-12-27 Thread didier gaumet

le plus simple serait probablement d'installer la version Qt ou gtk de
easymp3gain pour augmenter le gain des fichiers audio ou vidéo qui te
semblent inaudibles, sans toucher au volume, quel que soit le logiciel
utilisé pour la lecture.

sinon tu peux aussi jouer avec l'égaliseur audio de vlc pour régler le
gain (preamp)



Re: Son fichier mp4 H264 with AAC audio image jpeg

2016-12-27 Thread MERLIN Philippe
Le mardi 27 décembre 2016, 15:26:43 CET Alain Rpnpif a écrit :
> Bonjour,
> 
> Le 27 décembre 2016, MERLIN Philippe a écrit :
> > Bonjour,
> > J'ai des difficultés à lire et surtout à entendre son très faible des
> > fichiers vidéos MP4 H264 with AAC audio image jpeg, avec d'autres
> > fichiers vidéo .avi je n'ai aucun problème ni sur l'image ni sur le son.
> > Il me semble que j'ai tous les codecs nécessaire avez vous rencontré ce
> > problème ? Si oui comment le résoudre toute idée sera la bienvenue.
> 
> Ce n'est pas très clair. Quel est le problème exactement ?
> Avec quel logiciel ?
> 
> Voici quelques outils : vlc, ffmpeg, audacity.
J'ai essayé avec SMplayer2, xine, dragon player, MPV player, Kaffeine et 
chaque fois image correct et son inaudible ou presque inaudible.
L'appareil ayant créé le fichier est un Aver Media EZRecorder 130 qui le relit 
sans problème et il n'y a aucun problème de son.
Si je m'abuse audacity ne lit que des fichiers Audio, ffmpeg c'est en ligne de 
commande?
Amitié.
Philippe Merlin



Re: Son fichier mp4 H264 with AAC audio image jpeg

2016-12-27 Thread Alain Rpnpif
Bonjour,

Le 27 décembre 2016, MERLIN Philippe a écrit :

> Bonjour,
> J'ai des difficultés à lire et surtout à entendre son très faible des 
> fichiers 
> vidéos MP4 H264 with AAC audio image jpeg, avec d'autres fichiers vidéo .avi 
> je 
> n'ai aucun problème ni sur l'image ni sur le son. Il me semble que j'ai tous 
> les codecs nécessaire avez vous rencontré ce problème ? Si oui comment le 
> résoudre toute idée sera la bienvenue.

Ce n'est pas très clair. Quel est le problème exactement ?
Avec quel logiciel ?

Voici quelques outils : vlc, ffmpeg, audacity.

-- 
Alain Rpnpif



Son fichier mp4 H264 with AAC audio image jpeg

2016-12-27 Thread MERLIN Philippe
Bonjour,
J'ai des difficultés à lire et surtout à entendre son très faible des fichiers 
vidéos MP4 H264 with AAC audio image jpeg, avec d'autres fichiers vidéo .avi je 
n'ai aucun problème ni sur l'image ni sur le son. Il me semble que j'ai tous 
les codecs nécessaire avez vous rencontré ce problème ? Si oui comment le 
résoudre toute idée sera la bienvenue.
Philippe Merlin



Re: convert jpeg to size suitable for printing the image on an A4 with lpr

2015-08-16 Thread Emanuel Berg
Emanuel Berg embe8...@student.uu.se writes:

 This zsh works most of the time: then print the PDF.
 I say most of the time as sometimes the image gets
 cut in the edges - I don't know why ...

This hack still hasn't failed me. First, I do a PDF
that is A5 (i.e., smaller than A4). Then I print it on
a regular A4.

#! /bin/zsh

# This file: http://user.it.uu.se/~embe8573/conf/.zsh/jpeg2pdf

# more: ./gfx
#   ./dump
#   ./x

jpeg2pdf-paper () {
local paper=$1
shift
local pic
local pdf
for f in $@; do
pic=$f
pdf=${pic:r}-$paper.pdf
gs -sDEVICE=pdfwrite \
   -sPAPERSIZE=$paper \
   -o $pdf viewjpeg.ps \
   -c ($pic) viewJPEG showpage
done
}
jpeg2pdf-a5 () { jpeg2pdf-paper a5 $@ }
jpeg2pdf-a4 () { jpeg2pdf-paper a4 $@ }
jpeg2pdf-a3 () { jpeg2pdf-paper a3 $@ }
alias jpeg2pdf=jpeg2pdf-a4

-- 
underground experts united
http://user.it.uu.se/~embe8573



Re: convert jpeg to size suitable for printing the image on an A4 with lpr

2015-08-14 Thread Emanuel Berg
This zsh works most of the time: then print the PDF.
I say most of the time as sometimes the image gets
cut in the edges - I don't know why.

jpeg2pdf () {
local pic=$1
local pdf=${pic:r}.pdf
gs -sDEVICE=pdfwrite \
   -sPAPERSIZE=a4 \
   -o $pdf viewjpeg.ps \
   -c ($pic) viewJPEG showpage
}

-- 
underground experts united
http://user.it.uu.se/~embe8573



convert jpeg to size suitable for printing the image on an A4 with lpr

2015-08-12 Thread Emanuel Berg
I wrote this zsh wrapper to `convert' to do it.

With the 72 PPI resolution, the image get smaller!

With the 200 PPI resolution, the image gets bigger,
and it looks good when viewed with feh, but when
I print (with lpr) the increased-size image gets split
up in two parts on the paper with a black rectangular
box (?) showing up as well.

do-a4-pic () {
local pic=$1
local name=${pic:r}
local ext=${pic:e}
local new=${name}-a4.${ext}
local res=1654x2339 # 200 PPI; 595x842 for 72 PPI - 
http://www.a4papersize.org
convert $pic \
-resize $res \
-gravity center \
-background white \
-extent $res \
$new
}

This is the image I try to print in A4 size:

http://user.it.uu.se/~embe8573/bike/shimano-b.jpg

This image is the result of the above computation and
doesn't look good when printed:

http://user.it.uu.se/~embe8573/bike/shimano-b-a4.jpg

-- 
underground experts united
http://user.it.uu.se/~embe8573



Re: Fwd: New problem with GIMP plugin file-jpeg

2015-01-30 Thread Curt
On 2015-01-30, Lisi Reisz lisi.re...@gmail.com wrote:

 What about the Japanese?


Sorry. What I read was restricted to anglophones.

What about illiterates?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/slrnmcncr3.2k4.cu...@einstein.electron.org



Re: Fwd: New problem with GIMP plugin file-jpeg

2015-01-30 Thread Curt
On 2015-01-30, Curt cu...@free.fr wrote:
 On 2015-01-30, Lisi Reisz lisi.re...@gmail.com wrote:

 What about the Japanese?


 Sorry. What I read was restricted to anglophones.

Well, let's say American Study using empirical evidence gathered in
the good old USA applicable to, well, not the Japanese, obviously.

No, I'm not going vouch for the study nor bicker with anybody about it
any farther than this.

Sorry if it all wasn't clear to you from the beginning.

I'm outta here.

 What about illiterates?




-- 
“There’s no money in poetry, but then there’s no poetry in money,
either.” —Robert Graves


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/slrnmcndj3.2k4.cu...@einstein.electron.org



Re: Fwd: New problem with GIMP plugin file-jpeg

2015-01-30 Thread Curt
On 2015-01-30, Bob Proulx b...@proulx.com wrote:


 Doesn't X documents this as Mouse-1 and Mouse-3?  Clicking Mouse-1 is
 the primary mouse button.  No need to stress left or right and no need
 for confusing non-dominant mouse button either.  :-)  I would go
 with mouse-1.


Have we taken the politically correct to painfully facetious
extremes? 

We will now denominate the left-handed as Non-majoritively unidextrous
persons.

Please be advised.

Of course, the lefties have been persecuted for centuries.  I once read
that flipping through magazines from back to front (a habit of mine, as
the interesting stuff is always in the back) is the sign of a left-handed
individual who has been deprived in infancy of his natural impulse
towards non-majorititive unidexterity.

I have been dominated.

And so it goes.

-- 
“There’s no money in poetry, but then there’s no poetry in money,
either.” —Robert Graves


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/slrnmcmmsm.2k4.cu...@einstein.electron.org



Re: New problem with GIMP plugin file-jpeg

2015-01-30 Thread Ron
On Fri, 30 Jan 2015 11:24:32 +
Lisi Reisz lisi.re...@gmail.com wrote:

 What about the Japanese?

not to mention the Israelis, Farsis, Urdus, and the Muslims ?
 
Cheers,
 
Ron.
-- 
  A pessimist is an optimist
   in full possession of the facts.

   -- http://www.olgiati-in-paraguay.org --
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150130092302.626b8...@ron.cerrocora.org



Re: Fwd: New problem with GIMP plugin file-jpeg

2015-01-30 Thread Lisi Reisz
On Friday 30 January 2015 10:23:18 Curt wrote:
 I once read
 that flipping through magazines from back to front (a habit of mine, as
 the interesting stuff is always in the back) is the sign of a left-handed
 individual who has been deprived in infancy of his natural impulse
 towards non-majorititive unidexterity.

What about the Japanese?

Lisi


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/201501301124.32878.lisi.re...@gmail.com



Re: Fwd: New problem with GIMP plugin file-jpeg

2015-01-29 Thread Lisi Reisz
On Thursday 29 January 2015 14:52:53 Bret Busby wrote:
  There is this bug report:
 
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734519
 
  That just gives me a web page that displays
  Redirecting you to
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734519;
  that goes nowhere.
 
  Looks like yet another personal problem (I mean that is a functioning
  url, as far as I am concerned).

 Okay; the URL resolves (after a while) in Opera; it does not resolve
 (after a number of hours) in Arora.

Resolves fine (=fast) in Google Chrome, Iceweasel and Konqueror.  I never did 
much like Opera. ;-)

Lisi


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/201501291518.32642.lisi.re...@gmail.com



Fwd: New problem with GIMP plugin file-jpeg

2015-01-29 Thread Bret Busby
No acknowledgement of the message below, from the LTS list, so I am
forwarding the message to this list.

I assume that the LTS list is solely for the developers, and, not for
reporting problems that apparently arise from LTS updates.

Anyway, the problem is new, and, started after one of the LTS updates.

Maybe someone on this list, has an idea of how to fix the problem.

Thank you in anticipation.

-- 
Bret Busby
Armadale
West Australia
..

So once you do know what the question actually is,
 you'll know what the answer means.
- Deep Thought,
 Chapter 28 of Book 1 of
 The Hitchhiker's Guide to the Galaxy:
 A Trilogy In Four Parts,
 written by Douglas Adams,
 published by Pan Books, 1992




-- Forwarded message --
From: Bret Busby bret.bu...@gmail.com
Date: Wed, 28 Jan 2015 16:18:32 +0800
Subject: New problem with GIMP plugin file-jpeg
To: debian-...@lists.debian.org

Hello.

I have, in the last hour, tried to open a JPEG file, to crop it, using the GIMP.

I was unable to open that file.

I now can not open JPEG files with the GIMP.

The error message returned, includes


GIMP Message

Plug-in crashed: file-jpeg
(/usr/lib/gimp/2.0/plug-ins/file-jpeg)

The dying plug-in may have messed up GIMP's internal state. You may
want to save your images and restart GIMP to be on the safe side.

GIMP Message

Opening 'file name including path' failed: Procedure
'file-jpeg-load' returned no return values



I replaced the file name and path with
file name including path
as it does not matter what is the filename; files with the extension
.jpg, are no longer able to be opened with the GIMP.

I believe that recently, an update to the utility file was done; I
do not know whether this is a side effect.

I have exited and restarted the GIMP, a number of times, and, tried
with different .jpg files.

I also performed a system update, using apt-get, and, again tried
unsuccessfully to open JPEG files with the GIMP. I am aware of an
update to libjasper, that was installed.

The GIMP will simply no longer open that file type, on my system.

I also get the same error mesage, with .jpeg files

I have just searched for, downloaded, and, successfully opened, a .png
file, opening that file with the GIMP, so I assume that the problem
appears to apply to only JPEG files, using the GIMP.

-- 
Bret Busby
Armadale
West Australia
..

So once you do know what the question actually is,
 you'll know what the answer means.
- Deep Thought,
 Chapter 28 of Book 1 of
 The Hitchhiker's Guide to the Galaxy:
 A Trilogy In Four Parts,
 written by Douglas Adams,
 published by Pan Books, 1992




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cacx6j8phj9plvbhm5qhhkzwh+f2_qlmvtxn_zpsdg3kmz0o...@mail.gmail.com



Re: Fwd: New problem with GIMP plugin file-jpeg

2015-01-29 Thread Curt
On 2015-01-29, Bret Busby bret.bu...@gmail.com wrote:

 I was unable to open that file.

 I now can not open JPEG files with the GIMP.

 The error message returned, includes

 
 GIMP Message

 Plug-in crashed: file-jpeg
 (/usr/lib/gimp/2.0/plug-ins/file-jpeg)

 The dying plug-in may have messed up GIMP's internal state. You may
 want to save your images and restart GIMP to be on the safe side.

 GIMP Message

 Opening 'file name including path' failed: Procedure

Works for me using Squeeze lts, both from the console and once the
application is running. (Opening jpegs with the gimp, that is).

There is this bug report:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734519

Perhaps if you tried moving ~/.gimp-2.6 out of the way, or reinstalling
the gimp?








-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/slrnmck0sn.22f.cu...@einstein.electron.org



Re: Fwd: New problem with GIMP plugin file-jpeg

2015-01-29 Thread Bret Busby
On 29/01/2015, Curt cu...@free.fr wrote:

Thank you, Curt, for your quick response.

 On 2015-01-29, Bret Busby bret.bu...@gmail.com wrote:

 I was unable to open that file.

 I now can not open JPEG files with the GIMP.

 The error message returned, includes

 
 GIMP Message

 Plug-in crashed: file-jpeg
 (/usr/lib/gimp/2.0/plug-ins/file-jpeg)

 The dying plug-in may have messed up GIMP's internal state. You may
 want to save your images and restart GIMP to be on the safe side.

 GIMP Message

 Opening 'file name including path' failed: Procedure

 Works for me using Squeeze lts, both from the console and once the
 application is running. (Opening jpegs with the gimp, that is).


The way that I had tried to open the JPEG files (I should probably
have included this information), was finding the files, using the File
Manager, clicking on the files with the non-dominant mouse button, and
then selecting the menu option Open with - GIMP.

This method has consistently worked, prior to the occurrence of this
problem, and is useful, in directories full of image files, whose
names (of the files) I do not remember.

 There is this bug report:

 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734519

That just gives me a web page that displays
Redirecting you to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734519;
that goes nowhere.


 Perhaps if you tried moving ~/.gimp-2.6 out of the way, or reinstalling
 the gimp?


Haven't tried either of those options, yet.

I was thinking that, due to the circumstances involved, perhaps a
fault lies (?) with the update that was done to the file package.


-- 
Bret Busby
Armadale
West Australia
..

So once you do know what the question actually is,
 you'll know what the answer means.
- Deep Thought,
 Chapter 28 of Book 1 of
 The Hitchhiker's Guide to the Galaxy:
 A Trilogy In Four Parts,
 written by Douglas Adams,
 published by Pan Books, 1992




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CACX6j8OSwQ+9KW9v4my3SXr93EZctfoHhHNS2WR+v1s=u5r...@mail.gmail.com



Re: Fwd: New problem with GIMP plugin file-jpeg

2015-01-29 Thread Curt
On 2015-01-29, Bret Busby bret.bu...@gmail.com wrote:

 There is this bug report:

 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734519

 That just gives me a web page that displays
 Redirecting you to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734519;
 that goes nowhere.


Looks like yet another personal problem (I mean that is a functioning
url, as far as I am concerned).

 Perhaps if you tried moving ~/.gimp-2.6 out of the way, or reinstalling
 the gimp?


 Haven't tried either of those options, yet.

 I was thinking that, due to the circumstances involved, perhaps a
 fault lies (?) with the update that was done to the file package.


I'm unaware of any recent updates to the gimp, but I might have missed
something going by.  Of course, if there had been one, and it was faulty, I too
would have been affected, n'est-ce pas?

-- 
“There’s no money in poetry, but then there’s no poetry in money,
either.” —Robert Graves


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/slrnmckeiq.22f.cu...@einstein.electron.org



Re: Fwd: New problem with GIMP plugin file-jpeg

2015-01-29 Thread Bret Busby
On 29/01/2015, Curt cu...@free.fr wrote:
 On 2015-01-29, Bret Busby bret.bu...@gmail.com wrote:

 Okay; the URL resolves (after a while) in Opera; it does not resolve
 (after a number of hours) in Arora.

 Well, I think it's an Aurora problem not an url problem.

 I note that that bug report, whilst it refers to the same error
 message, relates to a different version of Debian; that bug report
 refers to Debian 7.1.

 As indicated, I am using Debian 6.x LTS.


 As I said, I successfully open jpeg files from the console
 (gimp file.jpeg), as well as from inside the gimp (using gimp's internal
 file manager).


Then, in the absence of information to the contrary, I assume that you
also are not able to open a JPEG file using the procedure that I
specified; using the File Manager, clicking on the file with the
non-dominant mouse button, and selecting the menu option Open with -
GIMP .

Please confirm or refute that..


-- 
Bret Busby
Armadale
West Australia
..

So once you do know what the question actually is,
 you'll know what the answer means.
- Deep Thought,
 Chapter 28 of Book 1 of
 The Hitchhiker's Guide to the Galaxy:
 A Trilogy In Four Parts,
 written by Douglas Adams,
 published by Pan Books, 1992




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cacx6j8ovxq3lzad1sefymc9+qey3vfb3m3eusxohbys81ey...@mail.gmail.com



Re: Fwd: New problem with GIMP plugin file-jpeg

2015-01-29 Thread Gene Heskett
On Thursday 29 January 2015 08:49:14 Curt did opine
And Gene did reply:
 On 2015-01-29, Bret Busby bret.bu...@gmail.com wrote:
  There is this bug report:
  
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734519
  
  That just gives me a web page that displays
  Redirecting you to
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734519; that goes
  nowhere.
 
 Looks like yet another personal problem (I mean that is a functioning
 url, as far as I am concerned).
 
  Perhaps if you tried moving ~/.gimp-2.6 out of the way, or
  reinstalling the gimp?
  
  Haven't tried either of those options, yet.
  
  I was thinking that, due to the circumstances involved, perhaps a
  fault lies (?) with the update that was done to the file package.
 
 I'm unaware of any recent updates to the gimp, but I might have missed
 something going by.  Of course, if there had been one, and it was
 faulty, I too would have been affected, n'est-ce pas?

FWIW, I am still on Lucid LTS, and I just called in 6 pix, .JPG 
extensions, about 4 megs each straight from my camera, smunched them down 
to a size I can email, and saved them back out, no problems.

So I agree with others, the OP's problem appears to be local to his 
machine.

Cheers, Gene Heskett
-- 
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
Genes Web page http://geneslinuxbox.net:6309/gene
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/201501290855.55722.ghesk...@wdtv.com



Re: Fwd: New problem with GIMP plugin file-jpeg

2015-01-29 Thread Lisi Reisz
On Thursday 29 January 2015 13:55:55 Gene Heskett wrote:
 On Thursday 29 January 2015 08:49:14 Curt did opine

 And Gene did reply:
  On 2015-01-29, Bret Busby bret.bu...@gmail.com wrote:
   There is this bug report:
  
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734519
  
   That just gives me a web page that displays
   Redirecting you to
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734519; that goes
   nowhere.
 
  Looks like yet another personal problem (I mean that is a functioning
  url, as far as I am concerned).

It's OK here too.

 FWIW, I am still on Lucid LTS, and I just called in 6 pix, .JPG
 extensions, about 4 megs each straight from my camera, smunched them down
 to a size I can email, and saved them back out, no problems.

 So I agree with others, the OP's problem appears to be local to his
 machine.

Gene, you are, as you say, running Lucid.  How can you possibly use that to 
say that there is not a bug in Squeeze LTS???

Your experience with Lucid is totally irrelevant.

Lisi


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/201501291423.35854.lisi.re...@gmail.com



Re: Fwd: New problem with GIMP plugin file-jpeg

2015-01-29 Thread Bret Busby
On 29/01/2015, Curt cu...@free.fr wrote:
 On 2015-01-29, Bret Busby bret.bu...@gmail.com wrote:

 There is this bug report:

 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734519

 That just gives me a web page that displays
 Redirecting you to
 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734519;
 that goes nowhere.


 Looks like yet another personal problem (I mean that is a functioning
 url, as far as I am concerned).


Okay; the URL resolves (after a while) in Opera; it does not resolve
(after a number of hours) in Arora.

I note that that bug report, whilst it refers to the same error
message, relates to a different version of Debian; that bug report
refers to Debian 7.1.

As indicated, I am using Debian 6.x LTS.


 Perhaps if you tried moving ~/.gimp-2.6 out of the way, or reinstalling
 the gimp?


 Haven't tried either of those options, yet.

 I was thinking that, due to the circumstances involved, perhaps a
 fault lies (?) with the update that was done to the file package.


 I'm unaware of any recent updates to the gimp, but I might have missed
 something going by.  Of course, if there had been one, and it was faulty, I
 too
 would have been affected, n'est-ce pas?


I did mention that an update had recently occurred, to the package
named file, and this problem occurred after that update had been
implemented.

I can not find from the full message header as displayed in gmail,
which version number of Debian, you are using. Are you using Debian
6.x LTS, or, Debian 7.x (or, yet another version of Debian)?

If you are not also using Debian 6.x LTS, then you might not have the
same problem.

If you try to open a JPEG file with the GIMP, using the same procedure
as me; using the File Manager to open the file with the GIMP, are you
successful, with that procedure?

That, you have not indicated.



-- 
Bret Busby
Armadale
West Australia
..

So once you do know what the question actually is,
 you'll know what the answer means.
- Deep Thought,
 Chapter 28 of Book 1 of
 The Hitchhiker's Guide to the Galaxy:
 A Trilogy In Four Parts,
 written by Douglas Adams,
 published by Pan Books, 1992




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CACX6j8NPiUw_nKx2xTvr1Vd=q-cajjevfooikeps0gmifo3...@mail.gmail.com



Re: Fwd: New problem with GIMP plugin file-jpeg

2015-01-29 Thread Curt
On 2015-01-29, Bret Busby bret.bu...@gmail.com wrote:

 Okay; the URL resolves (after a while) in Opera; it does not resolve
 (after a number of hours) in Arora.

Well, I think it's an Aurora problem not an url problem.

 I note that that bug report, whilst it refers to the same error
 message, relates to a different version of Debian; that bug report
 refers to Debian 7.1.

 As indicated, I am using Debian 6.x LTS.


As I said, I successfully open jpeg files from the console 
(gimp file.jpeg), as well as from inside the gimp (using gimp's internal
file manager).  

Once again, like you, I am running Squeeze lts.

-- 
“There’s no money in poetry, but then there’s no poetry in money,
either.” —Robert Graves


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/slrnmckl67.22f.cu...@einstein.electron.org



Re: Fwd: New problem with GIMP plugin file-jpeg

2015-01-29 Thread Curt
On 2015-01-29, Bret Busby bret.bu...@gmail.com wrote:

 As I said, I successfully open jpeg files from the console
 (gimp file.jpeg), as well as from inside the gimp (using gimp's internal
 file manager).

 Then, in the absence of information to the contrary, I assume that you
 also are not able to open a JPEG file using the procedure that I
 specified; using the File Manager, clicking on the file with the
 non-dominant mouse button, and selecting the menu option Open with -
 GIMP .


What File Manager are you talking about again?  I missed that part I
guess.

Works in Nautilus using your procedure (well, non-dominant mouse
button--I right-clicked--is that what you mean)?

-- 
“There’s no money in poetry, but then there’s no poetry in money,
either.” —Robert Graves


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/slrnmcl2fg.22f.cu...@einstein.electron.org



Re: Fwd: New problem with GIMP plugin file-jpeg

2015-01-29 Thread Bret Busby
On 30/01/2015, Curt cu...@free.fr wrote:
 On 2015-01-29, Bret Busby bret.bu...@gmail.com wrote:

 As I said, I successfully open jpeg files from the console
 (gimp file.jpeg), as well as from inside the gimp (using gimp's
 internal
 file manager).

 Then, in the absence of information to the contrary, I assume that you
 also are not able to open a JPEG file using the procedure that I
 specified; using the File Manager, clicking on the file with the
 non-dominant mouse button, and selecting the menu option Open with -
 GIMP .


 What File Manager are you talking about again?  I missed that part I
 guess.


The name for it is actually File Browser. It has as its icon, a two
drawer filing cabinet. It is in the Applications - System Tools menu.

 Works in Nautilus using your procedure (well, non-dominant mouse
 button--I right-clicked--is that what you mean)?


I try to consistently use the term non-dominant mouse button rather
than right-clicking, to allow for people who use left handed mice,
as well as right-handed mice. My wife, who is a software developer,
uses mice and pointing devices (she sometimes uses trackball things),
for both hands, due to too much mouse usage, requiring the switching
of hands.



I have since last posting, checked, and found that file-jpeg is part
of the GIMP package, from  the packages Search by package contents
facility on the packages.debian.org web page, and, not, as I had
assumed, part of the fiole package.

So, I tried the advice - removed then reinstalled the GIMP. That also
removed gnome-office (that I also reinstalled).

Now the GIMP will not load.

I assume, therefore, that my system is becoming even more unstable.

-- 
Bret Busby
Armadale
West Australia
..

So once you do know what the question actually is,
 you'll know what the answer means.
- Deep Thought,
 Chapter 28 of Book 1 of
 The Hitchhiker's Guide to the Galaxy:
 A Trilogy In Four Parts,
 written by Douglas Adams,
 published by Pan Books, 1992




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cacx6j8payzpyw-nd_qeevl0dcqksm8fpwkua1etb1+kenoj...@mail.gmail.com



Re: Fwd: New problem with GIMP plugin file-jpeg

2015-01-29 Thread John Hasler
Lisi writes:
 Makes sense - but it needs the explanation. :-/ Right click is less
 confusing, and can always be translated.

It certainly does need explanation.  Non-dominant mouse button makes
no sense at all to me.  None of the four buttons on my trackball are
dominant.
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/87a911uoix@thumper.dhh.gt.org



Re: Fwd: New problem with GIMP plugin file-jpeg

2015-01-29 Thread Bob Proulx
Bret Busby wrote:
 I try to consistently use the term non-dominant mouse button rather
 than right-clicking, to allow for people who use left handed mice,
 as well as right-handed mice. My wife, who is a software developer,
 uses mice and pointing devices (she sometimes uses trackball things),
 for both hands, due to too much mouse usage, requiring the switching
 of hands.

An admirable goal.  However I think that is more confusing.  A cure
worse than the disease.  I think anyone that goes to the trouble to
modify their system to be reversed from the normal will know they have
reversed things and will make the translation on the fly.  A user with
a left handed mouse will know to translate left-click into the correct
button for them.  They will see it often enough.

Doesn't X documents this as Mouse-1 and Mouse-3?  Clicking Mouse-1 is
the primary mouse button.  No need to stress left or right and no need
for confusing non-dominant mouse button either.  :-)  I would go
with mouse-1.

Bob


signature.asc
Description: Digital signature


Re: Fwd: New problem with GIMP plugin file-jpeg

2015-01-29 Thread Lisi Reisz
On Thursday 29 January 2015 19:52:21 Bret Busby wrote:
 I try to consistently use the term non-dominant mouse button rather
 than right-clicking, to allow for people who use left handed mice,
 as well as right-handed mice. My wife, who is a software developer,
 uses mice and pointing devices (she sometimes uses trackball things),
 for both hands, due to too much mouse usage, requiring the switching
 of hands.

Makes sense - but it needs the explanation. :-/  Right click is less 
confusing, and can always be translated.

Lisi


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/201501292344.04473.lisi.re...@gmail.com



Re: Why an mp3 is Not a JPEG file

2014-09-30 Thread Johann Klammer

On 09/30/2014 06:20 AM, Chris Bannister wrote:


As you can see I'm using mpv and it plays perfectly, it even mentions
the attached picture. Try mpv, I use it for everything.
So whether xine has a bug, I don't know, but if you can play it using
mpv, then I'd report the bug against xine saying where the file can be
found and that it plays OK with mpv.


I've noticed it works in alsaplayer...
Yes, seems it's a xine bug:
https://bugs.xine-project.org/show_bug.cgi?id=551



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/542aecac.9060...@a1.net



Why an mp3 is Not a JPEG file

2014-09-29 Thread Johann Klammer
Well, I know that an mp3 is not a JPEG file. But why does it matter to 
xine (or libav or whatever).


This is what I get on stdout when trying to play some random downloaded 
podcast using xine.


[...]
[mp3 @ 0xa660260] max_analyze_duration reached
[mp3 @ 0xa660260] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from '/home/klammerj/Downloads/267_EP267__Planetfall.mp3':
  Metadata:
encoded_by  : iTunes 10.1
title   : EP267: Planetfall
artist  : Michael C. Lea
album   : Escape Pod
track   : 267
TCP : 1
genre   : Podcast
date: 2010
  Duration: 00:32:49.62, start: 0.00, bitrate: 95 kb/s
Stream #0.0: Audio: mp3, 44100 Hz, 2 channels, s16p, 96 kb/s
Stream #0.1: Video: mjpeg, yuvj444p, 400x400, 90k tbn
Metadata:
  title   : ÿØÿà
  comment : Other
Not a JPEG file: starts with 0x28 0x00
[at this point xine terminates]

What to do?

this is on a debian testing

dpkg -l xine-ui libxine\*
Desired=Unknown/Install/Remove/Purge/Hold
| 
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend

|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture 
 Description

+++--===-===-==
un  libxine-doc  none  none 
 (no description available)
un  libxine1 none  none 
 (no description available)
ii  libxine2 1.2.6-1 i386 
 xine media player library – meta-package
ii  libxine2-bin 1.2.6-1 i386 
 xine video/media player library – binary files
ii  libxine2-doc 1.2.6-1 all 
 xine video player library – documentation files
ii  libxine2-ffmpeg  1.2.6-1 i386 
 MPEG-related plugins for libxine2
un  libxine2-gnome   none  none 
 (no description available)
ii  libxine2-misc-plugins1.2.6-1 i386 
 Input, audio output and post plugins for libxine2
un  libxine2-plugins none  none 
 (no description available)
ii  libxine2-x   1.2.6-1 i386 
 X desktop video output plugins for libxine2
ii  libxinerama-dev:i386 2:1.1.3-1   i386 
 X11 Xinerama extension library (development headers)
ii  libxinerama1:i3862:1.1.3-1   i386 
 X11 Xinerama extension library
ii  xine-ui  0.99.8-2i386 
 the xine video player, user interface


dpkg -l libav\*
Desired=Unknown/Install/Remove/Purge/Hold
| 
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend

|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture 
 Description

+++--===-===-==
ii  libav-tools  6:10.2-2i386 
 Multimedia player, encoder and transcoder
ii  libavahi-client3:i3860.6.31-4i386 
 Avahi client library
ii  libavahi-common-data:i3860.6.31-4i386 
 Avahi common data files
ii  libavahi-common-dev  0.6.31-4i386 
 Development files for the Avahi common library
ii  libavahi-common3:i3860.6.31-4i386 
 Avahi common library
ii  libavahi-compat-libdnssd1:i3 0.6.31-4i386 
 Avahi Apple Bonjour compatibility library
rc  libavahi-core7:i386  0.6.31-4i386 
 Avahi's embeddable mDNS/DNS-SD library
rc  libavahi-glib1:i386  0.6.31-4i386 
 Avahi GLib integration library
un  libavalon-framework-java none  none 
 (no description available)
ii  libavc1394-0:i3860.5.4-2 i386 
 control IEEE 1394 audio/video devices
ii  libavc1394-dev:i386  0.5.4-2 i386 
 control IEEE 1394 audio/video devices (development files)
un  libavcodec-extra-53  none  none 
 (no description available)
un  libavcodec-extra-54  none  none 
 (no description available)
un  libavcodec-extra-55  none  none 
 (no description available)
un  libavcodec53 none  none 
 (no description available)
ii  libavcodec54:i3866:9.11-1i386 
 Libav codec library
ii  libavcodec55:i3866:10.2-2i386 
 Libav codec library
un  libavdevice-extra-53 none  none 
 (no description available)
ii  libavdevice53:i386   6:9.11-1i386 
 Libav device handling library
ii  libavdevice54:i386   6:10.2-2i386 
 Libav device handling library
un  libavfilter-extra-3  none

Re: Why an mp3 is Not a JPEG file

2014-09-29 Thread Chris Bannister
On Tue, Sep 30, 2014 at 01:06:41AM +0200, Johann Klammer wrote:
 Well, I know that an mp3 is not a JPEG file. But why does it matter to xine
 (or libav or whatever).
 
 This is what I get on stdout when trying to play some random downloaded
 podcast using xine.
 
 [...]
 [mp3 @ 0xa660260] max_analyze_duration reached
 [mp3 @ 0xa660260] Estimating duration from bitrate, this may be inaccurate
 Input #0, mp3, from '/home/klammerj/Downloads/267_EP267__Planetfall.mp3':
   Metadata:
 encoded_by  : iTunes 10.1
 title   : EP267: Planetfall
 artist  : Michael C. Lea
 album   : Escape Pod
 track   : 267
 TCP : 1
 genre   : Podcast
 date: 2010
   Duration: 00:32:49.62, start: 0.00, bitrate: 95 kb/s
 Stream #0.0: Audio: mp3, 44100 Hz, 2 channels, s16p, 96 kb/s
 Stream #0.1: Video: mjpeg, yuvj444p, 400x400, 90k tbn
 Metadata:
   title   : ÿØÿà
   comment : Other
 Not a JPEG file: starts with 0x28 0x00
 [at this point xine terminates]
 
 What to do?

There is a jpeg picture embedded in some podcasts. You can see it if you
play it in your smartphone.


tal% wget 'http://traffic.libsyn.com/escapepod/267_EP267__Planetfall.mp3
[...]
Length: 23635538 (23M) [audio/mpeg]
^^
Hmmm, let's see if it plays

tal% mpv 267_EP267__Planetfall.mp3
Warning: mpv was compiled against a different version of libav than the
shared
library it is linked against. This can expose subtle ABI compatibility
issues
and can lead to misbehavior and crashes.
Playing: 267_EP267__Planetfall.mp3
[libav/demuxer] mp3: max_analyze_duration 500 reached
[libav/demuxer] mp3: Estimating duration from bitrate, this may be
inaccurate
[stream] Video (+) --vid=1 [P] 'ÿØÿà' (mjpeg)
[stream] Audio (+) --aid=1 (mp3)
File tags:
 encoded_by: iTunes 10.1
  title: EP267: Planetfall
  artist: Michael C. Lea
  album: Escape Pod
  track: 267
  TCP: 1
  genre: Podcast
  date: 2010
Displaying attached picture. Use --no-audio-display to prevent this.
[vo/vdpau/x11] couldn't open the X11 display ()!
[vo/xv/x11] couldn't open the X11 display ()!
[vo/sdl] SDL_Init failed
[vo/vaapi/x11] couldn't open the X11 display ()!
[vo/x11/x11] couldn't open the X11 display ()!
AO: [alsa] 48000Hz stereo 2ch s16
(...) AV: 00:00:00 / 00:32:49 (0%)
VO: [null] 400x400 = 400x400 yuv444p
AV: 00:00:24 / 00:32:49 (1%)


As you can see I'm using mpv and it plays perfectly, it even mentions
the attached picture. Try mpv, I use it for everything.
So whether xine has a bug, I don't know, but if you can play it using
mpv, then I'd report the bug against xine saying where the file can be
found and that it plays OK with mpv.

-- 
If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing. --- Malcolm X


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140930041319.GG21456@tal



Re: (OT) não consigo alterar MIME type de arquivos jpeg no XFCE

2014-04-28 Thread Gunther Furtado
consegui! tem um arquivo default.list que da para incluir linhas.

$ mimetype arquivo.jpg

retorna o que deve ser incluído.

--

Parece falso el arrebol
que se desprende de su ser.
Viene del reino de Satán,
toda su sangre respondió,
quemas el árbol del amor,
dejas cenizas al pasar. Violeta Parra


Gunther Furtado
Curitiba - Paraná - Brasil
gunfurt...@gmail.com
sip:furta...@ekiga.net




Em 26 de abril de 2014 16:13, Gunther Furtado gunfurt...@gmail.comescreveu:

 Olá,

 O Thunar (1.6.3) na minha instalação do xfce (4.10) em um debian
 testing totalmente atualizado quase sem nada de GNOME, encasquetou que
 só o Windows Internet explorer do wine pode abrir arquivos jpeg.

 O botão direito-abrir com-imagemagick funciona corretamente mas a
 questão é que mesmo usando Menu de Aplicações-Configurações-Editar
 MIME type e trocar o aplicativo vinculado a jpeg, o xfve torna a
 escolher o Windows Internet explorer do wine.

 Já desinstalei o wine  já apaguei os .wine* e nada. duplo clique sobre
 os jpeg e não acontece nada...

 já fucei em default.list e não consigo mudar o diacho do comportamento
 do xfce.

 Dicas?

 Abrax!
 --

 ...E que fique muito mal explicado.  Não faço força para
  ser entendido. Quem faz sentido é soldado... Mario Quintana

 Gunther Furtado
 Curitiba - Paraná - Brasil
 gunfurt...@gmail.com
 skype:gunfurtado



(OT) não consigo alterar MIME type de arquivos jpeg no XFCE

2014-04-26 Thread Gunther Furtado
Olá,

O Thunar (1.6.3) na minha instalação do xfce (4.10) em um debian
testing totalmente atualizado quase sem nada de GNOME, encasquetou que
só o Windows Internet explorer do wine pode abrir arquivos jpeg.

O botão direito-abrir com-imagemagick funciona corretamente mas a
questão é que mesmo usando Menu de Aplicações-Configurações-Editar
MIME type e trocar o aplicativo vinculado a jpeg, o xfve torna a
escolher o Windows Internet explorer do wine.

Já desinstalei o wine  já apaguei os .wine* e nada. duplo clique sobre
os jpeg e não acontece nada...

já fucei em default.list e não consigo mudar o diacho do comportamento
do xfce.

Dicas?

Abrax!
-- 

...E que fique muito mal explicado.  Não faço força para
 ser entendido. Quem faz sentido é soldado... Mario Quintana

Gunther Furtado
Curitiba - Paraná - Brasil
gunfurt...@gmail.com
skype:gunfurtado


--
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140426161307.47ac7...@shrknemo.gbcm.net



Re: Printing problem jpeg file size gets multiplied???

2011-07-12 Thread Camaleón
On Mon, 11 Jul 2011 16:25:48 -0500, Jack Schneider wrote:

 I have two jpeg files on my desktop. Both show correct file sizes in
 Properties.  Running Debian Squeeze Up2date.  Printer is Lexmark C540
 Xl, printer properties shows connected to printer. via my local network.
 
 Using Gthumb to print, it sends to queue and hangs... never prints...
 Lexmark printer eventually goes to powersave mode  top of list is
 processing
 Looking at queue  for one image shows a file size of  25megs  for a 2.2
 meg jpeg file.   Both file sizes seem to be up by a factor of 10
 
 Where can I look for a start???

Don't go nuts :-)

The real size of your jpeg file does not have nothing to do with the size 
it turns when you send it to the printer and then queued.

What you see in the printer queue is the result of the job processing 
that depends to the printer driver in use, the complexity of the file 
(text renders faster than images), selected quality setting (300 dpi goes 
faster than 1200 dpi), and all that.

Try by reducing the output quality and if you can or test with another 
driver (i.e., if you have a PS printer and currently using a PS driver, 
try with PCL6, Poscript is very very slw in linux :-P). Also, check 
if there is any PPD updated file available for your printer model.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.07.12.17.53...@gmail.com



Printing problem jpeg file size gets multiplied???

2011-07-11 Thread Jack Schneider
Hi, All
I have two jpeg files on my desktop. Both show correct file sizes in
Properties.  Running Debian Squeeze Up2date.  Printer is Lexmark C540
Xl, printer properties shows connected to printer. via my local network.

Using Gthumb to print, it sends to queue and hangs... never prints...
Lexmark printer eventually goes to powersave mode  top of list is
processing
Looking at queue  for one image shows a file size of  25megs  for a 2.2
meg jpeg file.   Both file sizes seem to be up by a factor of 10 

Where can I look for a start??? 

TIA, Jack


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110711162548.71aa765f@Speeduke



Why is cups printing of jpeg images so slow. compare with windows

2008-03-10 Thread Mitchell Laks
Hi,

I have always noticed that when my  HP laserjet 1200 postscript printer
is printing images, it goes very very slowly.

i  use Foomatic/pxlmono (recommended) driver.

However for some reason, 

at work the windows printers are very fast.

What is wrong. What am i doing wrong?

Is true of any web page with images - they print slow - very slow from
linux. Not so with windows.

Mitchell


 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Why is cups printing of jpeg images so slow. compare with windows

2008-03-10 Thread Keith Richie
On Mon, Mar 10, 2008 at 7:27 PM, Mitchell Laks [EMAIL PROTECTED] wrote:
 Hi,

  I have always noticed that when my  HP laserjet 1200 postscript printer
  is printing images, it goes very very slowly.

  i  use Foomatic/pxlmono (recommended) driver.

  However for some reason,

  at work the windows printers are very fast.

  What is wrong. What am i doing wrong?

  Is true of any web page with images - they print slow - very slow from
  linux. Not so with windows.

  Mitchell





  --
  To UNSUBSCRIBE, email to [EMAIL PROTECTED]
  with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]





Too many what if's, what are your settings, what browser/application
are you printing with, are PC specs, cable connection
(USB/LP/Ethernet), printer ram, document type, applications the same
between your PC and the work PCs?

First, Konquerer had (still has?) no ability to print in gray scale,
which will increase the print processing by at least 10-15 seconds.
Use Firefox/IceWeasel instead. Make sure your apps and printer is set
to render the pages as gray scale.

Is taking a long time to process (spool) the page, or once the page
is sent, the printer it self is slow. There is a difference :). If
it's taking a while to process the job before the printer starts, it's
the program you're using to print with, not the printer nor print
driver. I found Evince to be painfully slow with some PDF documents if
the publisher uses weird non standard fonts. Once it's processed, my
laser still chews out 36ppm.

Why not give the hpijs/hplip driver a shot. It's an open source driver
for HP printers written by HP. http://hplip.sourceforge.net/
Debian Etch/Stable offers 1.6.10, Lenny/testing has 2.7.10, current
version from HP is 2.8.2.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Jpeg to pdf filter?

2007-12-20 Thread ISHWAR RATTAN


Is there such a utility that can convert a scaned image
(saved in jpeg) to a pdf format?

-ishwar


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Jpeg to pdf filter?

2007-12-20 Thread Douglas A. Tutty
On Thu, Dec 20, 2007 at 08:35:18PM -0500, ISHWAR RATTAN wrote:
 
 Is there such a utility that can convert a scaned image
 (saved in jpeg) to a pdf format?

I suppose it depends on what you're doing.  I don't know of a
command-line tool that will take foo.jpg and turn it into foo.pdf.

However, you can probably put a jpeg image in a LaTex document.

You can put a picture element on a page in xfig and pull in the jpeg
file to fill it.  

So if you only want the jpeg file, xfig is probably the easiest.

Presumably, any graphics editor can give you a postscript file
output which can be chaged to pdf with one of those utilities.

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Jpeg to pdf filter?

2007-12-20 Thread Raj Kiran Grandhi

ISHWAR RATTAN wrote:


Is there such a utility that can convert a scaned image
(saved in jpeg) to a pdf format?



try `convert' from the imagemagick suite.
For eg:
convert source.jpg dest.pdf


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Jpeg to pdf filter?

2007-12-20 Thread Samuel Bächler

 Is there such a utility that can convert a scaned image (saved in
 jpeg) to a pdf format?


As far as I know sam2p [1] is one of the best for that kind of jobs.

s.

[1] http://www.inf.bme.hu/~pts/sam2p



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Display JPEG compression

2007-09-06 Thread Benjamí Villoslada
El Dimecres 05 Setembre 2007, Florian Kulzer va escriure:
 $ identify -verbose The-Horse-in-Motion.jpg | grep Quality
   Quality: 85

Thanks, Florian and Oscar.  Identify works fine :)

-- 
Benjamí
http://blog.bitassa.cat



.



Display JPEG compression

2007-09-05 Thread Benjamí Villoslada
Hi,

Anyone knows what command line program can display the compression info from 
JPEG files?  Thanks!

Regards,

-- 
Benjamí
http://blog.bitassa.cat



.



Re: Display JPEG compression

2007-09-05 Thread Oscar Diaz Fernandez
You can try with: identify -verbose image.jpeg

Regards,
Óscar Díaz.


On 9/5/07, Benjamí Villoslada [EMAIL PROTECTED] wrote:

 Hi,

 Anyone knows what command line program can display the compression info
 from
 JPEG files?  Thanks!

 Regards,

 --
 Benjamí
 http://blog.bitassa.cat



 .




Re: Display JPEG compression

2007-09-05 Thread Florian Kulzer
On Wed, Sep 05, 2007 at 15:46:52 +0200, Benjamí Villoslada wrote:
 Hi,
 
 Anyone knows what command line program can display the compression info from 
 JPEG files?  Thanks!

One possibility is using the identify command from the imagemagick
package:

$ identify -verbose The-Horse-in-Motion.jpg | grep Quality
  Quality: 85

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |



Re: Display JPEG compression

2007-09-05 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/05/07 09:28, Oscar Diaz Fernandez wrote:
 
 You can try with: identify -verbose image.jpeg

I'm not sure that JPEG images store compression level like zip
files do.

 
 
 On 9/5/07, *Benjamí Villoslada * [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
 
 Hi,
 
 Anyone knows what command line program can display the compression
 info from
 JPEG files?  Thanks!

- --
Ron Johnson, Jr.
Jefferson LA  USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFG3sD4S9HxQb37XmcRAow1AKCFkmioUQbYl0QqEx16adn6wLqKJgCfSilG
HUR1/0a/2zGCKumxXlnMAoQ=
=FQjj
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: printing jpeg images A4 size

2007-02-14 Thread mlist1
Try with this program:

http://sign-el-soft.hu/cgi/ng-xim.en.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



printing jpeg images A4 size

2007-02-13 Thread Hugo Vanwoerkom

Hi,


I have scanned document images that are jpeg files.

But I want to print them so that they fill the whole printed page.

It doesn't seem to work :-(

The images are 1204x1644. With Imagemagick or feh they show up 
fullscreen, but when I print them they keep filling about a quarter of a 
printed page.


Resizing has no effect.

Anybody know how to make a jpeg image fill the entire printed page and 
print it as such?


Thanks.

Hugo


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: printing jpeg images A4 size

2007-02-13 Thread Hugo Vanwoerkom

Hugo Vanwoerkom wrote:

Hi,


I have scanned document images that are jpeg files.

But I want to print them so that they fill the whole printed page.

It doesn't seem to work :-(

The images are 1204x1644. With Imagemagick or feh they show up 
fullscreen, but when I print them they keep filling about a quarter of a 
printed page.


Resizing has no effect.

Anybody know how to make a jpeg image fill the entire printed page and 
print it as such?




I manage it in a ridiculous way: I display them with:
http://packages.debian.org/unstable/web/wordpress

and adjust the size of the image to fit a printed page and when done so, 
print.


But there has to be a more elegant way.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: printing jpeg images A4 size

2007-02-13 Thread csanyipal
On Tue, Feb 13, 2007 at 11:12:47AM -0600, Hugo Vanwoerkom wrote:

 Anybody know how to make a jpeg image fill the entire printed page and 
 print it as such?
 
 
 I manage it in a ridiculous way: I display them with:
 http://packages.debian.org/unstable/web/wordpress
 
 and adjust the size of the image to fit a printed page and when done so, 
 print.

I use gThumb to print images (jpg, etc.) on A4 paperformat.

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: how to detect if a jpeg file is progressive or not

2006-06-11 Thread Michelle Konzack
Am 2006-05-31 20:17:34, schrieb H.S.:

 That was really great help. Thank a ton. The problem of identifying an
 image as progressive or not is solved.

I use the netpbm package and its tools.

 The problem left is to convert all my current jpegs into progressive
 ones. jpegtran did the job (the following is one long command):
 $ for f in *.jpg; do echo $f; mv $f tmp.jpg; jpegtran  -progressive
 tmp.jpg   $f; rm -f tmp.jpg; done
 
 (I am sure there is a way to use the stdout and stdin in this procedure
 instead of tmp.jpg, but I didn't check)

Why not use netpbm?

for f in *.jpg; do
  echo $f
  jpegtoppm $f |ppmtojpeg  -progressive  $f.tmp
  mv -f $f.tmp $f
done

Greetings
Michelle Konzack


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSM LinuxMichi
0033/6/6192519367100 Strasbourg/France   IRC #Debian (irc.icq.com)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: how to detect if a jpeg file is progressive or not

2006-06-02 Thread H.S.
Wayne Topa wrote:

 All of the inages on our web site are converted with the 'quality 25'
 option.  I find a lot of sites with images that are 100K or more just
 take too long to load.  There are still a lot of us that live in the
 sticks and don't have access to anything but slow POT lines.  


Hi Wayne,

I tried your way and converted all the image with quality 25. You are
right, I couldn't notice any perceptual difference at normal size. The
different is noticable only if you magnify the image.

I had a total of 14 images of size 2272x1704 (taken by a 4 megapixel
digital camera). I reduced them in size (682x511 pixels; or to 30%) and
their quality (to 25). The reduced size images were taking a total of
2.7 MB at default quality. But by using quality 25, the disk space usage
reduced to 0.608 MB! This is a great improvement. (I am still getting
progressive jpegs as the output.)

Here is the command I used to do the conversion (it is a one long line):
$ for f in *.jpg; do echo $f; bn=`basename $f .jpg`; convert
-resize 30% -quality 25 -interlace plane $f ${bn}-small.jpg; done


Thanks,
-HS




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: how to detect if a jpeg file is progressive or not

2006-06-02 Thread Wayne Topa
H.S.([EMAIL PROTECTED]) is reported to have said:
 Hi Wayne,
 
 I tried your way and converted all the image with quality 25. You are
 right, I couldn't notice any perceptual difference at normal size. The
 different is noticable only if you magnify the image.
 
 I had a total of 14 images of size 2272x1704 (taken by a 4 megapixel
 digital camera). I reduced them in size (682x511 pixels; or to 30%) and
 their quality (to 25). The reduced size images were taking a total of
 2.7 MB at default quality. But by using quality 25, the disk space usage
 reduced to 0.608 MB! This is a great improvement. (I am still getting
 progressive jpegs as the output.)

Glad to hear it helped.  I have added the '-interlace plane' to my
script, thanks to you, and am getting my images down a bit more as
well.

 
 Here is the command I used to do the conversion (it is a one long line):
 $ for f in *.jpg; do echo $f; bn=`basename $f .jpg`; convert
 -resize 30% -quality 25 -interlace plane $f ${bn}-small.jpg; done

Very nice.  I used to do the convert to selected images in my Digikam
album's but had to go to a script since the last Digikam upgrade.  It
seems the batch processing was left out in this version.  

I'm glad you posted your query.  I have learned something new again
this week!  DU never fails!

Best Regards

Wayne

-- 
At the source of every error which is blamed on the computer you will
find at least two human errors, including the error of blaming it on
the computer.
___


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: how to detect if a jpeg file is progressive or not

2006-06-01 Thread Wayne Topa
H.S.([EMAIL PROTECTED]) is reported to have said:
 Olafur Jens Sigurdsson wrote:
 
  Imagemagick does the trick for you.
  
  To see if your files are interlaced or not you can use identify
  -verbose filename.jpg and search for the Interlace line and if it says
  None then it isnt a progressive jpeg and if it says Plane it is.
 
 That was really great help. Thank a ton. The problem of identifying an
 image as progressive or not is solved.
 
  
  To convert from basic to progressive use convert infile.jpg -interlace
  Plane outfile.jpg
 
 The problem left is to convert all my current jpegs into progressive
 ones. jpegtran did the job (the following is one long command):
 $ for f in *.jpg; do echo $f; mv $f tmp.jpg; jpegtran  -progressive
 tmp.jpg   $f; rm -f tmp.jpg; done
 
 (I am sure there is a way to use the stdout and stdin in this procedure
 instead of tmp.jpg, but I didn't check)
H.S.

Having never heard of a progressive jpeg I was interested in your
query, and the answer you received.  

I tried out the conversion to progressive on some of my large jpegs
to see if it would help (as I have the same problem you have, dialup).

I used the suggested convert command on a 77K jpeg and it was
converted to 68K.  Not bad but I have been using a different convert
option and getting much better results.

convert -quality 25 infile.jpg outfile

That option got the 77K file down to 24K which is more manageable, for
me anyway.  I see no difference in the pictures but the size.

I would be interested in hearing your results with this option.

Wayne

-- 
In a few minutes a computer can make a mistake so great that it would
take many men many months to equal it.
___


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: how to detect if a jpeg file is progressive or not

2006-06-01 Thread H.S.
Wayne Topa wrote:

 
 Having never heard of a progressive jpeg I was interested in your
 query, and the answer you received.  
 
 I tried out the conversion to progressive on some of my large jpegs
 to see if it would help (as I have the same problem you have, dialup).
 
 I used the suggested convert command on a 77K jpeg and it was
 converted to 68K.  Not bad but I have been using a different convert
 option and getting much better results.

I also noticed the small reduction in file size in progressive jpeg
files. However, converting a jpeg to progressive is not really a file
compression in the usual sense. All it means is that the global image
information is sent first to the client with which the client can render
the low resolution image. As further detail is received by the client,
the image is re-rendered in ever increasing details. Thus the user
doesn't need to download the whole image before s/he can view it -- and
if the used decides not to view the image, s/he can stop the transfer.

But converting a jpeg to progressive somehow has the effect that the
progressive jpeg file is slightly smaller than the non-progressive one,
but the client then uses up more RAM to reconstruct the image -- not
that that will be a problem in most computers today.


 convert -quality 25 infile.jpg outfile
 
 That option got the 77K file down to 24K which is more manageable, for
 me anyway.  I see no difference in the pictures but the size.

This is a case of compression with a loss in quality. Note that you can
still have the new smaller image either as progressive or non-progressive.


 I would be interested in hearing your results with this option.

I am still playing around to decide what size (in pixels) images to
upload for others to view and how much quality to encode the jpegs with.
In any case, I am planning to upload the larger size images only
progressive jpegs no matter what quality I use them.

GL,
-HS





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: how to detect if a jpeg file is progressive or not

2006-06-01 Thread Wayne Topa
H.S.([EMAIL PROTECTED]) is reported to have said:
 Wayne Topa wrote:
 
  
 
 But converting a jpeg to progressive somehow has the effect that the
 progressive jpeg file is slightly smaller than the non-progressive one,
 but the client then uses up more RAM to reconstruct the image -- not
 that that will be a problem in most computers today.
 

Oh.  Thanks for the that info..

  convert -quality 25 infile.jpg outfile
  
  That option got the 77K file down to 24K which is more manageable, for
  me anyway.  I see no difference in the pictures but the size.
 
 This is a case of compression with a loss in quality. Note that you can
 still have the new smaller image either as progressive or non-progressive.
 

I don't see that loss in quality tho.  At 1280x1024 they look the
same, to these old eyes anyway, and the savings in size sure is a help
when you are sending images over a 26K POT line.

 I am still playing around to decide what size (in pixels) images to
 upload for others to view and how much quality to encode the jpegs with.
 In any case, I am planning to upload the larger size images only
 progressive jpegs no matter what quality I use them.

All of the inages on our web site are converted with the 'quality 25'
option.  I find a lot of sites with images that are 100K or more just
take too long to load.  There are still a lot of us that live in the
sticks and don't have access to anything but slow POT lines.  

Wayne

-- 
There are two ways to write error-free programs.  Only the third one works.
___


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: how to detect if a jpeg file is progressive or not

2006-06-01 Thread H.S.
Wayne Topa wrote:

This is a case of compression with a loss in quality. Note that you can
still have the new smaller image either as progressive or non-progressive.

 
 
 I don't see that loss in quality tho.  At 1280x1024 they look the
 same, to these old eyes anyway, and the savings in size sure is a help
 when you are sending images over a 26K POT line.

I see that I didn't elaborate properly. There is a lot of quality,
however the perceptual quality is not degraded that much. So to a
viewer, the smaller sized image file doesn't look that different from
the larger file image.

Basically, it boils down to decreasing the quality of the jpeg file
while maintaining the perceptual quality reasonably well.


I am still playing around to decide what size (in pixels) images to
upload for others to view and how much quality to encode the jpegs with.
In any case, I am planning to upload the larger size images only
progressive jpegs no matter what quality I use them.
 
 
 All of the inages on our web site are converted with the 'quality 25'
 option.  I find a lot of sites with images that are 100K or more just
 take too long to load.  There are still a lot of us that live in the
 sticks and don't have access to anything but slow POT lines.  

I understand. I have a few friends who connect  through dialup and they
sometimes cannot get connections faster than about 42 kbps. If I am in a
situation where I see a larger file image is to be made available, I
usually show it's thumbnail and give links to larger image files, e.g.
Medium (50KB) and Full (120KB), so that the user can decide which
one he wants to download and view.

Having read your above comments, I am going to try this with my images
as well.

Thanks for your input,
regards,
-HS




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



how to detect if a jpeg file is progressive or not

2006-05-31 Thread H.S.

Hello,

I have searched google but haven't found an answer I was looking for. I
want to upload some family pics to share among relatives. Some have
dialup connections. To facilitate image downloads in their browsers, I
want to upload progressive jpegs. How do I find out if the jpegs I
already have are progressive or not? If they are not, how do I convert
them to progressive jpegs?

I have:
ii imagemagick   6.2.4.5-0.8


-HS



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: how to detect if a jpeg file is progressive or not

2006-05-31 Thread Olafur Jens Sigurdsson
Þann 2006-05-31, 17:12:36 (-0400) skrifaði H.S.:
 
 Hello,
 
 I have searched google but haven't found an answer I was looking for. I
 want to upload some family pics to share among relatives. Some have
 dialup connections. To facilitate image downloads in their browsers, I
 want to upload progressive jpegs. How do I find out if the jpegs I
 already have are progressive or not? If they are not, how do I convert
 them to progressive jpegs?
 
 I have:
 ii imagemagick   6.2.4.5-0.8

Imagemagick does the trick for you.

To see if your files are interlaced or not you can use identify
-verbose filename.jpg and search for the Interlace line and if it says
None then it isnt a progressive jpeg and if it says Plane it is.

To convert from basic to progressive use convert infile.jpg -interlace
Plane outfile.jpg

HTH

Oli


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: how to detect if a jpeg file is progressive or not

2006-05-31 Thread H.S.
Olafur Jens Sigurdsson wrote:

 Imagemagick does the trick for you.
 
 To see if your files are interlaced or not you can use identify
 -verbose filename.jpg and search for the Interlace line and if it says
 None then it isnt a progressive jpeg and if it says Plane it is.

That was really great help. Thank a ton. The problem of identifying an
image as progressive or not is solved.

 
 To convert from basic to progressive use convert infile.jpg -interlace
 Plane outfile.jpg

The problem left is to convert all my current jpegs into progressive
ones. jpegtran did the job (the following is one long command):
$ for f in *.jpg; do echo $f; mv $f tmp.jpg; jpegtran  -progressive
tmp.jpg   $f; rm -f tmp.jpg; done

(I am sure there is a way to use the stdout and stdin in this procedure
instead of tmp.jpg, but I didn't check)

regards,
-HS


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



JPEG-Rotation in gwenview langsamer geworden

2006-04-16 Thread Christoph Haas
Liebe Ostergemeinde,

seit einiger Zeit ist gwenview (ein KDE-Bilderanzeiger) beim Rotieren von
Bildern unheimlich langsam geworden. Ich benutze es gerne, weil es
verlustloses Rotieren von JPEG-Bildern unterstützt. Andere Programme haben
aus meinen schönen 3 MB großen Digitalkamera-Fotos eine rotierte 100
KB-Datei gemacht, die gerade mal eine gewisse Ähnlichkeit mit dem Original
hatte. :(

In einem 'strace' sehe ich nicht besonders viel. Im top ist zu sehen,
dass 10-15 Sekunden lang die Systemlast auf 100% geht, wobei sys den
größten Anteil hat. Wenn ich das Bild mit jpegtran -rotate 90 bild.jpg
rotiere, braucht mein System deutlich unter einer Sekunde.

Hat jemand eine Idee oder ähnliche Erfahrungen?

Gruß,
 Christoph
-- 
~
~
.signature [Modified] 1 line --100%--1,48 All


signature.asc
Description: Digital signature


Re: JPEG-Rotation in gwenview langsamer geworden

2006-04-16 Thread Thomas Kreft
Christoph Haas schrieb: 

 seit einiger Zeit ist gwenview (ein KDE-Bilderanzeiger) beim Rotieren
 von Bildern unheimlich langsam geworden. Ich benutze es gerne, weil es
(...)
 Hat jemand eine Idee oder ähnliche Erfahrungen?

Kann ich nicht bestätigen (Sid ohne xorg7):

$ apt-cache policy kipi-plugins gwenview
kipi-plugins:
  Installed: 0.1+rc1-3
  Candidate: 0.1+rc1-3
  Version table:
 *** 0.1+rc1-3 0
500 http://ftp.de.debian.org sid/main Packages
100 /var/lib/dpkg/status
gwenview:
  Installed: 1.3.1-2
  Candidate: 1.3.1-2
  Version table:
 *** 1.3.1-2 0
500 http://ftp.de.debian.org sid/main Packages
100 /var/lib/dpkg/status

Läuft alles wie gewohnt...

-- 
Thomas Kreft daeron at gmx dot net
GPG ID 48AF3580 - Registered Linux User #405685 (http://counter.li.org)



Re: Réduire la qualité d'une photo en jpeg

2006-02-01 Thread Philippe Merlin
Bonjour,
Merci c'est tout à fait cela, j'avais chercher dans l'aide sur le net, mais 
n'avait pas vu cette définition.
Encore Merci.
Philou75





Le Mardi 31 Janvier 2006 16:31, Frédéric Bothamy a écrit :
 * Philippe Merlin [EMAIL PROTECTED] [2006-01-31 
15:18] :
  Bonjour,
  Je cherche sous linux un logiciel permettant de réduire la qualité d'une
  photo jpeg, c'est évidemment pour réduire la taille du fichier jpeg.
  J'ai regardé les commandes convert et mogrify , mais il y a tellement de
  possibilités que je n'arrive pas à savoir laquelle me rendra ce service.

 Probablement l'option -quality :

 -quality value

 JPEG/MIFF/PNG compression level.

 For the JPEG and MPEG image formats, quality is 0 (lowest image quality
 and highest compression) to 100 (best quality but least effective
 compression). The default is to use the estimate quality of your input
 image otherwise 75.


 Fred

 --
 Comment poser les questions de manière intelligente ?
 http://www.gnurou.org/Writing/SmartQuestionsFr
 Comment signaler efficacement un bug ?
 http://www.chiark.greenend.org.uk/~sgtatham/bugs-fr.html



Réduire la qualité d'une photo en jpeg

2006-01-31 Thread Philippe Merlin
Bonjour,
Je cherche sous linux un logiciel permettant de réduire la qualité d'une photo 
jpeg, c'est évidemment pour réduire la taille du fichier jpeg.
J'ai regardé les commandes convert et mogrify , mais il y a tellement de 
possibilités que je n'arrive pas à savoir laquelle me rendra ce service.
Merci d'avance.
Philou75



Re: Réduire la qualit é d'une photo en jpeg

2006-01-31 Thread Frédéric Bothamy
* Philippe Merlin [EMAIL PROTECTED] [2006-01-31 15:18] :
 Bonjour,
 Je cherche sous linux un logiciel permettant de réduire la qualité d'une 
 photo 
 jpeg, c'est évidemment pour réduire la taille du fichier jpeg.
 J'ai regardé les commandes convert et mogrify , mais il y a tellement de 
 possibilités que je n'arrive pas à savoir laquelle me rendra ce service.

Probablement l'option -quality :

-quality value

JPEG/MIFF/PNG compression level.

For the JPEG and MPEG image formats, quality is 0 (lowest image quality
and highest compression) to 100 (best quality but least effective
compression). The default is to use the estimate quality of your input
image otherwise 75.


Fred

-- 
Comment poser les questions de manière intelligente ?
http://www.gnurou.org/Writing/SmartQuestionsFr
Comment signaler efficacement un bug ?
http://www.chiark.greenend.org.uk/~sgtatham/bugs-fr.html


-- 
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To:

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: how to convert 100 bmp files to jpeg?

2006-01-30 Thread Michelle Konzack
Am 2006-01-25 11:35:31, schrieb Lubos Vrbka:
 Michelle Konzack napsal(a):

  for X in *.bmp ; do
 bmptopnm $X |pnmtojpeg -quality 100 `basename .bmp`.jpg
  done
 probably no need to install netpbm

But with my solution you do not need to install imagemagic.  :-P

Greetings
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSM LinuxMichi
0033/3/8845235667100 Strasbourg/France   IRC #Debian (irc.icq.com)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: how to convert 100 bmp files to jpeg?

2006-01-30 Thread Stephen R Laniel
On Sun, Jan 15, 2006 at 04:05:42PM +1100, Star King of the Grape Trees wrote:
 I can't be bothered to consult the man page, but it will be something like:
 
 for $f in `ls *.bmp`; do convert $f --to-jpeg; done

Because I like to add little bits of efficiency where
necessary, I'll note that the `ls *.bmp` above is more
complicated than what you need. What you mean is
for f in *.bmp.

Also, ImageMagick is nice, in that it does a lot of
conversions automatically just by extension. So

convert -resize 200x200 filename.{bmp,jpg}

, which combines a bashism with ImageMagick, will expand at
the shell into

convert -resize 200x200 filename.bmp filename.jpg

and ImageMagick will then automatically convert the file
from BMP to JPEG.

-- 
Stephen R. Laniel
[EMAIL PROTECTED]
Cell: +(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key


signature.asc
Description: Digital signature


Re: how to convert 100 bmp files to jpeg?

2006-01-30 Thread Steve Block

On Mon, Jan 30, 2006 at 10:56:03AM -0500, Stephen R Laniel wrote:

On Sun, Jan 15, 2006 at 04:05:42PM +1100, Star King of the Grape Trees wrote:

I can't be bothered to consult the man page, but it will be something like:

for $f in `ls *.bmp`; do convert $f --to-jpeg; done


Because I like to add little bits of efficiency where
necessary, I'll note that the `ls *.bmp` above is more
complicated than what you need. What you mean is
for f in *.bmp.

Also, ImageMagick is nice, in that it does a lot of
conversions automatically just by extension. So

convert -resize 200x200 filename.{bmp,jpg}

, which combines a bashism with ImageMagick, will expand at
the shell into

convert -resize 200x200 filename.bmp filename.jpg

and ImageMagick will then automatically convert the file
from BMP to JPEG.


Just as a note, that syntax is obsolete and may break in the future. 
It's related to a bunch of changes in imagemagick 6 that were intended 
to make it more consistent. Command line options are now processed left 
to right as a series of steps (though grouping is supported).


See http://www.cit.gu.edu.au/~anthony/graphics/imagick6/basics/#why for 
more information.


--
Steve Block
http://ev-15.com/
http://steveblock.com/
[EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: how to convert 100 bmp files to jpeg?

2006-01-25 Thread Lubos Vrbka

Michelle Konzack napsal(a):

Am 2006-01-14 20:55:34, schrieb Serena Cantor:

I 100 bmp files. I installed gimp and imagemagik, but
can't find the way to convert 100 bmp files to jpeg in
batch fashion. Do you know the command? Thanks!

 apt-get install netpbm

 for X in *.bmp ; do
bmptopnm $X |pnmtojpeg -quality 100 `basename .bmp`.jpg
 done
probably no need to install netpbm

for X in *.bmp ; do
  convert -quality 100 $X ${X%%.bmp}.jpg
done

regards,

--
Lubos
[EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: how to convert 100 bmp files to jpeg?

2006-01-24 Thread Michelle Konzack
Am 2006-01-14 20:55:34, schrieb Serena Cantor:
 I 100 bmp files. I installed gimp and imagemagik, but
 can't find the way to convert 100 bmp files to jpeg in
 batch fashion. Do you know the command? Thanks!

apt-get install netpbm

for X in *.bmp ; do
   bmptopnm $X |pnmtojpeg -quality 100 `basename .bmp`.jpg
done

Greetings
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSM LinuxMichi
0033/3/8845235667100 Strasbourg/France   IRC #Debian (irc.icq.com)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: (solved)Re: how to convert 100 bmp files to jpeg?

2006-01-24 Thread Michelle Konzack
Am 2006-01-14 21:27:11, schrieb Serena Cantor:
 Thank Brad Sawatzky, 
 Star King of the Grape Trees, 
 and [EMAIL PROTECTED]
 
 Does Linux have to be so hard to use?(The user has to

What is Hard?  -  You get all tools for free and do what you want.
On proprietary software you mustr work hard for your money to buy it.

I am using daily netpbm to do my stuff...

Works faster and cheaper the all those propietary bullshit.

 be able to program in shell script or C or other)
 Without Brad, I'd rather download Photoshop which has
 a menu for batch convertion.  

And you do not pay for it?  -  Shame on you!

Use proprietary Software and pay correctly or use OSS for Free!

 Thanks!

Greetings
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSM LinuxMichi
0033/3/8845235667100 Strasbourg/France   IRC #Debian (irc.icq.com)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: (solved)Re: how to convert 100 bmp files to jpeg?

2006-01-15 Thread Brad Sawatzky
On Sat, 14 Jan 2006, Serena Cantor wrote:

 Thank Brad Sawatzky, 
 Star King of the Grape Trees, 
 and [EMAIL PROTECTED]

No problem.  I'm glad I could help.  

 Does Linux have to be so hard to use?(The user has to
 be able to program in shell script or C or other)
 Without Brad, I'd rather download Photoshop which has
 a menu for batch convertion.  

Linux isn't so bad, but it is different.  One of the design metaphors for
unix is to provide a bunch of small tools that the user can hook together
to do what s/he wants (ie. through shell scripting).  By literally adding
just a few more lines to that script I could have simultaneously done a
pattern-matched rename, moved them to a different folder, and uploaded them
all to my web site.  Once you get use to this way of doing things, you
really feel boxed in on platforms that take a different approach.

/gets off soapbox/  :-)

-- Brad


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: how to convert 100 bmp files to jpeg?

2006-01-15 Thread Tim Connors
Star King of the Grape Trees [EMAIL PROTECTED] said on Sun, 15 Jan 2006 
16:05:42 +1100:
 Serena Cantor wrote:
 
 I 100 bmp files. I installed gimp and imagemagik, but
 can't find the way to convert 100 bmp files to jpeg in
 batch fashion. Do you know the command? Thanks!
   
 
 I can't be bothered to consult the man page, but it will be something like:
 
 for $f in `ls *.bmp`; do convert $f --to-jpeg; done
 
 See man convert for the precise arguments.
 
 If the files are organized in directories, you may need to use 'find' 
 instead of just 'ls'. See man find.

Why on earth would you want to put ls in backticks?  I wonder who
originated this rather redundant and fragile (what happens when a
filename has any form of whitespace?) construct?  Try googling for
useless use of cat awards for another redundant construct that
people love to use.

for f in *.bmp ; do convert $f --to-jpeg ; done


But even better than the above is just:
mogrify -format jpg *.bmp
You can probably also (untested):
convert --to-jpeg *.bmp


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: how to convert 100 bmp files to jpeg?

2006-01-15 Thread Ron Johnson
On Mon, 2006-01-16 at 08:40 +1100, Tim Connors wrote:
 Star King of the Grape Trees [EMAIL PROTECTED] said on Sun, 15 Jan 2006 
 16:05:42 +1100:
  Serena Cantor wrote:
  
  I 100 bmp files. I installed gimp and imagemagik, but
  can't find the way to convert 100 bmp files to jpeg in
  batch fashion. Do you know the command? Thanks!

  
  I can't be bothered to consult the man page, but it will be something like:
  
  for $f in `ls *.bmp`; do convert $f --to-jpeg; done
  
  See man convert for the precise arguments.
  
  If the files are organized in directories, you may need to use 'find' 
  instead of just 'ls'. See man find.
 
 Why on earth would you want to put ls in backticks?  I wonder who
 originated this rather redundant and fragile (what happens when a
 filename has any form of whitespace?) construct? 

If you're dealing with so many files that the bash glob buffer
fills up, `ls *.bmp` can work around that.

  Try googling for
 useless use of cat awards for another redundant construct that
 people love to use.
 
 for f in *.bmp ; do convert $f --to-jpeg ; done
 
 
 But even better than the above is just:
 mogrify -format jpg *.bmp
 You can probably also (untested):
 convert --to-jpeg *.bmp


-- 
-
Ron Johnson, Jr.
Jefferson, LA USA

Facts do not cease to exist because they are ignored.
Aldous Huxley


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: how to convert 100 bmp files to jpeg?

2006-01-15 Thread Star King of the Grape Trees

Ron Johnson wrote:


On Mon, 2006-01-16 at 08:40 +1100, Tim Connors wrote:
 


snip

Why on earth would you want to put ls in backticks?  I wonder who
originated this rather redundant and fragile (what happens when a
filename has any form of whitespace?) construct? 
   


That would be me.



If you're dealing with so many files that the bash glob buffer
fills up, `ls *.bmp` can work around that.
 


And imho, much easier than dealing with xargs and find -exec whatnot ;
Also, if spaces are a problem, fancy quotes can deal with that:
for f in `ls *.bmp`; do echo $f; done -- Note I have NOT tested this.

 


Try googling for
useless use of cat awards for another redundant construct that
people love to use.

for f in *.bmp ; do convert $f --to-jpeg ; done


But even better than the above is just:
mogrify -format jpg *.bmp
You can probably also (untested):
convert --to-jpeg *.bmp
   




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: how to convert 100 bmp files to jpeg?

2006-01-15 Thread Tim Connors
Star King of the Grape Trees [EMAIL PROTECTED] said on Mon, 16 Jan 2006 
10:47:03 +1100:
 Ron Johnson wrote:
 
 On Mon, 2006-01-16 at 08:40 +1100, Tim Connors wrote:
   
 
 snip
 
 Why on earth would you want to put ls in backticks?  I wonder who
 originated this rather redundant and fragile (what happens when a
 filename has any form of whitespace?) construct? 
 
 
 That would be me.

Nope -- heaps of people have done this before you.  Did you pick this
technique up from someone else?

It'd be nice if the technique would kindly stop propogating :)

 If you're dealing with so many files that the bash glob buffer
 fills up, `ls *.bmp` can work around that.

I don't think there is a fixed limit glob buffer.  Are you sure you
are not confusing this with the amount of space bash is allowed to
allocate for arguments for spawned commands -- a kernel limit?

So saying:
for a in * ; do
   blah $a
done
has no limit, whereas
blah2 *
does have a limit (of about 20K characters, IIRC).

(hmmm, maybe more on the 2.6 kernel -- I can't seem to generate that
dreaded Argument list too long message except by doing something
stupid like:   ls -lA /var/spool/news/message.id/*/*   )

 And imho, much easier than dealing with xargs and find -exec whatnot ;
 Also, if spaces are a problem, fancy quotes can deal with that:
 for f in `ls *.bmp`; do echo $f; done -- Note I have NOT tested this.

Nope.

#mkdir tmp
#cd tmp
#for i in `seq 1 1` ; do touch blah $i ; done
#for f in `ls *`; do ls -lA $f; done
ls: blah: No such file or directory
ls: 1: No such file or directory
ls: blah: No such file or directory
ls: 10: No such file or directory
ls: blah: No such file or directory
ls: 100: No such file or directory
ls: blah: No such file or directory
ls: 1000: No such file or directory
ls: blah: No such file or directory


Because each space output by the backticks causes the for loop to plop
the next bit into a new loop.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: how to convert 100 bmp files to jpeg?

2006-01-15 Thread Star King of the Grape Trees

Tim Connors wrote:



Nope -- heaps of people have done this before you.  Did you pick this
technique up from someone else?

It'd be nice if the technique would kindly stop propogating :)
 

Well, I believe I got this from some advanced bash guide, or a man 
page or two.



snip

I don't think there is a fixed limit glob buffer.  Are you sure you
are not confusing this with the amount of space bash is allowed to
allocate for arguments for spawned commands -- a kernel limit?
 


All I know is that it works for me.


So saying:
for a in * ; do
  blah $a
done
has no limit, whereas
blah2 *
does have a limit (of about 20K characters, IIRC).

(hmmm, maybe more on the 2.6 kernel -- I can't seem to generate that
dreaded Argument list too long message except by doing something
stupid like:   ls -lA /var/spool/news/message.id/*/*   )

 

I have run into this message many times - but I manage a fileserver that 
has several million files.
Naturally, I try to really avoid any sort of manipulation on this 
server, but sometimes there is no way it can be avoided. (From memory, I 
had to use find, rather than ls)



And imho, much easier than dealing with xargs and find -exec whatnot ;
Also, if spaces are a problem, fancy quotes can deal with that:
for f in `ls *.bmp`; do echo $f; done -- Note I have NOT tested this.
   



Nope.

#mkdir tmp
#cd tmp
#for i in `seq 1 1` ; do touch blah $i ; done
#for f in `ls *`; do ls -lA $f; done
ls: blah: No such file or directory
ls: 1: No such file or directory
ls: blah: No such file or directory
ls: 10: No such file or directory
ls: blah: No such file or directory
ls: 100: No such file or directory
ls: blah: No such file or directory
ls: 1000: No such file or directory
ls: blah: No such file or directory


Because each space output by the backticks causes the for loop to plop
the next bit into a new loop.
 


Interesting.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: how to convert 100 bmp files to jpeg?

2006-01-15 Thread hendrik
On Mon, Jan 16, 2006 at 12:10:21PM +1100, Tim Connors wrote:
 Star King of the Grape Trees [EMAIL PROTECTED] said on Mon, 16 Jan 2006 
 10:47:03 +1100:
  Ron Johnson wrote:
  
  On Mon, 2006-01-16 at 08:40 +1100, Tim Connors wrote:

  
  snip
  
  Why on earth would you want to put ls in backticks?  I wonder who
  originated this rather redundant and fragile (what happens when a
  filename has any form of whitespace?) construct? 
  
  
  That would be me.
 
 Nope -- heaps of people have done this before you.  Did you pick this
 technique up from someone else?
 
 It'd be nice if the technique would kindly stop propogating :)
 
  If you're dealing with so many files that the bash glob buffer
  fills up, `ls *.bmp` can work around that.
 
 I don't think there is a fixed limit glob buffer.  Are you sure you
 are not confusing this with the amount of space bash is allowed to
 allocate for arguments for spawned commands -- a kernel limit?

If there's a fixed limit glob buffer that makes it impossible
to use a command like

onions *.bmp

I don't see how saying

onions `ls *.bmp`

could possibly help.  Wouldn't the nested command

ls *.bmp

just run afoul of the same boffer limit?

-- hendrik


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: how to convert 100 bmp files to jpeg?

2006-01-15 Thread theo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tim Connors wrote:
 Nope.
 
 #mkdir tmp
 #cd tmp
 #for i in `seq 1 1` ; do touch blah $i ; done
 #for f in `ls *`; do ls -lA $f; done
 ls: blah: No such file or directory
 ls: 1: No such file or directory
 ls: blah: No such file or directory
 ls: 10: No such file or directory
 ls: blah: No such file or directory
 ls: 100: No such file or directory
 ls: blah: No such file or directory
 ls: 1000: No such file or directory
 ls: blah: No such file or directory
 
 
 Because each space output by the backticks causes the for loop to plop
 the next bit into a new loop.


We can use IFS is ls is really needed (for a command line option or
whatever) :

___
[EMAIL PROTECTED] touch 1 2 3 12 13
[EMAIL PROTECTED] for i in *; do ls $i; done
12
1 2 3
13
[EMAIL PROTECTED] for i in  $(ls *); do ls $i;done
12
ls: 1: No such file or directory
ls: 2: No such file or directory
ls: 3: No such file or directory
13
[EMAIL PROTECTED] IFS=$'\n'; for i in  $(ls *); do ls $i;done; unset IFS
12
1 2 3
13
___


I'm not saying it's better to use ls though.



Cheers,
theo
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDyw4YSH6NzHMSyhIRAv/IAKCG1lp5IeNeUoPNtsFSXqL804HuWwCeP82l
V03I8zU5PD7f+DplzBlXIaY=
=jLiO
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: how to convert 100 bmp files to jpeg?

2006-01-15 Thread Tim Connors
[EMAIL PROTECTED] said on Sun, 15 Jan 2006 21:26:16 -0500:
 On Mon, Jan 16, 2006 at 12:10:21PM +1100, Tim Connors wrote:
  I don't think there is a fixed limit glob buffer.  Are you sure you
  are not confusing this with the amount of space bash is allowed to
  allocate for arguments for spawned commands -- a kernel limit?
 
 If there's a fixed limit glob buffer that makes it impossible
 to use a command like
 
   onions *.bmp
 
 I don't see how saying
 
   onions `ls *.bmp`
 
 could possibly help.  Wouldn't the nested command

It doesn't.  But a for loop is a different beast anyway (this is what
the OP was doing).  For loops aren't done by passing arguments to
commands; it's all done within the shell, which doesn't have any such
limits (well, other than the 2-3GB limit you get regarding memory
limits in 32 bit kernels, but I can't see anyone passing 2GB to a
subcommand via the commandline :)

   ls *.bmp
 
 just run afoul of the same boffer limit?

Yep.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



  1   2   3   >