Welcome Guest.   Make a donation to an author on the site October 24, 2014, 03:32:47 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2012! Download dozens of custom programs!
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: Prev 1 [2]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: DONE: app to rotate multi-page images  (Read 13391 times)
skwire
Global Moderator
*****
Posts: 4,114



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #25 on: July 04, 2010, 09:28:07 AM »

@deano: One thing I noticed in the sample file you sent me is that, not only is it vertically flipped, it's horizontally flipped as well.  Are they all like this?
Logged

deano
Charter Member
***
Posts: 33


View Profile Give some DonationCredits to this forum member
« Reply #26 on: July 04, 2010, 09:43:02 AM »

Can you double check this?  I checked the attachment again and it just looks vertically flipped to me i.e if i rotate it 180 degrees it would look normal.    undecided

It shouldn't be horizontally flipped.  That would make it mirrored, yes and not easily readable?  None of the faxed images I get are like that, they are all just upside down.
Logged
skwire
Global Moderator
*****
Posts: 4,114



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #27 on: July 04, 2010, 09:48:19 AM »

Doh...my stupid error.   embarassed
Logged

skwire
Global Moderator
*****
Posts: 4,114



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #28 on: July 04, 2010, 03:01:39 PM »

Give this a shot and see if it's what you had in mind.  If so, I'll set up the typical webpage, write a help file and release it.

http://skwire.dcmembers.c...fsy_turvy/TIFFsyTurvy.zip

Logged

deano
Charter Member
***
Posts: 33


View Profile Give some DonationCredits to this forum member
« Reply #29 on: July 04, 2010, 03:21:43 PM »

Give this a shot and see if it's what you had in mind.  If so, I'll set up the typical webpage, write a help file and release it.

http://skwire.dcmembers.c...fsy_turvy/TIFFsyTurvy.zip
 (see attachment in previous post)

Superb, it works!  Many thanks.  I love a simple app that does exactly what you need it to do smiley

Just one thing; i clicked Help,About Contents, and the message box is empty. Edit-  sorry you clearly said you would write a Help File. 

Presumably this would have the answers to these questions;

* What does Edit, Launch File do?
* What do the Get data... and Update highlighted... buttons do?
« Last Edit: July 04, 2010, 03:27:24 PM by deano » Logged
rjbull
Charter Member
***
Posts: 2,776

View Profile Give some DonationCredits to this forum member
« Reply #30 on: July 04, 2010, 03:24:55 PM »

Love the name   Grin
Logged
deano
Charter Member
***
Posts: 33


View Profile Give some DonationCredits to this forum member
« Reply #31 on: July 04, 2010, 03:25:59 PM »

Love the name   Grin

I forgot to mention that, that's superb naming smiley  Thmbsup
Logged
skwire
Global Moderator
*****
Posts: 4,114



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #32 on: July 04, 2010, 03:31:44 PM »

Superb, it works!  Many thanks.  I love a simple app that does exactly what you need it to do smiley

Great.  I'm glad it's working for you.  =]

Just one thing; i clicked Help,About and the message box is empty.  Presumably this would have the answers to these questions;

* What does Edit, Launch File do?
* What do the Get data... and Update highlighted... buttons do?

Doh, forgot to take out the Edit, Launch entry.  As for the other buttons:
  • Get data from focused row -- This will populate the the radio button cluster and the output directory field below the listview with the data from the focused row.
  • Update highlighted rows -- Let's say you just dropped a slew of TIFF files on the listview.  Highlight them all, choose a rotation, set the output directory field and then click that button.  ALL highlighted rows will be updated with your entered values.  It's a quick way to set the rotation/output data for lots of rows.
Logged

deano
Charter Member
***
Posts: 33


View Profile Give some DonationCredits to this forum member
« Reply #33 on: July 04, 2010, 03:45:07 PM »

Superb, it works!  Many thanks.  I love a simple app that does exactly what you need it to do smiley

Great.  I'm glad it's working for you.  =]

Just one thing; i clicked Help,About and the message box is empty.  Presumably this would have the answers to these questions;

* What does Edit, Launch File do?
* What do the Get data... and Update highlighted... buttons do?

Doh, forgot to take out the Edit, Launch entry.  As for the other buttons:
  • Get data from focused row -- This will populate the the radio button cluster and the output directory field below the listview with the data from the focused row.
  • Update highlighted rows -- Let's say you just dropped a slew of TIFF files on the listview.  Highlight them all, choose a rotation, set the output directory field and then click that button.  ALL highlighted rows will be updated with your entered values.  It's a quick way to set the rotation/output data for lots of rows.

Thanks, that makes sense.

Mucho thanks once again Skwire, I do believe that this will provide a genuine boost to my productivity.  I'll drop you a donation as a token of my appreciation.

On a technical note would you be able to explain how you did it?  Was it all autohotkey or something else?  And would you have the source code?  As I said way back at the top of this thread I am trying to learn how to create different kinds of programs on Windows and would like to make things like this for other people as well.
Logged
skwire
Global Moderator
*****
Posts: 4,114



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #34 on: July 04, 2010, 04:04:43 PM »

Mucho thanks once again Skwire, I do believe that this will provide a genuine boost to my productivity.  I'll drop you a donation as a token of my appreciation.

You're welcome.  I'm happy to help out.

On a technical note would you be able to explain how you did it?  Was it all autohotkey or something else?  And would you have the source code?  As I said way back at the top of this thread I am trying to learn how to create different kinds of programs on Windows and would like to make things like this for other people as well.

