Re: heic to jpg conversion

2020-08-13 Thread Thomas Wolff

Am 13.08.2020 um 09:54 schrieb Fergus Daly via Cygwin:

Does Cygwin include the capability to convert heic to jpg (or png or anything 
else Windows-readable)?
I tried "convert" (previously all-powerful) but that does not work (in any 
obvious way, anyway).

Works for me. What does `type convert` say?
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


RE: heic to jpg conversion

2020-08-13 Thread Fergus Daly via Cygwin
>> Does Cygwin include the capability to convert heic to jpg (or png or 
>> anything else Windows-readable)?
>> I tried "convert" (previously all-powerful) but that does not work (in any 
>> obvious way, anyway).
>> Thank you!

> Works for me. What does `type convert` say?

I have this:

~/tmp> type convert
convert is /usr/bin/convert
~/tmp> ls -x
L1a.heic  L2a.heic 
~/tmp> file *
L1a.heic: ISO Media
L2a.heic: ISO Media
~/tmp> convert L1a.heic L1a.jpg
convert: no decode delegate for this image format `HEIC' @ 
error/constitute.c/ReadImage/560.
convert: no images defined `L1a.jpg' @ error/convert.c/ConvertImageCommand/3258.

(BTW, in the above dialogue, should ISO Media read IOS Media?)


--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: heic to jpg conversion

2020-08-13 Thread Marco Atzeri via Cygwin

On 13.08.2020 10:18, Thomas Wolff wrote:

Am 13.08.2020 um 09:54 schrieb Fergus Daly via Cygwin:
Does Cygwin include the capability to convert heic to jpg (or png or 
anything else Windows-readable)?
I tried "convert" (previously all-powerful) but that does not work (in 
any obvious way, anyway).

Works for me. What does `type convert` say?
--


Thomas,
are you sure ?

looking at the documentation
https://imagemagick.org/script/formats.php

we need libheif to support that format and
we have not yet it.

As expected
  identify -list format | grep -i heic

output is empty.

I will look on it.

Regards
Marco


--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: heic to jpg conversion

2020-08-13 Thread Thomas Wolff

Am 13.08.2020 um 12:13 schrieb Marco Atzeri via Cygwin:

On 13.08.2020 10:18, Thomas Wolff wrote:

Am 13.08.2020 um 09:54 schrieb Fergus Daly via Cygwin:
Does Cygwin include the capability to convert heic to jpg (or png or 
anything else Windows-readable)?
I tried "convert" (previously all-powerful) but that does not work 
(in any obvious way, anyway).

Works for me. What does `type convert` say?
--


Thomas,
are you sure ?
Well, no, I just ran a simple test case which seems to have misled me. 
`convert x.jpg x.heic` did produce an image file with suffix .heic, 
without any complaint. However, `file x.heic` would identify it as JPEG 
format. Weird.




looking at the documentation
https://imagemagick.org/script/formats.php

we need libheif to support that format and
we have not yet it.

As expected
  identify -list format | grep -i heic

output is empty.

I will look on it.

Regards
Marco


--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:    https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Assistance with 'split -l' command

2020-08-13 Thread Mark Hansen

On 8/12/2020 8:24 AM, Andrey Repin wrote:

Greetings, Gary Vaughan!


I am working with csv files and when I perform the split -l, it splits the
file correctly, but is putting the 'aa','ab','ac' after the file extension.


Be very careful to use generic text tools on CSV files.
On any non-textual files, actually.




I agree with your comment regarding non-text files, but a CSV file is a textual 
file.

--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


RE: Python Packages

2020-08-13 Thread Allen Hewes via Cygwin



> > 4. Do I or should I have a package mentor? Right now, I am "winging" it b/c
> my consumer is myself, but I'd like to know how the sausage is made so I Do
> It Right.
> >
> > The Python  packages in the Python 3.8 flavor I have ready:
> > python38-asn1crypto
> > python38-crypto
> > python38-cryptography
> > python38-lockfile
> > python38-openssl
> > python38-pyasn1
> > python38-pyasn1-modules
> >
> > Thanks,
> >
> > /allen
> >
>
> Hi Allen,
> as you have not follow up on cygwin-apps, I updated them and they should
> show up shortly
>
> Regards
> Marco
>

Thanks Marco. Yep, I have joined the ML but I haven't had time to get back to 
Cygwin-y things yet. I still have to do some tasks from the contributor section 
on cygwin.com.

I'll see you in the cygwin-apps ML.

Thanks,

/allen



Disclaimer Confidentiality Notice: This e-mail, and any attachments and/or 
documents linked to this email, are intended for the addressee and may contain 
information that is privileged, confidential, proprietary, or otherwise 
protected by law. Any dissemination, distribution, or copying is prohibited. 
This notice serves as a confidentiality marking for the purpose of any 
confidentiality or nondisclosure agreement. If you have received this 
communication in error, please contact the original sender.
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: heic to jpg conversion

2020-08-13 Thread Brian Inglis
On 2020-08-13 04:13, Fergus Daly via Cygwin wrote:
>>> Does Cygwin include the capability to convert heic to jpg (or png or 
>>> anything else Windows-readable)?
>>> I tried "convert" (previously all-powerful) but that does not work (in any 
>>> obvious way, anyway).
>>> Thank you!
> 
>> Works for me. What does `type convert` say?
> 
> I have this:
> 
> ~/tmp> type convert
> convert is /usr/bin/convert
> ~/tmp> ls -x
> L1a.heic  L2a.heic 
> ~/tmp> file *
> L1a.heic: ISO Media
> L2a.heic: ISO Media
> ~/tmp> convert L1a.heic L1a.jpg
> convert: no decode delegate for this image format `HEIC' @ 
> error/constitute.c/ReadImage/560.
> convert: no images defined `L1a.jpg' @ 
> error/convert.c/ConvertImageCommand/3258.
> 
> (BTW, in the above dialogue, should ISO Media read IOS Media?)

