my english isn't then a year ago so please forgiving

I'm using a script to cut pictures from a scan with a former plate. The old scan are made with a brother 9420-CN. The script has to do the follwing
echo " convert $aktiv_dir/$aktiv_file -crop 1x1\@ +repage -bordercolor black -border 1 -resize 1024x -fuzz 80% -fill none -draw \"matte 0,0 floodfill\" -trim +repage $aktiv_dir/${datei_name}.png" >>doit.sh
echo " convert $aktiv_dir/$aktiv_file -crop 4x2\@ +repage -bordercolor black -border 1 -fuzz 95% -trim +repage -resize 250x $aktiv_dir/${datei_name}_%d.png" >>doit.sh
echo " convert $aktiv_dir/${datei_name}_*.png -bordercolor black -border 1 -fuzz 80% -fill none -draw \"matte 0,0 floodfill\" -trim +repage $aktiv_dir/${datei_name}_%d.png" >>doit.sh
echo " convert $aktiv_dir/${datei_name}_*.png -resize 125x $aktiv_dir/t_${datei_name}_%d.png" >>doit.sh
echo " convert $aktiv_dir/${datei_name}.png -resize 285x $aktiv_dir/t_${datei_name}.png" >>doit.sh
every single picture have a size with 250. It depends between 250/380 and 250/384. Everything works fine.
But now I have to buy a new scanner because the old one is out of order, HPOfficejet 8660. If i make a scan with the same picture as with the old scanner
and use the script to cut the pictures, every picture has an other size. No one have 250x38x!! It depends between 222/344 to 249x368
Nothing has changed only the Scanner and the software. Is it possible, that the scanner software deliver Headerinformation inside the jpeg that ImageMagick handel the pictures different? Wich option do i have with convert, that i can ignore these informations?
thanks for all hints and
regards from Germany
Andreas