The interface is all AutoHotkey.  The grunt work behind the scenes is done by convert.exe from the ImageMagick suite and tiffinfo.exe from the LibTIFF suite.  I use convert.exe to do the rotation and converting from TIFF to JPG (using the "/rotate #" parameter).  The tiffinfo.exe I use for determining how many pages are in the TIFF file.

AutoHotkey is superb for making front-ends that utilise commandline executables and/or DLL files.  Initially, I had intended to use the GDI+ library to do it all but I couldn't find a way to get the number of pages in a TIFF file using it so I wrote it using IrfanView doing the image manipulation.  However, I remembered that you wanted to use this at work and IrfanView's license doesn't allow that without paid registration.  I then rewrote it using the current ImageMagick/LibTIFF method, hence the delay in getting it to you.

Does that help clear things up?
Logged

deano
Charter Member
***
Posts: 33


View Profile Give some DonationCredits to this forum member
« Reply #35 on: July 04, 2010, 05:02:24 PM »

Mucho thanks once again Skwire, I do believe that this will provide a genuine boost to my productivity.  I'll drop you a donation as a token of my appreciation.

You're welcome.  I'm happy to help out.

On a technical note would you be able to explain how you did it?  Was it all autohotkey or something else?  And would you have the source code?  As I said way back at the top of this thread I am trying to learn how to create different kinds of programs on Windows and would like to make things like this for other people as well.

The interface is all AutoHotkey.  The grunt work behind the scenes is done by convert.exe from the ImageMagick suite and tiffinfo.exe from the LibTIFF suite.  I use convert.exe to do the rotation and converting from TIFF to JPG (using the "/rotate #" parameter).  The tiffinfo.exe I use for determining how many pages are in the TIFF file.

AutoHotkey is superb for making front-ends that utilise commandline executables and/or DLL files.  Initially, I had intended to use the GDI+ library to do it all but I couldn't find a way to get the number of pages in a TIFF file using it so I wrote it using IrfanView doing the image manipulation.  However, I remembered that you wanted to use this at work and IrfanView's license doesn't allow that without paid registration.  I then rewrote it using the current ImageMagick/LibTIFF method, hence the delay in getting it to you.

Does that help clear things up?

Yep, that's pretty interesting, I'm going to see what I can code with autohotkey as well as continuing with C#.    Cheers,  Thmbsup
Logged
skwire
Global Moderator
*****
Posts: 4,114



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #36 on: February 05, 2011, 03:32:07 AM »

Website | Download
v1.0.2 - 2011-02-05
    + Added option to handle F Class TIFFs.  Enable this option if your
      resulting JPEG files appear to be squashed or stretched horizontally and
      process the list again.  (Thanks, H. Mechanic)
    + Added option to output straight to PDF instead of separate JPEG files.
    * The default output directory for added files is now the same folder as the
      original file.  This can be changed using the 'Modify list data' section.
      (Thanks, H. Mechanic)
« Last Edit: February 05, 2011, 03:40:11 AM by skwire » Logged

deano
Charter Member
***
Posts: 33


View Profile Give some DonationCredits to this forum member
« Reply #37 on: February 07, 2011, 04:23:05 AM »

Website | Download
v1.0.2 - 2011-02-05
    + Added option to handle F Class TIFFs.  Enable this option if your
      resulting JPEG files appear to be squashed or stretched horizontally and
      process the list again.  (Thanks, H. Mechanic)
    + Added option to output straight to PDF instead of separate JPEG files.
    * The default output directory for added files is now the same folder as the
      original file.  This can be changed using the 'Modify list data' section.
      (Thanks, H. Mechanic)


I can't seem to grab this - the download stops about two-thirds of the way through?
Logged
Ath
Supporting Member
**
Posts: 2,234



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #38 on: February 07, 2011, 04:47:20 AM »

Hm, looks like that server needs a kick in the butt (or a disk is failing). It's slow as mud through a coffee filter... from about 2 MB of 3.55 and stopped at 2.34 MB, first part was quite OK Cry
Logged

skwire
Global Moderator
*****
Posts: 4,114



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #39 on: February 07, 2011, 10:27:48 AM »

I can't seem to grab this - the download stops about two-thirds of the way through?

Hm, looks like that server needs a kick in the butt (or a disk is failing). It's slow as mud through a coffee filter... from about 2 MB of 3.55 and stopped at 2.34 MB, first part was quite OK Cry

Seemed to work for me just now...
Logged

deano
Charter Member
***
Posts: 33


View Profile Give some DonationCredits to this forum member
« Reply #40 on: February 07, 2011, 11:06:55 AM »

I can't seem to grab this - the download stops about two-thirds of the way through?

Hm, looks like that server needs a kick in the butt (or a disk is failing). It's slow as mud through a coffee filter... from about 2 MB of 3.55 and stopped at 2.34 MB, first part was quite OK Cry

Seemed to work for me just now...

Yeah, the intertubes have become unclogged.
« Last Edit: February 07, 2011, 11:55:25 AM by deano » Logged
Ath
Supporting Member
**
Posts: 2,234



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #41 on: February 07, 2011, 01:11:29 PM »

Just retried from another place, with another tube connected to the intertubes, and, although slow to start, got it in a few seconds this time.
Logged

Pages: Prev 1 [2]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.057s | Server load: 0.08 ]