Apparently not although it came from MPEG developments of Apple Quicktime format
which gave rise to a slew of ISO standards:

https://en.wikipedia.org/wiki/High_Efficiency_Image_File_Format

is part of ISO/IEC 23008-12 MPEG-H Standard, which also includes HEVC High
Efficiency Video Coding ITU-T H.265/.1/.2, some ITU-T H series supplements, and
MMT MPEG Media Transport;
it appears to be a specialization of ISO/IEC 14496-12:2004-2015 MPEG-4 Part 12
base media file format aka ISO/IEC 15444-12:2004-2015 JPEG 2000 Part 12 which
was dropped in 2017 in favour of the former, which is available in

http://standards.iso.org/ittf/PubliclyAvailableStandards/c068960_ISO_IEC_14496-12_2015.zip.


So HEIF would be a better file format label, whereas ISO media includes the
above (which not many people would think of), but could also imply ISO 9660:1988
for optical disks and archive images thereof (which most people would think of),
possibly including any or all of IEEE Rock Ridge (POSIX compatible extensions),
MS Joliet "Unicode" name extensions, El Torito bootable CD extensions, and/or
Apple ISO 9660 MacOS file extensions;
that also applies to the later replacement OSTA Optical Storage Technology
Association ISO/IEC 13346:1995-1999/ECMA-167:1997 UDF Universal Disk Format.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in IEC units and prefixes, physical quantities in SI.]
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Need upgrade/update advice/procedures: Cygwin32 to Cygwin64

2020-08-13 Thread Mike O'Brien via Cygwin

My first and only post —

I would like to upgrade/update/switch from Cygwin32 to Cygwin64 (on Win 
7x64, sp1) and I'm not so sure what all the likely pitfalls may be. 
Would appreciate any pertinent advice, informational links, etc. that 
experienced users may wish to share. I've searched around and pieced 
together a few insights, but I would be remiss not to ask here...


TIA.

Mike O'B.

--
Mater mea, et are Hibernica Pater, et Ego Hibernica quoque!

--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: heic to jpg conversion

2020-08-13 Thread Marco Atzeri via Cygwin

On 13.08.2020 09:54, Fergus Daly via Cygwin wrote:

Does Cygwin include the capability to convert heic to jpg (or png or anything 
else Windows-readable)?
I tried "convert" (previously all-powerful) but that does not work (in any 
obvious way, anyway).
Thank you!
--



it seems the functionality to fully read heic format
was added in 7.0.9

http://www.imagemagick.org/script/changelog.php
I will look to build it.

I already built the libheif library, but does not work
with 6.9.x

Regards
Marco
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Need upgrade/update advice/procedures: Cygwin32 to Cygwin64

2020-08-13 Thread Marco Atzeri via Cygwin

On 13.08.2020 20:25, Mike O'Brien via Cygwin wrote:

My first and only post —

I would like to upgrade/update/switch from Cygwin32 to Cygwin64 (on Win 
7x64, sp1) and I'm not so sure what all the likely pitfalls may be. 
Would appreciate any pertinent advice, informational links, etc. that 
experienced users may wish to share. I've searched around and pieced 
together a few insights, but I would be remiss not to ask here...


TIA.

Mike O'B.



duplicate installation with the attached script

  ./cyg-reinstall.sh -A
  sed -e "s/setup-x86/setup-x86_64/" cyg-reinstall-x86.bat > 
cyg-reinstall-x86_64.bat


run the "cyg-reinstall-x86_64.bat" script in the same directory of
"setup-x86_64.exe"

after you can use your 32bit to copy the /home/
and all the content of "/etc" that you have customized.

Regards
Marco
#!/bin/bash
# Create a batch file to reinstall using setup-{ARCH}.exe 
# all packages or the ones reported as incomplete

print_error=1

if [ $# -eq 1 ]
  then
if [ $1 == "-I" ]
then
  lista=$(mktemp)
  cygcheck -c | grep "Incomplete" > $lista
  print_error=0
fi
if [ $1 == "-A" ]
then
  lista=$(mktemp)
  cygcheck -cd | sed -e "1,2d" > $lista
  print_error=0
fi
fi

if [ $# -eq 2 ]
  then
if [ $1 == "-f" ]
then
  lista=$2
  print_error=0
fi
fi

# error message if options are incorrect.
if [ $print_error -eq 1 ]
then
echo -n "Usage : " $(basename $0)
echo " [ -A | -I | -f filelist ]"
echo "  create cyg-reinstall-{ARC}.bat from"
echo "  options"
echo "-A  :  All packages as reported by cygcheck"
echo "-I  :  incomplete packages as reported by cygcheck"
echo "-f  :  packages in filelist (one per row)"
exit 1
fi

if [ $(arch) == "x86_64" ]
then
  A="x86_64"
else
  A="x86"
fi

# writing header
echo -n -e "setup-${A}.exe  " > cyg-reinstall-${A}.bat

# option  -x remove and  -P install
# for re-install packages we need both
if [ $1 == "-I" ]
then
  awk 'BEGIN{printf(" -x ")} NR==1{printf $1}{printf ",%s", $1}' ${lista} >> 
cyg-reinstall-${A}.bat 
fi

awk 'BEGIN{printf(" -P ")} NR==1{printf $1}{printf ",%s", $1} END { printf 
"\r\n pause "}' ${lista} >> cyg-reinstall-${A}.bat 

# execution permission for the script
chmod +x cyg-reinstall-${A}.bat

--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple